feat: update SDK for Garage ≥ 1.0.0 #2

Open
raitobezarius wants to merge 2 commits from raitobezarius/garage-admin-sdk-golang:main into main
2 changed files with 2 additions and 4 deletions

View file

@ -1269,7 +1269,6 @@ components:
hostname: neptune hostname: neptune
garageFeatures: garageFeatures:
- k2v - k2v
- sled
- lmdb - lmdb
- sqlite - sqlite
- consul-discovery - consul-discovery
@ -1288,7 +1287,6 @@ components:
garageFeatures: garageFeatures:
example: example:
- k2v - k2v
- sled
- lmdb - lmdb
- sqlite - sqlite
- consul-discovery - consul-discovery

View file

@ -124,7 +124,7 @@ func (o *GetHealth200Response) SetConnectedNodes(v int64) {
} }
// GetStorageNodes returns the StorageNodes field value // GetStorageNodes returns the StorageNodes field value
func (o *GetHealth200Response) GetStorageNodesAll() int64 { func (o *GetHealth200Response) GetStorageNodes() int64 {
if o == nil { if o == nil {
var ret int64 var ret int64
return ret return ret
@ -135,7 +135,7 @@ func (o *GetHealth200Response) GetStorageNodesAll() int64 {
// GetStorageNodesOk returns a tuple with the StorageNodes field value // GetStorageNodesOk returns a tuple with the StorageNodes field value
// and a boolean to check if the value has been set. // and a boolean to check if the value has been set.
func (o *GetHealth200Response) GetStorageNodesAllOk() (*int64, bool) { func (o *GetHealth200Response) GetStorageNodesOk() (*int64, bool) {
if o == nil { if o == nil {
return nil, false return nil, false
} }