Skip to content

Commit

Permalink
tag version v0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Nov 25, 2024
1 parent b27935a commit a996006
Show file tree
Hide file tree
Showing 119 changed files with 685 additions and 152 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.15.1"
VERSION = "0.16.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 @@ -45,6 +45,7 @@ docs/AuthAPITokensPutOutput.md
docs/AuthAPIUser.md
docs/AuthAPIUsersGetOutput.md
docs/AuthAPIUsersPutInput.md
docs/AuthPermission.md
docs/BackupAPIBackupStatus.md
docs/BackupAPIBackupStatusOutput.md
docs/BackupAPIRoleConfigInput.md
Expand Down Expand Up @@ -149,6 +150,7 @@ model_auth_api_user.go
model_auth_api_users_get_output.go
model_auth_api_users_put_input.go
model_auth_apime_output.go
model_auth_permission.go
model_backup_api_backup_status.go
model_backup_api_backup_status_output.go
model_backup_api_role_config_input.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.15.1
- API version: 0.16.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

Expand Down Expand Up @@ -175,6 +175,7 @@ Class | Method | HTTP request | Description
- [AuthAPIUser](docs/AuthAPIUser.md)
- [AuthAPIUsersGetOutput](docs/AuthAPIUsersGetOutput.md)
- [AuthAPIUsersPutInput](docs/AuthAPIUsersPutInput.md)
- [AuthPermission](docs/AuthPermission.md)
- [BackupAPIBackupStatus](docs/BackupAPIBackupStatus.md)
- [BackupAPIBackupStatusOutput](docs/BackupAPIBackupStatusOutput.md)
- [BackupAPIRoleConfigInput](docs/BackupAPIRoleConfigInput.md)
Expand Down
91 changes: 84 additions & 7 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.15.1
version: 0.16.0
servers:
- url: /
paths:
Expand Down Expand Up @@ -1795,6 +1795,7 @@ components:
port: 0
cookieSecret: cookieSecret
listenOverride: listenOverride
sessionDuration: sessionDuration
oidc:
clientID: clientID
redirectURL: redirectURL
Expand All @@ -1815,6 +1816,7 @@ components:
port: 0
cookieSecret: cookieSecret
listenOverride: listenOverride
sessionDuration: sessionDuration
oidc:
clientID: clientID
redirectURL: redirectURL
Expand Down Expand Up @@ -1957,6 +1959,7 @@ components:
port: 0
cookieSecret: cookieSecret
listenOverride: listenOverride
sessionDuration: sessionDuration
oidc:
clientID: clientID
redirectURL: redirectURL
Expand All @@ -1974,6 +1977,8 @@ components:
$ref: '#/components/schemas/TypesOIDCConfig'
port:
type: integer
sessionDuration:
type: string
type: object
AuthAPIConfigOutput:
example:
Expand Down Expand Up @@ -2055,18 +2060,51 @@ components:
type: object
AuthAPIUser:
example:
permissions:
- path: path
methods:
- methods
- methods
- path: path
methods:
- methods
- methods
username: username
properties:
permissions:
items:
$ref: '#/components/schemas/AuthPermission'
nullable: true
type: array
username:
type: string
required:
- permissions
- username
type: object
AuthAPIUsersGetOutput:
example:
users:
- username: username
- username: username
- permissions:
- path: path
methods:
- methods
- methods
- path: path
methods:
- methods
- methods
username: username
- permissions:
- path: path
methods:
- methods
- methods
- path: path
methods:
- methods
- methods
username: username
properties:
users:
items:
Expand All @@ -2079,11 +2117,41 @@ components:
AuthAPIUsersPutInput:
example:
password: password
permissions:
- path: path
methods:
- methods
- methods
- path: path
methods:
- methods
- methods
properties:
password:
type: string
permissions:
items:
$ref: '#/components/schemas/AuthPermission'
nullable: true
type: array
required:
- password
- permissions
type: object
AuthPermission:
example:
path: path
methods:
- methods
- methods
properties:
methods:
items:
type: string
nullable: true
type: array
path:
type: string
type: object
BackupAPIBackupStatus:
example:
Expand Down Expand Up @@ -3019,11 +3087,15 @@ components:
instances:
- identifier: identifier
ip: ip
roles: roles
roles:
- roles
- roles
version: version
- identifier: identifier
ip: ip
roles: roles
roles:
- roles
- roles
version: version
properties:
instances:
Expand All @@ -3045,15 +3117,20 @@ components:
example:
identifier: identifier
ip: ip
roles: roles
roles:
- roles
- roles
version: version
properties:
identifier:
type: string
ip:
type: string
roles:
type: string
items:
type: string
nullable: true
type: array
version:
type: string
required:
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_tftp.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.

26 changes: 26 additions & 0 deletions api/docs/ApiRoleConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**ListenOverride** | Pointer to **string** | | [optional]
**Oidc** | Pointer to [**TypesOIDCConfig**](TypesOIDCConfig.md) | | [optional]
**Port** | Pointer to **int32** | | [optional]
**SessionDuration** | Pointer to **string** | | [optional]

## Methods

Expand Down Expand Up @@ -128,6 +129,31 @@ SetPort sets Port field to given value.

HasPort returns a boolean if a field has been set.

### GetSessionDuration

`func (o *ApiRoleConfig) GetSessionDuration() string`

GetSessionDuration returns the SessionDuration field if non-nil, zero value otherwise.

### GetSessionDurationOk

`func (o *ApiRoleConfig) GetSessionDurationOk() (*string, bool)`

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

### SetSessionDuration

`func (o *ApiRoleConfig) SetSessionDuration(v string)`

SetSessionDuration sets SessionDuration field to given value.

### HasSessionDuration

`func (o *ApiRoleConfig) HasSessionDuration() bool`

HasSessionDuration returns a boolean if a field has been set.


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

Expand Down
Loading

0 comments on commit a996006

Please sign in to comment.