diff --git a/Makefile b/Makefile index 70b901b6..7abf7e58 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ PWD = $(shell pwd) UID = $(shell id -u) GID = $(shell id -g) -VERSION = "0.16.0" +VERSION = "0.17.0" LD_FLAGS = -X beryju.io/gravity/pkg/extconfig.Version=${VERSION} GO_FLAGS = -ldflags "${LD_FLAGS}" -v SCHEMA_FILE = schema.yml diff --git a/api/.openapi-generator/FILES b/api/.openapi-generator/FILES index e8eb89a6..d833aa7f 100644 --- a/api/.openapi-generator/FILES +++ b/api/.openapi-generator/FILES @@ -214,5 +214,15 @@ model_types_api_metrics_role.go model_types_dhcp_option.go model_types_oidc_config.go response.go +test/api_cluster_instances_test.go test/api_cluster_test.go +test/api_roles_api_test.go +test/api_roles_backup_test.go +test/api_roles_dhcp_test.go +test/api_roles_discovery_test.go +test/api_roles_dns_test.go +test/api_roles_etcd_test.go +test/api_roles_monitoring_test.go +test/api_roles_tftp_test.go +test/api_roles_tsdb_test.go utils.go diff --git a/api/README.md b/api/README.md index 68b53b58..ef218887 100644 --- a/api/README.md +++ b/api/README.md @@ -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.16.0 +- API version: 0.17.0 - Package version: 1.0.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen diff --git a/api/api/openapi.yaml b/api/api/openapi.yaml index fc64f800..85ee07e4 100644 --- a/api/api/openapi.yaml +++ b/api/api/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: gravity - version: 0.16.0 + version: 0.17.0 servers: - url: / paths: diff --git a/api/api_cluster.go b/api/api_cluster.go index e94ae533..5c6ebe37 100644 --- a/api/api_cluster.go +++ b/api/api_cluster.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/api_cluster_instances.go b/api/api_cluster_instances.go index c013ca8b..b523ab37 100644 --- a/api/api_cluster_instances.go +++ b/api/api_cluster_instances.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/api_roles_api.go b/api/api_roles_api.go index bf72fde1..cae5d0cd 100644 --- a/api/api_roles_api.go +++ b/api/api_roles_api.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/api_roles_backup.go b/api/api_roles_backup.go index bbc8cfce..7c8f4f0b 100644 --- a/api/api_roles_backup.go +++ b/api/api_roles_backup.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/api_roles_dhcp.go b/api/api_roles_dhcp.go index 98fe461b..66d623b1 100644 --- a/api/api_roles_dhcp.go +++ b/api/api_roles_dhcp.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/api_roles_discovery.go b/api/api_roles_discovery.go index ff3bf1b2..7cfe7e06 100644 --- a/api/api_roles_discovery.go +++ b/api/api_roles_discovery.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/api_roles_dns.go b/api/api_roles_dns.go index 10a04fb8..80fe54b7 100644 --- a/api/api_roles_dns.go +++ b/api/api_roles_dns.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/api_roles_etcd.go b/api/api_roles_etcd.go index 37f1722c..dab5172e 100644 --- a/api/api_roles_etcd.go +++ b/api/api_roles_etcd.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/api_roles_monitoring.go b/api/api_roles_monitoring.go index feac0dd3..4d2d1555 100644 --- a/api/api_roles_monitoring.go +++ b/api/api_roles_monitoring.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/api_roles_tftp.go b/api/api_roles_tftp.go index 59e83c71..bea79097 100644 --- a/api/api_roles_tftp.go +++ b/api/api_roles_tftp.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/api_roles_tsdb.go b/api/api_roles_tsdb.go index 437f1df1..31f4a2b0 100644 --- a/api/api_roles_tsdb.go +++ b/api/api_roles_tsdb.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/client.go b/api/client.go index d4ac7475..6380c097 100644 --- a/api/client.go +++ b/api/client.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -40,7 +40,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the gravity API v0.16.0 +// APIClient manages communication with the gravity API v0.17.0 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/api/configuration.go b/api/configuration.go index 82b46e6b..9c7484ec 100644 --- a/api/configuration.go +++ b/api/configuration.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/docs/InstanceAPIInstancesOutput.md b/api/docs/InstanceAPIInstancesOutput.md deleted file mode 100644 index 5b7a001c..00000000 --- a/api/docs/InstanceAPIInstancesOutput.md +++ /dev/null @@ -1,61 +0,0 @@ -# InstanceAPIInstancesOutput - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Instances** | [**[]InstanceInstanceInfo**](InstanceInstanceInfo.md) | | - -## Methods - -### NewInstanceAPIInstancesOutput - -`func NewInstanceAPIInstancesOutput(instances []InstanceInstanceInfo, ) *InstanceAPIInstancesOutput` - -NewInstanceAPIInstancesOutput instantiates a new InstanceAPIInstancesOutput 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 - -### NewInstanceAPIInstancesOutputWithDefaults - -`func NewInstanceAPIInstancesOutputWithDefaults() *InstanceAPIInstancesOutput` - -NewInstanceAPIInstancesOutputWithDefaults instantiates a new InstanceAPIInstancesOutput 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 - -### GetInstances - -`func (o *InstanceAPIInstancesOutput) GetInstances() []InstanceInstanceInfo` - -GetInstances returns the Instances field if non-nil, zero value otherwise. - -### GetInstancesOk - -`func (o *InstanceAPIInstancesOutput) GetInstancesOk() (*[]InstanceInstanceInfo, bool)` - -GetInstancesOk returns a tuple with the Instances field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInstances - -`func (o *InstanceAPIInstancesOutput) SetInstances(v []InstanceInstanceInfo)` - -SetInstances sets Instances field to given value. - - -### SetInstancesNil - -`func (o *InstanceAPIInstancesOutput) SetInstancesNil(b bool)` - - SetInstancesNil sets the value for Instances to be an explicit nil - -### UnsetInstances -`func (o *InstanceAPIInstancesOutput) UnsetInstances()` - -UnsetInstances ensures that no value is present for Instances, not even an explicit nil - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/model_api_api_export_input.go b/api/model_api_api_export_input.go index 65d6f6df..b28b8229 100644 --- a/api/model_api_api_export_input.go +++ b/api/model_api_api_export_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_export_output.go b/api/model_api_api_export_output.go index 3c881d3a..f4b39f1d 100644 --- a/api/model_api_api_export_output.go +++ b/api/model_api_api_export_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_import_input.go b/api/model_api_api_import_input.go index 6be7cade..8ec8a026 100644 --- a/api/model_api_api_import_input.go +++ b/api/model_api_api_import_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_log_message.go b/api/model_api_api_log_message.go index 2ac0c78a..54f1b2ee 100644 --- a/api/model_api_api_log_message.go +++ b/api/model_api_api_log_message.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_log_messages.go b/api/model_api_api_log_messages.go index 505bcc12..609b6517 100644 --- a/api/model_api_api_log_messages.go +++ b/api/model_api_api_log_messages.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_member.go b/api/model_api_api_member.go index e7c37586..83d39e33 100644 --- a/api/model_api_api_member.go +++ b/api/model_api_api_member.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_member_join_input.go b/api/model_api_api_member_join_input.go index dbde8293..00afe493 100644 --- a/api/model_api_api_member_join_input.go +++ b/api/model_api_api_member_join_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_member_join_output.go b/api/model_api_api_member_join_output.go index 618ac534..8d16070c 100644 --- a/api/model_api_api_member_join_output.go +++ b/api/model_api_api_member_join_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_members_output.go b/api/model_api_api_members_output.go index 0e08d86d..49328aa2 100644 --- a/api/model_api_api_members_output.go +++ b/api/model_api_api_members_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_role_config_input.go b/api/model_api_api_role_config_input.go index a15af370..7963410e 100644 --- a/api/model_api_api_role_config_input.go +++ b/api/model_api_api_role_config_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_role_config_output.go b/api/model_api_api_role_config_output.go index 77bc44fc..fadf81c2 100644 --- a/api/model_api_api_role_config_output.go +++ b/api/model_api_api_role_config_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_tool_ping_input.go b/api/model_api_api_tool_ping_input.go index 873c2339..c66fb019 100644 --- a/api/model_api_api_tool_ping_input.go +++ b/api/model_api_api_tool_ping_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_tool_ping_output.go b/api/model_api_api_tool_ping_output.go index 6dbf99c1..bf2f9ebb 100644 --- a/api/model_api_api_tool_ping_output.go +++ b/api/model_api_api_tool_ping_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_tool_portmap_input.go b/api/model_api_api_tool_portmap_input.go index a5933efc..32c88e10 100644 --- a/api/model_api_api_tool_portmap_input.go +++ b/api/model_api_api_tool_portmap_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_tool_portmap_output.go b/api/model_api_api_tool_portmap_output.go index 088f4d84..300adf00 100644 --- a/api/model_api_api_tool_portmap_output.go +++ b/api/model_api_api_tool_portmap_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_tool_portmap_output_port.go b/api/model_api_api_tool_portmap_output_port.go index 9d25adb5..3ad1addd 100644 --- a/api/model_api_api_tool_portmap_output_port.go +++ b/api/model_api_api_tool_portmap_output_port.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_tool_traceroute_input.go b/api/model_api_api_tool_traceroute_input.go index bbfc0856..31ae6ffc 100644 --- a/api/model_api_api_tool_traceroute_input.go +++ b/api/model_api_api_tool_traceroute_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_tool_traceroute_output.go b/api/model_api_api_tool_traceroute_output.go index bafbafb7..5b6b4f73 100644 --- a/api/model_api_api_tool_traceroute_output.go +++ b/api/model_api_api_tool_traceroute_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_tool_traceroute_output_hop.go b/api/model_api_api_tool_traceroute_output_hop.go index 448dcf47..b2aeaaf0 100644 --- a/api/model_api_api_tool_traceroute_output_hop.go +++ b/api/model_api_api_tool_traceroute_output_hop.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_api_transport_entry.go b/api/model_api_api_transport_entry.go index 8bc8b39c..bfcaeb97 100644 --- a/api/model_api_api_transport_entry.go +++ b/api/model_api_api_transport_entry.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_api_role_config.go b/api/model_api_role_config.go index 9d2bcf0d..7f2c53f8 100644 --- a/api/model_api_role_config.go +++ b/api/model_api_role_config.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_auth_api_config_output.go b/api/model_auth_api_config_output.go index df9f026e..5ceb7bf6 100644 --- a/api/model_auth_api_config_output.go +++ b/api/model_auth_api_config_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_auth_api_login_input.go b/api/model_auth_api_login_input.go index c7a8e34d..e0a67b52 100644 --- a/api/model_auth_api_login_input.go +++ b/api/model_auth_api_login_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_auth_api_login_output.go b/api/model_auth_api_login_output.go index 30ccadf7..3d8d819b 100644 --- a/api/model_auth_api_login_output.go +++ b/api/model_auth_api_login_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_auth_api_token.go b/api/model_auth_api_token.go index 07a302b2..d535f91f 100644 --- a/api/model_auth_api_token.go +++ b/api/model_auth_api_token.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_auth_api_tokens_get_output.go b/api/model_auth_api_tokens_get_output.go index c4b9a3e8..1c33709a 100644 --- a/api/model_auth_api_tokens_get_output.go +++ b/api/model_auth_api_tokens_get_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_auth_api_tokens_put_output.go b/api/model_auth_api_tokens_put_output.go index 497035da..be1f405d 100644 --- a/api/model_auth_api_tokens_put_output.go +++ b/api/model_auth_api_tokens_put_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_auth_api_user.go b/api/model_auth_api_user.go index d1127151..de5b5c03 100644 --- a/api/model_auth_api_user.go +++ b/api/model_auth_api_user.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_auth_api_users_get_output.go b/api/model_auth_api_users_get_output.go index 187ce474..e8775973 100644 --- a/api/model_auth_api_users_get_output.go +++ b/api/model_auth_api_users_get_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_auth_api_users_put_input.go b/api/model_auth_api_users_put_input.go index db3a36cf..89cc02bf 100644 --- a/api/model_auth_api_users_put_input.go +++ b/api/model_auth_api_users_put_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_auth_apime_output.go b/api/model_auth_apime_output.go index 3c5ccede..88ce03f0 100644 --- a/api/model_auth_apime_output.go +++ b/api/model_auth_apime_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_auth_permission.go b/api/model_auth_permission.go index b5d2dfdc..8466b0a7 100644 --- a/api/model_auth_permission.go +++ b/api/model_auth_permission.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_backup_api_backup_status.go b/api/model_backup_api_backup_status.go index 030d4cb3..5b96fe40 100644 --- a/api/model_backup_api_backup_status.go +++ b/api/model_backup_api_backup_status.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_backup_api_backup_status_output.go b/api/model_backup_api_backup_status_output.go index 73f4805e..28000f89 100644 --- a/api/model_backup_api_backup_status_output.go +++ b/api/model_backup_api_backup_status_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_backup_api_role_config_input.go b/api/model_backup_api_role_config_input.go index f367e411..d501d603 100644 --- a/api/model_backup_api_role_config_input.go +++ b/api/model_backup_api_role_config_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_backup_api_role_config_output.go b/api/model_backup_api_role_config_output.go index b5b11a2b..066c8606 100644 --- a/api/model_backup_api_role_config_output.go +++ b/api/model_backup_api_role_config_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_backup_backup_status.go b/api/model_backup_backup_status.go index 3f1f578b..a637d2a1 100644 --- a/api/model_backup_backup_status.go +++ b/api/model_backup_backup_status.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_backup_role_config.go b/api/model_backup_role_config.go index 6058b446..13dfa0d9 100644 --- a/api/model_backup_role_config.go +++ b/api/model_backup_role_config.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_api_lease.go b/api/model_dhcp_api_lease.go index 9abc974b..9b36189c 100644 --- a/api/model_dhcp_api_lease.go +++ b/api/model_dhcp_api_lease.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_api_lease_info.go b/api/model_dhcp_api_lease_info.go index 24d2e2cd..e7ec441e 100644 --- a/api/model_dhcp_api_lease_info.go +++ b/api/model_dhcp_api_lease_info.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_api_leases_get_output.go b/api/model_dhcp_api_leases_get_output.go index cd7c806c..2f1e6cc6 100644 --- a/api/model_dhcp_api_leases_get_output.go +++ b/api/model_dhcp_api_leases_get_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_api_leases_put_input.go b/api/model_dhcp_api_leases_put_input.go index 2b2f0182..5ea997fa 100644 --- a/api/model_dhcp_api_leases_put_input.go +++ b/api/model_dhcp_api_leases_put_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_api_role_config_input.go b/api/model_dhcp_api_role_config_input.go index ac1625de..626456cd 100644 --- a/api/model_dhcp_api_role_config_input.go +++ b/api/model_dhcp_api_role_config_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_api_role_config_output.go b/api/model_dhcp_api_role_config_output.go index 420246cb..b331204c 100644 --- a/api/model_dhcp_api_role_config_output.go +++ b/api/model_dhcp_api_role_config_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_api_scope.go b/api/model_dhcp_api_scope.go index a3e716bb..ff8f4462 100644 --- a/api/model_dhcp_api_scope.go +++ b/api/model_dhcp_api_scope.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_api_scope_statistics.go b/api/model_dhcp_api_scope_statistics.go index cd810e39..3c4dfddc 100644 --- a/api/model_dhcp_api_scope_statistics.go +++ b/api/model_dhcp_api_scope_statistics.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_api_scopes_get_output.go b/api/model_dhcp_api_scopes_get_output.go index 0a5f1f95..34699fa8 100644 --- a/api/model_dhcp_api_scopes_get_output.go +++ b/api/model_dhcp_api_scopes_get_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_api_scopes_put_input.go b/api/model_dhcp_api_scopes_put_input.go index 26daa17b..26552545 100644 --- a/api/model_dhcp_api_scopes_put_input.go +++ b/api/model_dhcp_api_scopes_put_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_role_config.go b/api/model_dhcp_role_config.go index d9986b04..1bdcac3f 100644 --- a/api/model_dhcp_role_config.go +++ b/api/model_dhcp_role_config.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dhcp_scope_dns.go b/api/model_dhcp_scope_dns.go index 3bcaa6d3..a1a71fd2 100644 --- a/api/model_dhcp_scope_dns.go +++ b/api/model_dhcp_scope_dns.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_discovery_api_device.go b/api/model_discovery_api_device.go index 106fcf60..456df9dc 100644 --- a/api/model_discovery_api_device.go +++ b/api/model_discovery_api_device.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_discovery_api_devices_apply_input.go b/api/model_discovery_api_devices_apply_input.go index cc378b03..b7289247 100644 --- a/api/model_discovery_api_devices_apply_input.go +++ b/api/model_discovery_api_devices_apply_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_discovery_api_devices_get_output.go b/api/model_discovery_api_devices_get_output.go index 40235556..7049e4b4 100644 --- a/api/model_discovery_api_devices_get_output.go +++ b/api/model_discovery_api_devices_get_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_discovery_api_role_config_input.go b/api/model_discovery_api_role_config_input.go index fafcccac..01bb54d0 100644 --- a/api/model_discovery_api_role_config_input.go +++ b/api/model_discovery_api_role_config_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_discovery_api_role_config_output.go b/api/model_discovery_api_role_config_output.go index aa23a5dc..195ab26f 100644 --- a/api/model_discovery_api_role_config_output.go +++ b/api/model_discovery_api_role_config_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_discovery_api_subnet.go b/api/model_discovery_api_subnet.go index 5afc8691..45e81696 100644 --- a/api/model_discovery_api_subnet.go +++ b/api/model_discovery_api_subnet.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_discovery_api_subnets_get_output.go b/api/model_discovery_api_subnets_get_output.go index 771b212b..276abc53 100644 --- a/api/model_discovery_api_subnets_get_output.go +++ b/api/model_discovery_api_subnets_get_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_discovery_api_subnets_put_input.go b/api/model_discovery_api_subnets_put_input.go index 80f29f85..b1f69d96 100644 --- a/api/model_discovery_api_subnets_put_input.go +++ b/api/model_discovery_api_subnets_put_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_discovery_role_config.go b/api/model_discovery_role_config.go index f0473570..e8ff3176 100644 --- a/api/model_discovery_role_config.go +++ b/api/model_discovery_role_config.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dns_api_record.go b/api/model_dns_api_record.go index 379a5560..d8b9b61f 100644 --- a/api/model_dns_api_record.go +++ b/api/model_dns_api_record.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dns_api_records_get_output.go b/api/model_dns_api_records_get_output.go index 91416990..52f04fb8 100644 --- a/api/model_dns_api_records_get_output.go +++ b/api/model_dns_api_records_get_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dns_api_records_put_input.go b/api/model_dns_api_records_put_input.go index 784fb659..25b9251c 100644 --- a/api/model_dns_api_records_put_input.go +++ b/api/model_dns_api_records_put_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dns_api_role_config_input.go b/api/model_dns_api_role_config_input.go index e679175b..a4a2e43f 100644 --- a/api/model_dns_api_role_config_input.go +++ b/api/model_dns_api_role_config_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dns_api_role_config_output.go b/api/model_dns_api_role_config_output.go index 93dddf7f..aefea3f6 100644 --- a/api/model_dns_api_role_config_output.go +++ b/api/model_dns_api_role_config_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dns_api_zone.go b/api/model_dns_api_zone.go index 1276dcbe..569098e1 100644 --- a/api/model_dns_api_zone.go +++ b/api/model_dns_api_zone.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dns_api_zones_get_output.go b/api/model_dns_api_zones_get_output.go index 0d6e7861..56bc21dd 100644 --- a/api/model_dns_api_zones_get_output.go +++ b/api/model_dns_api_zones_get_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dns_api_zones_put_input.go b/api/model_dns_api_zones_put_input.go index 052d5a74..5d49ae1f 100644 --- a/api/model_dns_api_zones_put_input.go +++ b/api/model_dns_api_zones_put_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_dns_role_config.go b/api/model_dns_role_config.go index 21af29fc..2f5aec7c 100644 --- a/api/model_dns_role_config.go +++ b/api/model_dns_role_config.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_extconfig_ext_config_dirs.go b/api/model_extconfig_ext_config_dirs.go index b92c1d46..d1af26eb 100644 --- a/api/model_extconfig_ext_config_dirs.go +++ b/api/model_extconfig_ext_config_dirs.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_instance_api_cluster_info_output.go b/api/model_instance_api_cluster_info_output.go index 1d8b5f5d..de036f5c 100644 --- a/api/model_instance_api_cluster_info_output.go +++ b/api/model_instance_api_cluster_info_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_instance_api_instance_info.go b/api/model_instance_api_instance_info.go index 212bc8b6..2b297a9a 100644 --- a/api/model_instance_api_instance_info.go +++ b/api/model_instance_api_instance_info.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_instance_api_instances_output.go b/api/model_instance_api_instances_output.go deleted file mode 100644 index 1ac5178d..00000000 --- a/api/model_instance_api_instances_output.go +++ /dev/null @@ -1,119 +0,0 @@ -/* -gravity - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.16.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the InstanceAPIInstancesOutput type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &InstanceAPIInstancesOutput{} - -// InstanceAPIInstancesOutput struct for InstanceAPIInstancesOutput -type InstanceAPIInstancesOutput struct { - Instances []InstanceInstanceInfo `json:"instances"` -} - -// NewInstanceAPIInstancesOutput instantiates a new InstanceAPIInstancesOutput 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 -func NewInstanceAPIInstancesOutput(instances []InstanceInstanceInfo) *InstanceAPIInstancesOutput { - this := InstanceAPIInstancesOutput{} - this.Instances = instances - return &this -} - -// NewInstanceAPIInstancesOutputWithDefaults instantiates a new InstanceAPIInstancesOutput 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 -func NewInstanceAPIInstancesOutputWithDefaults() *InstanceAPIInstancesOutput { - this := InstanceAPIInstancesOutput{} - return &this -} - -// GetInstances returns the Instances field value -// If the value is explicit nil, the zero value for []InstanceInstanceInfo will be returned -func (o *InstanceAPIInstancesOutput) GetInstances() []InstanceInstanceInfo { - if o == nil { - var ret []InstanceInstanceInfo - return ret - } - - return o.Instances -} - -// GetInstancesOk returns a tuple with the Instances field value -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *InstanceAPIInstancesOutput) GetInstancesOk() ([]InstanceInstanceInfo, bool) { - if o == nil || IsNil(o.Instances) { - return nil, false - } - return o.Instances, true -} - -// SetInstances sets field value -func (o *InstanceAPIInstancesOutput) SetInstances(v []InstanceInstanceInfo) { - o.Instances = v -} - -func (o InstanceAPIInstancesOutput) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o InstanceAPIInstancesOutput) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Instances != nil { - toSerialize["instances"] = o.Instances - } - return toSerialize, nil -} - -type NullableInstanceAPIInstancesOutput struct { - value *InstanceAPIInstancesOutput - isSet bool -} - -func (v NullableInstanceAPIInstancesOutput) Get() *InstanceAPIInstancesOutput { - return v.value -} - -func (v *NullableInstanceAPIInstancesOutput) Set(val *InstanceAPIInstancesOutput) { - v.value = val - v.isSet = true -} - -func (v NullableInstanceAPIInstancesOutput) IsSet() bool { - return v.isSet -} - -func (v *NullableInstanceAPIInstancesOutput) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableInstanceAPIInstancesOutput(val *InstanceAPIInstancesOutput) *NullableInstanceAPIInstancesOutput { - return &NullableInstanceAPIInstancesOutput{value: val, isSet: true} -} - -func (v NullableInstanceAPIInstancesOutput) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableInstanceAPIInstancesOutput) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_instance_api_role_restart_input.go b/api/model_instance_api_role_restart_input.go index d8b6e1c5..27eee188 100644 --- a/api/model_instance_api_role_restart_input.go +++ b/api/model_instance_api_role_restart_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_instance_instance_info.go b/api/model_instance_instance_info.go index 39313b92..e496bd22 100644 --- a/api/model_instance_instance_info.go +++ b/api/model_instance_instance_info.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_monitoring_api_role_config_input.go b/api/model_monitoring_api_role_config_input.go index 71de7776..78fdb2a8 100644 --- a/api/model_monitoring_api_role_config_input.go +++ b/api/model_monitoring_api_role_config_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_monitoring_api_role_config_output.go b/api/model_monitoring_api_role_config_output.go index d7ee344d..33f2a607 100644 --- a/api/model_monitoring_api_role_config_output.go +++ b/api/model_monitoring_api_role_config_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_monitoring_role_config.go b/api/model_monitoring_role_config.go index a3fc70d9..3a2973fc 100644 --- a/api/model_monitoring_role_config.go +++ b/api/model_monitoring_role_config.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_rest_err_response.go b/api/model_rest_err_response.go index c9e895ec..193488b3 100644 --- a/api/model_rest_err_response.go +++ b/api/model_rest_err_response.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_tftp_api_file.go b/api/model_tftp_api_file.go index e8cd28fe..c3e97eb7 100644 --- a/api/model_tftp_api_file.go +++ b/api/model_tftp_api_file.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_tftp_api_files_download_output.go b/api/model_tftp_api_files_download_output.go index 42d39918..50ac6e2d 100644 --- a/api/model_tftp_api_files_download_output.go +++ b/api/model_tftp_api_files_download_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_tftp_api_files_get_output.go b/api/model_tftp_api_files_get_output.go index 822fb1a0..43be75f5 100644 --- a/api/model_tftp_api_files_get_output.go +++ b/api/model_tftp_api_files_get_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_tftp_api_files_put_input.go b/api/model_tftp_api_files_put_input.go index 26a804c1..99fee8d4 100644 --- a/api/model_tftp_api_files_put_input.go +++ b/api/model_tftp_api_files_put_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_tftp_api_role_config_input.go b/api/model_tftp_api_role_config_input.go index 58d6e9de..76fa2623 100644 --- a/api/model_tftp_api_role_config_input.go +++ b/api/model_tftp_api_role_config_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_tftp_api_role_config_output.go b/api/model_tftp_api_role_config_output.go index d9a74e9d..19798f52 100644 --- a/api/model_tftp_api_role_config_output.go +++ b/api/model_tftp_api_role_config_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_tftp_role_config.go b/api/model_tftp_role_config.go index 82cba6f3..7955252f 100644 --- a/api/model_tftp_role_config.go +++ b/api/model_tftp_role_config.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_tsdb_api_role_config_input.go b/api/model_tsdb_api_role_config_input.go index 2fde06ea..87920ee4 100644 --- a/api/model_tsdb_api_role_config_input.go +++ b/api/model_tsdb_api_role_config_input.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_tsdb_api_role_config_output.go b/api/model_tsdb_api_role_config_output.go index 20195a55..5643e8cb 100644 --- a/api/model_tsdb_api_role_config_output.go +++ b/api/model_tsdb_api_role_config_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_tsdb_role_config.go b/api/model_tsdb_role_config.go index fc6808d1..3f0f489a 100644 --- a/api/model_tsdb_role_config.go +++ b/api/model_tsdb_role_config.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_types_api_metrics_get_output.go b/api/model_types_api_metrics_get_output.go index cf7df4c8..a4b40e89 100644 --- a/api/model_types_api_metrics_get_output.go +++ b/api/model_types_api_metrics_get_output.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_types_api_metrics_record.go b/api/model_types_api_metrics_record.go index 7d4caabf..92d5c9fa 100644 --- a/api/model_types_api_metrics_record.go +++ b/api/model_types_api_metrics_record.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_types_api_metrics_role.go b/api/model_types_api_metrics_role.go index 22bc609f..14e15fe9 100644 --- a/api/model_types_api_metrics_role.go +++ b/api/model_types_api_metrics_role.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_types_dhcp_option.go b/api/model_types_dhcp_option.go index c3e6e796..f8d1046e 100644 --- a/api/model_types_dhcp_option.go +++ b/api/model_types_dhcp_option.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/model_types_oidc_config.go b/api/model_types_oidc_config.go index dbbcc650..213a9937 100644 --- a/api/model_types_oidc_config.go +++ b/api/model_types_oidc_config.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/response.go b/api/response.go index 11815050..9aa7fa34 100644 --- a/api/response.go +++ b/api/response.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api/test/api_cluster_instances_test.go b/api/test/api_cluster_instances_test.go index 0b2bea2b..76c0492a 100644 --- a/api/test/api_cluster_instances_test.go +++ b/api/test/api_cluster_instances_test.go @@ -23,20 +23,10 @@ func Test_api_ClusterInstancesApiService(t *testing.T) { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test ClusterInstancesApiService ClusterGetInfo", func(t *testing.T) { + t.Run("Test ClusterInstancesApiService ClusterGetInstanceInfo", func(t *testing.T) { t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.ClusterInstancesApi.ClusterGetInfo(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - }) - - t.Run("Test ClusterInstancesApiService ClusterGetInstances", func(t *testing.T) { - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ClusterInstancesApi.ClusterGetInstances(context.Background()).Execute() + resp, httpRes, err := apiClient.ClusterInstancesApi.ClusterGetInstanceInfo(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) diff --git a/api/utils.go b/api/utils.go index fcb9621e..64875556 100644 --- a/api/utils.go +++ b/api/utils.go @@ -3,7 +3,7 @@ gravity No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -API version: 0.16.0 +API version: 0.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/schema.yml b/schema.yml index 3ea4d2bc..e50b7f5f 100644 --- a/schema.yml +++ b/schema.yml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: gravity - version: 0.16.0 + version: 0.17.0 paths: /api/v1/auth/config: get: diff --git a/web/package-lock.json b/web/package-lock.json index 9b2d5b59..6164921c 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -1,12 +1,12 @@ { "name": "@beryju/gravity-web", - "version": "0.16.0", + "version": "0.17.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@beryju/gravity-web", - "version": "0.16.0", + "version": "0.17.0", "dependencies": { "@codecov/rollup-plugin": "^1.4.0", "@codemirror/lang-javascript": "^6.2.2", @@ -35,7 +35,7 @@ "eslint-plugin-lit": "^1.15.0", "eslint-plugin-wc": "^2.2.0", "globals": "^15.12.0", - "gravity-api": "^0.16.0", + "gravity-api": "^0.17.0", "lit": "^3.2.1", "moment": "^2.30.1", "prettier": "^3.3.3", @@ -3940,9 +3940,9 @@ "license": "MIT" }, "node_modules/gravity-api": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/gravity-api/-/gravity-api-0.16.0.tgz", - "integrity": "sha512-BiPjEPq/MJrVJ+v5yFhYtoVfOXIkP1iGZEeIOO/yEzOZ4Jc6f5FXn4XmVrNCIgUrew8nr9HY/+5eJPYItHVg0A==" + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/gravity-api/-/gravity-api-0.17.0.tgz", + "integrity": "sha512-Q4GkHn7VfEcdZtkpzlpKSpE31Zze2/GTwQxAvqAJVGBt4SHyWihc456C7MCEsnlDNXyr63+frlJjOHOgofggmQ==" }, "node_modules/has-flag": { "version": "3.0.0", diff --git a/web/package.json b/web/package.json index 3fe44eb5..251396f5 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "@beryju/gravity-web", - "version": "0.16.0", + "version": "0.17.0", "description": "", "scripts": { "build": "rm -rf dist/ && rollup -c", @@ -38,7 +38,7 @@ "eslint-plugin-lit": "^1.15.0", "eslint-plugin-wc": "^2.2.0", "globals": "^15.12.0", - "gravity-api": "^0.16.0", + "gravity-api": "^0.17.0", "lit": "^3.2.1", "moment": "^2.30.1", "prettier": "^3.3.3",