Skip to content

Commit

Permalink
tag version v0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Oct 19, 2024
1 parent 06c514f commit 92ff5d5
Show file tree
Hide file tree
Showing 107 changed files with 471 additions and 125 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PWD = $(shell pwd)
UID = $(shell id -u)
GID = $(shell id -g)
VERSION = "0.10.0"
VERSION = "0.11.0"
LD_FLAGS = -X beryju.io/gravity/pkg/extconfig.Version=${VERSION}
GO_FLAGS = -ldflags "${LD_FLAGS}" -v
SCHEMA_FILE = schema.yml
Expand Down
2 changes: 2 additions & 0 deletions api/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ docs/DhcpAPILeasesPutInput.md
docs/DhcpAPIRoleConfigInput.md
docs/DhcpAPIRoleConfigOutput.md
docs/DhcpAPIScope.md
docs/DhcpAPIScopeStatistics.md
docs/DhcpAPIScopesGetOutput.md
docs/DhcpAPIScopesPutInput.md
docs/DhcpRoleConfig.md
Expand Down Expand Up @@ -152,6 +153,7 @@ model_dhcp_api_leases_put_input.go
model_dhcp_api_role_config_input.go
model_dhcp_api_role_config_output.go
model_dhcp_api_scope.go
model_dhcp_api_scope_statistics.go
model_dhcp_api_scopes_get_output.go
model_dhcp_api_scopes_put_input.go
model_dhcp_role_config.go
Expand Down
3 changes: 2 additions & 1 deletion api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 0.10.0
- API version: 0.11.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

Expand Down Expand Up @@ -182,6 +182,7 @@ Class | Method | HTTP request | Description
- [DhcpAPIRoleConfigInput](docs/DhcpAPIRoleConfigInput.md)
- [DhcpAPIRoleConfigOutput](docs/DhcpAPIRoleConfigOutput.md)
- [DhcpAPIScope](docs/DhcpAPIScope.md)
- [DhcpAPIScopeStatistics](docs/DhcpAPIScopeStatistics.md)
- [DhcpAPIScopesGetOutput](docs/DhcpAPIScopesGetOutput.md)
- [DhcpAPIScopesPutInput](docs/DhcpAPIScopesPutInput.md)
- [DhcpRoleConfig](docs/DhcpRoleConfig.md)
Expand Down
41 changes: 37 additions & 4 deletions api/api/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: gravity
version: 0.10.0
version: 0.11.0
servers:
- url: /
paths:
Expand Down Expand Up @@ -2222,7 +2222,10 @@ components:
tag: 0
tagName: tagName
value: value
ttl: 6
ttl: 5
statistics:
usable: 0
used: 0
properties:
default:
type: boolean
Expand All @@ -2242,6 +2245,8 @@ components:
type: array
scope:
type: string
statistics:
$ref: '#/components/schemas/DhcpAPIScopeStatistics'
subnetCidr:
type: string
ttl:
Expand All @@ -2252,9 +2257,25 @@ components:
- ipam
- options
- scope
- statistics
- subnetCidr
- ttl
type: object
DhcpAPIScopeStatistics:
example:
usable: 0
used: 0
properties:
usable:
minimum: 0
type: integer
used:
minimum: 0
type: integer
required:
- usable
- used
type: object
DhcpAPIScopesGetOutput:
example:
scopes:
Expand Down Expand Up @@ -2289,7 +2310,10 @@ components:
tag: 0
tagName: tagName
value: value
ttl: 6
ttl: 5
statistics:
usable: 0
used: 0
- subnetCidr: subnetCidr
default: true
ipam:
Expand Down Expand Up @@ -2321,15 +2345,24 @@ components:
tag: 0
tagName: tagName
value: value
ttl: 6
ttl: 5
statistics:
usable: 0
used: 0
statistics:
usable: 0
used: 0
properties:
scopes:
items:
$ref: '#/components/schemas/DhcpAPIScope'
nullable: true
type: array
statistics:
$ref: '#/components/schemas/DhcpAPIScopeStatistics'
required:
- scopes
- statistics
type: object
DhcpAPIScopesPutInput:
example:
Expand Down
2 changes: 1 addition & 1 deletion api/api_cluster_instances.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api_roles_api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api_roles_backup.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api_roles_dhcp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api_roles_discovery.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api_roles_dns.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api_roles_etcd.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api_roles_monitoring.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api_roles_tsdb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 22 additions & 1 deletion api/docs/DhcpAPIScope.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ Name | Type | Description | Notes
**Ipam** | **map[string]string** | |
**Options** | [**[]TypesDHCPOption**](TypesDHCPOption.md) | |
**Scope** | **string** | |
**Statistics** | [**DhcpAPIScopeStatistics**](DhcpAPIScopeStatistics.md) | |
**SubnetCidr** | **string** | |
**Ttl** | **int32** | |

## Methods

### NewDhcpAPIScope

`func NewDhcpAPIScope(default_ bool, hook string, ipam map[string]string, options []TypesDHCPOption, scope string, subnetCidr string, ttl int32, ) *DhcpAPIScope`
`func NewDhcpAPIScope(default_ bool, hook string, ipam map[string]string, options []TypesDHCPOption, scope string, statistics DhcpAPIScopeStatistics, subnetCidr string, ttl int32, ) *DhcpAPIScope`

NewDhcpAPIScope instantiates a new DhcpAPIScope object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -177,6 +178,26 @@ and a boolean to check if the value has been set.
SetScope sets Scope field to given value.


### GetStatistics

`func (o *DhcpAPIScope) GetStatistics() DhcpAPIScopeStatistics`

GetStatistics returns the Statistics field if non-nil, zero value otherwise.

### GetStatisticsOk

`func (o *DhcpAPIScope) GetStatisticsOk() (*DhcpAPIScopeStatistics, bool)`

GetStatisticsOk returns a tuple with the Statistics field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetStatistics

`func (o *DhcpAPIScope) SetStatistics(v DhcpAPIScopeStatistics)`

SetStatistics sets Statistics field to given value.


### GetSubnetCidr

`func (o *DhcpAPIScope) GetSubnetCidr() string`
Expand Down
72 changes: 72 additions & 0 deletions api/docs/DhcpAPIScopeStatistics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# DhcpAPIScopeStatistics

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Usable** | **int32** | |
**Used** | **int32** | |

## Methods

### NewDhcpAPIScopeStatistics

`func NewDhcpAPIScopeStatistics(usable int32, used int32, ) *DhcpAPIScopeStatistics`

NewDhcpAPIScopeStatistics instantiates a new DhcpAPIScopeStatistics object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed

### NewDhcpAPIScopeStatisticsWithDefaults

`func NewDhcpAPIScopeStatisticsWithDefaults() *DhcpAPIScopeStatistics`

NewDhcpAPIScopeStatisticsWithDefaults instantiates a new DhcpAPIScopeStatistics object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set

### GetUsable

`func (o *DhcpAPIScopeStatistics) GetUsable() int32`

GetUsable returns the Usable field if non-nil, zero value otherwise.

### GetUsableOk

`func (o *DhcpAPIScopeStatistics) GetUsableOk() (*int32, bool)`

GetUsableOk returns a tuple with the Usable field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUsable

`func (o *DhcpAPIScopeStatistics) SetUsable(v int32)`

SetUsable sets Usable field to given value.


### GetUsed

`func (o *DhcpAPIScopeStatistics) GetUsed() int32`

GetUsed returns the Used field if non-nil, zero value otherwise.

### GetUsedOk

`func (o *DhcpAPIScopeStatistics) GetUsedOk() (*int32, bool)`

GetUsedOk returns a tuple with the Used field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUsed

`func (o *DhcpAPIScopeStatistics) SetUsed(v int32)`

SetUsed sets Used field to given value.



[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading

0 comments on commit 92ff5d5

Please sign in to comment.