Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AllowlistEntry
- func (o *AllowlistEntry) GetCidrIp() string
- func (o *AllowlistEntry) GetCidrIpOk() (*string, bool)
- func (o *AllowlistEntry) GetCidrMask() int32
- func (o *AllowlistEntry) GetCidrMaskOk() (*int32, bool)
- func (o *AllowlistEntry) GetName() string
- func (o *AllowlistEntry) GetNameOk() (*string, bool)
- func (o *AllowlistEntry) GetSql() bool
- func (o *AllowlistEntry) GetSqlOk() (*bool, bool)
- func (o *AllowlistEntry) GetUi() bool
- func (o *AllowlistEntry) GetUiOk() (*bool, bool)
- func (o *AllowlistEntry) HasName() bool
- func (o AllowlistEntry) MarshalJSON() ([]byte, error)
- func (o *AllowlistEntry) SetCidrIp(v string)
- func (o *AllowlistEntry) SetCidrMask(v int32)
- func (o *AllowlistEntry) SetName(v string)
- func (o *AllowlistEntry) SetSql(v bool)
- func (o *AllowlistEntry) SetUi(v bool)
- type Any
- type ApiAddAllowlistEntry2Request
- type ApiAddAllowlistEntryRequest
- type ApiCloudProvider
- type ApiCreateClusterRequest
- type ApiCreateSQLUserRequest
- type ApiDeleteAllowlistEntryRequest
- type ApiDeleteClusterRequest
- type ApiDeleteSQLUserRequest
- type ApiEnableCMEKRequest
- type ApiGetCMEKClusterInfoRequest
- type ApiGetClusterRequest
- type ApiListAllowlistEntriesRequest
- func (r ApiListAllowlistEntriesRequest) Execute() (*ListAllowlistEntriesResponse, *http.Response, error)
- func (r ApiListAllowlistEntriesRequest) PaginationDirection(paginationDirection string) ApiListAllowlistEntriesRequest
- func (r ApiListAllowlistEntriesRequest) PaginationLimit(paginationLimit int32) ApiListAllowlistEntriesRequest
- func (r ApiListAllowlistEntriesRequest) PaginationOrder(paginationOrder string) ApiListAllowlistEntriesRequest
- func (r ApiListAllowlistEntriesRequest) PaginationStartKey(paginationStartKey string) ApiListAllowlistEntriesRequest
- func (r ApiListAllowlistEntriesRequest) PaginationTime(paginationTime time.Time) ApiListAllowlistEntriesRequest
- type ApiListAvailableRegionsRequest
- func (r ApiListAvailableRegionsRequest) Execute() (*ListAvailableRegionsResponse, *http.Response, error)
- func (r ApiListAvailableRegionsRequest) PaginationDirection(paginationDirection string) ApiListAvailableRegionsRequest
- func (r ApiListAvailableRegionsRequest) PaginationLimit(paginationLimit int32) ApiListAvailableRegionsRequest
- func (r ApiListAvailableRegionsRequest) PaginationOrder(paginationOrder string) ApiListAvailableRegionsRequest
- func (r ApiListAvailableRegionsRequest) PaginationStartKey(paginationStartKey string) ApiListAvailableRegionsRequest
- func (r ApiListAvailableRegionsRequest) PaginationTime(paginationTime time.Time) ApiListAvailableRegionsRequest
- func (r ApiListAvailableRegionsRequest) Provider(provider string) ApiListAvailableRegionsRequest
- func (r ApiListAvailableRegionsRequest) Serverless(serverless bool) ApiListAvailableRegionsRequest
- type ApiListClusterNodesRequest
- func (r ApiListClusterNodesRequest) Execute() (*ListClusterNodesResponse, *http.Response, error)
- func (r ApiListClusterNodesRequest) PaginationDirection(paginationDirection string) ApiListClusterNodesRequest
- func (r ApiListClusterNodesRequest) PaginationLimit(paginationLimit int32) ApiListClusterNodesRequest
- func (r ApiListClusterNodesRequest) PaginationOrder(paginationOrder string) ApiListClusterNodesRequest
- func (r ApiListClusterNodesRequest) PaginationStartKey(paginationStartKey string) ApiListClusterNodesRequest
- func (r ApiListClusterNodesRequest) PaginationTime(paginationTime time.Time) ApiListClusterNodesRequest
- func (r ApiListClusterNodesRequest) RegionName(regionName string) ApiListClusterNodesRequest
- type ApiListClustersRequest
- func (r ApiListClustersRequest) Execute() (*ListClustersResponse, *http.Response, error)
- func (r ApiListClustersRequest) PaginationDirection(paginationDirection string) ApiListClustersRequest
- func (r ApiListClustersRequest) PaginationLimit(paginationLimit int32) ApiListClustersRequest
- func (r ApiListClustersRequest) PaginationOrder(paginationOrder string) ApiListClustersRequest
- func (r ApiListClustersRequest) PaginationStartKey(paginationStartKey string) ApiListClustersRequest
- func (r ApiListClustersRequest) PaginationTime(paginationTime time.Time) ApiListClustersRequest
- func (r ApiListClustersRequest) ShowInactive(showInactive bool) ApiListClustersRequest
- type ApiListSQLUsersRequest
- func (r ApiListSQLUsersRequest) Execute() (*ListSQLUsersResponse, *http.Response, error)
- func (r ApiListSQLUsersRequest) PaginationDirection(paginationDirection string) ApiListSQLUsersRequest
- func (r ApiListSQLUsersRequest) PaginationLimit(paginationLimit int32) ApiListSQLUsersRequest
- func (r ApiListSQLUsersRequest) PaginationOrder(paginationOrder string) ApiListSQLUsersRequest
- func (r ApiListSQLUsersRequest) PaginationStartKey(paginationStartKey string) ApiListSQLUsersRequest
- func (r ApiListSQLUsersRequest) PaginationTime(paginationTime time.Time) ApiListSQLUsersRequest
- type ApiUpdateAllowlistEntryRequest
- func (r ApiUpdateAllowlistEntryRequest) AllowlistEntry(allowlistEntry AllowlistEntry) ApiUpdateAllowlistEntryRequest
- func (r ApiUpdateAllowlistEntryRequest) Execute() (*AllowlistEntry, *http.Response, error)
- func (r ApiUpdateAllowlistEntryRequest) FieldMask(fieldMask string) ApiUpdateAllowlistEntryRequest
- type ApiUpdateCMEKStatusRequest
- type ApiUpdateClusterRequest
- func (r ApiUpdateClusterRequest) Execute() (*Cluster, *http.Response, error)
- func (r ApiUpdateClusterRequest) FieldMask(fieldMask string) ApiUpdateClusterRequest
- func (r ApiUpdateClusterRequest) UpdateClusterSpecification(updateClusterSpecification UpdateClusterSpecification) ApiUpdateClusterRequest
- type ApiUpdateSQLUserPasswordRequest
- type BasicAuth
- type CMEKClusterInfo
- func (o *CMEKClusterInfo) GetRegionInfos() []CMEKRegionInfo
- func (o *CMEKClusterInfo) GetRegionInfosOk() ([]CMEKRegionInfo, bool)
- func (o *CMEKClusterInfo) GetStatus() CMEKStatus
- func (o *CMEKClusterInfo) GetStatusOk() (*CMEKStatus, bool)
- func (o *CMEKClusterInfo) HasRegionInfos() bool
- func (o *CMEKClusterInfo) HasStatus() bool
- func (o CMEKClusterInfo) MarshalJSON() ([]byte, error)
- func (o *CMEKClusterInfo) SetRegionInfos(v []CMEKRegionInfo)
- func (o *CMEKClusterInfo) SetStatus(v CMEKStatus)
- type CMEKClusterSpecification
- func (o *CMEKClusterSpecification) GetRegionSpecs() []CMEKRegionSpecification
- func (o *CMEKClusterSpecification) GetRegionSpecsOk() ([]CMEKRegionSpecification, bool)
- func (o CMEKClusterSpecification) MarshalJSON() ([]byte, error)
- func (o *CMEKClusterSpecification) SetRegionSpecs(v []CMEKRegionSpecification)
- type CMEKCustomerAction
- type CMEKKeyInfo
- func (o *CMEKKeyInfo) GetCreatedAt() time.Time
- func (o *CMEKKeyInfo) GetCreatedAtOk() (*time.Time, bool)
- func (o *CMEKKeyInfo) GetSpec() CMEKKeySpecification
- func (o *CMEKKeyInfo) GetSpecOk() (*CMEKKeySpecification, bool)
- func (o *CMEKKeyInfo) GetStatus() CMEKStatus
- func (o *CMEKKeyInfo) GetStatusOk() (*CMEKStatus, bool)
- func (o *CMEKKeyInfo) GetUpdatedAt() time.Time
- func (o *CMEKKeyInfo) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CMEKKeyInfo) GetUserMessage() string
- func (o *CMEKKeyInfo) GetUserMessageOk() (*string, bool)
- func (o *CMEKKeyInfo) HasCreatedAt() bool
- func (o *CMEKKeyInfo) HasSpec() bool
- func (o *CMEKKeyInfo) HasStatus() bool
- func (o *CMEKKeyInfo) HasUpdatedAt() bool
- func (o *CMEKKeyInfo) HasUserMessage() bool
- func (o CMEKKeyInfo) MarshalJSON() ([]byte, error)
- func (o *CMEKKeyInfo) SetCreatedAt(v time.Time)
- func (o *CMEKKeyInfo) SetSpec(v CMEKKeySpecification)
- func (o *CMEKKeyInfo) SetStatus(v CMEKStatus)
- func (o *CMEKKeyInfo) SetUpdatedAt(v time.Time)
- func (o *CMEKKeyInfo) SetUserMessage(v string)
- type CMEKKeySpecification
- func (o *CMEKKeySpecification) GetAuthPrincipal() string
- func (o *CMEKKeySpecification) GetAuthPrincipalOk() (*string, bool)
- func (o *CMEKKeySpecification) GetType() CMEKKeyType
- func (o *CMEKKeySpecification) GetTypeOk() (*CMEKKeyType, bool)
- func (o *CMEKKeySpecification) GetUri() string
- func (o *CMEKKeySpecification) GetUriOk() (*string, bool)
- func (o *CMEKKeySpecification) HasAuthPrincipal() bool
- func (o *CMEKKeySpecification) HasType() bool
- func (o *CMEKKeySpecification) HasUri() bool
- func (o CMEKKeySpecification) MarshalJSON() ([]byte, error)
- func (o *CMEKKeySpecification) SetAuthPrincipal(v string)
- func (o *CMEKKeySpecification) SetType(v CMEKKeyType)
- func (o *CMEKKeySpecification) SetUri(v string)
- type CMEKKeyType
- type CMEKRegionInfo
- func (o *CMEKRegionInfo) GetKeyInfos() []CMEKKeyInfo
- func (o *CMEKRegionInfo) GetKeyInfosOk() ([]CMEKKeyInfo, bool)
- func (o *CMEKRegionInfo) GetRegion() string
- func (o *CMEKRegionInfo) GetRegionOk() (*string, bool)
- func (o *CMEKRegionInfo) HasKeyInfos() bool
- func (o *CMEKRegionInfo) HasRegion() bool
- func (o CMEKRegionInfo) MarshalJSON() ([]byte, error)
- func (o *CMEKRegionInfo) SetKeyInfos(v []CMEKKeyInfo)
- func (o *CMEKRegionInfo) SetRegion(v string)
- type CMEKRegionSpecification
- func (o *CMEKRegionSpecification) GetKeySpec() CMEKKeySpecification
- func (o *CMEKRegionSpecification) GetKeySpecOk() (*CMEKKeySpecification, bool)
- func (o *CMEKRegionSpecification) GetRegion() string
- func (o *CMEKRegionSpecification) GetRegionOk() (*string, bool)
- func (o *CMEKRegionSpecification) HasKeySpec() bool
- func (o *CMEKRegionSpecification) HasRegion() bool
- func (o CMEKRegionSpecification) MarshalJSON() ([]byte, error)
- func (o *CMEKRegionSpecification) SetKeySpec(v CMEKKeySpecification)
- func (o *CMEKRegionSpecification) SetRegion(v string)
- type CMEKStatus
- type CloudProviderRegion
- func (o *CloudProviderRegion) GetDistance() float32
- func (o *CloudProviderRegion) GetDistanceOk() (*float32, bool)
- func (o *CloudProviderRegion) GetLocation() string
- func (o *CloudProviderRegion) GetLocationOk() (*string, bool)
- func (o *CloudProviderRegion) GetName() string
- func (o *CloudProviderRegion) GetNameOk() (*string, bool)
- func (o *CloudProviderRegion) GetProvider() ApiCloudProvider
- func (o *CloudProviderRegion) GetProviderOk() (*ApiCloudProvider, bool)
- func (o *CloudProviderRegion) GetServerless() bool
- func (o *CloudProviderRegion) GetServerlessOk() (*bool, bool)
- func (o CloudProviderRegion) MarshalJSON() ([]byte, error)
- func (o *CloudProviderRegion) SetDistance(v float32)
- func (o *CloudProviderRegion) SetLocation(v string)
- func (o *CloudProviderRegion) SetName(v string)
- func (o *CloudProviderRegion) SetProvider(v ApiCloudProvider)
- func (o *CloudProviderRegion) SetServerless(v bool)
- type Cluster
- func (o *Cluster) GetAccountId() string
- func (o *Cluster) GetAccountIdOk() (*string, bool)
- func (o *Cluster) GetCloudProvider() ApiCloudProvider
- func (o *Cluster) GetCloudProviderOk() (*ApiCloudProvider, bool)
- func (o *Cluster) GetCockroachVersion() string
- func (o *Cluster) GetCockroachVersionOk() (*string, bool)
- func (o *Cluster) GetConfig() ClusterConfig
- func (o *Cluster) GetConfigOk() (*ClusterConfig, bool)
- func (o *Cluster) GetCreatedAt() time.Time
- func (o *Cluster) GetCreatedAtOk() (*time.Time, bool)
- func (o *Cluster) GetCreatorId() string
- func (o *Cluster) GetCreatorIdOk() (*string, bool)
- func (o *Cluster) GetDeletedAt() time.Time
- func (o *Cluster) GetDeletedAtOk() (*time.Time, bool)
- func (o *Cluster) GetId() string
- func (o *Cluster) GetIdOk() (*string, bool)
- func (o *Cluster) GetName() string
- func (o *Cluster) GetNameOk() (*string, bool)
- func (o *Cluster) GetOperationStatus() ClusterStatusType
- func (o *Cluster) GetOperationStatusOk() (*ClusterStatusType, bool)
- func (o *Cluster) GetPlan() Plan
- func (o *Cluster) GetPlanOk() (*Plan, bool)
- func (o *Cluster) GetRegions() []Region
- func (o *Cluster) GetRegionsOk() ([]Region, bool)
- func (o *Cluster) GetState() ClusterStateType
- func (o *Cluster) GetStateOk() (*ClusterStateType, bool)
- func (o *Cluster) GetUpdatedAt() time.Time
- func (o *Cluster) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Cluster) HasAccountId() bool
- func (o *Cluster) HasCreatedAt() bool
- func (o *Cluster) HasDeletedAt() bool
- func (o *Cluster) HasUpdatedAt() bool
- func (o Cluster) MarshalJSON() ([]byte, error)
- func (o *Cluster) SetAccountId(v string)
- func (o *Cluster) SetCloudProvider(v ApiCloudProvider)
- func (o *Cluster) SetCockroachVersion(v string)
- func (o *Cluster) SetConfig(v ClusterConfig)
- func (o *Cluster) SetCreatedAt(v time.Time)
- func (o *Cluster) SetCreatorId(v string)
- func (o *Cluster) SetDeletedAt(v time.Time)
- func (o *Cluster) SetId(v string)
- func (o *Cluster) SetName(v string)
- func (o *Cluster) SetOperationStatus(v ClusterStatusType)
- func (o *Cluster) SetPlan(v Plan)
- func (o *Cluster) SetRegions(v []Region)
- func (o *Cluster) SetState(v ClusterStateType)
- func (o *Cluster) SetUpdatedAt(v time.Time)
- type ClusterConfig
- func (o *ClusterConfig) GetDedicated() DedicatedHardwareConfig
- func (o *ClusterConfig) GetDedicatedOk() (*DedicatedHardwareConfig, bool)
- func (o *ClusterConfig) GetServerless() ServerlessClusterConfig
- func (o *ClusterConfig) GetServerlessOk() (*ServerlessClusterConfig, bool)
- func (o *ClusterConfig) HasDedicated() bool
- func (o *ClusterConfig) HasServerless() bool
- func (o ClusterConfig) MarshalJSON() ([]byte, error)
- func (o *ClusterConfig) SetDedicated(v DedicatedHardwareConfig)
- func (o *ClusterConfig) SetServerless(v ServerlessClusterConfig)
- type ClusterStateType
- type ClusterStatusType
- type CockroachCloudApiService
- func (a *CockroachCloudApiService) AddAllowlistEntry(ctx context.Context, clusterId string) ApiAddAllowlistEntryRequest
- func (a *CockroachCloudApiService) AddAllowlistEntry2(ctx context.Context, clusterId string, entryCidrIp string, entryCidrMask int32) ApiAddAllowlistEntry2Request
- func (a *CockroachCloudApiService) AddAllowlistEntry2Execute(r ApiAddAllowlistEntry2Request) (*AllowlistEntry, *http.Response, error)
- func (a *CockroachCloudApiService) AddAllowlistEntryExecute(r ApiAddAllowlistEntryRequest) (*AllowlistEntry, *http.Response, error)
- func (a *CockroachCloudApiService) CreateCluster(ctx context.Context) ApiCreateClusterRequest
- func (a *CockroachCloudApiService) CreateClusterExecute(r ApiCreateClusterRequest) (*Cluster, *http.Response, error)
- func (a *CockroachCloudApiService) CreateSQLUser(ctx context.Context, clusterId string) ApiCreateSQLUserRequest
- func (a *CockroachCloudApiService) CreateSQLUserExecute(r ApiCreateSQLUserRequest) (*SQLUser, *http.Response, error)
- func (a *CockroachCloudApiService) DeleteAllowlistEntry(ctx context.Context, clusterId string, cidrIp string, cidrMask int32) ApiDeleteAllowlistEntryRequest
- func (a *CockroachCloudApiService) DeleteAllowlistEntryExecute(r ApiDeleteAllowlistEntryRequest) (*AllowlistEntry, *http.Response, error)
- func (a *CockroachCloudApiService) DeleteCluster(ctx context.Context, clusterId string) ApiDeleteClusterRequest
- func (a *CockroachCloudApiService) DeleteClusterExecute(r ApiDeleteClusterRequest) (*Cluster, *http.Response, error)
- func (a *CockroachCloudApiService) DeleteSQLUser(ctx context.Context, clusterId string, name string) ApiDeleteSQLUserRequest
- func (a *CockroachCloudApiService) DeleteSQLUserExecute(r ApiDeleteSQLUserRequest) (*SQLUser, *http.Response, error)
- func (a *CockroachCloudApiService) EnableCMEK(ctx context.Context, clusterId string) ApiEnableCMEKRequest
- func (a *CockroachCloudApiService) EnableCMEKExecute(r ApiEnableCMEKRequest) (*CMEKClusterInfo, *http.Response, error)
- func (a *CockroachCloudApiService) GetCMEKClusterInfo(ctx context.Context, clusterId string) ApiGetCMEKClusterInfoRequest
- func (a *CockroachCloudApiService) GetCMEKClusterInfoExecute(r ApiGetCMEKClusterInfoRequest) (*CMEKClusterInfo, *http.Response, error)
- func (a *CockroachCloudApiService) GetCluster(ctx context.Context, clusterId string) ApiGetClusterRequest
- func (a *CockroachCloudApiService) GetClusterExecute(r ApiGetClusterRequest) (*Cluster, *http.Response, error)
- func (a *CockroachCloudApiService) ListAllowlistEntries(ctx context.Context, clusterId string) ApiListAllowlistEntriesRequest
- func (a *CockroachCloudApiService) ListAllowlistEntriesExecute(r ApiListAllowlistEntriesRequest) (*ListAllowlistEntriesResponse, *http.Response, error)
- func (a *CockroachCloudApiService) ListAvailableRegions(ctx context.Context) ApiListAvailableRegionsRequest
- func (a *CockroachCloudApiService) ListAvailableRegionsExecute(r ApiListAvailableRegionsRequest) (*ListAvailableRegionsResponse, *http.Response, error)
- func (a *CockroachCloudApiService) ListClusterNodes(ctx context.Context, clusterId string) ApiListClusterNodesRequest
- func (a *CockroachCloudApiService) ListClusterNodesExecute(r ApiListClusterNodesRequest) (*ListClusterNodesResponse, *http.Response, error)
- func (a *CockroachCloudApiService) ListClusters(ctx context.Context) ApiListClustersRequest
- func (a *CockroachCloudApiService) ListClustersExecute(r ApiListClustersRequest) (*ListClustersResponse, *http.Response, error)
- func (a *CockroachCloudApiService) ListSQLUsers(ctx context.Context, clusterId string) ApiListSQLUsersRequest
- func (a *CockroachCloudApiService) ListSQLUsersExecute(r ApiListSQLUsersRequest) (*ListSQLUsersResponse, *http.Response, error)
- func (a *CockroachCloudApiService) UpdateAllowlistEntry(ctx context.Context, clusterId string, entryCidrIp string, entryCidrMask int32) ApiUpdateAllowlistEntryRequest
- func (a *CockroachCloudApiService) UpdateAllowlistEntryExecute(r ApiUpdateAllowlistEntryRequest) (*AllowlistEntry, *http.Response, error)
- func (a *CockroachCloudApiService) UpdateCMEKStatus(ctx context.Context, clusterId string) ApiUpdateCMEKStatusRequest
- func (a *CockroachCloudApiService) UpdateCMEKStatusExecute(r ApiUpdateCMEKStatusRequest) (*CMEKClusterInfo, *http.Response, error)
- func (a *CockroachCloudApiService) UpdateCluster(ctx context.Context, clusterId string) ApiUpdateClusterRequest
- func (a *CockroachCloudApiService) UpdateClusterExecute(r ApiUpdateClusterRequest) (*Cluster, *http.Response, error)
- func (a *CockroachCloudApiService) UpdateSQLUserPassword(ctx context.Context, clusterId string, name string) ApiUpdateSQLUserPasswordRequest
- func (a *CockroachCloudApiService) UpdateSQLUserPasswordExecute(r ApiUpdateSQLUserPasswordRequest) (*SQLUser, *http.Response, error)
- type Configuration
- type CreateClusterRequest
- func (o *CreateClusterRequest) GetName() string
- func (o *CreateClusterRequest) GetNameOk() (*string, bool)
- func (o *CreateClusterRequest) GetProvider() ApiCloudProvider
- func (o *CreateClusterRequest) GetProviderOk() (*ApiCloudProvider, bool)
- func (o *CreateClusterRequest) GetSpec() CreateClusterSpecification
- func (o *CreateClusterRequest) GetSpecOk() (*CreateClusterSpecification, bool)
- func (o CreateClusterRequest) MarshalJSON() ([]byte, error)
- func (o *CreateClusterRequest) SetName(v string)
- func (o *CreateClusterRequest) SetProvider(v ApiCloudProvider)
- func (o *CreateClusterRequest) SetSpec(v CreateClusterSpecification)
- type CreateClusterSpecification
- func (o *CreateClusterSpecification) GetDedicated() DedicatedClusterCreateSpecification
- func (o *CreateClusterSpecification) GetDedicatedOk() (*DedicatedClusterCreateSpecification, bool)
- func (o *CreateClusterSpecification) GetServerless() ServerlessClusterCreateSpecification
- func (o *CreateClusterSpecification) GetServerlessOk() (*ServerlessClusterCreateSpecification, bool)
- func (o *CreateClusterSpecification) HasDedicated() bool
- func (o *CreateClusterSpecification) HasServerless() bool
- func (o CreateClusterSpecification) MarshalJSON() ([]byte, error)
- func (o *CreateClusterSpecification) SetDedicated(v DedicatedClusterCreateSpecification)
- func (o *CreateClusterSpecification) SetServerless(v ServerlessClusterCreateSpecification)
- type CreateSQLUserRequest
- func (o *CreateSQLUserRequest) GetName() string
- func (o *CreateSQLUserRequest) GetNameOk() (*string, bool)
- func (o *CreateSQLUserRequest) GetPassword() string
- func (o *CreateSQLUserRequest) GetPasswordOk() (*string, bool)
- func (o CreateSQLUserRequest) MarshalJSON() ([]byte, error)
- func (o *CreateSQLUserRequest) SetName(v string)
- func (o *CreateSQLUserRequest) SetPassword(v string)
- type DedicatedClusterCreateSpecification
- func (o *DedicatedClusterCreateSpecification) GetCockroachVersion() string
- func (o *DedicatedClusterCreateSpecification) GetCockroachVersionOk() (*string, bool)
- func (o *DedicatedClusterCreateSpecification) GetHardware() DedicatedHardwareCreateSpecification
- func (o *DedicatedClusterCreateSpecification) GetHardwareOk() (*DedicatedHardwareCreateSpecification, bool)
- func (o *DedicatedClusterCreateSpecification) GetRegionNodes() map[string]int32
- func (o *DedicatedClusterCreateSpecification) GetRegionNodesOk() (*map[string]int32, bool)
- func (o *DedicatedClusterCreateSpecification) HasCockroachVersion() bool
- func (o DedicatedClusterCreateSpecification) MarshalJSON() ([]byte, error)
- func (o *DedicatedClusterCreateSpecification) SetCockroachVersion(v string)
- func (o *DedicatedClusterCreateSpecification) SetHardware(v DedicatedHardwareCreateSpecification)
- func (o *DedicatedClusterCreateSpecification) SetRegionNodes(v map[string]int32)
- type DedicatedClusterUpdateSpecification
- func (o *DedicatedClusterUpdateSpecification) GetHardware() DedicatedHardwareUpdateSpecification
- func (o *DedicatedClusterUpdateSpecification) GetHardwareOk() (*DedicatedHardwareUpdateSpecification, bool)
- func (o *DedicatedClusterUpdateSpecification) GetRegionNodes() map[string]int32
- func (o *DedicatedClusterUpdateSpecification) GetRegionNodesOk() (*map[string]int32, bool)
- func (o *DedicatedClusterUpdateSpecification) HasHardware() bool
- func (o *DedicatedClusterUpdateSpecification) HasRegionNodes() bool
- func (o DedicatedClusterUpdateSpecification) MarshalJSON() ([]byte, error)
- func (o *DedicatedClusterUpdateSpecification) SetHardware(v DedicatedHardwareUpdateSpecification)
- func (o *DedicatedClusterUpdateSpecification) SetRegionNodes(v map[string]int32)
- type DedicatedHardwareConfig
- func (o *DedicatedHardwareConfig) GetDiskIops() int32
- func (o *DedicatedHardwareConfig) GetDiskIopsOk() (*int32, bool)
- func (o *DedicatedHardwareConfig) GetMachineType() string
- func (o *DedicatedHardwareConfig) GetMachineTypeOk() (*string, bool)
- func (o *DedicatedHardwareConfig) GetMemoryGib() float32
- func (o *DedicatedHardwareConfig) GetMemoryGibOk() (*float32, bool)
- func (o *DedicatedHardwareConfig) GetNumVirtualCpus() int32
- func (o *DedicatedHardwareConfig) GetNumVirtualCpusOk() (*int32, bool)
- func (o *DedicatedHardwareConfig) GetStorageGib() int32
- func (o *DedicatedHardwareConfig) GetStorageGibOk() (*int32, bool)
- func (o DedicatedHardwareConfig) MarshalJSON() ([]byte, error)
- func (o *DedicatedHardwareConfig) SetDiskIops(v int32)
- func (o *DedicatedHardwareConfig) SetMachineType(v string)
- func (o *DedicatedHardwareConfig) SetMemoryGib(v float32)
- func (o *DedicatedHardwareConfig) SetNumVirtualCpus(v int32)
- func (o *DedicatedHardwareConfig) SetStorageGib(v int32)
- type DedicatedHardwareCreateSpecification
- func (o *DedicatedHardwareCreateSpecification) GetDiskIops() int32
- func (o *DedicatedHardwareCreateSpecification) GetDiskIopsOk() (*int32, bool)
- func (o *DedicatedHardwareCreateSpecification) GetMachineSpec() DedicatedMachineTypeSpecification
- func (o *DedicatedHardwareCreateSpecification) GetMachineSpecOk() (*DedicatedMachineTypeSpecification, bool)
- func (o *DedicatedHardwareCreateSpecification) GetStorageGib() int32
- func (o *DedicatedHardwareCreateSpecification) GetStorageGibOk() (*int32, bool)
- func (o *DedicatedHardwareCreateSpecification) HasDiskIops() bool
- func (o DedicatedHardwareCreateSpecification) MarshalJSON() ([]byte, error)
- func (o *DedicatedHardwareCreateSpecification) SetDiskIops(v int32)
- func (o *DedicatedHardwareCreateSpecification) SetMachineSpec(v DedicatedMachineTypeSpecification)
- func (o *DedicatedHardwareCreateSpecification) SetStorageGib(v int32)
- type DedicatedHardwareUpdateSpecification
- func (o *DedicatedHardwareUpdateSpecification) GetDiskIops() int32
- func (o *DedicatedHardwareUpdateSpecification) GetDiskIopsOk() (*int32, bool)
- func (o *DedicatedHardwareUpdateSpecification) GetMachineSpec() DedicatedMachineTypeSpecification
- func (o *DedicatedHardwareUpdateSpecification) GetMachineSpecOk() (*DedicatedMachineTypeSpecification, bool)
- func (o *DedicatedHardwareUpdateSpecification) GetStorageGib() int32
- func (o *DedicatedHardwareUpdateSpecification) GetStorageGibOk() (*int32, bool)
- func (o *DedicatedHardwareUpdateSpecification) HasDiskIops() bool
- func (o *DedicatedHardwareUpdateSpecification) HasMachineSpec() bool
- func (o *DedicatedHardwareUpdateSpecification) HasStorageGib() bool
- func (o DedicatedHardwareUpdateSpecification) MarshalJSON() ([]byte, error)
- func (o *DedicatedHardwareUpdateSpecification) SetDiskIops(v int32)
- func (o *DedicatedHardwareUpdateSpecification) SetMachineSpec(v DedicatedMachineTypeSpecification)
- func (o *DedicatedHardwareUpdateSpecification) SetStorageGib(v int32)
- type DedicatedMachineTypeSpecification
- func (o *DedicatedMachineTypeSpecification) GetMachineType() string
- func (o *DedicatedMachineTypeSpecification) GetMachineTypeOk() (*string, bool)
- func (o *DedicatedMachineTypeSpecification) GetNumVirtualCpus() int32
- func (o *DedicatedMachineTypeSpecification) GetNumVirtualCpusOk() (*int32, bool)
- func (o *DedicatedMachineTypeSpecification) HasMachineType() bool
- func (o *DedicatedMachineTypeSpecification) HasNumVirtualCpus() bool
- func (o DedicatedMachineTypeSpecification) MarshalJSON() ([]byte, error)
- func (o *DedicatedMachineTypeSpecification) SetMachineType(v string)
- func (o *DedicatedMachineTypeSpecification) SetNumVirtualCpus(v int32)
- type GenericOpenAPIError
- type KeysetPaginationRequest
- func (o *KeysetPaginationRequest) GetDirection() PageDirection
- func (o *KeysetPaginationRequest) GetDirectionOk() (*PageDirection, bool)
- func (o *KeysetPaginationRequest) GetLimit() int32
- func (o *KeysetPaginationRequest) GetLimitOk() (*int32, bool)
- func (o *KeysetPaginationRequest) GetOrder() SortOrder
- func (o *KeysetPaginationRequest) GetOrderOk() (*SortOrder, bool)
- func (o *KeysetPaginationRequest) GetStartKey() string
- func (o *KeysetPaginationRequest) GetStartKeyOk() (*string, bool)
- func (o *KeysetPaginationRequest) GetTime() time.Time
- func (o *KeysetPaginationRequest) GetTimeOk() (*time.Time, bool)
- func (o *KeysetPaginationRequest) HasDirection() bool
- func (o *KeysetPaginationRequest) HasLimit() bool
- func (o *KeysetPaginationRequest) HasOrder() bool
- func (o *KeysetPaginationRequest) HasStartKey() bool
- func (o *KeysetPaginationRequest) HasTime() bool
- func (o KeysetPaginationRequest) MarshalJSON() ([]byte, error)
- func (o *KeysetPaginationRequest) SetDirection(v PageDirection)
- func (o *KeysetPaginationRequest) SetLimit(v int32)
- func (o *KeysetPaginationRequest) SetOrder(v SortOrder)
- func (o *KeysetPaginationRequest) SetStartKey(v string)
- func (o *KeysetPaginationRequest) SetTime(v time.Time)
- type KeysetPaginationResponse
- func (o *KeysetPaginationResponse) GetLast() string
- func (o *KeysetPaginationResponse) GetLastOk() (*string, bool)
- func (o *KeysetPaginationResponse) GetLimit() int32
- func (o *KeysetPaginationResponse) GetLimitOk() (*int32, bool)
- func (o *KeysetPaginationResponse) GetNext() string
- func (o *KeysetPaginationResponse) GetNextOk() (*string, bool)
- func (o *KeysetPaginationResponse) GetOrder() string
- func (o *KeysetPaginationResponse) GetOrderOk() (*string, bool)
- func (o *KeysetPaginationResponse) GetTime() string
- func (o *KeysetPaginationResponse) GetTimeOk() (*string, bool)
- func (o *KeysetPaginationResponse) HasLast() bool
- func (o *KeysetPaginationResponse) HasLimit() bool
- func (o *KeysetPaginationResponse) HasNext() bool
- func (o *KeysetPaginationResponse) HasOrder() bool
- func (o *KeysetPaginationResponse) HasTime() bool
- func (o KeysetPaginationResponse) MarshalJSON() ([]byte, error)
- func (o *KeysetPaginationResponse) SetLast(v string)
- func (o *KeysetPaginationResponse) SetLimit(v int32)
- func (o *KeysetPaginationResponse) SetNext(v string)
- func (o *KeysetPaginationResponse) SetOrder(v string)
- func (o *KeysetPaginationResponse) SetTime(v string)
- type ListAllowlistEntriesResponse
- func (o *ListAllowlistEntriesResponse) GetAllowlist() []AllowlistEntry
- func (o *ListAllowlistEntriesResponse) GetAllowlistOk() ([]AllowlistEntry, bool)
- func (o *ListAllowlistEntriesResponse) GetPagination() KeysetPaginationResponse
- func (o *ListAllowlistEntriesResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)
- func (o *ListAllowlistEntriesResponse) GetPropagating() bool
- func (o *ListAllowlistEntriesResponse) GetPropagatingOk() (*bool, bool)
- func (o *ListAllowlistEntriesResponse) HasPagination() bool
- func (o ListAllowlistEntriesResponse) MarshalJSON() ([]byte, error)
- func (o *ListAllowlistEntriesResponse) SetAllowlist(v []AllowlistEntry)
- func (o *ListAllowlistEntriesResponse) SetPagination(v KeysetPaginationResponse)
- func (o *ListAllowlistEntriesResponse) SetPropagating(v bool)
- type ListAvailableRegionsResponse
- func (o *ListAvailableRegionsResponse) GetPagination() KeysetPaginationResponse
- func (o *ListAvailableRegionsResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)
- func (o *ListAvailableRegionsResponse) GetRegions() []CloudProviderRegion
- func (o *ListAvailableRegionsResponse) GetRegionsOk() ([]CloudProviderRegion, bool)
- func (o *ListAvailableRegionsResponse) HasPagination() bool
- func (o ListAvailableRegionsResponse) MarshalJSON() ([]byte, error)
- func (o *ListAvailableRegionsResponse) SetPagination(v KeysetPaginationResponse)
- func (o *ListAvailableRegionsResponse) SetRegions(v []CloudProviderRegion)
- type ListClusterNodesResponse
- func (o *ListClusterNodesResponse) GetNodes() []Node
- func (o *ListClusterNodesResponse) GetNodesOk() ([]Node, bool)
- func (o *ListClusterNodesResponse) GetPagination() KeysetPaginationResponse
- func (o *ListClusterNodesResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)
- func (o *ListClusterNodesResponse) HasPagination() bool
- func (o ListClusterNodesResponse) MarshalJSON() ([]byte, error)
- func (o *ListClusterNodesResponse) SetNodes(v []Node)
- func (o *ListClusterNodesResponse) SetPagination(v KeysetPaginationResponse)
- type ListClustersResponse
- func (o *ListClustersResponse) GetClusters() []Cluster
- func (o *ListClustersResponse) GetClustersOk() ([]Cluster, bool)
- func (o *ListClustersResponse) GetPagination() KeysetPaginationResponse
- func (o *ListClustersResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)
- func (o *ListClustersResponse) HasPagination() bool
- func (o ListClustersResponse) MarshalJSON() ([]byte, error)
- func (o *ListClustersResponse) SetClusters(v []Cluster)
- func (o *ListClustersResponse) SetPagination(v KeysetPaginationResponse)
- type ListSQLUsersResponse
- func (o *ListSQLUsersResponse) GetPagination() KeysetPaginationResponse
- func (o *ListSQLUsersResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)
- func (o *ListSQLUsersResponse) GetUsers() []SQLUser
- func (o *ListSQLUsersResponse) GetUsersOk() ([]SQLUser, bool)
- func (o *ListSQLUsersResponse) HasPagination() bool
- func (o ListSQLUsersResponse) MarshalJSON() ([]byte, error)
- func (o *ListSQLUsersResponse) SetPagination(v KeysetPaginationResponse)
- func (o *ListSQLUsersResponse) SetUsers(v []SQLUser)
- type Node
- func (o *Node) GetName() string
- func (o *Node) GetNameOk() (*string, bool)
- func (o *Node) GetRegionName() string
- func (o *Node) GetRegionNameOk() (*string, bool)
- func (o *Node) GetStatus() NodeStatus
- func (o *Node) GetStatusOk() (*NodeStatus, bool)
- func (o Node) MarshalJSON() ([]byte, error)
- func (o *Node) SetName(v string)
- func (o *Node) SetRegionName(v string)
- func (o *Node) SetStatus(v NodeStatus)
- type NodeStatus
- type NullableAllowlistEntry
- func (v NullableAllowlistEntry) Get() *AllowlistEntry
- func (v NullableAllowlistEntry) IsSet() bool
- func (v NullableAllowlistEntry) MarshalJSON() ([]byte, error)
- func (v *NullableAllowlistEntry) Set(val *AllowlistEntry)
- func (v *NullableAllowlistEntry) UnmarshalJSON(src []byte) error
- func (v *NullableAllowlistEntry) Unset()
- type NullableAny
- type NullableApiCloudProvider
- func (v NullableApiCloudProvider) Get() *ApiCloudProvider
- func (v NullableApiCloudProvider) IsSet() bool
- func (v NullableApiCloudProvider) MarshalJSON() ([]byte, error)
- func (v *NullableApiCloudProvider) Set(val *ApiCloudProvider)
- func (v *NullableApiCloudProvider) UnmarshalJSON(src []byte) error
- func (v *NullableApiCloudProvider) Unset()
- type NullableBool
- type NullableCMEKClusterInfo
- func (v NullableCMEKClusterInfo) Get() *CMEKClusterInfo
- func (v NullableCMEKClusterInfo) IsSet() bool
- func (v NullableCMEKClusterInfo) MarshalJSON() ([]byte, error)
- func (v *NullableCMEKClusterInfo) Set(val *CMEKClusterInfo)
- func (v *NullableCMEKClusterInfo) UnmarshalJSON(src []byte) error
- func (v *NullableCMEKClusterInfo) Unset()
- type NullableCMEKClusterSpecification
- func (v NullableCMEKClusterSpecification) Get() *CMEKClusterSpecification
- func (v NullableCMEKClusterSpecification) IsSet() bool
- func (v NullableCMEKClusterSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableCMEKClusterSpecification) Set(val *CMEKClusterSpecification)
- func (v *NullableCMEKClusterSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableCMEKClusterSpecification) Unset()
- type NullableCMEKCustomerAction
- func (v NullableCMEKCustomerAction) Get() *CMEKCustomerAction
- func (v NullableCMEKCustomerAction) IsSet() bool
- func (v NullableCMEKCustomerAction) MarshalJSON() ([]byte, error)
- func (v *NullableCMEKCustomerAction) Set(val *CMEKCustomerAction)
- func (v *NullableCMEKCustomerAction) UnmarshalJSON(src []byte) error
- func (v *NullableCMEKCustomerAction) Unset()
- type NullableCMEKKeyInfo
- func (v NullableCMEKKeyInfo) Get() *CMEKKeyInfo
- func (v NullableCMEKKeyInfo) IsSet() bool
- func (v NullableCMEKKeyInfo) MarshalJSON() ([]byte, error)
- func (v *NullableCMEKKeyInfo) Set(val *CMEKKeyInfo)
- func (v *NullableCMEKKeyInfo) UnmarshalJSON(src []byte) error
- func (v *NullableCMEKKeyInfo) Unset()
- type NullableCMEKKeySpecification
- func (v NullableCMEKKeySpecification) Get() *CMEKKeySpecification
- func (v NullableCMEKKeySpecification) IsSet() bool
- func (v NullableCMEKKeySpecification) MarshalJSON() ([]byte, error)
- func (v *NullableCMEKKeySpecification) Set(val *CMEKKeySpecification)
- func (v *NullableCMEKKeySpecification) UnmarshalJSON(src []byte) error
- func (v *NullableCMEKKeySpecification) Unset()
- type NullableCMEKKeyType
- func (v NullableCMEKKeyType) Get() *CMEKKeyType
- func (v NullableCMEKKeyType) IsSet() bool
- func (v NullableCMEKKeyType) MarshalJSON() ([]byte, error)
- func (v *NullableCMEKKeyType) Set(val *CMEKKeyType)
- func (v *NullableCMEKKeyType) UnmarshalJSON(src []byte) error
- func (v *NullableCMEKKeyType) Unset()
- type NullableCMEKRegionInfo
- func (v NullableCMEKRegionInfo) Get() *CMEKRegionInfo
- func (v NullableCMEKRegionInfo) IsSet() bool
- func (v NullableCMEKRegionInfo) MarshalJSON() ([]byte, error)
- func (v *NullableCMEKRegionInfo) Set(val *CMEKRegionInfo)
- func (v *NullableCMEKRegionInfo) UnmarshalJSON(src []byte) error
- func (v *NullableCMEKRegionInfo) Unset()
- type NullableCMEKRegionSpecification
- func (v NullableCMEKRegionSpecification) Get() *CMEKRegionSpecification
- func (v NullableCMEKRegionSpecification) IsSet() bool
- func (v NullableCMEKRegionSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableCMEKRegionSpecification) Set(val *CMEKRegionSpecification)
- func (v *NullableCMEKRegionSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableCMEKRegionSpecification) Unset()
- type NullableCMEKStatus
- type NullableCloudProviderRegion
- func (v NullableCloudProviderRegion) Get() *CloudProviderRegion
- func (v NullableCloudProviderRegion) IsSet() bool
- func (v NullableCloudProviderRegion) MarshalJSON() ([]byte, error)
- func (v *NullableCloudProviderRegion) Set(val *CloudProviderRegion)
- func (v *NullableCloudProviderRegion) UnmarshalJSON(src []byte) error
- func (v *NullableCloudProviderRegion) Unset()
- type NullableCluster
- type NullableClusterConfig
- func (v NullableClusterConfig) Get() *ClusterConfig
- func (v NullableClusterConfig) IsSet() bool
- func (v NullableClusterConfig) MarshalJSON() ([]byte, error)
- func (v *NullableClusterConfig) Set(val *ClusterConfig)
- func (v *NullableClusterConfig) UnmarshalJSON(src []byte) error
- func (v *NullableClusterConfig) Unset()
- type NullableClusterStateType
- func (v NullableClusterStateType) Get() *ClusterStateType
- func (v NullableClusterStateType) IsSet() bool
- func (v NullableClusterStateType) MarshalJSON() ([]byte, error)
- func (v *NullableClusterStateType) Set(val *ClusterStateType)
- func (v *NullableClusterStateType) UnmarshalJSON(src []byte) error
- func (v *NullableClusterStateType) Unset()
- type NullableClusterStatusType
- func (v NullableClusterStatusType) Get() *ClusterStatusType
- func (v NullableClusterStatusType) IsSet() bool
- func (v NullableClusterStatusType) MarshalJSON() ([]byte, error)
- func (v *NullableClusterStatusType) Set(val *ClusterStatusType)
- func (v *NullableClusterStatusType) UnmarshalJSON(src []byte) error
- func (v *NullableClusterStatusType) Unset()
- type NullableCreateClusterRequest
- func (v NullableCreateClusterRequest) Get() *CreateClusterRequest
- func (v NullableCreateClusterRequest) IsSet() bool
- func (v NullableCreateClusterRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateClusterRequest) Set(val *CreateClusterRequest)
- func (v *NullableCreateClusterRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateClusterRequest) Unset()
- type NullableCreateClusterSpecification
- func (v NullableCreateClusterSpecification) Get() *CreateClusterSpecification
- func (v NullableCreateClusterSpecification) IsSet() bool
- func (v NullableCreateClusterSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableCreateClusterSpecification) Set(val *CreateClusterSpecification)
- func (v *NullableCreateClusterSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableCreateClusterSpecification) Unset()
- type NullableCreateSQLUserRequest
- func (v NullableCreateSQLUserRequest) Get() *CreateSQLUserRequest
- func (v NullableCreateSQLUserRequest) IsSet() bool
- func (v NullableCreateSQLUserRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSQLUserRequest) Set(val *CreateSQLUserRequest)
- func (v *NullableCreateSQLUserRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSQLUserRequest) Unset()
- type NullableDedicatedClusterCreateSpecification
- func (v NullableDedicatedClusterCreateSpecification) Get() *DedicatedClusterCreateSpecification
- func (v NullableDedicatedClusterCreateSpecification) IsSet() bool
- func (v NullableDedicatedClusterCreateSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableDedicatedClusterCreateSpecification) Set(val *DedicatedClusterCreateSpecification)
- func (v *NullableDedicatedClusterCreateSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableDedicatedClusterCreateSpecification) Unset()
- type NullableDedicatedClusterUpdateSpecification
- func (v NullableDedicatedClusterUpdateSpecification) Get() *DedicatedClusterUpdateSpecification
- func (v NullableDedicatedClusterUpdateSpecification) IsSet() bool
- func (v NullableDedicatedClusterUpdateSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableDedicatedClusterUpdateSpecification) Set(val *DedicatedClusterUpdateSpecification)
- func (v *NullableDedicatedClusterUpdateSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableDedicatedClusterUpdateSpecification) Unset()
- type NullableDedicatedHardwareConfig
- func (v NullableDedicatedHardwareConfig) Get() *DedicatedHardwareConfig
- func (v NullableDedicatedHardwareConfig) IsSet() bool
- func (v NullableDedicatedHardwareConfig) MarshalJSON() ([]byte, error)
- func (v *NullableDedicatedHardwareConfig) Set(val *DedicatedHardwareConfig)
- func (v *NullableDedicatedHardwareConfig) UnmarshalJSON(src []byte) error
- func (v *NullableDedicatedHardwareConfig) Unset()
- type NullableDedicatedHardwareCreateSpecification
- func (v NullableDedicatedHardwareCreateSpecification) Get() *DedicatedHardwareCreateSpecification
- func (v NullableDedicatedHardwareCreateSpecification) IsSet() bool
- func (v NullableDedicatedHardwareCreateSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableDedicatedHardwareCreateSpecification) Set(val *DedicatedHardwareCreateSpecification)
- func (v *NullableDedicatedHardwareCreateSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableDedicatedHardwareCreateSpecification) Unset()
- type NullableDedicatedHardwareUpdateSpecification
- func (v NullableDedicatedHardwareUpdateSpecification) Get() *DedicatedHardwareUpdateSpecification
- func (v NullableDedicatedHardwareUpdateSpecification) IsSet() bool
- func (v NullableDedicatedHardwareUpdateSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableDedicatedHardwareUpdateSpecification) Set(val *DedicatedHardwareUpdateSpecification)
- func (v *NullableDedicatedHardwareUpdateSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableDedicatedHardwareUpdateSpecification) Unset()
- type NullableDedicatedMachineTypeSpecification
- func (v NullableDedicatedMachineTypeSpecification) Get() *DedicatedMachineTypeSpecification
- func (v NullableDedicatedMachineTypeSpecification) IsSet() bool
- func (v NullableDedicatedMachineTypeSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableDedicatedMachineTypeSpecification) Set(val *DedicatedMachineTypeSpecification)
- func (v *NullableDedicatedMachineTypeSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableDedicatedMachineTypeSpecification) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKeysetPaginationRequest
- func (v NullableKeysetPaginationRequest) Get() *KeysetPaginationRequest
- func (v NullableKeysetPaginationRequest) IsSet() bool
- func (v NullableKeysetPaginationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableKeysetPaginationRequest) Set(val *KeysetPaginationRequest)
- func (v *NullableKeysetPaginationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableKeysetPaginationRequest) Unset()
- type NullableKeysetPaginationResponse
- func (v NullableKeysetPaginationResponse) Get() *KeysetPaginationResponse
- func (v NullableKeysetPaginationResponse) IsSet() bool
- func (v NullableKeysetPaginationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableKeysetPaginationResponse) Set(val *KeysetPaginationResponse)
- func (v *NullableKeysetPaginationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableKeysetPaginationResponse) Unset()
- type NullableListAllowlistEntriesResponse
- func (v NullableListAllowlistEntriesResponse) Get() *ListAllowlistEntriesResponse
- func (v NullableListAllowlistEntriesResponse) IsSet() bool
- func (v NullableListAllowlistEntriesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListAllowlistEntriesResponse) Set(val *ListAllowlistEntriesResponse)
- func (v *NullableListAllowlistEntriesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListAllowlistEntriesResponse) Unset()
- type NullableListAvailableRegionsResponse
- func (v NullableListAvailableRegionsResponse) Get() *ListAvailableRegionsResponse
- func (v NullableListAvailableRegionsResponse) IsSet() bool
- func (v NullableListAvailableRegionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListAvailableRegionsResponse) Set(val *ListAvailableRegionsResponse)
- func (v *NullableListAvailableRegionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListAvailableRegionsResponse) Unset()
- type NullableListClusterNodesResponse
- func (v NullableListClusterNodesResponse) Get() *ListClusterNodesResponse
- func (v NullableListClusterNodesResponse) IsSet() bool
- func (v NullableListClusterNodesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListClusterNodesResponse) Set(val *ListClusterNodesResponse)
- func (v *NullableListClusterNodesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListClusterNodesResponse) Unset()
- type NullableListClustersResponse
- func (v NullableListClustersResponse) Get() *ListClustersResponse
- func (v NullableListClustersResponse) IsSet() bool
- func (v NullableListClustersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListClustersResponse) Set(val *ListClustersResponse)
- func (v *NullableListClustersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListClustersResponse) Unset()
- type NullableListSQLUsersResponse
- func (v NullableListSQLUsersResponse) Get() *ListSQLUsersResponse
- func (v NullableListSQLUsersResponse) IsSet() bool
- func (v NullableListSQLUsersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListSQLUsersResponse) Set(val *ListSQLUsersResponse)
- func (v *NullableListSQLUsersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListSQLUsersResponse) Unset()
- type NullableNode
- type NullableNodeStatus
- type NullablePageDirection
- func (v NullablePageDirection) Get() *PageDirection
- func (v NullablePageDirection) IsSet() bool
- func (v NullablePageDirection) MarshalJSON() ([]byte, error)
- func (v *NullablePageDirection) Set(val *PageDirection)
- func (v *NullablePageDirection) UnmarshalJSON(src []byte) error
- func (v *NullablePageDirection) Unset()
- type NullablePlan
- type NullableRegion
- type NullableSQLUser
- type NullableServerlessClusterConfig
- func (v NullableServerlessClusterConfig) Get() *ServerlessClusterConfig
- func (v NullableServerlessClusterConfig) IsSet() bool
- func (v NullableServerlessClusterConfig) MarshalJSON() ([]byte, error)
- func (v *NullableServerlessClusterConfig) Set(val *ServerlessClusterConfig)
- func (v *NullableServerlessClusterConfig) UnmarshalJSON(src []byte) error
- func (v *NullableServerlessClusterConfig) Unset()
- type NullableServerlessClusterCreateSpecification
- func (v NullableServerlessClusterCreateSpecification) Get() *ServerlessClusterCreateSpecification
- func (v NullableServerlessClusterCreateSpecification) IsSet() bool
- func (v NullableServerlessClusterCreateSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableServerlessClusterCreateSpecification) Set(val *ServerlessClusterCreateSpecification)
- func (v *NullableServerlessClusterCreateSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableServerlessClusterCreateSpecification) Unset()
- type NullableServerlessClusterUpdateSpecification
- func (v NullableServerlessClusterUpdateSpecification) Get() *ServerlessClusterUpdateSpecification
- func (v NullableServerlessClusterUpdateSpecification) IsSet() bool
- func (v NullableServerlessClusterUpdateSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableServerlessClusterUpdateSpecification) Set(val *ServerlessClusterUpdateSpecification)
- func (v *NullableServerlessClusterUpdateSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableServerlessClusterUpdateSpecification) Unset()
- type NullableSortOrder
- type NullableStatus
- type NullableString
- type NullableTime
- type NullableUpdateCMEKStatusRequest
- func (v NullableUpdateCMEKStatusRequest) Get() *UpdateCMEKStatusRequest
- func (v NullableUpdateCMEKStatusRequest) IsSet() bool
- func (v NullableUpdateCMEKStatusRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCMEKStatusRequest) Set(val *UpdateCMEKStatusRequest)
- func (v *NullableUpdateCMEKStatusRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCMEKStatusRequest) Unset()
- type NullableUpdateClusterSpecification
- func (v NullableUpdateClusterSpecification) Get() *UpdateClusterSpecification
- func (v NullableUpdateClusterSpecification) IsSet() bool
- func (v NullableUpdateClusterSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateClusterSpecification) Set(val *UpdateClusterSpecification)
- func (v *NullableUpdateClusterSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateClusterSpecification) Unset()
- type NullableUpdateSQLUserPasswordRequest
- func (v NullableUpdateSQLUserPasswordRequest) Get() *UpdateSQLUserPasswordRequest
- func (v NullableUpdateSQLUserPasswordRequest) IsSet() bool
- func (v NullableUpdateSQLUserPasswordRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSQLUserPasswordRequest) Set(val *UpdateSQLUserPasswordRequest)
- func (v *NullableUpdateSQLUserPasswordRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSQLUserPasswordRequest) Unset()
- type PageDirection
- type Plan
- type Region
- func (o *Region) GetName() string
- func (o *Region) GetNameOk() (*string, bool)
- func (o *Region) GetNodeCount() int32
- func (o *Region) GetNodeCountOk() (*int32, bool)
- func (o *Region) GetSqlDns() string
- func (o *Region) GetSqlDnsOk() (*string, bool)
- func (o *Region) GetUiDns() string
- func (o *Region) GetUiDnsOk() (*string, bool)
- func (o Region) MarshalJSON() ([]byte, error)
- func (o *Region) SetName(v string)
- func (o *Region) SetNodeCount(v int32)
- func (o *Region) SetSqlDns(v string)
- func (o *Region) SetUiDns(v string)
- type SQLUser
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ServerlessClusterConfig
- func (o *ServerlessClusterConfig) GetRoutingId() string
- func (o *ServerlessClusterConfig) GetRoutingIdOk() (*string, bool)
- func (o *ServerlessClusterConfig) GetSpendLimit() int32
- func (o *ServerlessClusterConfig) GetSpendLimitOk() (*int32, bool)
- func (o ServerlessClusterConfig) MarshalJSON() ([]byte, error)
- func (o *ServerlessClusterConfig) SetRoutingId(v string)
- func (o *ServerlessClusterConfig) SetSpendLimit(v int32)
- type ServerlessClusterCreateSpecification
- func (o *ServerlessClusterCreateSpecification) GetRegions() []string
- func (o *ServerlessClusterCreateSpecification) GetRegionsOk() ([]string, bool)
- func (o *ServerlessClusterCreateSpecification) GetSpendLimit() int32
- func (o *ServerlessClusterCreateSpecification) GetSpendLimitOk() (*int32, bool)
- func (o ServerlessClusterCreateSpecification) MarshalJSON() ([]byte, error)
- func (o *ServerlessClusterCreateSpecification) SetRegions(v []string)
- func (o *ServerlessClusterCreateSpecification) SetSpendLimit(v int32)
- type ServerlessClusterUpdateSpecification
- type SortOrder
- type Status
- func (o *Status) GetCode() int32
- func (o *Status) GetCodeOk() (*int32, bool)
- func (o *Status) GetDetails() []Any
- func (o *Status) GetDetailsOk() ([]Any, bool)
- func (o *Status) GetMessage() string
- func (o *Status) GetMessageOk() (*string, bool)
- func (o *Status) HasCode() bool
- func (o *Status) HasDetails() bool
- func (o *Status) HasMessage() bool
- func (o Status) MarshalJSON() ([]byte, error)
- func (o *Status) SetCode(v int32)
- func (o *Status) SetDetails(v []Any)
- func (o *Status) SetMessage(v string)
- type UpdateCMEKStatusRequest
- type UpdateClusterSpecification
- func (o *UpdateClusterSpecification) GetDedicated() DedicatedClusterUpdateSpecification
- func (o *UpdateClusterSpecification) GetDedicatedOk() (*DedicatedClusterUpdateSpecification, bool)
- func (o *UpdateClusterSpecification) GetServerless() ServerlessClusterUpdateSpecification
- func (o *UpdateClusterSpecification) GetServerlessOk() (*ServerlessClusterUpdateSpecification, bool)
- func (o *UpdateClusterSpecification) HasDedicated() bool
- func (o *UpdateClusterSpecification) HasServerless() bool
- func (o UpdateClusterSpecification) MarshalJSON() ([]byte, error)
- func (o *UpdateClusterSpecification) SetDedicated(v DedicatedClusterUpdateSpecification)
- func (o *UpdateClusterSpecification) SetServerless(v ServerlessClusterUpdateSpecification)
- type UpdateSQLUserPasswordRequest
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedApiCloudProviderEnumValues = []ApiCloudProvider{
"CLOUD_PROVIDER_UNSPECIFIED",
"GCP",
"AWS",
}
All allowed values of ApiCloudProvider enum
var AllowedCMEKCustomerActionEnumValues = []CMEKCustomerAction{
"UNKNOWN_ACTION",
"REVOKE",
}
All allowed values of CMEKCustomerAction enum
var AllowedCMEKKeyTypeEnumValues = []CMEKKeyType{
"UNKNOWN_KEY_TYPE",
"AWS_KMS",
"GCP_CLOUD_KMS",
}
All allowed values of CMEKKeyType enum
var AllowedCMEKStatusEnumValues = []CMEKStatus{
"UNKNOWN_STATUS",
"DISABLED",
"DISABLING",
"DISABLE_FAILED",
"ENABLED",
"ENABLING",
"ENABLE_FAILED",
"REVOKED",
"REVOKING",
"REVOKE_FAILED",
}
All allowed values of CMEKStatus enum
var AllowedClusterStateTypeEnumValues = []ClusterStateType{
"CLUSTER_STATE_UNSPECIFIED",
"CREATING",
"CREATED",
"CREATION_FAILED",
"DELETED",
"LOCKED",
}
All allowed values of ClusterStateType enum
var AllowedClusterStatusTypeEnumValues = []ClusterStatusType{
"CLUSTER_STATUS_UNSPECIFIED",
"CRDB_MAJOR_UPGRADE_RUNNING",
"CRDB_MAJOR_UPGRADE_FAILED",
"CRDB_MAJOR_ROLLBACK_RUNNING",
"CRDB_MAJOR_ROLLBACK_FAILED",
"CRDB_PATCH_RUNNING",
"CRDB_PATCH_FAILED",
"CRDB_SCALE_RUNNING",
"CRDB_SCALE_FAILED",
"MAINTENANCE_RUNNING",
"CRDB_INSTANCE_UPDATE_RUNNING",
"CRDB_INSTANCE_UPDATE_FAILED",
"CRDB_EDIT_CLUSTER_RUNNING",
"CRDB_EDIT_CLUSTER_FAILED",
"CRDB_CMEK_OPERATION_RUNNING",
"CRDB_CMEK_OPERATION_FAILED",
"TENANT_RESTORE_RUNNING",
"TENANT_RESTORE_FAILED",
}
All allowed values of ClusterStatusType enum
var AllowedNodeStatusEnumValues = []NodeStatus{
"NODE_STATUS_UNSPECIFIED",
"LIVE",
"NOT_READY",
}
All allowed values of NodeStatus enum
var AllowedPageDirectionEnumValues = []PageDirection{
"PAGE_DIRECTION_NEXT",
"PAGE_DIRECTION_LAST",
}
All allowed values of PageDirection enum
var AllowedPlanEnumValues = []Plan{
"PLAN_UNSPECIFIED",
"DEDICATED",
"CUSTOM",
"SERVERLESS",
}
All allowed values of Plan enum
var AllowedSortOrderEnumValues = []SortOrder{
"ASC",
"DESC",
}
All allowed values of SortOrder enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { CockroachCloudApi *CockroachCloudApiService // contains filtered or unexported fields }
APIClient manages communication with the CockroachDB Cloud API API v2022-03-31 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AllowlistEntry ¶
type AllowlistEntry struct { CidrIp string `json:"cidr_ip"` CidrMask int32 `json:"cidr_mask"` Ui bool `json:"ui"` Sql bool `json:"sql"` Name *string `json:"name,omitempty"` }
AllowlistEntry struct for AllowlistEntry
func NewAllowlistEntry ¶
func NewAllowlistEntry(cidrIp string, cidrMask int32, ui bool, sql bool) *AllowlistEntry
NewAllowlistEntry instantiates a new AllowlistEntry 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 NewAllowlistEntryWithDefaults ¶
func NewAllowlistEntryWithDefaults() *AllowlistEntry
NewAllowlistEntryWithDefaults instantiates a new AllowlistEntry 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 (*AllowlistEntry) GetCidrIp ¶
func (o *AllowlistEntry) GetCidrIp() string
GetCidrIp returns the CidrIp field value
func (*AllowlistEntry) GetCidrIpOk ¶
func (o *AllowlistEntry) GetCidrIpOk() (*string, bool)
GetCidrIpOk returns a tuple with the CidrIp field value and a boolean to check if the value has been set.
func (*AllowlistEntry) GetCidrMask ¶
func (o *AllowlistEntry) GetCidrMask() int32
GetCidrMask returns the CidrMask field value
func (*AllowlistEntry) GetCidrMaskOk ¶
func (o *AllowlistEntry) GetCidrMaskOk() (*int32, bool)
GetCidrMaskOk returns a tuple with the CidrMask field value and a boolean to check if the value has been set.
func (*AllowlistEntry) GetName ¶
func (o *AllowlistEntry) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AllowlistEntry) GetNameOk ¶
func (o *AllowlistEntry) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllowlistEntry) GetSql ¶
func (o *AllowlistEntry) GetSql() bool
GetSql returns the Sql field value
func (*AllowlistEntry) GetSqlOk ¶
func (o *AllowlistEntry) GetSqlOk() (*bool, bool)
GetSqlOk returns a tuple with the Sql field value and a boolean to check if the value has been set.
func (*AllowlistEntry) GetUi ¶
func (o *AllowlistEntry) GetUi() bool
GetUi returns the Ui field value
func (*AllowlistEntry) GetUiOk ¶
func (o *AllowlistEntry) GetUiOk() (*bool, bool)
GetUiOk returns a tuple with the Ui field value and a boolean to check if the value has been set.
func (*AllowlistEntry) HasName ¶
func (o *AllowlistEntry) HasName() bool
HasName returns a boolean if a field has been set.
func (AllowlistEntry) MarshalJSON ¶
func (o AllowlistEntry) MarshalJSON() ([]byte, error)
func (*AllowlistEntry) SetCidrIp ¶
func (o *AllowlistEntry) SetCidrIp(v string)
SetCidrIp sets field value
func (*AllowlistEntry) SetCidrMask ¶
func (o *AllowlistEntry) SetCidrMask(v int32)
SetCidrMask sets field value
func (*AllowlistEntry) SetName ¶
func (o *AllowlistEntry) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type Any ¶
type Any struct {
Type *string `json:"@type,omitempty"`
}
Any struct for Any
func NewAny ¶
func NewAny() *Any
NewAny instantiates a new Any 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 NewAnyWithDefaults ¶
func NewAnyWithDefaults() *Any
NewAnyWithDefaults instantiates a new Any 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 (*Any) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (Any) MarshalJSON ¶
type ApiAddAllowlistEntry2Request ¶
type ApiAddAllowlistEntry2Request struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiAddAllowlistEntry2Request) AllowlistEntry ¶
func (r ApiAddAllowlistEntry2Request) AllowlistEntry(allowlistEntry AllowlistEntry) ApiAddAllowlistEntry2Request
func (ApiAddAllowlistEntry2Request) Execute ¶
func (r ApiAddAllowlistEntry2Request) Execute() (*AllowlistEntry, *http.Response, error)
type ApiAddAllowlistEntryRequest ¶
type ApiAddAllowlistEntryRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiAddAllowlistEntryRequest) AllowlistEntry ¶
func (r ApiAddAllowlistEntryRequest) AllowlistEntry(allowlistEntry AllowlistEntry) ApiAddAllowlistEntryRequest
func (ApiAddAllowlistEntryRequest) Execute ¶
func (r ApiAddAllowlistEntryRequest) Execute() (*AllowlistEntry, *http.Response, error)
type ApiCloudProvider ¶
type ApiCloudProvider string
ApiCloudProvider - GCP: The Google Cloud Platform cloud provider. - AWS: The Amazon Web Services cloud provider.
const ( CLOUD_PROVIDER_UNSPECIFIED ApiCloudProvider = "CLOUD_PROVIDER_UNSPECIFIED" GCP ApiCloudProvider = "GCP" AWS ApiCloudProvider = "AWS" )
List of api.CloudProvider
func NewApiCloudProviderFromValue ¶
func NewApiCloudProviderFromValue(v string) (*ApiCloudProvider, error)
NewApiCloudProviderFromValue returns a pointer to a valid ApiCloudProvider for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ApiCloudProvider) IsValid ¶
func (v ApiCloudProvider) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ApiCloudProvider) Ptr ¶
func (v ApiCloudProvider) Ptr() *ApiCloudProvider
Ptr returns reference to api.CloudProvider value
func (*ApiCloudProvider) UnmarshalJSON ¶
func (v *ApiCloudProvider) UnmarshalJSON(src []byte) error
type ApiCreateClusterRequest ¶
type ApiCreateClusterRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiCreateClusterRequest) CreateClusterRequest ¶
func (r ApiCreateClusterRequest) CreateClusterRequest(createClusterRequest CreateClusterRequest) ApiCreateClusterRequest
type ApiCreateSQLUserRequest ¶
type ApiCreateSQLUserRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiCreateSQLUserRequest) CreateSQLUserRequest ¶
func (r ApiCreateSQLUserRequest) CreateSQLUserRequest(createSQLUserRequest CreateSQLUserRequest) ApiCreateSQLUserRequest
type ApiDeleteAllowlistEntryRequest ¶
type ApiDeleteAllowlistEntryRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiDeleteAllowlistEntryRequest) Execute ¶
func (r ApiDeleteAllowlistEntryRequest) Execute() (*AllowlistEntry, *http.Response, error)
type ApiDeleteClusterRequest ¶
type ApiDeleteClusterRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
type ApiDeleteSQLUserRequest ¶
type ApiDeleteSQLUserRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
type ApiEnableCMEKRequest ¶
type ApiEnableCMEKRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiEnableCMEKRequest) CMEKClusterSpecification ¶
func (r ApiEnableCMEKRequest) CMEKClusterSpecification(cMEKClusterSpecification CMEKClusterSpecification) ApiEnableCMEKRequest
func (ApiEnableCMEKRequest) Execute ¶
func (r ApiEnableCMEKRequest) Execute() (*CMEKClusterInfo, *http.Response, error)
type ApiGetCMEKClusterInfoRequest ¶
type ApiGetCMEKClusterInfoRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiGetCMEKClusterInfoRequest) Execute ¶
func (r ApiGetCMEKClusterInfoRequest) Execute() (*CMEKClusterInfo, *http.Response, error)
type ApiGetClusterRequest ¶
type ApiGetClusterRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
type ApiListAllowlistEntriesRequest ¶
type ApiListAllowlistEntriesRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiListAllowlistEntriesRequest) Execute ¶
func (r ApiListAllowlistEntriesRequest) Execute() (*ListAllowlistEntriesResponse, *http.Response, error)
func (ApiListAllowlistEntriesRequest) PaginationDirection ¶
func (r ApiListAllowlistEntriesRequest) PaginationDirection(paginationDirection string) ApiListAllowlistEntriesRequest
func (ApiListAllowlistEntriesRequest) PaginationLimit ¶
func (r ApiListAllowlistEntriesRequest) PaginationLimit(paginationLimit int32) ApiListAllowlistEntriesRequest
func (ApiListAllowlistEntriesRequest) PaginationOrder ¶
func (r ApiListAllowlistEntriesRequest) PaginationOrder(paginationOrder string) ApiListAllowlistEntriesRequest
- DESC: Sort in descending order. The default order is ascending.
func (ApiListAllowlistEntriesRequest) PaginationStartKey ¶
func (r ApiListAllowlistEntriesRequest) PaginationStartKey(paginationStartKey string) ApiListAllowlistEntriesRequest
func (ApiListAllowlistEntriesRequest) PaginationTime ¶
func (r ApiListAllowlistEntriesRequest) PaginationTime(paginationTime time.Time) ApiListAllowlistEntriesRequest
type ApiListAvailableRegionsRequest ¶
type ApiListAvailableRegionsRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiListAvailableRegionsRequest) Execute ¶
func (r ApiListAvailableRegionsRequest) Execute() (*ListAvailableRegionsResponse, *http.Response, error)
func (ApiListAvailableRegionsRequest) PaginationDirection ¶
func (r ApiListAvailableRegionsRequest) PaginationDirection(paginationDirection string) ApiListAvailableRegionsRequest
func (ApiListAvailableRegionsRequest) PaginationLimit ¶
func (r ApiListAvailableRegionsRequest) PaginationLimit(paginationLimit int32) ApiListAvailableRegionsRequest
func (ApiListAvailableRegionsRequest) PaginationOrder ¶
func (r ApiListAvailableRegionsRequest) PaginationOrder(paginationOrder string) ApiListAvailableRegionsRequest
- DESC: Sort in descending order. The default order is ascending.
func (ApiListAvailableRegionsRequest) PaginationStartKey ¶
func (r ApiListAvailableRegionsRequest) PaginationStartKey(paginationStartKey string) ApiListAvailableRegionsRequest
func (ApiListAvailableRegionsRequest) PaginationTime ¶
func (r ApiListAvailableRegionsRequest) PaginationTime(paginationTime time.Time) ApiListAvailableRegionsRequest
func (ApiListAvailableRegionsRequest) Provider ¶
func (r ApiListAvailableRegionsRequest) Provider(provider string) ApiListAvailableRegionsRequest
Optional CloudProvider for filtering. - GCP: The Google Cloud Platform cloud provider. - AWS: The Amazon Web Services cloud provider.
func (ApiListAvailableRegionsRequest) Serverless ¶
func (r ApiListAvailableRegionsRequest) Serverless(serverless bool) ApiListAvailableRegionsRequest
Optional filter to only show regions available for serverless clusters.
type ApiListClusterNodesRequest ¶
type ApiListClusterNodesRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiListClusterNodesRequest) Execute ¶
func (r ApiListClusterNodesRequest) Execute() (*ListClusterNodesResponse, *http.Response, error)
func (ApiListClusterNodesRequest) PaginationDirection ¶
func (r ApiListClusterNodesRequest) PaginationDirection(paginationDirection string) ApiListClusterNodesRequest
func (ApiListClusterNodesRequest) PaginationLimit ¶
func (r ApiListClusterNodesRequest) PaginationLimit(paginationLimit int32) ApiListClusterNodesRequest
func (ApiListClusterNodesRequest) PaginationOrder ¶
func (r ApiListClusterNodesRequest) PaginationOrder(paginationOrder string) ApiListClusterNodesRequest
- DESC: Sort in descending order. The default order is ascending.
func (ApiListClusterNodesRequest) PaginationStartKey ¶
func (r ApiListClusterNodesRequest) PaginationStartKey(paginationStartKey string) ApiListClusterNodesRequest
func (ApiListClusterNodesRequest) PaginationTime ¶
func (r ApiListClusterNodesRequest) PaginationTime(paginationTime time.Time) ApiListClusterNodesRequest
func (ApiListClusterNodesRequest) RegionName ¶
func (r ApiListClusterNodesRequest) RegionName(regionName string) ApiListClusterNodesRequest
Optional filter to limit response to a single region.
type ApiListClustersRequest ¶
type ApiListClustersRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiListClustersRequest) Execute ¶
func (r ApiListClustersRequest) Execute() (*ListClustersResponse, *http.Response, error)
func (ApiListClustersRequest) PaginationDirection ¶
func (r ApiListClustersRequest) PaginationDirection(paginationDirection string) ApiListClustersRequest
func (ApiListClustersRequest) PaginationLimit ¶
func (r ApiListClustersRequest) PaginationLimit(paginationLimit int32) ApiListClustersRequest
func (ApiListClustersRequest) PaginationOrder ¶
func (r ApiListClustersRequest) PaginationOrder(paginationOrder string) ApiListClustersRequest
- DESC: Sort in descending order. The default order is ascending.
func (ApiListClustersRequest) PaginationStartKey ¶
func (r ApiListClustersRequest) PaginationStartKey(paginationStartKey string) ApiListClustersRequest
func (ApiListClustersRequest) PaginationTime ¶
func (r ApiListClustersRequest) PaginationTime(paginationTime time.Time) ApiListClustersRequest
func (ApiListClustersRequest) ShowInactive ¶
func (r ApiListClustersRequest) ShowInactive(showInactive bool) ApiListClustersRequest
If `true`, show clusters that have been deleted or failed to initialize.
type ApiListSQLUsersRequest ¶
type ApiListSQLUsersRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiListSQLUsersRequest) Execute ¶
func (r ApiListSQLUsersRequest) Execute() (*ListSQLUsersResponse, *http.Response, error)
func (ApiListSQLUsersRequest) PaginationDirection ¶
func (r ApiListSQLUsersRequest) PaginationDirection(paginationDirection string) ApiListSQLUsersRequest
func (ApiListSQLUsersRequest) PaginationLimit ¶
func (r ApiListSQLUsersRequest) PaginationLimit(paginationLimit int32) ApiListSQLUsersRequest
func (ApiListSQLUsersRequest) PaginationOrder ¶
func (r ApiListSQLUsersRequest) PaginationOrder(paginationOrder string) ApiListSQLUsersRequest
- DESC: Sort in descending order. The default order is ascending.
func (ApiListSQLUsersRequest) PaginationStartKey ¶
func (r ApiListSQLUsersRequest) PaginationStartKey(paginationStartKey string) ApiListSQLUsersRequest
func (ApiListSQLUsersRequest) PaginationTime ¶
func (r ApiListSQLUsersRequest) PaginationTime(paginationTime time.Time) ApiListSQLUsersRequest
type ApiUpdateAllowlistEntryRequest ¶
type ApiUpdateAllowlistEntryRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiUpdateAllowlistEntryRequest) AllowlistEntry ¶
func (r ApiUpdateAllowlistEntryRequest) AllowlistEntry(allowlistEntry AllowlistEntry) ApiUpdateAllowlistEntryRequest
func (ApiUpdateAllowlistEntryRequest) Execute ¶
func (r ApiUpdateAllowlistEntryRequest) Execute() (*AllowlistEntry, *http.Response, error)
func (ApiUpdateAllowlistEntryRequest) FieldMask ¶
func (r ApiUpdateAllowlistEntryRequest) FieldMask(fieldMask string) ApiUpdateAllowlistEntryRequest
type ApiUpdateCMEKStatusRequest ¶
type ApiUpdateCMEKStatusRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiUpdateCMEKStatusRequest) Execute ¶
func (r ApiUpdateCMEKStatusRequest) Execute() (*CMEKClusterInfo, *http.Response, error)
func (ApiUpdateCMEKStatusRequest) UpdateCMEKStatusRequest ¶
func (r ApiUpdateCMEKStatusRequest) UpdateCMEKStatusRequest(updateCMEKStatusRequest UpdateCMEKStatusRequest) ApiUpdateCMEKStatusRequest
type ApiUpdateClusterRequest ¶
type ApiUpdateClusterRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiUpdateClusterRequest) Execute ¶
func (r ApiUpdateClusterRequest) Execute() (*Cluster, *http.Response, error)
func (ApiUpdateClusterRequest) FieldMask ¶
func (r ApiUpdateClusterRequest) FieldMask(fieldMask string) ApiUpdateClusterRequest
func (ApiUpdateClusterRequest) UpdateClusterSpecification ¶
func (r ApiUpdateClusterRequest) UpdateClusterSpecification(updateClusterSpecification UpdateClusterSpecification) ApiUpdateClusterRequest
type ApiUpdateSQLUserPasswordRequest ¶
type ApiUpdateSQLUserPasswordRequest struct { ApiService *CockroachCloudApiService // contains filtered or unexported fields }
func (ApiUpdateSQLUserPasswordRequest) Execute ¶
func (r ApiUpdateSQLUserPasswordRequest) Execute() (*SQLUser, *http.Response, error)
func (ApiUpdateSQLUserPasswordRequest) UpdateSQLUserPasswordRequest ¶
func (r ApiUpdateSQLUserPasswordRequest) UpdateSQLUserPasswordRequest(updateSQLUserPasswordRequest UpdateSQLUserPasswordRequest) ApiUpdateSQLUserPasswordRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CMEKClusterInfo ¶
type CMEKClusterInfo struct { Status *CMEKStatus `json:"status,omitempty"` RegionInfos []CMEKRegionInfo `json:"region_infos,omitempty"` }
CMEKClusterInfo CMEKClusterInfo contains the status of CMEK across an entire cluster, including within each one its regions.
func NewCMEKClusterInfo ¶
func NewCMEKClusterInfo() *CMEKClusterInfo
NewCMEKClusterInfo instantiates a new CMEKClusterInfo 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 NewCMEKClusterInfoWithDefaults ¶
func NewCMEKClusterInfoWithDefaults() *CMEKClusterInfo
NewCMEKClusterInfoWithDefaults instantiates a new CMEKClusterInfo 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 (*CMEKClusterInfo) GetRegionInfos ¶
func (o *CMEKClusterInfo) GetRegionInfos() []CMEKRegionInfo
GetRegionInfos returns the RegionInfos field value if set, zero value otherwise.
func (*CMEKClusterInfo) GetRegionInfosOk ¶
func (o *CMEKClusterInfo) GetRegionInfosOk() ([]CMEKRegionInfo, bool)
GetRegionInfosOk returns a tuple with the RegionInfos field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKClusterInfo) GetStatus ¶
func (o *CMEKClusterInfo) GetStatus() CMEKStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*CMEKClusterInfo) GetStatusOk ¶
func (o *CMEKClusterInfo) GetStatusOk() (*CMEKStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKClusterInfo) HasRegionInfos ¶
func (o *CMEKClusterInfo) HasRegionInfos() bool
HasRegionInfos returns a boolean if a field has been set.
func (*CMEKClusterInfo) HasStatus ¶
func (o *CMEKClusterInfo) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (CMEKClusterInfo) MarshalJSON ¶
func (o CMEKClusterInfo) MarshalJSON() ([]byte, error)
func (*CMEKClusterInfo) SetRegionInfos ¶
func (o *CMEKClusterInfo) SetRegionInfos(v []CMEKRegionInfo)
SetRegionInfos gets a reference to the given []CMEKRegionInfo and assigns it to the RegionInfos field.
func (*CMEKClusterInfo) SetStatus ¶
func (o *CMEKClusterInfo) SetStatus(v CMEKStatus)
SetStatus gets a reference to the given CMEKStatus and assigns it to the Status field.
type CMEKClusterSpecification ¶
type CMEKClusterSpecification struct {
RegionSpecs []CMEKRegionSpecification `json:"region_specs"`
}
CMEKClusterSpecification struct for CMEKClusterSpecification
func NewCMEKClusterSpecification ¶
func NewCMEKClusterSpecification(regionSpecs []CMEKRegionSpecification) *CMEKClusterSpecification
NewCMEKClusterSpecification instantiates a new CMEKClusterSpecification 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 NewCMEKClusterSpecificationWithDefaults ¶
func NewCMEKClusterSpecificationWithDefaults() *CMEKClusterSpecification
NewCMEKClusterSpecificationWithDefaults instantiates a new CMEKClusterSpecification 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 (*CMEKClusterSpecification) GetRegionSpecs ¶
func (o *CMEKClusterSpecification) GetRegionSpecs() []CMEKRegionSpecification
GetRegionSpecs returns the RegionSpecs field value
func (*CMEKClusterSpecification) GetRegionSpecsOk ¶
func (o *CMEKClusterSpecification) GetRegionSpecsOk() ([]CMEKRegionSpecification, bool)
GetRegionSpecsOk returns a tuple with the RegionSpecs field value and a boolean to check if the value has been set.
func (CMEKClusterSpecification) MarshalJSON ¶
func (o CMEKClusterSpecification) MarshalJSON() ([]byte, error)
func (*CMEKClusterSpecification) SetRegionSpecs ¶
func (o *CMEKClusterSpecification) SetRegionSpecs(v []CMEKRegionSpecification)
SetRegionSpecs sets field value
type CMEKCustomerAction ¶
type CMEKCustomerAction string
CMEKCustomerAction CMEKCustomerAction enumerates the actions a customer can take on a cluster that has been enabled for CMEK.
const ( UNKNOWN_ACTION CMEKCustomerAction = "UNKNOWN_ACTION" REVOKE CMEKCustomerAction = "REVOKE" )
List of CMEKCustomerAction
func NewCMEKCustomerActionFromValue ¶
func NewCMEKCustomerActionFromValue(v string) (*CMEKCustomerAction, error)
NewCMEKCustomerActionFromValue returns a pointer to a valid CMEKCustomerAction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CMEKCustomerAction) IsValid ¶
func (v CMEKCustomerAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CMEKCustomerAction) Ptr ¶
func (v CMEKCustomerAction) Ptr() *CMEKCustomerAction
Ptr returns reference to CMEKCustomerAction value
func (*CMEKCustomerAction) UnmarshalJSON ¶
func (v *CMEKCustomerAction) UnmarshalJSON(src []byte) error
type CMEKKeyInfo ¶
type CMEKKeyInfo struct { Status *CMEKStatus `json:"status,omitempty"` UserMessage *string `json:"user_message,omitempty"` Spec *CMEKKeySpecification `json:"spec,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` }
CMEKKeyInfo CMEKKeyInfo contains the status of a customer-provided key alongside the specification.
func NewCMEKKeyInfo ¶
func NewCMEKKeyInfo() *CMEKKeyInfo
NewCMEKKeyInfo instantiates a new CMEKKeyInfo 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 NewCMEKKeyInfoWithDefaults ¶
func NewCMEKKeyInfoWithDefaults() *CMEKKeyInfo
NewCMEKKeyInfoWithDefaults instantiates a new CMEKKeyInfo 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 (*CMEKKeyInfo) GetCreatedAt ¶
func (o *CMEKKeyInfo) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CMEKKeyInfo) GetCreatedAtOk ¶
func (o *CMEKKeyInfo) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKKeyInfo) GetSpec ¶
func (o *CMEKKeyInfo) GetSpec() CMEKKeySpecification
GetSpec returns the Spec field value if set, zero value otherwise.
func (*CMEKKeyInfo) GetSpecOk ¶
func (o *CMEKKeyInfo) GetSpecOk() (*CMEKKeySpecification, bool)
GetSpecOk returns a tuple with the Spec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKKeyInfo) GetStatus ¶
func (o *CMEKKeyInfo) GetStatus() CMEKStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*CMEKKeyInfo) GetStatusOk ¶
func (o *CMEKKeyInfo) GetStatusOk() (*CMEKStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKKeyInfo) GetUpdatedAt ¶
func (o *CMEKKeyInfo) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CMEKKeyInfo) GetUpdatedAtOk ¶
func (o *CMEKKeyInfo) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKKeyInfo) GetUserMessage ¶
func (o *CMEKKeyInfo) GetUserMessage() string
GetUserMessage returns the UserMessage field value if set, zero value otherwise.
func (*CMEKKeyInfo) GetUserMessageOk ¶
func (o *CMEKKeyInfo) GetUserMessageOk() (*string, bool)
GetUserMessageOk returns a tuple with the UserMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKKeyInfo) HasCreatedAt ¶
func (o *CMEKKeyInfo) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CMEKKeyInfo) HasSpec ¶
func (o *CMEKKeyInfo) HasSpec() bool
HasSpec returns a boolean if a field has been set.
func (*CMEKKeyInfo) HasStatus ¶
func (o *CMEKKeyInfo) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*CMEKKeyInfo) HasUpdatedAt ¶
func (o *CMEKKeyInfo) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*CMEKKeyInfo) HasUserMessage ¶
func (o *CMEKKeyInfo) HasUserMessage() bool
HasUserMessage returns a boolean if a field has been set.
func (CMEKKeyInfo) MarshalJSON ¶
func (o CMEKKeyInfo) MarshalJSON() ([]byte, error)
func (*CMEKKeyInfo) SetCreatedAt ¶
func (o *CMEKKeyInfo) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CMEKKeyInfo) SetSpec ¶
func (o *CMEKKeyInfo) SetSpec(v CMEKKeySpecification)
SetSpec gets a reference to the given CMEKKeySpecification and assigns it to the Spec field.
func (*CMEKKeyInfo) SetStatus ¶
func (o *CMEKKeyInfo) SetStatus(v CMEKStatus)
SetStatus gets a reference to the given CMEKStatus and assigns it to the Status field.
func (*CMEKKeyInfo) SetUpdatedAt ¶
func (o *CMEKKeyInfo) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*CMEKKeyInfo) SetUserMessage ¶
func (o *CMEKKeyInfo) SetUserMessage(v string)
SetUserMessage gets a reference to the given string and assigns it to the UserMessage field.
type CMEKKeySpecification ¶
type CMEKKeySpecification struct { Type *CMEKKeyType `json:"type,omitempty"` Uri *string `json:"uri,omitempty"` AuthPrincipal *string `json:"auth_principal,omitempty"` }
CMEKKeySpecification CMEKKeySpecification contains all the details necessary to use a customer-provided encryption key. This involves the type/location of the key and the principal to authenticate as when accessing it.
func NewCMEKKeySpecification ¶
func NewCMEKKeySpecification() *CMEKKeySpecification
NewCMEKKeySpecification instantiates a new CMEKKeySpecification 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 NewCMEKKeySpecificationWithDefaults ¶
func NewCMEKKeySpecificationWithDefaults() *CMEKKeySpecification
NewCMEKKeySpecificationWithDefaults instantiates a new CMEKKeySpecification 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 (*CMEKKeySpecification) GetAuthPrincipal ¶
func (o *CMEKKeySpecification) GetAuthPrincipal() string
GetAuthPrincipal returns the AuthPrincipal field value if set, zero value otherwise.
func (*CMEKKeySpecification) GetAuthPrincipalOk ¶
func (o *CMEKKeySpecification) GetAuthPrincipalOk() (*string, bool)
GetAuthPrincipalOk returns a tuple with the AuthPrincipal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKKeySpecification) GetType ¶
func (o *CMEKKeySpecification) GetType() CMEKKeyType
GetType returns the Type field value if set, zero value otherwise.
func (*CMEKKeySpecification) GetTypeOk ¶
func (o *CMEKKeySpecification) GetTypeOk() (*CMEKKeyType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKKeySpecification) GetUri ¶
func (o *CMEKKeySpecification) GetUri() string
GetUri returns the Uri field value if set, zero value otherwise.
func (*CMEKKeySpecification) GetUriOk ¶
func (o *CMEKKeySpecification) GetUriOk() (*string, bool)
GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKKeySpecification) HasAuthPrincipal ¶
func (o *CMEKKeySpecification) HasAuthPrincipal() bool
HasAuthPrincipal returns a boolean if a field has been set.
func (*CMEKKeySpecification) HasType ¶
func (o *CMEKKeySpecification) HasType() bool
HasType returns a boolean if a field has been set.
func (*CMEKKeySpecification) HasUri ¶
func (o *CMEKKeySpecification) HasUri() bool
HasUri returns a boolean if a field has been set.
func (CMEKKeySpecification) MarshalJSON ¶
func (o CMEKKeySpecification) MarshalJSON() ([]byte, error)
func (*CMEKKeySpecification) SetAuthPrincipal ¶
func (o *CMEKKeySpecification) SetAuthPrincipal(v string)
SetAuthPrincipal gets a reference to the given string and assigns it to the AuthPrincipal field.
func (*CMEKKeySpecification) SetType ¶
func (o *CMEKKeySpecification) SetType(v CMEKKeyType)
SetType gets a reference to the given CMEKKeyType and assigns it to the Type field.
func (*CMEKKeySpecification) SetUri ¶
func (o *CMEKKeySpecification) SetUri(v string)
SetUri gets a reference to the given string and assigns it to the Uri field.
type CMEKKeyType ¶
type CMEKKeyType string
CMEKKeyType CMEKKeyType enumerates types of customer-managed keys. - UNKNOWN_KEY_TYPE: UNKNOWN should never be used; if it is used, it indicates a bug.
const ( UNKNOWN_KEY_TYPE CMEKKeyType = "UNKNOWN_KEY_TYPE" AWS_KMS CMEKKeyType = "AWS_KMS" GCP_CLOUD_KMS CMEKKeyType = "GCP_CLOUD_KMS" )
List of CMEKKeyType
func NewCMEKKeyTypeFromValue ¶
func NewCMEKKeyTypeFromValue(v string) (*CMEKKeyType, error)
NewCMEKKeyTypeFromValue returns a pointer to a valid CMEKKeyType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CMEKKeyType) IsValid ¶
func (v CMEKKeyType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CMEKKeyType) Ptr ¶
func (v CMEKKeyType) Ptr() *CMEKKeyType
Ptr returns reference to CMEKKeyType value
func (*CMEKKeyType) UnmarshalJSON ¶
func (v *CMEKKeyType) UnmarshalJSON(src []byte) error
type CMEKRegionInfo ¶
type CMEKRegionInfo struct { Region *string `json:"region,omitempty"` KeyInfos []CMEKKeyInfo `json:"key_infos,omitempty"` }
CMEKRegionInfo CMEKRegionInfo contains the status of CMEK within a region. This includes current and past key specifications used within the region, as well as the status of those specifications.
func NewCMEKRegionInfo ¶
func NewCMEKRegionInfo() *CMEKRegionInfo
NewCMEKRegionInfo instantiates a new CMEKRegionInfo 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 NewCMEKRegionInfoWithDefaults ¶
func NewCMEKRegionInfoWithDefaults() *CMEKRegionInfo
NewCMEKRegionInfoWithDefaults instantiates a new CMEKRegionInfo 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 (*CMEKRegionInfo) GetKeyInfos ¶
func (o *CMEKRegionInfo) GetKeyInfos() []CMEKKeyInfo
GetKeyInfos returns the KeyInfos field value if set, zero value otherwise.
func (*CMEKRegionInfo) GetKeyInfosOk ¶
func (o *CMEKRegionInfo) GetKeyInfosOk() ([]CMEKKeyInfo, bool)
GetKeyInfosOk returns a tuple with the KeyInfos field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKRegionInfo) GetRegion ¶
func (o *CMEKRegionInfo) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CMEKRegionInfo) GetRegionOk ¶
func (o *CMEKRegionInfo) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKRegionInfo) HasKeyInfos ¶
func (o *CMEKRegionInfo) HasKeyInfos() bool
HasKeyInfos returns a boolean if a field has been set.
func (*CMEKRegionInfo) HasRegion ¶
func (o *CMEKRegionInfo) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (CMEKRegionInfo) MarshalJSON ¶
func (o CMEKRegionInfo) MarshalJSON() ([]byte, error)
func (*CMEKRegionInfo) SetKeyInfos ¶
func (o *CMEKRegionInfo) SetKeyInfos(v []CMEKKeyInfo)
SetKeyInfos gets a reference to the given []CMEKKeyInfo and assigns it to the KeyInfos field.
func (*CMEKRegionInfo) SetRegion ¶
func (o *CMEKRegionInfo) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
type CMEKRegionSpecification ¶
type CMEKRegionSpecification struct { Region *string `json:"region,omitempty"` KeySpec *CMEKKeySpecification `json:"key_spec,omitempty"` }
CMEKRegionSpecification CMEKRegionSpecification declares the customer-provided key specification that should be used in a given region.
func NewCMEKRegionSpecification ¶
func NewCMEKRegionSpecification() *CMEKRegionSpecification
NewCMEKRegionSpecification instantiates a new CMEKRegionSpecification 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 NewCMEKRegionSpecificationWithDefaults ¶
func NewCMEKRegionSpecificationWithDefaults() *CMEKRegionSpecification
NewCMEKRegionSpecificationWithDefaults instantiates a new CMEKRegionSpecification 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 (*CMEKRegionSpecification) GetKeySpec ¶
func (o *CMEKRegionSpecification) GetKeySpec() CMEKKeySpecification
GetKeySpec returns the KeySpec field value if set, zero value otherwise.
func (*CMEKRegionSpecification) GetKeySpecOk ¶
func (o *CMEKRegionSpecification) GetKeySpecOk() (*CMEKKeySpecification, bool)
GetKeySpecOk returns a tuple with the KeySpec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKRegionSpecification) GetRegion ¶
func (o *CMEKRegionSpecification) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CMEKRegionSpecification) GetRegionOk ¶
func (o *CMEKRegionSpecification) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CMEKRegionSpecification) HasKeySpec ¶
func (o *CMEKRegionSpecification) HasKeySpec() bool
HasKeySpec returns a boolean if a field has been set.
func (*CMEKRegionSpecification) HasRegion ¶
func (o *CMEKRegionSpecification) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (CMEKRegionSpecification) MarshalJSON ¶
func (o CMEKRegionSpecification) MarshalJSON() ([]byte, error)
func (*CMEKRegionSpecification) SetKeySpec ¶
func (o *CMEKRegionSpecification) SetKeySpec(v CMEKKeySpecification)
SetKeySpec gets a reference to the given CMEKKeySpecification and assigns it to the KeySpec field.
func (*CMEKRegionSpecification) SetRegion ¶
func (o *CMEKRegionSpecification) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
type CMEKStatus ¶
type CMEKStatus string
CMEKStatus CMEKStatus describes the current status of CMEK for an entire CRDB cluster or a key within a region. - UNKNOWN_STATUS: UNKNOWN should never be used; if it is used, it indicates a bug. - DISABLED: DISABLED corresponds to the state of a cluster or region-level key when CMEK has finished being disabled. By default, CMEK will be disabled for new clusters. - DISABLING: DISABLED corresponds to the state of a cluster or region-level key when CMEK is in the process of being disabled. - DISABLE_FAILED: DISABLE_FAILED corresponds to the state of a cluster or region-level key when CMEK has failed to be disabled. - ENABLED: ENABLED corresponds to the state of a cluster or region-level key when CMEK is enabled. - ENABLING: ENABLING corresponds to the state of a cluster or region-level key when CMEK is in the process of being enabled. - ENABLE_FAILED: ENABLE_FAILED corresponds to the state of a cluster or region-level key when CMEK has failed to be enabled. - REVOKED: REVOKED corresponds to the state of a cluster or region-level key when the customer has revoked CockroachLab's permissions for their key. - REVOKING: REVOKING corresponds to the state of a cluster or region-level key when CMEK is in the process of being revoked. - REVOKE_FAILED: REVOKE_FAILED corresponds to the state of a cluster or region-level key when CMEK has failed to be revoked.
const ( UNKNOWN_STATUS CMEKStatus = "UNKNOWN_STATUS" DISABLED CMEKStatus = "DISABLED" DISABLING CMEKStatus = "DISABLING" DISABLE_FAILED CMEKStatus = "DISABLE_FAILED" ENABLED CMEKStatus = "ENABLED" ENABLING CMEKStatus = "ENABLING" ENABLE_FAILED CMEKStatus = "ENABLE_FAILED" REVOKED CMEKStatus = "REVOKED" REVOKING CMEKStatus = "REVOKING" REVOKE_FAILED CMEKStatus = "REVOKE_FAILED" )
List of CMEKStatus
func NewCMEKStatusFromValue ¶
func NewCMEKStatusFromValue(v string) (*CMEKStatus, error)
NewCMEKStatusFromValue returns a pointer to a valid CMEKStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CMEKStatus) IsValid ¶
func (v CMEKStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CMEKStatus) Ptr ¶
func (v CMEKStatus) Ptr() *CMEKStatus
Ptr returns reference to CMEKStatus value
func (*CMEKStatus) UnmarshalJSON ¶
func (v *CMEKStatus) UnmarshalJSON(src []byte) error
type CloudProviderRegion ¶
type CloudProviderRegion struct { Name string `json:"name"` Location string `json:"location"` Provider ApiCloudProvider `json:"provider"` Serverless bool `json:"serverless"` Distance float32 `json:"distance"` }
CloudProviderRegion struct for CloudProviderRegion
func NewCloudProviderRegion ¶
func NewCloudProviderRegion(name string, location string, provider ApiCloudProvider, serverless bool, distance float32) *CloudProviderRegion
NewCloudProviderRegion instantiates a new CloudProviderRegion 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 NewCloudProviderRegionWithDefaults ¶
func NewCloudProviderRegionWithDefaults() *CloudProviderRegion
NewCloudProviderRegionWithDefaults instantiates a new CloudProviderRegion 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 (*CloudProviderRegion) GetDistance ¶
func (o *CloudProviderRegion) GetDistance() float32
GetDistance returns the Distance field value
func (*CloudProviderRegion) GetDistanceOk ¶
func (o *CloudProviderRegion) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value and a boolean to check if the value has been set.
func (*CloudProviderRegion) GetLocation ¶
func (o *CloudProviderRegion) GetLocation() string
GetLocation returns the Location field value
func (*CloudProviderRegion) GetLocationOk ¶
func (o *CloudProviderRegion) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.
func (*CloudProviderRegion) GetName ¶
func (o *CloudProviderRegion) GetName() string
GetName returns the Name field value
func (*CloudProviderRegion) GetNameOk ¶
func (o *CloudProviderRegion) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CloudProviderRegion) GetProvider ¶
func (o *CloudProviderRegion) GetProvider() ApiCloudProvider
GetProvider returns the Provider field value
func (*CloudProviderRegion) GetProviderOk ¶
func (o *CloudProviderRegion) GetProviderOk() (*ApiCloudProvider, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*CloudProviderRegion) GetServerless ¶
func (o *CloudProviderRegion) GetServerless() bool
GetServerless returns the Serverless field value
func (*CloudProviderRegion) GetServerlessOk ¶
func (o *CloudProviderRegion) GetServerlessOk() (*bool, bool)
GetServerlessOk returns a tuple with the Serverless field value and a boolean to check if the value has been set.
func (CloudProviderRegion) MarshalJSON ¶
func (o CloudProviderRegion) MarshalJSON() ([]byte, error)
func (*CloudProviderRegion) SetDistance ¶
func (o *CloudProviderRegion) SetDistance(v float32)
SetDistance sets field value
func (*CloudProviderRegion) SetLocation ¶
func (o *CloudProviderRegion) SetLocation(v string)
SetLocation sets field value
func (*CloudProviderRegion) SetName ¶
func (o *CloudProviderRegion) SetName(v string)
SetName sets field value
func (*CloudProviderRegion) SetProvider ¶
func (o *CloudProviderRegion) SetProvider(v ApiCloudProvider)
SetProvider sets field value
func (*CloudProviderRegion) SetServerless ¶
func (o *CloudProviderRegion) SetServerless(v bool)
SetServerless sets field value
type Cluster ¶
type Cluster struct { Id string `json:"id"` Name string `json:"name"` CockroachVersion string `json:"cockroach_version"` Plan Plan `json:"plan"` CloudProvider ApiCloudProvider `json:"cloud_provider"` AccountId *string `json:"account_id,omitempty"` State ClusterStateType `json:"state"` CreatorId string `json:"creator_id"` OperationStatus ClusterStatusType `json:"operation_status"` Config ClusterConfig `json:"config"` Regions []Region `json:"regions"` CreatedAt *time.Time `json:"created_at,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` DeletedAt *time.Time `json:"deleted_at,omitempty"` }
Cluster struct for Cluster
func NewCluster ¶
func NewCluster(id string, name string, cockroachVersion string, plan Plan, cloudProvider ApiCloudProvider, state ClusterStateType, creatorId string, operationStatus ClusterStatusType, config ClusterConfig, regions []Region) *Cluster
NewCluster instantiates a new Cluster 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 NewClusterWithDefaults ¶
func NewClusterWithDefaults() *Cluster
NewClusterWithDefaults instantiates a new Cluster 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 (*Cluster) GetAccountId ¶
GetAccountId returns the AccountId field value if set, zero value otherwise.
func (*Cluster) GetAccountIdOk ¶
GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetCloudProvider ¶
func (o *Cluster) GetCloudProvider() ApiCloudProvider
GetCloudProvider returns the CloudProvider field value
func (*Cluster) GetCloudProviderOk ¶
func (o *Cluster) GetCloudProviderOk() (*ApiCloudProvider, bool)
GetCloudProviderOk returns a tuple with the CloudProvider field value and a boolean to check if the value has been set.
func (*Cluster) GetCockroachVersion ¶
GetCockroachVersion returns the CockroachVersion field value
func (*Cluster) GetCockroachVersionOk ¶
GetCockroachVersionOk returns a tuple with the CockroachVersion field value and a boolean to check if the value has been set.
func (*Cluster) GetConfig ¶
func (o *Cluster) GetConfig() ClusterConfig
GetConfig returns the Config field value
func (*Cluster) GetConfigOk ¶
func (o *Cluster) GetConfigOk() (*ClusterConfig, bool)
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*Cluster) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Cluster) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetCreatorId ¶
GetCreatorId returns the CreatorId field value
func (*Cluster) GetCreatorIdOk ¶
GetCreatorIdOk returns a tuple with the CreatorId field value and a boolean to check if the value has been set.
func (*Cluster) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*Cluster) GetDeletedAtOk ¶
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Cluster) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Cluster) GetOperationStatus ¶
func (o *Cluster) GetOperationStatus() ClusterStatusType
GetOperationStatus returns the OperationStatus field value
func (*Cluster) GetOperationStatusOk ¶
func (o *Cluster) GetOperationStatusOk() (*ClusterStatusType, bool)
GetOperationStatusOk returns a tuple with the OperationStatus field value and a boolean to check if the value has been set.
func (*Cluster) GetPlanOk ¶
GetPlanOk returns a tuple with the Plan field value and a boolean to check if the value has been set.
func (*Cluster) GetRegions ¶
GetRegions returns the Regions field value
func (*Cluster) GetRegionsOk ¶
GetRegionsOk returns a tuple with the Regions field value and a boolean to check if the value has been set.
func (*Cluster) GetState ¶
func (o *Cluster) GetState() ClusterStateType
GetState returns the State field value
func (*Cluster) GetStateOk ¶
func (o *Cluster) GetStateOk() (*ClusterStateType, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Cluster) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Cluster) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) HasAccountId ¶
HasAccountId returns a boolean if a field has been set.
func (*Cluster) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Cluster) HasDeletedAt ¶
HasDeletedAt returns a boolean if a field has been set.
func (*Cluster) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Cluster) MarshalJSON ¶
func (*Cluster) SetAccountId ¶
SetAccountId gets a reference to the given string and assigns it to the AccountId field.
func (*Cluster) SetCloudProvider ¶
func (o *Cluster) SetCloudProvider(v ApiCloudProvider)
SetCloudProvider sets field value
func (*Cluster) SetCockroachVersion ¶
SetCockroachVersion sets field value
func (*Cluster) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Cluster) SetCreatorId ¶
SetCreatorId sets field value
func (*Cluster) SetDeletedAt ¶
SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.
func (*Cluster) SetOperationStatus ¶
func (o *Cluster) SetOperationStatus(v ClusterStatusType)
SetOperationStatus sets field value
func (*Cluster) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type ClusterConfig ¶
type ClusterConfig struct { Dedicated *DedicatedHardwareConfig `json:"dedicated,omitempty"` Serverless *ServerlessClusterConfig `json:"serverless,omitempty"` }
ClusterConfig struct for ClusterConfig
func NewClusterConfig ¶
func NewClusterConfig() *ClusterConfig
NewClusterConfig instantiates a new ClusterConfig 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 NewClusterConfigWithDefaults ¶
func NewClusterConfigWithDefaults() *ClusterConfig
NewClusterConfigWithDefaults instantiates a new ClusterConfig 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 (*ClusterConfig) GetDedicated ¶
func (o *ClusterConfig) GetDedicated() DedicatedHardwareConfig
GetDedicated returns the Dedicated field value if set, zero value otherwise.
func (*ClusterConfig) GetDedicatedOk ¶
func (o *ClusterConfig) GetDedicatedOk() (*DedicatedHardwareConfig, bool)
GetDedicatedOk returns a tuple with the Dedicated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterConfig) GetServerless ¶
func (o *ClusterConfig) GetServerless() ServerlessClusterConfig
GetServerless returns the Serverless field value if set, zero value otherwise.
func (*ClusterConfig) GetServerlessOk ¶
func (o *ClusterConfig) GetServerlessOk() (*ServerlessClusterConfig, bool)
GetServerlessOk returns a tuple with the Serverless field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterConfig) HasDedicated ¶
func (o *ClusterConfig) HasDedicated() bool
HasDedicated returns a boolean if a field has been set.
func (*ClusterConfig) HasServerless ¶
func (o *ClusterConfig) HasServerless() bool
HasServerless returns a boolean if a field has been set.
func (ClusterConfig) MarshalJSON ¶
func (o ClusterConfig) MarshalJSON() ([]byte, error)
func (*ClusterConfig) SetDedicated ¶
func (o *ClusterConfig) SetDedicated(v DedicatedHardwareConfig)
SetDedicated gets a reference to the given DedicatedHardwareConfig and assigns it to the Dedicated field.
func (*ClusterConfig) SetServerless ¶
func (o *ClusterConfig) SetServerless(v ServerlessClusterConfig)
SetServerless gets a reference to the given ServerlessClusterConfig and assigns it to the Serverless field.
type ClusterStateType ¶
type ClusterStateType string
ClusterStateType - LOCKED: An exclusive operation is being performed on this cluster. Other operations should not proceed if they did not set a cluster into the LOCKED state.
const ( CLUSTER_STATE_UNSPECIFIED ClusterStateType = "CLUSTER_STATE_UNSPECIFIED" CREATING ClusterStateType = "CREATING" CREATED ClusterStateType = "CREATED" CREATION_FAILED ClusterStateType = "CREATION_FAILED" DELETED ClusterStateType = "DELETED" LOCKED ClusterStateType = "LOCKED" )
List of ClusterStateType
func NewClusterStateTypeFromValue ¶
func NewClusterStateTypeFromValue(v string) (*ClusterStateType, error)
NewClusterStateTypeFromValue returns a pointer to a valid ClusterStateType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ClusterStateType) IsValid ¶
func (v ClusterStateType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ClusterStateType) Ptr ¶
func (v ClusterStateType) Ptr() *ClusterStateType
Ptr returns reference to ClusterStateType value
func (*ClusterStateType) UnmarshalJSON ¶
func (v *ClusterStateType) UnmarshalJSON(src []byte) error
type ClusterStatusType ¶
type ClusterStatusType string
ClusterStatusType the model 'ClusterStatusType'
const ( CLUSTER_STATUS_UNSPECIFIED ClusterStatusType = "CLUSTER_STATUS_UNSPECIFIED" CRDB_MAJOR_UPGRADE_RUNNING ClusterStatusType = "CRDB_MAJOR_UPGRADE_RUNNING" CRDB_MAJOR_UPGRADE_FAILED ClusterStatusType = "CRDB_MAJOR_UPGRADE_FAILED" CRDB_MAJOR_ROLLBACK_RUNNING ClusterStatusType = "CRDB_MAJOR_ROLLBACK_RUNNING" CRDB_MAJOR_ROLLBACK_FAILED ClusterStatusType = "CRDB_MAJOR_ROLLBACK_FAILED" CRDB_PATCH_RUNNING ClusterStatusType = "CRDB_PATCH_RUNNING" CRDB_PATCH_FAILED ClusterStatusType = "CRDB_PATCH_FAILED" CRDB_SCALE_RUNNING ClusterStatusType = "CRDB_SCALE_RUNNING" CRDB_SCALE_FAILED ClusterStatusType = "CRDB_SCALE_FAILED" MAINTENANCE_RUNNING ClusterStatusType = "MAINTENANCE_RUNNING" CRDB_INSTANCE_UPDATE_RUNNING ClusterStatusType = "CRDB_INSTANCE_UPDATE_RUNNING" CRDB_INSTANCE_UPDATE_FAILED ClusterStatusType = "CRDB_INSTANCE_UPDATE_FAILED" CRDB_EDIT_CLUSTER_RUNNING ClusterStatusType = "CRDB_EDIT_CLUSTER_RUNNING" CRDB_EDIT_CLUSTER_FAILED ClusterStatusType = "CRDB_EDIT_CLUSTER_FAILED" CRDB_CMEK_OPERATION_RUNNING ClusterStatusType = "CRDB_CMEK_OPERATION_RUNNING" CRDB_CMEK_OPERATION_FAILED ClusterStatusType = "CRDB_CMEK_OPERATION_FAILED" TENANT_RESTORE_RUNNING ClusterStatusType = "TENANT_RESTORE_RUNNING" TENANT_RESTORE_FAILED ClusterStatusType = "TENANT_RESTORE_FAILED" )
List of ClusterStatusType
func NewClusterStatusTypeFromValue ¶
func NewClusterStatusTypeFromValue(v string) (*ClusterStatusType, error)
NewClusterStatusTypeFromValue returns a pointer to a valid ClusterStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ClusterStatusType) IsValid ¶
func (v ClusterStatusType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ClusterStatusType) Ptr ¶
func (v ClusterStatusType) Ptr() *ClusterStatusType
Ptr returns reference to ClusterStatusType value
func (*ClusterStatusType) UnmarshalJSON ¶
func (v *ClusterStatusType) UnmarshalJSON(src []byte) error
type CockroachCloudApiService ¶
type CockroachCloudApiService service
CockroachCloudApiService CockroachCloudApi service
func (*CockroachCloudApiService) AddAllowlistEntry ¶
func (a *CockroachCloudApiService) AddAllowlistEntry(ctx context.Context, clusterId string) ApiAddAllowlistEntryRequest
AddAllowlistEntry Add a new CIDR address to the IP allowlist.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @return ApiAddAllowlistEntryRequest
func (*CockroachCloudApiService) AddAllowlistEntry2 ¶
func (a *CockroachCloudApiService) AddAllowlistEntry2(ctx context.Context, clusterId string, entryCidrIp string, entryCidrMask int32) ApiAddAllowlistEntry2Request
AddAllowlistEntry2 Add a new CIDR address to the IP allowlist.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @param entryCidrIp @param entryCidrMask @return ApiAddAllowlistEntry2Request
func (*CockroachCloudApiService) AddAllowlistEntry2Execute ¶
func (a *CockroachCloudApiService) AddAllowlistEntry2Execute(r ApiAddAllowlistEntry2Request) (*AllowlistEntry, *http.Response, error)
Execute executes the request
@return AllowlistEntry
func (*CockroachCloudApiService) AddAllowlistEntryExecute ¶
func (a *CockroachCloudApiService) AddAllowlistEntryExecute(r ApiAddAllowlistEntryRequest) (*AllowlistEntry, *http.Response, error)
Execute executes the request
@return AllowlistEntry
func (*CockroachCloudApiService) CreateCluster ¶
func (a *CockroachCloudApiService) CreateCluster(ctx context.Context) ApiCreateClusterRequest
CreateCluster Create and initialize a new cluster.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateClusterRequest
func (*CockroachCloudApiService) CreateClusterExecute ¶
func (a *CockroachCloudApiService) CreateClusterExecute(r ApiCreateClusterRequest) (*Cluster, *http.Response, error)
Execute executes the request
@return Cluster
func (*CockroachCloudApiService) CreateSQLUser ¶
func (a *CockroachCloudApiService) CreateSQLUser(ctx context.Context, clusterId string) ApiCreateSQLUserRequest
CreateSQLUser Create a new SQL user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @return ApiCreateSQLUserRequest
func (*CockroachCloudApiService) CreateSQLUserExecute ¶
func (a *CockroachCloudApiService) CreateSQLUserExecute(r ApiCreateSQLUserRequest) (*SQLUser, *http.Response, error)
Execute executes the request
@return SQLUser
func (*CockroachCloudApiService) DeleteAllowlistEntry ¶
func (a *CockroachCloudApiService) DeleteAllowlistEntry(ctx context.Context, clusterId string, cidrIp string, cidrMask int32) ApiDeleteAllowlistEntryRequest
DeleteAllowlistEntry Delete an IP allowlist entry.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @param cidrIp @param cidrMask @return ApiDeleteAllowlistEntryRequest
func (*CockroachCloudApiService) DeleteAllowlistEntryExecute ¶
func (a *CockroachCloudApiService) DeleteAllowlistEntryExecute(r ApiDeleteAllowlistEntryRequest) (*AllowlistEntry, *http.Response, error)
Execute executes the request
@return AllowlistEntry
func (*CockroachCloudApiService) DeleteCluster ¶
func (a *CockroachCloudApiService) DeleteCluster(ctx context.Context, clusterId string) ApiDeleteClusterRequest
DeleteCluster Delete a cluster and all of its data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @return ApiDeleteClusterRequest
func (*CockroachCloudApiService) DeleteClusterExecute ¶
func (a *CockroachCloudApiService) DeleteClusterExecute(r ApiDeleteClusterRequest) (*Cluster, *http.Response, error)
Execute executes the request
@return Cluster
func (*CockroachCloudApiService) DeleteSQLUser ¶
func (a *CockroachCloudApiService) DeleteSQLUser(ctx context.Context, clusterId string, name string) ApiDeleteSQLUserRequest
DeleteSQLUser Delete a SQL user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @param name @return ApiDeleteSQLUserRequest
func (*CockroachCloudApiService) DeleteSQLUserExecute ¶
func (a *CockroachCloudApiService) DeleteSQLUserExecute(r ApiDeleteSQLUserRequest) (*SQLUser, *http.Response, error)
Execute executes the request
@return SQLUser
func (*CockroachCloudApiService) EnableCMEK ¶
func (a *CockroachCloudApiService) EnableCMEK(ctx context.Context, clusterId string) ApiEnableCMEKRequest
EnableCMEK Enable CMEK for a cluster.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @return ApiEnableCMEKRequest
func (*CockroachCloudApiService) EnableCMEKExecute ¶
func (a *CockroachCloudApiService) EnableCMEKExecute(r ApiEnableCMEKRequest) (*CMEKClusterInfo, *http.Response, error)
Execute executes the request
@return CMEKClusterInfo
func (*CockroachCloudApiService) GetCMEKClusterInfo ¶
func (a *CockroachCloudApiService) GetCMEKClusterInfo(ctx context.Context, clusterId string) ApiGetCMEKClusterInfoRequest
GetCMEKClusterInfo Get CMEK-related information for a cluster.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @return ApiGetCMEKClusterInfoRequest
func (*CockroachCloudApiService) GetCMEKClusterInfoExecute ¶
func (a *CockroachCloudApiService) GetCMEKClusterInfoExecute(r ApiGetCMEKClusterInfoRequest) (*CMEKClusterInfo, *http.Response, error)
Execute executes the request
@return CMEKClusterInfo
func (*CockroachCloudApiService) GetCluster ¶
func (a *CockroachCloudApiService) GetCluster(ctx context.Context, clusterId string) ApiGetClusterRequest
GetCluster Get extended information about a cluster.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @return ApiGetClusterRequest
func (*CockroachCloudApiService) GetClusterExecute ¶
func (a *CockroachCloudApiService) GetClusterExecute(r ApiGetClusterRequest) (*Cluster, *http.Response, error)
Execute executes the request
@return Cluster
func (*CockroachCloudApiService) ListAllowlistEntries ¶
func (a *CockroachCloudApiService) ListAllowlistEntries(ctx context.Context, clusterId string) ApiListAllowlistEntriesRequest
ListAllowlistEntries Get the IP allowlist and propagation status for a cluster.
Sort order: CIDR address
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @return ApiListAllowlistEntriesRequest
func (*CockroachCloudApiService) ListAllowlistEntriesExecute ¶
func (a *CockroachCloudApiService) ListAllowlistEntriesExecute(r ApiListAllowlistEntriesRequest) (*ListAllowlistEntriesResponse, *http.Response, error)
Execute executes the request
@return ListAllowlistEntriesResponse
func (*CockroachCloudApiService) ListAvailableRegions ¶
func (a *CockroachCloudApiService) ListAvailableRegions(ctx context.Context) ApiListAvailableRegionsRequest
ListAvailableRegions List the regions available for new clusters and nodes.
Sort order: Distance (based on client IP address)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListAvailableRegionsRequest
func (*CockroachCloudApiService) ListAvailableRegionsExecute ¶
func (a *CockroachCloudApiService) ListAvailableRegionsExecute(r ApiListAvailableRegionsRequest) (*ListAvailableRegionsResponse, *http.Response, error)
Execute executes the request
@return ListAvailableRegionsResponse
func (*CockroachCloudApiService) ListClusterNodes ¶
func (a *CockroachCloudApiService) ListClusterNodes(ctx context.Context, clusterId string) ApiListClusterNodesRequest
ListClusterNodes List nodes for a cluster.
Sort order: Region name, node name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @return ApiListClusterNodesRequest
func (*CockroachCloudApiService) ListClusterNodesExecute ¶
func (a *CockroachCloudApiService) ListClusterNodesExecute(r ApiListClusterNodesRequest) (*ListClusterNodesResponse, *http.Response, error)
Execute executes the request
@return ListClusterNodesResponse
func (*CockroachCloudApiService) ListClusters ¶
func (a *CockroachCloudApiService) ListClusters(ctx context.Context) ApiListClustersRequest
ListClusters List clusters owned by an organization.
Sort order: Cluster name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListClustersRequest
func (*CockroachCloudApiService) ListClustersExecute ¶
func (a *CockroachCloudApiService) ListClustersExecute(r ApiListClustersRequest) (*ListClustersResponse, *http.Response, error)
Execute executes the request
@return ListClustersResponse
func (*CockroachCloudApiService) ListSQLUsers ¶
func (a *CockroachCloudApiService) ListSQLUsers(ctx context.Context, clusterId string) ApiListSQLUsersRequest
ListSQLUsers List SQL users for a cluster.
Sort order: Username
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @return ApiListSQLUsersRequest
func (*CockroachCloudApiService) ListSQLUsersExecute ¶
func (a *CockroachCloudApiService) ListSQLUsersExecute(r ApiListSQLUsersRequest) (*ListSQLUsersResponse, *http.Response, error)
Execute executes the request
@return ListSQLUsersResponse
func (*CockroachCloudApiService) UpdateAllowlistEntry ¶
func (a *CockroachCloudApiService) UpdateAllowlistEntry(ctx context.Context, clusterId string, entryCidrIp string, entryCidrMask int32) ApiUpdateAllowlistEntryRequest
UpdateAllowlistEntry Update an IP allowlist entry.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @param entryCidrIp @param entryCidrMask @return ApiUpdateAllowlistEntryRequest
func (*CockroachCloudApiService) UpdateAllowlistEntryExecute ¶
func (a *CockroachCloudApiService) UpdateAllowlistEntryExecute(r ApiUpdateAllowlistEntryRequest) (*AllowlistEntry, *http.Response, error)
Execute executes the request
@return AllowlistEntry
func (*CockroachCloudApiService) UpdateCMEKStatus ¶
func (a *CockroachCloudApiService) UpdateCMEKStatus(ctx context.Context, clusterId string) ApiUpdateCMEKStatusRequest
UpdateCMEKStatus Update the CMEK-related status for a cluster.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @return ApiUpdateCMEKStatusRequest
func (*CockroachCloudApiService) UpdateCMEKStatusExecute ¶
func (a *CockroachCloudApiService) UpdateCMEKStatusExecute(r ApiUpdateCMEKStatusRequest) (*CMEKClusterInfo, *http.Response, error)
Execute executes the request
@return CMEKClusterInfo
func (*CockroachCloudApiService) UpdateCluster ¶
func (a *CockroachCloudApiService) UpdateCluster(ctx context.Context, clusterId string) ApiUpdateClusterRequest
UpdateCluster Scale or edit a cluster.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @return ApiUpdateClusterRequest
func (*CockroachCloudApiService) UpdateClusterExecute ¶
func (a *CockroachCloudApiService) UpdateClusterExecute(r ApiUpdateClusterRequest) (*Cluster, *http.Response, error)
Execute executes the request
@return Cluster
func (*CockroachCloudApiService) UpdateSQLUserPassword ¶
func (a *CockroachCloudApiService) UpdateSQLUserPassword(ctx context.Context, clusterId string, name string) ApiUpdateSQLUserPasswordRequest
UpdateSQLUserPassword Update a SQL user's password.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @param name @return ApiUpdateSQLUserPasswordRequest
func (*CockroachCloudApiService) UpdateSQLUserPasswordExecute ¶
func (a *CockroachCloudApiService) UpdateSQLUserPasswordExecute(r ApiUpdateSQLUserPasswordRequest) (*SQLUser, *http.Response, error)
Execute executes the request
@return SQLUser
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateClusterRequest ¶
type CreateClusterRequest struct { Name string `json:"name"` Provider ApiCloudProvider `json:"provider"` Spec CreateClusterSpecification `json:"spec"` }
CreateClusterRequest struct for CreateClusterRequest
func NewCreateClusterRequest ¶
func NewCreateClusterRequest(name string, provider ApiCloudProvider, spec CreateClusterSpecification) *CreateClusterRequest
NewCreateClusterRequest instantiates a new CreateClusterRequest 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 NewCreateClusterRequestWithDefaults ¶
func NewCreateClusterRequestWithDefaults() *CreateClusterRequest
NewCreateClusterRequestWithDefaults instantiates a new CreateClusterRequest 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 (*CreateClusterRequest) GetName ¶
func (o *CreateClusterRequest) GetName() string
GetName returns the Name field value
func (*CreateClusterRequest) GetNameOk ¶
func (o *CreateClusterRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateClusterRequest) GetProvider ¶
func (o *CreateClusterRequest) GetProvider() ApiCloudProvider
GetProvider returns the Provider field value
func (*CreateClusterRequest) GetProviderOk ¶
func (o *CreateClusterRequest) GetProviderOk() (*ApiCloudProvider, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*CreateClusterRequest) GetSpec ¶
func (o *CreateClusterRequest) GetSpec() CreateClusterSpecification
GetSpec returns the Spec field value
func (*CreateClusterRequest) GetSpecOk ¶
func (o *CreateClusterRequest) GetSpecOk() (*CreateClusterSpecification, bool)
GetSpecOk returns a tuple with the Spec field value and a boolean to check if the value has been set.
func (CreateClusterRequest) MarshalJSON ¶
func (o CreateClusterRequest) MarshalJSON() ([]byte, error)
func (*CreateClusterRequest) SetName ¶
func (o *CreateClusterRequest) SetName(v string)
SetName sets field value
func (*CreateClusterRequest) SetProvider ¶
func (o *CreateClusterRequest) SetProvider(v ApiCloudProvider)
SetProvider sets field value
func (*CreateClusterRequest) SetSpec ¶
func (o *CreateClusterRequest) SetSpec(v CreateClusterSpecification)
SetSpec sets field value
type CreateClusterSpecification ¶
type CreateClusterSpecification struct { Dedicated *DedicatedClusterCreateSpecification `json:"dedicated,omitempty"` Serverless *ServerlessClusterCreateSpecification `json:"serverless,omitempty"` }
CreateClusterSpecification struct for CreateClusterSpecification
func NewCreateClusterSpecification ¶
func NewCreateClusterSpecification() *CreateClusterSpecification
NewCreateClusterSpecification instantiates a new CreateClusterSpecification 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 NewCreateClusterSpecificationWithDefaults ¶
func NewCreateClusterSpecificationWithDefaults() *CreateClusterSpecification
NewCreateClusterSpecificationWithDefaults instantiates a new CreateClusterSpecification 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 (*CreateClusterSpecification) GetDedicated ¶
func (o *CreateClusterSpecification) GetDedicated() DedicatedClusterCreateSpecification
GetDedicated returns the Dedicated field value if set, zero value otherwise.
func (*CreateClusterSpecification) GetDedicatedOk ¶
func (o *CreateClusterSpecification) GetDedicatedOk() (*DedicatedClusterCreateSpecification, bool)
GetDedicatedOk returns a tuple with the Dedicated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterSpecification) GetServerless ¶
func (o *CreateClusterSpecification) GetServerless() ServerlessClusterCreateSpecification
GetServerless returns the Serverless field value if set, zero value otherwise.
func (*CreateClusterSpecification) GetServerlessOk ¶
func (o *CreateClusterSpecification) GetServerlessOk() (*ServerlessClusterCreateSpecification, bool)
GetServerlessOk returns a tuple with the Serverless field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateClusterSpecification) HasDedicated ¶
func (o *CreateClusterSpecification) HasDedicated() bool
HasDedicated returns a boolean if a field has been set.
func (*CreateClusterSpecification) HasServerless ¶
func (o *CreateClusterSpecification) HasServerless() bool
HasServerless returns a boolean if a field has been set.
func (CreateClusterSpecification) MarshalJSON ¶
func (o CreateClusterSpecification) MarshalJSON() ([]byte, error)
func (*CreateClusterSpecification) SetDedicated ¶
func (o *CreateClusterSpecification) SetDedicated(v DedicatedClusterCreateSpecification)
SetDedicated gets a reference to the given DedicatedClusterCreateSpecification and assigns it to the Dedicated field.
func (*CreateClusterSpecification) SetServerless ¶
func (o *CreateClusterSpecification) SetServerless(v ServerlessClusterCreateSpecification)
SetServerless gets a reference to the given ServerlessClusterCreateSpecification and assigns it to the Serverless field.
type CreateSQLUserRequest ¶
CreateSQLUserRequest struct for CreateSQLUserRequest
func NewCreateSQLUserRequest ¶
func NewCreateSQLUserRequest(name string, password string) *CreateSQLUserRequest
NewCreateSQLUserRequest instantiates a new CreateSQLUserRequest 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 NewCreateSQLUserRequestWithDefaults ¶
func NewCreateSQLUserRequestWithDefaults() *CreateSQLUserRequest
NewCreateSQLUserRequestWithDefaults instantiates a new CreateSQLUserRequest 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 (*CreateSQLUserRequest) GetName ¶
func (o *CreateSQLUserRequest) GetName() string
GetName returns the Name field value
func (*CreateSQLUserRequest) GetNameOk ¶
func (o *CreateSQLUserRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateSQLUserRequest) GetPassword ¶
func (o *CreateSQLUserRequest) GetPassword() string
GetPassword returns the Password field value
func (*CreateSQLUserRequest) GetPasswordOk ¶
func (o *CreateSQLUserRequest) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (CreateSQLUserRequest) MarshalJSON ¶
func (o CreateSQLUserRequest) MarshalJSON() ([]byte, error)
func (*CreateSQLUserRequest) SetName ¶
func (o *CreateSQLUserRequest) SetName(v string)
SetName sets field value
func (*CreateSQLUserRequest) SetPassword ¶
func (o *CreateSQLUserRequest) SetPassword(v string)
SetPassword sets field value
type DedicatedClusterCreateSpecification ¶
type DedicatedClusterCreateSpecification struct { // Region keys should match the cloud provider's zone code. For example, for Oregon, set region_name to \"us-west2\" for GCP and \"us-west-2\" for AWS. Values represent the node count. RegionNodes map[string]int32 `json:"region_nodes"` Hardware DedicatedHardwareCreateSpecification `json:"hardware"` // The CockroachDB version for the cluster. The current version is used if omitted. CockroachVersion *string `json:"cockroach_version,omitempty"` }
DedicatedClusterCreateSpecification struct for DedicatedClusterCreateSpecification
func NewDedicatedClusterCreateSpecification ¶
func NewDedicatedClusterCreateSpecification(regionNodes map[string]int32, hardware DedicatedHardwareCreateSpecification) *DedicatedClusterCreateSpecification
NewDedicatedClusterCreateSpecification instantiates a new DedicatedClusterCreateSpecification 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 NewDedicatedClusterCreateSpecificationWithDefaults ¶
func NewDedicatedClusterCreateSpecificationWithDefaults() *DedicatedClusterCreateSpecification
NewDedicatedClusterCreateSpecificationWithDefaults instantiates a new DedicatedClusterCreateSpecification 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 (*DedicatedClusterCreateSpecification) GetCockroachVersion ¶
func (o *DedicatedClusterCreateSpecification) GetCockroachVersion() string
GetCockroachVersion returns the CockroachVersion field value if set, zero value otherwise.
func (*DedicatedClusterCreateSpecification) GetCockroachVersionOk ¶
func (o *DedicatedClusterCreateSpecification) GetCockroachVersionOk() (*string, bool)
GetCockroachVersionOk returns a tuple with the CockroachVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DedicatedClusterCreateSpecification) GetHardware ¶
func (o *DedicatedClusterCreateSpecification) GetHardware() DedicatedHardwareCreateSpecification
GetHardware returns the Hardware field value
func (*DedicatedClusterCreateSpecification) GetHardwareOk ¶
func (o *DedicatedClusterCreateSpecification) GetHardwareOk() (*DedicatedHardwareCreateSpecification, bool)
GetHardwareOk returns a tuple with the Hardware field value and a boolean to check if the value has been set.
func (*DedicatedClusterCreateSpecification) GetRegionNodes ¶
func (o *DedicatedClusterCreateSpecification) GetRegionNodes() map[string]int32
GetRegionNodes returns the RegionNodes field value
func (*DedicatedClusterCreateSpecification) GetRegionNodesOk ¶
func (o *DedicatedClusterCreateSpecification) GetRegionNodesOk() (*map[string]int32, bool)
GetRegionNodesOk returns a tuple with the RegionNodes field value and a boolean to check if the value has been set.
func (*DedicatedClusterCreateSpecification) HasCockroachVersion ¶
func (o *DedicatedClusterCreateSpecification) HasCockroachVersion() bool
HasCockroachVersion returns a boolean if a field has been set.
func (DedicatedClusterCreateSpecification) MarshalJSON ¶
func (o DedicatedClusterCreateSpecification) MarshalJSON() ([]byte, error)
func (*DedicatedClusterCreateSpecification) SetCockroachVersion ¶
func (o *DedicatedClusterCreateSpecification) SetCockroachVersion(v string)
SetCockroachVersion gets a reference to the given string and assigns it to the CockroachVersion field.
func (*DedicatedClusterCreateSpecification) SetHardware ¶
func (o *DedicatedClusterCreateSpecification) SetHardware(v DedicatedHardwareCreateSpecification)
SetHardware sets field value
func (*DedicatedClusterCreateSpecification) SetRegionNodes ¶
func (o *DedicatedClusterCreateSpecification) SetRegionNodes(v map[string]int32)
SetRegionNodes sets field value
type DedicatedClusterUpdateSpecification ¶
type DedicatedClusterUpdateSpecification struct { // Region keys should match the cloud provider's zone code. For example, for Oregon, set region_name to \"us-west2\" for GCP and \"us-west-2\" for AWS. Values represent the node count. RegionNodes *map[string]int32 `json:"region_nodes,omitempty"` Hardware *DedicatedHardwareUpdateSpecification `json:"hardware,omitempty"` }
DedicatedClusterUpdateSpecification struct for DedicatedClusterUpdateSpecification
func NewDedicatedClusterUpdateSpecification ¶
func NewDedicatedClusterUpdateSpecification() *DedicatedClusterUpdateSpecification
NewDedicatedClusterUpdateSpecification instantiates a new DedicatedClusterUpdateSpecification 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 NewDedicatedClusterUpdateSpecificationWithDefaults ¶
func NewDedicatedClusterUpdateSpecificationWithDefaults() *DedicatedClusterUpdateSpecification
NewDedicatedClusterUpdateSpecificationWithDefaults instantiates a new DedicatedClusterUpdateSpecification 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 (*DedicatedClusterUpdateSpecification) GetHardware ¶
func (o *DedicatedClusterUpdateSpecification) GetHardware() DedicatedHardwareUpdateSpecification
GetHardware returns the Hardware field value if set, zero value otherwise.
func (*DedicatedClusterUpdateSpecification) GetHardwareOk ¶
func (o *DedicatedClusterUpdateSpecification) GetHardwareOk() (*DedicatedHardwareUpdateSpecification, bool)
GetHardwareOk returns a tuple with the Hardware field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DedicatedClusterUpdateSpecification) GetRegionNodes ¶
func (o *DedicatedClusterUpdateSpecification) GetRegionNodes() map[string]int32
GetRegionNodes returns the RegionNodes field value if set, zero value otherwise.
func (*DedicatedClusterUpdateSpecification) GetRegionNodesOk ¶
func (o *DedicatedClusterUpdateSpecification) GetRegionNodesOk() (*map[string]int32, bool)
GetRegionNodesOk returns a tuple with the RegionNodes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DedicatedClusterUpdateSpecification) HasHardware ¶
func (o *DedicatedClusterUpdateSpecification) HasHardware() bool
HasHardware returns a boolean if a field has been set.
func (*DedicatedClusterUpdateSpecification) HasRegionNodes ¶
func (o *DedicatedClusterUpdateSpecification) HasRegionNodes() bool
HasRegionNodes returns a boolean if a field has been set.
func (DedicatedClusterUpdateSpecification) MarshalJSON ¶
func (o DedicatedClusterUpdateSpecification) MarshalJSON() ([]byte, error)
func (*DedicatedClusterUpdateSpecification) SetHardware ¶
func (o *DedicatedClusterUpdateSpecification) SetHardware(v DedicatedHardwareUpdateSpecification)
SetHardware gets a reference to the given DedicatedHardwareUpdateSpecification and assigns it to the Hardware field.
func (*DedicatedClusterUpdateSpecification) SetRegionNodes ¶
func (o *DedicatedClusterUpdateSpecification) SetRegionNodes(v map[string]int32)
SetRegionNodes gets a reference to the given map[string]int32 and assigns it to the RegionNodes field.
type DedicatedHardwareConfig ¶
type DedicatedHardwareConfig struct { // MachineType is the machine type identifier within the given cloud provider, ex. m5.xlarge, n2-standard-4. MachineType string `json:"machine_type"` // NumVirtualCPUs is the number of virtual CPUs per node in the cluster. NumVirtualCpus int32 `json:"num_virtual_cpus"` // StorageGiB is the number of storage GiB per node in the cluster. StorageGib int32 `json:"storage_gib"` // MemoryGiB is the memory GiB per node in the cluster. MemoryGib float32 `json:"memory_gib"` // DiskIOPs is the number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default. DiskIops int32 `json:"disk_iops"` }
DedicatedHardwareConfig struct for DedicatedHardwareConfig
func NewDedicatedHardwareConfig ¶
func NewDedicatedHardwareConfig(machineType string, numVirtualCpus int32, storageGib int32, memoryGib float32, diskIops int32) *DedicatedHardwareConfig
NewDedicatedHardwareConfig instantiates a new DedicatedHardwareConfig 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 NewDedicatedHardwareConfigWithDefaults ¶
func NewDedicatedHardwareConfigWithDefaults() *DedicatedHardwareConfig
NewDedicatedHardwareConfigWithDefaults instantiates a new DedicatedHardwareConfig 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 (*DedicatedHardwareConfig) GetDiskIops ¶
func (o *DedicatedHardwareConfig) GetDiskIops() int32
GetDiskIops returns the DiskIops field value
func (*DedicatedHardwareConfig) GetDiskIopsOk ¶
func (o *DedicatedHardwareConfig) GetDiskIopsOk() (*int32, bool)
GetDiskIopsOk returns a tuple with the DiskIops field value and a boolean to check if the value has been set.
func (*DedicatedHardwareConfig) GetMachineType ¶
func (o *DedicatedHardwareConfig) GetMachineType() string
GetMachineType returns the MachineType field value
func (*DedicatedHardwareConfig) GetMachineTypeOk ¶
func (o *DedicatedHardwareConfig) GetMachineTypeOk() (*string, bool)
GetMachineTypeOk returns a tuple with the MachineType field value and a boolean to check if the value has been set.
func (*DedicatedHardwareConfig) GetMemoryGib ¶
func (o *DedicatedHardwareConfig) GetMemoryGib() float32
GetMemoryGib returns the MemoryGib field value
func (*DedicatedHardwareConfig) GetMemoryGibOk ¶
func (o *DedicatedHardwareConfig) GetMemoryGibOk() (*float32, bool)
GetMemoryGibOk returns a tuple with the MemoryGib field value and a boolean to check if the value has been set.
func (*DedicatedHardwareConfig) GetNumVirtualCpus ¶
func (o *DedicatedHardwareConfig) GetNumVirtualCpus() int32
GetNumVirtualCpus returns the NumVirtualCpus field value
func (*DedicatedHardwareConfig) GetNumVirtualCpusOk ¶
func (o *DedicatedHardwareConfig) GetNumVirtualCpusOk() (*int32, bool)
GetNumVirtualCpusOk returns a tuple with the NumVirtualCpus field value and a boolean to check if the value has been set.
func (*DedicatedHardwareConfig) GetStorageGib ¶
func (o *DedicatedHardwareConfig) GetStorageGib() int32
GetStorageGib returns the StorageGib field value
func (*DedicatedHardwareConfig) GetStorageGibOk ¶
func (o *DedicatedHardwareConfig) GetStorageGibOk() (*int32, bool)
GetStorageGibOk returns a tuple with the StorageGib field value and a boolean to check if the value has been set.
func (DedicatedHardwareConfig) MarshalJSON ¶
func (o DedicatedHardwareConfig) MarshalJSON() ([]byte, error)
func (*DedicatedHardwareConfig) SetDiskIops ¶
func (o *DedicatedHardwareConfig) SetDiskIops(v int32)
SetDiskIops sets field value
func (*DedicatedHardwareConfig) SetMachineType ¶
func (o *DedicatedHardwareConfig) SetMachineType(v string)
SetMachineType sets field value
func (*DedicatedHardwareConfig) SetMemoryGib ¶
func (o *DedicatedHardwareConfig) SetMemoryGib(v float32)
SetMemoryGib sets field value
func (*DedicatedHardwareConfig) SetNumVirtualCpus ¶
func (o *DedicatedHardwareConfig) SetNumVirtualCpus(v int32)
SetNumVirtualCpus sets field value
func (*DedicatedHardwareConfig) SetStorageGib ¶
func (o *DedicatedHardwareConfig) SetStorageGib(v int32)
SetStorageGib sets field value
type DedicatedHardwareCreateSpecification ¶
type DedicatedHardwareCreateSpecification struct { MachineSpec DedicatedMachineTypeSpecification `json:"machine_spec"` // StorageGiB is the number of storage GiB per node in the cluster. Zero indicates default to the lowest storage GiB available given machine specs. StorageGib int32 `json:"storage_gib"` // DiskIOPs is the number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default. Only available for AWS clusters. DiskIops *int32 `json:"disk_iops,omitempty"` }
DedicatedHardwareCreateSpecification struct for DedicatedHardwareCreateSpecification
func NewDedicatedHardwareCreateSpecification ¶
func NewDedicatedHardwareCreateSpecification(machineSpec DedicatedMachineTypeSpecification, storageGib int32) *DedicatedHardwareCreateSpecification
NewDedicatedHardwareCreateSpecification instantiates a new DedicatedHardwareCreateSpecification 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 NewDedicatedHardwareCreateSpecificationWithDefaults ¶
func NewDedicatedHardwareCreateSpecificationWithDefaults() *DedicatedHardwareCreateSpecification
NewDedicatedHardwareCreateSpecificationWithDefaults instantiates a new DedicatedHardwareCreateSpecification 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 (*DedicatedHardwareCreateSpecification) GetDiskIops ¶
func (o *DedicatedHardwareCreateSpecification) GetDiskIops() int32
GetDiskIops returns the DiskIops field value if set, zero value otherwise.
func (*DedicatedHardwareCreateSpecification) GetDiskIopsOk ¶
func (o *DedicatedHardwareCreateSpecification) GetDiskIopsOk() (*int32, bool)
GetDiskIopsOk returns a tuple with the DiskIops field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DedicatedHardwareCreateSpecification) GetMachineSpec ¶
func (o *DedicatedHardwareCreateSpecification) GetMachineSpec() DedicatedMachineTypeSpecification
GetMachineSpec returns the MachineSpec field value
func (*DedicatedHardwareCreateSpecification) GetMachineSpecOk ¶
func (o *DedicatedHardwareCreateSpecification) GetMachineSpecOk() (*DedicatedMachineTypeSpecification, bool)
GetMachineSpecOk returns a tuple with the MachineSpec field value and a boolean to check if the value has been set.
func (*DedicatedHardwareCreateSpecification) GetStorageGib ¶
func (o *DedicatedHardwareCreateSpecification) GetStorageGib() int32
GetStorageGib returns the StorageGib field value
func (*DedicatedHardwareCreateSpecification) GetStorageGibOk ¶
func (o *DedicatedHardwareCreateSpecification) GetStorageGibOk() (*int32, bool)
GetStorageGibOk returns a tuple with the StorageGib field value and a boolean to check if the value has been set.
func (*DedicatedHardwareCreateSpecification) HasDiskIops ¶
func (o *DedicatedHardwareCreateSpecification) HasDiskIops() bool
HasDiskIops returns a boolean if a field has been set.
func (DedicatedHardwareCreateSpecification) MarshalJSON ¶
func (o DedicatedHardwareCreateSpecification) MarshalJSON() ([]byte, error)
func (*DedicatedHardwareCreateSpecification) SetDiskIops ¶
func (o *DedicatedHardwareCreateSpecification) SetDiskIops(v int32)
SetDiskIops gets a reference to the given int32 and assigns it to the DiskIops field.
func (*DedicatedHardwareCreateSpecification) SetMachineSpec ¶
func (o *DedicatedHardwareCreateSpecification) SetMachineSpec(v DedicatedMachineTypeSpecification)
SetMachineSpec sets field value
func (*DedicatedHardwareCreateSpecification) SetStorageGib ¶
func (o *DedicatedHardwareCreateSpecification) SetStorageGib(v int32)
SetStorageGib sets field value
type DedicatedHardwareUpdateSpecification ¶
type DedicatedHardwareUpdateSpecification struct { MachineSpec *DedicatedMachineTypeSpecification `json:"machine_spec,omitempty"` // StorageGiB is the number of storage GiB per node in the cluster. StorageGib *int32 `json:"storage_gib,omitempty"` // DiskIOPs is the number of disk I/O operations per second that are permitted on each node in the cluster. Zero indicates the cloud provider-specific default. Only available for AWS clusters. DiskIops *int32 `json:"disk_iops,omitempty"` }
DedicatedHardwareUpdateSpecification struct for DedicatedHardwareUpdateSpecification
func NewDedicatedHardwareUpdateSpecification ¶
func NewDedicatedHardwareUpdateSpecification() *DedicatedHardwareUpdateSpecification
NewDedicatedHardwareUpdateSpecification instantiates a new DedicatedHardwareUpdateSpecification 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 NewDedicatedHardwareUpdateSpecificationWithDefaults ¶
func NewDedicatedHardwareUpdateSpecificationWithDefaults() *DedicatedHardwareUpdateSpecification
NewDedicatedHardwareUpdateSpecificationWithDefaults instantiates a new DedicatedHardwareUpdateSpecification 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 (*DedicatedHardwareUpdateSpecification) GetDiskIops ¶
func (o *DedicatedHardwareUpdateSpecification) GetDiskIops() int32
GetDiskIops returns the DiskIops field value if set, zero value otherwise.
func (*DedicatedHardwareUpdateSpecification) GetDiskIopsOk ¶
func (o *DedicatedHardwareUpdateSpecification) GetDiskIopsOk() (*int32, bool)
GetDiskIopsOk returns a tuple with the DiskIops field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DedicatedHardwareUpdateSpecification) GetMachineSpec ¶
func (o *DedicatedHardwareUpdateSpecification) GetMachineSpec() DedicatedMachineTypeSpecification
GetMachineSpec returns the MachineSpec field value if set, zero value otherwise.
func (*DedicatedHardwareUpdateSpecification) GetMachineSpecOk ¶
func (o *DedicatedHardwareUpdateSpecification) GetMachineSpecOk() (*DedicatedMachineTypeSpecification, bool)
GetMachineSpecOk returns a tuple with the MachineSpec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DedicatedHardwareUpdateSpecification) GetStorageGib ¶
func (o *DedicatedHardwareUpdateSpecification) GetStorageGib() int32
GetStorageGib returns the StorageGib field value if set, zero value otherwise.
func (*DedicatedHardwareUpdateSpecification) GetStorageGibOk ¶
func (o *DedicatedHardwareUpdateSpecification) GetStorageGibOk() (*int32, bool)
GetStorageGibOk returns a tuple with the StorageGib field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DedicatedHardwareUpdateSpecification) HasDiskIops ¶
func (o *DedicatedHardwareUpdateSpecification) HasDiskIops() bool
HasDiskIops returns a boolean if a field has been set.
func (*DedicatedHardwareUpdateSpecification) HasMachineSpec ¶
func (o *DedicatedHardwareUpdateSpecification) HasMachineSpec() bool
HasMachineSpec returns a boolean if a field has been set.
func (*DedicatedHardwareUpdateSpecification) HasStorageGib ¶
func (o *DedicatedHardwareUpdateSpecification) HasStorageGib() bool
HasStorageGib returns a boolean if a field has been set.
func (DedicatedHardwareUpdateSpecification) MarshalJSON ¶
func (o DedicatedHardwareUpdateSpecification) MarshalJSON() ([]byte, error)
func (*DedicatedHardwareUpdateSpecification) SetDiskIops ¶
func (o *DedicatedHardwareUpdateSpecification) SetDiskIops(v int32)
SetDiskIops gets a reference to the given int32 and assigns it to the DiskIops field.
func (*DedicatedHardwareUpdateSpecification) SetMachineSpec ¶
func (o *DedicatedHardwareUpdateSpecification) SetMachineSpec(v DedicatedMachineTypeSpecification)
SetMachineSpec gets a reference to the given DedicatedMachineTypeSpecification and assigns it to the MachineSpec field.
func (*DedicatedHardwareUpdateSpecification) SetStorageGib ¶
func (o *DedicatedHardwareUpdateSpecification) SetStorageGib(v int32)
SetStorageGib gets a reference to the given int32 and assigns it to the StorageGib field.
type DedicatedMachineTypeSpecification ¶
type DedicatedMachineTypeSpecification struct { // MachineType is the machine type identifier within the given cloud provider, ex. m5.xlarge, n2-standard-4. MachineType *string `json:"machine_type,omitempty"` // NumVirtualCPUs may be used to automatically select a machine type according to the desired number of vCPUs. NumVirtualCpus *int32 `json:"num_virtual_cpus,omitempty"` }
DedicatedMachineTypeSpecification struct for DedicatedMachineTypeSpecification
func NewDedicatedMachineTypeSpecification ¶
func NewDedicatedMachineTypeSpecification() *DedicatedMachineTypeSpecification
NewDedicatedMachineTypeSpecification instantiates a new DedicatedMachineTypeSpecification 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 NewDedicatedMachineTypeSpecificationWithDefaults ¶
func NewDedicatedMachineTypeSpecificationWithDefaults() *DedicatedMachineTypeSpecification
NewDedicatedMachineTypeSpecificationWithDefaults instantiates a new DedicatedMachineTypeSpecification 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 (*DedicatedMachineTypeSpecification) GetMachineType ¶
func (o *DedicatedMachineTypeSpecification) GetMachineType() string
GetMachineType returns the MachineType field value if set, zero value otherwise.
func (*DedicatedMachineTypeSpecification) GetMachineTypeOk ¶
func (o *DedicatedMachineTypeSpecification) GetMachineTypeOk() (*string, bool)
GetMachineTypeOk returns a tuple with the MachineType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DedicatedMachineTypeSpecification) GetNumVirtualCpus ¶
func (o *DedicatedMachineTypeSpecification) GetNumVirtualCpus() int32
GetNumVirtualCpus returns the NumVirtualCpus field value if set, zero value otherwise.
func (*DedicatedMachineTypeSpecification) GetNumVirtualCpusOk ¶
func (o *DedicatedMachineTypeSpecification) GetNumVirtualCpusOk() (*int32, bool)
GetNumVirtualCpusOk returns a tuple with the NumVirtualCpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DedicatedMachineTypeSpecification) HasMachineType ¶
func (o *DedicatedMachineTypeSpecification) HasMachineType() bool
HasMachineType returns a boolean if a field has been set.
func (*DedicatedMachineTypeSpecification) HasNumVirtualCpus ¶
func (o *DedicatedMachineTypeSpecification) HasNumVirtualCpus() bool
HasNumVirtualCpus returns a boolean if a field has been set.
func (DedicatedMachineTypeSpecification) MarshalJSON ¶
func (o DedicatedMachineTypeSpecification) MarshalJSON() ([]byte, error)
func (*DedicatedMachineTypeSpecification) SetMachineType ¶
func (o *DedicatedMachineTypeSpecification) SetMachineType(v string)
SetMachineType gets a reference to the given string and assigns it to the MachineType field.
func (*DedicatedMachineTypeSpecification) SetNumVirtualCpus ¶
func (o *DedicatedMachineTypeSpecification) SetNumVirtualCpus(v int32)
SetNumVirtualCpus gets a reference to the given int32 and assigns it to the NumVirtualCpus field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type KeysetPaginationRequest ¶
type KeysetPaginationRequest struct { StartKey *string `json:"start_key,omitempty"` Direction *PageDirection `json:"direction,omitempty"` Limit *int32 `json:"limit,omitempty"` Time *time.Time `json:"time,omitempty"` Order *SortOrder `json:"order,omitempty"` }
KeysetPaginationRequest struct for KeysetPaginationRequest
func NewKeysetPaginationRequest ¶
func NewKeysetPaginationRequest() *KeysetPaginationRequest
NewKeysetPaginationRequest instantiates a new KeysetPaginationRequest 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 NewKeysetPaginationRequestWithDefaults ¶
func NewKeysetPaginationRequestWithDefaults() *KeysetPaginationRequest
NewKeysetPaginationRequestWithDefaults instantiates a new KeysetPaginationRequest 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 (*KeysetPaginationRequest) GetDirection ¶
func (o *KeysetPaginationRequest) GetDirection() PageDirection
GetDirection returns the Direction field value if set, zero value otherwise.
func (*KeysetPaginationRequest) GetDirectionOk ¶
func (o *KeysetPaginationRequest) GetDirectionOk() (*PageDirection, bool)
GetDirectionOk returns a tuple with the Direction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysetPaginationRequest) GetLimit ¶
func (o *KeysetPaginationRequest) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*KeysetPaginationRequest) GetLimitOk ¶
func (o *KeysetPaginationRequest) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysetPaginationRequest) GetOrder ¶
func (o *KeysetPaginationRequest) GetOrder() SortOrder
GetOrder returns the Order field value if set, zero value otherwise.
func (*KeysetPaginationRequest) GetOrderOk ¶
func (o *KeysetPaginationRequest) GetOrderOk() (*SortOrder, bool)
GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysetPaginationRequest) GetStartKey ¶
func (o *KeysetPaginationRequest) GetStartKey() string
GetStartKey returns the StartKey field value if set, zero value otherwise.
func (*KeysetPaginationRequest) GetStartKeyOk ¶
func (o *KeysetPaginationRequest) GetStartKeyOk() (*string, bool)
GetStartKeyOk returns a tuple with the StartKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysetPaginationRequest) GetTime ¶
func (o *KeysetPaginationRequest) GetTime() time.Time
GetTime returns the Time field value if set, zero value otherwise.
func (*KeysetPaginationRequest) GetTimeOk ¶
func (o *KeysetPaginationRequest) GetTimeOk() (*time.Time, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysetPaginationRequest) HasDirection ¶
func (o *KeysetPaginationRequest) HasDirection() bool
HasDirection returns a boolean if a field has been set.
func (*KeysetPaginationRequest) HasLimit ¶
func (o *KeysetPaginationRequest) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*KeysetPaginationRequest) HasOrder ¶
func (o *KeysetPaginationRequest) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (*KeysetPaginationRequest) HasStartKey ¶
func (o *KeysetPaginationRequest) HasStartKey() bool
HasStartKey returns a boolean if a field has been set.
func (*KeysetPaginationRequest) HasTime ¶
func (o *KeysetPaginationRequest) HasTime() bool
HasTime returns a boolean if a field has been set.
func (KeysetPaginationRequest) MarshalJSON ¶
func (o KeysetPaginationRequest) MarshalJSON() ([]byte, error)
func (*KeysetPaginationRequest) SetDirection ¶
func (o *KeysetPaginationRequest) SetDirection(v PageDirection)
SetDirection gets a reference to the given PageDirection and assigns it to the Direction field.
func (*KeysetPaginationRequest) SetLimit ¶
func (o *KeysetPaginationRequest) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*KeysetPaginationRequest) SetOrder ¶
func (o *KeysetPaginationRequest) SetOrder(v SortOrder)
SetOrder gets a reference to the given SortOrder and assigns it to the Order field.
func (*KeysetPaginationRequest) SetStartKey ¶
func (o *KeysetPaginationRequest) SetStartKey(v string)
SetStartKey gets a reference to the given string and assigns it to the StartKey field.
func (*KeysetPaginationRequest) SetTime ¶
func (o *KeysetPaginationRequest) SetTime(v time.Time)
SetTime gets a reference to the given time.Time and assigns it to the Time field.
type KeysetPaginationResponse ¶
type KeysetPaginationResponse struct { Next *string `json:"next,omitempty"` Last *string `json:"last,omitempty"` Limit *int32 `json:"limit,omitempty"` Time *string `json:"time,omitempty"` Order *string `json:"order,omitempty"` }
KeysetPaginationResponse struct for KeysetPaginationResponse
func NewKeysetPaginationResponse ¶
func NewKeysetPaginationResponse() *KeysetPaginationResponse
NewKeysetPaginationResponse instantiates a new KeysetPaginationResponse 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 NewKeysetPaginationResponseWithDefaults ¶
func NewKeysetPaginationResponseWithDefaults() *KeysetPaginationResponse
NewKeysetPaginationResponseWithDefaults instantiates a new KeysetPaginationResponse 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 (*KeysetPaginationResponse) GetLast ¶
func (o *KeysetPaginationResponse) GetLast() string
GetLast returns the Last field value if set, zero value otherwise.
func (*KeysetPaginationResponse) GetLastOk ¶
func (o *KeysetPaginationResponse) GetLastOk() (*string, bool)
GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysetPaginationResponse) GetLimit ¶
func (o *KeysetPaginationResponse) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*KeysetPaginationResponse) GetLimitOk ¶
func (o *KeysetPaginationResponse) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysetPaginationResponse) GetNext ¶
func (o *KeysetPaginationResponse) GetNext() string
GetNext returns the Next field value if set, zero value otherwise.
func (*KeysetPaginationResponse) GetNextOk ¶
func (o *KeysetPaginationResponse) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysetPaginationResponse) GetOrder ¶
func (o *KeysetPaginationResponse) GetOrder() string
GetOrder returns the Order field value if set, zero value otherwise.
func (*KeysetPaginationResponse) GetOrderOk ¶
func (o *KeysetPaginationResponse) GetOrderOk() (*string, bool)
GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysetPaginationResponse) GetTime ¶
func (o *KeysetPaginationResponse) GetTime() string
GetTime returns the Time field value if set, zero value otherwise.
func (*KeysetPaginationResponse) GetTimeOk ¶
func (o *KeysetPaginationResponse) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeysetPaginationResponse) HasLast ¶
func (o *KeysetPaginationResponse) HasLast() bool
HasLast returns a boolean if a field has been set.
func (*KeysetPaginationResponse) HasLimit ¶
func (o *KeysetPaginationResponse) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*KeysetPaginationResponse) HasNext ¶
func (o *KeysetPaginationResponse) HasNext() bool
HasNext returns a boolean if a field has been set.
func (*KeysetPaginationResponse) HasOrder ¶
func (o *KeysetPaginationResponse) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (*KeysetPaginationResponse) HasTime ¶
func (o *KeysetPaginationResponse) HasTime() bool
HasTime returns a boolean if a field has been set.
func (KeysetPaginationResponse) MarshalJSON ¶
func (o KeysetPaginationResponse) MarshalJSON() ([]byte, error)
func (*KeysetPaginationResponse) SetLast ¶
func (o *KeysetPaginationResponse) SetLast(v string)
SetLast gets a reference to the given string and assigns it to the Last field.
func (*KeysetPaginationResponse) SetLimit ¶
func (o *KeysetPaginationResponse) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*KeysetPaginationResponse) SetNext ¶
func (o *KeysetPaginationResponse) SetNext(v string)
SetNext gets a reference to the given string and assigns it to the Next field.
func (*KeysetPaginationResponse) SetOrder ¶
func (o *KeysetPaginationResponse) SetOrder(v string)
SetOrder gets a reference to the given string and assigns it to the Order field.
func (*KeysetPaginationResponse) SetTime ¶
func (o *KeysetPaginationResponse) SetTime(v string)
SetTime gets a reference to the given string and assigns it to the Time field.
type ListAllowlistEntriesResponse ¶
type ListAllowlistEntriesResponse struct { Allowlist []AllowlistEntry `json:"allowlist"` Propagating bool `json:"propagating"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListAllowlistEntriesResponse struct for ListAllowlistEntriesResponse
func NewListAllowlistEntriesResponse ¶
func NewListAllowlistEntriesResponse(allowlist []AllowlistEntry, propagating bool) *ListAllowlistEntriesResponse
NewListAllowlistEntriesResponse instantiates a new ListAllowlistEntriesResponse 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 NewListAllowlistEntriesResponseWithDefaults ¶
func NewListAllowlistEntriesResponseWithDefaults() *ListAllowlistEntriesResponse
NewListAllowlistEntriesResponseWithDefaults instantiates a new ListAllowlistEntriesResponse 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 (*ListAllowlistEntriesResponse) GetAllowlist ¶
func (o *ListAllowlistEntriesResponse) GetAllowlist() []AllowlistEntry
GetAllowlist returns the Allowlist field value
func (*ListAllowlistEntriesResponse) GetAllowlistOk ¶
func (o *ListAllowlistEntriesResponse) GetAllowlistOk() ([]AllowlistEntry, bool)
GetAllowlistOk returns a tuple with the Allowlist field value and a boolean to check if the value has been set.
func (*ListAllowlistEntriesResponse) GetPagination ¶
func (o *ListAllowlistEntriesResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListAllowlistEntriesResponse) GetPaginationOk ¶
func (o *ListAllowlistEntriesResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListAllowlistEntriesResponse) GetPropagating ¶
func (o *ListAllowlistEntriesResponse) GetPropagating() bool
GetPropagating returns the Propagating field value
func (*ListAllowlistEntriesResponse) GetPropagatingOk ¶
func (o *ListAllowlistEntriesResponse) GetPropagatingOk() (*bool, bool)
GetPropagatingOk returns a tuple with the Propagating field value and a boolean to check if the value has been set.
func (*ListAllowlistEntriesResponse) HasPagination ¶
func (o *ListAllowlistEntriesResponse) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (ListAllowlistEntriesResponse) MarshalJSON ¶
func (o ListAllowlistEntriesResponse) MarshalJSON() ([]byte, error)
func (*ListAllowlistEntriesResponse) SetAllowlist ¶
func (o *ListAllowlistEntriesResponse) SetAllowlist(v []AllowlistEntry)
SetAllowlist sets field value
func (*ListAllowlistEntriesResponse) SetPagination ¶
func (o *ListAllowlistEntriesResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
func (*ListAllowlistEntriesResponse) SetPropagating ¶
func (o *ListAllowlistEntriesResponse) SetPropagating(v bool)
SetPropagating sets field value
type ListAvailableRegionsResponse ¶
type ListAvailableRegionsResponse struct { Regions []CloudProviderRegion `json:"regions"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListAvailableRegionsResponse struct for ListAvailableRegionsResponse
func NewListAvailableRegionsResponse ¶
func NewListAvailableRegionsResponse(regions []CloudProviderRegion) *ListAvailableRegionsResponse
NewListAvailableRegionsResponse instantiates a new ListAvailableRegionsResponse 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 NewListAvailableRegionsResponseWithDefaults ¶
func NewListAvailableRegionsResponseWithDefaults() *ListAvailableRegionsResponse
NewListAvailableRegionsResponseWithDefaults instantiates a new ListAvailableRegionsResponse 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 (*ListAvailableRegionsResponse) GetPagination ¶
func (o *ListAvailableRegionsResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListAvailableRegionsResponse) GetPaginationOk ¶
func (o *ListAvailableRegionsResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListAvailableRegionsResponse) GetRegions ¶
func (o *ListAvailableRegionsResponse) GetRegions() []CloudProviderRegion
GetRegions returns the Regions field value
func (*ListAvailableRegionsResponse) GetRegionsOk ¶
func (o *ListAvailableRegionsResponse) GetRegionsOk() ([]CloudProviderRegion, bool)
GetRegionsOk returns a tuple with the Regions field value and a boolean to check if the value has been set.
func (*ListAvailableRegionsResponse) HasPagination ¶
func (o *ListAvailableRegionsResponse) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (ListAvailableRegionsResponse) MarshalJSON ¶
func (o ListAvailableRegionsResponse) MarshalJSON() ([]byte, error)
func (*ListAvailableRegionsResponse) SetPagination ¶
func (o *ListAvailableRegionsResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
func (*ListAvailableRegionsResponse) SetRegions ¶
func (o *ListAvailableRegionsResponse) SetRegions(v []CloudProviderRegion)
SetRegions sets field value
type ListClusterNodesResponse ¶
type ListClusterNodesResponse struct { Nodes []Node `json:"nodes"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListClusterNodesResponse struct for ListClusterNodesResponse
func NewListClusterNodesResponse ¶
func NewListClusterNodesResponse(nodes []Node) *ListClusterNodesResponse
NewListClusterNodesResponse instantiates a new ListClusterNodesResponse 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 NewListClusterNodesResponseWithDefaults ¶
func NewListClusterNodesResponseWithDefaults() *ListClusterNodesResponse
NewListClusterNodesResponseWithDefaults instantiates a new ListClusterNodesResponse 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 (*ListClusterNodesResponse) GetNodes ¶
func (o *ListClusterNodesResponse) GetNodes() []Node
GetNodes returns the Nodes field value
func (*ListClusterNodesResponse) GetNodesOk ¶
func (o *ListClusterNodesResponse) GetNodesOk() ([]Node, bool)
GetNodesOk returns a tuple with the Nodes field value and a boolean to check if the value has been set.
func (*ListClusterNodesResponse) GetPagination ¶
func (o *ListClusterNodesResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListClusterNodesResponse) GetPaginationOk ¶
func (o *ListClusterNodesResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListClusterNodesResponse) HasPagination ¶
func (o *ListClusterNodesResponse) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (ListClusterNodesResponse) MarshalJSON ¶
func (o ListClusterNodesResponse) MarshalJSON() ([]byte, error)
func (*ListClusterNodesResponse) SetNodes ¶
func (o *ListClusterNodesResponse) SetNodes(v []Node)
SetNodes sets field value
func (*ListClusterNodesResponse) SetPagination ¶
func (o *ListClusterNodesResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
type ListClustersResponse ¶
type ListClustersResponse struct { Clusters []Cluster `json:"clusters"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListClustersResponse struct for ListClustersResponse
func NewListClustersResponse ¶
func NewListClustersResponse(clusters []Cluster) *ListClustersResponse
NewListClustersResponse instantiates a new ListClustersResponse 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 NewListClustersResponseWithDefaults ¶
func NewListClustersResponseWithDefaults() *ListClustersResponse
NewListClustersResponseWithDefaults instantiates a new ListClustersResponse 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 (*ListClustersResponse) GetClusters ¶
func (o *ListClustersResponse) GetClusters() []Cluster
GetClusters returns the Clusters field value
func (*ListClustersResponse) GetClustersOk ¶
func (o *ListClustersResponse) GetClustersOk() ([]Cluster, bool)
GetClustersOk returns a tuple with the Clusters field value and a boolean to check if the value has been set.
func (*ListClustersResponse) GetPagination ¶
func (o *ListClustersResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListClustersResponse) GetPaginationOk ¶
func (o *ListClustersResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListClustersResponse) HasPagination ¶
func (o *ListClustersResponse) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (ListClustersResponse) MarshalJSON ¶
func (o ListClustersResponse) MarshalJSON() ([]byte, error)
func (*ListClustersResponse) SetClusters ¶
func (o *ListClustersResponse) SetClusters(v []Cluster)
SetClusters sets field value
func (*ListClustersResponse) SetPagination ¶
func (o *ListClustersResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
type ListSQLUsersResponse ¶
type ListSQLUsersResponse struct { Users []SQLUser `json:"users"` Pagination *KeysetPaginationResponse `json:"pagination,omitempty"` }
ListSQLUsersResponse struct for ListSQLUsersResponse
func NewListSQLUsersResponse ¶
func NewListSQLUsersResponse(users []SQLUser) *ListSQLUsersResponse
NewListSQLUsersResponse instantiates a new ListSQLUsersResponse 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 NewListSQLUsersResponseWithDefaults ¶
func NewListSQLUsersResponseWithDefaults() *ListSQLUsersResponse
NewListSQLUsersResponseWithDefaults instantiates a new ListSQLUsersResponse 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 (*ListSQLUsersResponse) GetPagination ¶
func (o *ListSQLUsersResponse) GetPagination() KeysetPaginationResponse
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ListSQLUsersResponse) GetPaginationOk ¶
func (o *ListSQLUsersResponse) GetPaginationOk() (*KeysetPaginationResponse, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListSQLUsersResponse) GetUsers ¶
func (o *ListSQLUsersResponse) GetUsers() []SQLUser
GetUsers returns the Users field value
func (*ListSQLUsersResponse) GetUsersOk ¶
func (o *ListSQLUsersResponse) GetUsersOk() ([]SQLUser, bool)
GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.
func (*ListSQLUsersResponse) HasPagination ¶
func (o *ListSQLUsersResponse) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (ListSQLUsersResponse) MarshalJSON ¶
func (o ListSQLUsersResponse) MarshalJSON() ([]byte, error)
func (*ListSQLUsersResponse) SetPagination ¶
func (o *ListSQLUsersResponse) SetPagination(v KeysetPaginationResponse)
SetPagination gets a reference to the given KeysetPaginationResponse and assigns it to the Pagination field.
func (*ListSQLUsersResponse) SetUsers ¶
func (o *ListSQLUsersResponse) SetUsers(v []SQLUser)
SetUsers sets field value
type Node ¶
type Node struct { Name string `json:"name"` RegionName string `json:"region_name"` Status NodeStatus `json:"status"` }
Node struct for Node
func NewNode ¶
func NewNode(name string, regionName string, status NodeStatus) *Node
NewNode instantiates a new Node 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 NewNodeWithDefaults ¶
func NewNodeWithDefaults() *Node
NewNodeWithDefaults instantiates a new Node 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 (*Node) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Node) GetRegionName ¶
GetRegionName returns the RegionName field value
func (*Node) GetRegionNameOk ¶
GetRegionNameOk returns a tuple with the RegionName field value and a boolean to check if the value has been set.
func (*Node) GetStatus ¶
func (o *Node) GetStatus() NodeStatus
GetStatus returns the Status field value
func (*Node) GetStatusOk ¶
func (o *Node) GetStatusOk() (*NodeStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (Node) MarshalJSON ¶
type NodeStatus ¶
type NodeStatus string
NodeStatus the model 'NodeStatus'
const ( NODE_STATUS_UNSPECIFIED NodeStatus = "NODE_STATUS_UNSPECIFIED" LIVE NodeStatus = "LIVE" NOT_READY NodeStatus = "NOT_READY" )
List of NodeStatus
func NewNodeStatusFromValue ¶
func NewNodeStatusFromValue(v string) (*NodeStatus, error)
NewNodeStatusFromValue returns a pointer to a valid NodeStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (NodeStatus) IsValid ¶
func (v NodeStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (NodeStatus) Ptr ¶
func (v NodeStatus) Ptr() *NodeStatus
Ptr returns reference to NodeStatus value
func (*NodeStatus) UnmarshalJSON ¶
func (v *NodeStatus) UnmarshalJSON(src []byte) error
type NullableAllowlistEntry ¶
type NullableAllowlistEntry struct {
// contains filtered or unexported fields
}
func NewNullableAllowlistEntry ¶
func NewNullableAllowlistEntry(val *AllowlistEntry) *NullableAllowlistEntry
func (NullableAllowlistEntry) Get ¶
func (v NullableAllowlistEntry) Get() *AllowlistEntry
func (NullableAllowlistEntry) IsSet ¶
func (v NullableAllowlistEntry) IsSet() bool
func (NullableAllowlistEntry) MarshalJSON ¶
func (v NullableAllowlistEntry) MarshalJSON() ([]byte, error)
func (*NullableAllowlistEntry) Set ¶
func (v *NullableAllowlistEntry) Set(val *AllowlistEntry)
func (*NullableAllowlistEntry) UnmarshalJSON ¶
func (v *NullableAllowlistEntry) UnmarshalJSON(src []byte) error
func (*NullableAllowlistEntry) Unset ¶
func (v *NullableAllowlistEntry) Unset()
type NullableAny ¶
type NullableAny struct {
// contains filtered or unexported fields
}
func NewNullableAny ¶
func NewNullableAny(val *Any) *NullableAny
func (NullableAny) Get ¶
func (v NullableAny) Get() *Any
func (NullableAny) IsSet ¶
func (v NullableAny) IsSet() bool
func (NullableAny) MarshalJSON ¶
func (v NullableAny) MarshalJSON() ([]byte, error)
func (*NullableAny) Set ¶
func (v *NullableAny) Set(val *Any)
func (*NullableAny) UnmarshalJSON ¶
func (v *NullableAny) UnmarshalJSON(src []byte) error
func (*NullableAny) Unset ¶
func (v *NullableAny) Unset()
type NullableApiCloudProvider ¶
type NullableApiCloudProvider struct {
// contains filtered or unexported fields
}
func NewNullableApiCloudProvider ¶
func NewNullableApiCloudProvider(val *ApiCloudProvider) *NullableApiCloudProvider
func (NullableApiCloudProvider) Get ¶
func (v NullableApiCloudProvider) Get() *ApiCloudProvider
func (NullableApiCloudProvider) IsSet ¶
func (v NullableApiCloudProvider) IsSet() bool
func (NullableApiCloudProvider) MarshalJSON ¶
func (v NullableApiCloudProvider) MarshalJSON() ([]byte, error)
func (*NullableApiCloudProvider) Set ¶
func (v *NullableApiCloudProvider) Set(val *ApiCloudProvider)
func (*NullableApiCloudProvider) UnmarshalJSON ¶
func (v *NullableApiCloudProvider) UnmarshalJSON(src []byte) error
func (*NullableApiCloudProvider) Unset ¶
func (v *NullableApiCloudProvider) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCMEKClusterInfo ¶
type NullableCMEKClusterInfo struct {
// contains filtered or unexported fields
}
func NewNullableCMEKClusterInfo ¶
func NewNullableCMEKClusterInfo(val *CMEKClusterInfo) *NullableCMEKClusterInfo
func (NullableCMEKClusterInfo) Get ¶
func (v NullableCMEKClusterInfo) Get() *CMEKClusterInfo
func (NullableCMEKClusterInfo) IsSet ¶
func (v NullableCMEKClusterInfo) IsSet() bool
func (NullableCMEKClusterInfo) MarshalJSON ¶
func (v NullableCMEKClusterInfo) MarshalJSON() ([]byte, error)
func (*NullableCMEKClusterInfo) Set ¶
func (v *NullableCMEKClusterInfo) Set(val *CMEKClusterInfo)
func (*NullableCMEKClusterInfo) UnmarshalJSON ¶
func (v *NullableCMEKClusterInfo) UnmarshalJSON(src []byte) error
func (*NullableCMEKClusterInfo) Unset ¶
func (v *NullableCMEKClusterInfo) Unset()
type NullableCMEKClusterSpecification ¶
type NullableCMEKClusterSpecification struct {
// contains filtered or unexported fields
}
func NewNullableCMEKClusterSpecification ¶
func NewNullableCMEKClusterSpecification(val *CMEKClusterSpecification) *NullableCMEKClusterSpecification
func (NullableCMEKClusterSpecification) Get ¶
func (v NullableCMEKClusterSpecification) Get() *CMEKClusterSpecification
func (NullableCMEKClusterSpecification) IsSet ¶
func (v NullableCMEKClusterSpecification) IsSet() bool
func (NullableCMEKClusterSpecification) MarshalJSON ¶
func (v NullableCMEKClusterSpecification) MarshalJSON() ([]byte, error)
func (*NullableCMEKClusterSpecification) Set ¶
func (v *NullableCMEKClusterSpecification) Set(val *CMEKClusterSpecification)
func (*NullableCMEKClusterSpecification) UnmarshalJSON ¶
func (v *NullableCMEKClusterSpecification) UnmarshalJSON(src []byte) error
func (*NullableCMEKClusterSpecification) Unset ¶
func (v *NullableCMEKClusterSpecification) Unset()
type NullableCMEKCustomerAction ¶
type NullableCMEKCustomerAction struct {
// contains filtered or unexported fields
}
func NewNullableCMEKCustomerAction ¶
func NewNullableCMEKCustomerAction(val *CMEKCustomerAction) *NullableCMEKCustomerAction
func (NullableCMEKCustomerAction) Get ¶
func (v NullableCMEKCustomerAction) Get() *CMEKCustomerAction
func (NullableCMEKCustomerAction) IsSet ¶
func (v NullableCMEKCustomerAction) IsSet() bool
func (NullableCMEKCustomerAction) MarshalJSON ¶
func (v NullableCMEKCustomerAction) MarshalJSON() ([]byte, error)
func (*NullableCMEKCustomerAction) Set ¶
func (v *NullableCMEKCustomerAction) Set(val *CMEKCustomerAction)
func (*NullableCMEKCustomerAction) UnmarshalJSON ¶
func (v *NullableCMEKCustomerAction) UnmarshalJSON(src []byte) error
func (*NullableCMEKCustomerAction) Unset ¶
func (v *NullableCMEKCustomerAction) Unset()
type NullableCMEKKeyInfo ¶
type NullableCMEKKeyInfo struct {
// contains filtered or unexported fields
}
func NewNullableCMEKKeyInfo ¶
func NewNullableCMEKKeyInfo(val *CMEKKeyInfo) *NullableCMEKKeyInfo
func (NullableCMEKKeyInfo) Get ¶
func (v NullableCMEKKeyInfo) Get() *CMEKKeyInfo
func (NullableCMEKKeyInfo) IsSet ¶
func (v NullableCMEKKeyInfo) IsSet() bool
func (NullableCMEKKeyInfo) MarshalJSON ¶
func (v NullableCMEKKeyInfo) MarshalJSON() ([]byte, error)
func (*NullableCMEKKeyInfo) Set ¶
func (v *NullableCMEKKeyInfo) Set(val *CMEKKeyInfo)
func (*NullableCMEKKeyInfo) UnmarshalJSON ¶
func (v *NullableCMEKKeyInfo) UnmarshalJSON(src []byte) error
func (*NullableCMEKKeyInfo) Unset ¶
func (v *NullableCMEKKeyInfo) Unset()
type NullableCMEKKeySpecification ¶
type NullableCMEKKeySpecification struct {
// contains filtered or unexported fields
}
func NewNullableCMEKKeySpecification ¶
func NewNullableCMEKKeySpecification(val *CMEKKeySpecification) *NullableCMEKKeySpecification
func (NullableCMEKKeySpecification) Get ¶
func (v NullableCMEKKeySpecification) Get() *CMEKKeySpecification
func (NullableCMEKKeySpecification) IsSet ¶
func (v NullableCMEKKeySpecification) IsSet() bool
func (NullableCMEKKeySpecification) MarshalJSON ¶
func (v NullableCMEKKeySpecification) MarshalJSON() ([]byte, error)
func (*NullableCMEKKeySpecification) Set ¶
func (v *NullableCMEKKeySpecification) Set(val *CMEKKeySpecification)
func (*NullableCMEKKeySpecification) UnmarshalJSON ¶
func (v *NullableCMEKKeySpecification) UnmarshalJSON(src []byte) error
func (*NullableCMEKKeySpecification) Unset ¶
func (v *NullableCMEKKeySpecification) Unset()
type NullableCMEKKeyType ¶
type NullableCMEKKeyType struct {
// contains filtered or unexported fields
}
func NewNullableCMEKKeyType ¶
func NewNullableCMEKKeyType(val *CMEKKeyType) *NullableCMEKKeyType
func (NullableCMEKKeyType) Get ¶
func (v NullableCMEKKeyType) Get() *CMEKKeyType
func (NullableCMEKKeyType) IsSet ¶
func (v NullableCMEKKeyType) IsSet() bool
func (NullableCMEKKeyType) MarshalJSON ¶
func (v NullableCMEKKeyType) MarshalJSON() ([]byte, error)
func (*NullableCMEKKeyType) Set ¶
func (v *NullableCMEKKeyType) Set(val *CMEKKeyType)
func (*NullableCMEKKeyType) UnmarshalJSON ¶
func (v *NullableCMEKKeyType) UnmarshalJSON(src []byte) error
func (*NullableCMEKKeyType) Unset ¶
func (v *NullableCMEKKeyType) Unset()
type NullableCMEKRegionInfo ¶
type NullableCMEKRegionInfo struct {
// contains filtered or unexported fields
}
func NewNullableCMEKRegionInfo ¶
func NewNullableCMEKRegionInfo(val *CMEKRegionInfo) *NullableCMEKRegionInfo
func (NullableCMEKRegionInfo) Get ¶
func (v NullableCMEKRegionInfo) Get() *CMEKRegionInfo
func (NullableCMEKRegionInfo) IsSet ¶
func (v NullableCMEKRegionInfo) IsSet() bool
func (NullableCMEKRegionInfo) MarshalJSON ¶
func (v NullableCMEKRegionInfo) MarshalJSON() ([]byte, error)
func (*NullableCMEKRegionInfo) Set ¶
func (v *NullableCMEKRegionInfo) Set(val *CMEKRegionInfo)
func (*NullableCMEKRegionInfo) UnmarshalJSON ¶
func (v *NullableCMEKRegionInfo) UnmarshalJSON(src []byte) error
func (*NullableCMEKRegionInfo) Unset ¶
func (v *NullableCMEKRegionInfo) Unset()
type NullableCMEKRegionSpecification ¶
type NullableCMEKRegionSpecification struct {
// contains filtered or unexported fields
}
func NewNullableCMEKRegionSpecification ¶
func NewNullableCMEKRegionSpecification(val *CMEKRegionSpecification) *NullableCMEKRegionSpecification
func (NullableCMEKRegionSpecification) Get ¶
func (v NullableCMEKRegionSpecification) Get() *CMEKRegionSpecification
func (NullableCMEKRegionSpecification) IsSet ¶
func (v NullableCMEKRegionSpecification) IsSet() bool
func (NullableCMEKRegionSpecification) MarshalJSON ¶
func (v NullableCMEKRegionSpecification) MarshalJSON() ([]byte, error)
func (*NullableCMEKRegionSpecification) Set ¶
func (v *NullableCMEKRegionSpecification) Set(val *CMEKRegionSpecification)
func (*NullableCMEKRegionSpecification) UnmarshalJSON ¶
func (v *NullableCMEKRegionSpecification) UnmarshalJSON(src []byte) error
func (*NullableCMEKRegionSpecification) Unset ¶
func (v *NullableCMEKRegionSpecification) Unset()
type NullableCMEKStatus ¶
type NullableCMEKStatus struct {
// contains filtered or unexported fields
}
func NewNullableCMEKStatus ¶
func NewNullableCMEKStatus(val *CMEKStatus) *NullableCMEKStatus
func (NullableCMEKStatus) Get ¶
func (v NullableCMEKStatus) Get() *CMEKStatus
func (NullableCMEKStatus) IsSet ¶
func (v NullableCMEKStatus) IsSet() bool
func (NullableCMEKStatus) MarshalJSON ¶
func (v NullableCMEKStatus) MarshalJSON() ([]byte, error)
func (*NullableCMEKStatus) Set ¶
func (v *NullableCMEKStatus) Set(val *CMEKStatus)
func (*NullableCMEKStatus) UnmarshalJSON ¶
func (v *NullableCMEKStatus) UnmarshalJSON(src []byte) error
func (*NullableCMEKStatus) Unset ¶
func (v *NullableCMEKStatus) Unset()
type NullableCloudProviderRegion ¶
type NullableCloudProviderRegion struct {
// contains filtered or unexported fields
}
func NewNullableCloudProviderRegion ¶
func NewNullableCloudProviderRegion(val *CloudProviderRegion) *NullableCloudProviderRegion
func (NullableCloudProviderRegion) Get ¶
func (v NullableCloudProviderRegion) Get() *CloudProviderRegion
func (NullableCloudProviderRegion) IsSet ¶
func (v NullableCloudProviderRegion) IsSet() bool
func (NullableCloudProviderRegion) MarshalJSON ¶
func (v NullableCloudProviderRegion) MarshalJSON() ([]byte, error)
func (*NullableCloudProviderRegion) Set ¶
func (v *NullableCloudProviderRegion) Set(val *CloudProviderRegion)
func (*NullableCloudProviderRegion) UnmarshalJSON ¶
func (v *NullableCloudProviderRegion) UnmarshalJSON(src []byte) error
func (*NullableCloudProviderRegion) Unset ¶
func (v *NullableCloudProviderRegion) Unset()
type NullableCluster ¶
type NullableCluster struct {
// contains filtered or unexported fields
}
func NewNullableCluster ¶
func NewNullableCluster(val *Cluster) *NullableCluster
func (NullableCluster) Get ¶
func (v NullableCluster) Get() *Cluster
func (NullableCluster) IsSet ¶
func (v NullableCluster) IsSet() bool
func (NullableCluster) MarshalJSON ¶
func (v NullableCluster) MarshalJSON() ([]byte, error)
func (*NullableCluster) Set ¶
func (v *NullableCluster) Set(val *Cluster)
func (*NullableCluster) UnmarshalJSON ¶
func (v *NullableCluster) UnmarshalJSON(src []byte) error
func (*NullableCluster) Unset ¶
func (v *NullableCluster) Unset()
type NullableClusterConfig ¶
type NullableClusterConfig struct {
// contains filtered or unexported fields
}
func NewNullableClusterConfig ¶
func NewNullableClusterConfig(val *ClusterConfig) *NullableClusterConfig
func (NullableClusterConfig) Get ¶
func (v NullableClusterConfig) Get() *ClusterConfig
func (NullableClusterConfig) IsSet ¶
func (v NullableClusterConfig) IsSet() bool
func (NullableClusterConfig) MarshalJSON ¶
func (v NullableClusterConfig) MarshalJSON() ([]byte, error)
func (*NullableClusterConfig) Set ¶
func (v *NullableClusterConfig) Set(val *ClusterConfig)
func (*NullableClusterConfig) UnmarshalJSON ¶
func (v *NullableClusterConfig) UnmarshalJSON(src []byte) error
func (*NullableClusterConfig) Unset ¶
func (v *NullableClusterConfig) Unset()
type NullableClusterStateType ¶
type NullableClusterStateType struct {
// contains filtered or unexported fields
}
func NewNullableClusterStateType ¶
func NewNullableClusterStateType(val *ClusterStateType) *NullableClusterStateType
func (NullableClusterStateType) Get ¶
func (v NullableClusterStateType) Get() *ClusterStateType
func (NullableClusterStateType) IsSet ¶
func (v NullableClusterStateType) IsSet() bool
func (NullableClusterStateType) MarshalJSON ¶
func (v NullableClusterStateType) MarshalJSON() ([]byte, error)
func (*NullableClusterStateType) Set ¶
func (v *NullableClusterStateType) Set(val *ClusterStateType)
func (*NullableClusterStateType) UnmarshalJSON ¶
func (v *NullableClusterStateType) UnmarshalJSON(src []byte) error
func (*NullableClusterStateType) Unset ¶
func (v *NullableClusterStateType) Unset()
type NullableClusterStatusType ¶
type NullableClusterStatusType struct {
// contains filtered or unexported fields
}
func NewNullableClusterStatusType ¶
func NewNullableClusterStatusType(val *ClusterStatusType) *NullableClusterStatusType
func (NullableClusterStatusType) Get ¶
func (v NullableClusterStatusType) Get() *ClusterStatusType
func (NullableClusterStatusType) IsSet ¶
func (v NullableClusterStatusType) IsSet() bool
func (NullableClusterStatusType) MarshalJSON ¶
func (v NullableClusterStatusType) MarshalJSON() ([]byte, error)
func (*NullableClusterStatusType) Set ¶
func (v *NullableClusterStatusType) Set(val *ClusterStatusType)
func (*NullableClusterStatusType) UnmarshalJSON ¶
func (v *NullableClusterStatusType) UnmarshalJSON(src []byte) error
func (*NullableClusterStatusType) Unset ¶
func (v *NullableClusterStatusType) Unset()
type NullableCreateClusterRequest ¶
type NullableCreateClusterRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateClusterRequest ¶
func NewNullableCreateClusterRequest(val *CreateClusterRequest) *NullableCreateClusterRequest
func (NullableCreateClusterRequest) Get ¶
func (v NullableCreateClusterRequest) Get() *CreateClusterRequest
func (NullableCreateClusterRequest) IsSet ¶
func (v NullableCreateClusterRequest) IsSet() bool
func (NullableCreateClusterRequest) MarshalJSON ¶
func (v NullableCreateClusterRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateClusterRequest) Set ¶
func (v *NullableCreateClusterRequest) Set(val *CreateClusterRequest)
func (*NullableCreateClusterRequest) UnmarshalJSON ¶
func (v *NullableCreateClusterRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateClusterRequest) Unset ¶
func (v *NullableCreateClusterRequest) Unset()
type NullableCreateClusterSpecification ¶
type NullableCreateClusterSpecification struct {
// contains filtered or unexported fields
}
func NewNullableCreateClusterSpecification ¶
func NewNullableCreateClusterSpecification(val *CreateClusterSpecification) *NullableCreateClusterSpecification
func (NullableCreateClusterSpecification) Get ¶
func (v NullableCreateClusterSpecification) Get() *CreateClusterSpecification
func (NullableCreateClusterSpecification) IsSet ¶
func (v NullableCreateClusterSpecification) IsSet() bool
func (NullableCreateClusterSpecification) MarshalJSON ¶
func (v NullableCreateClusterSpecification) MarshalJSON() ([]byte, error)
func (*NullableCreateClusterSpecification) Set ¶
func (v *NullableCreateClusterSpecification) Set(val *CreateClusterSpecification)
func (*NullableCreateClusterSpecification) UnmarshalJSON ¶
func (v *NullableCreateClusterSpecification) UnmarshalJSON(src []byte) error
func (*NullableCreateClusterSpecification) Unset ¶
func (v *NullableCreateClusterSpecification) Unset()
type NullableCreateSQLUserRequest ¶
type NullableCreateSQLUserRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateSQLUserRequest ¶
func NewNullableCreateSQLUserRequest(val *CreateSQLUserRequest) *NullableCreateSQLUserRequest
func (NullableCreateSQLUserRequest) Get ¶
func (v NullableCreateSQLUserRequest) Get() *CreateSQLUserRequest
func (NullableCreateSQLUserRequest) IsSet ¶
func (v NullableCreateSQLUserRequest) IsSet() bool
func (NullableCreateSQLUserRequest) MarshalJSON ¶
func (v NullableCreateSQLUserRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateSQLUserRequest) Set ¶
func (v *NullableCreateSQLUserRequest) Set(val *CreateSQLUserRequest)
func (*NullableCreateSQLUserRequest) UnmarshalJSON ¶
func (v *NullableCreateSQLUserRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateSQLUserRequest) Unset ¶
func (v *NullableCreateSQLUserRequest) Unset()
type NullableDedicatedClusterCreateSpecification ¶
type NullableDedicatedClusterCreateSpecification struct {
// contains filtered or unexported fields
}
func NewNullableDedicatedClusterCreateSpecification ¶
func NewNullableDedicatedClusterCreateSpecification(val *DedicatedClusterCreateSpecification) *NullableDedicatedClusterCreateSpecification
func (NullableDedicatedClusterCreateSpecification) IsSet ¶
func (v NullableDedicatedClusterCreateSpecification) IsSet() bool
func (NullableDedicatedClusterCreateSpecification) MarshalJSON ¶
func (v NullableDedicatedClusterCreateSpecification) MarshalJSON() ([]byte, error)
func (*NullableDedicatedClusterCreateSpecification) Set ¶
func (v *NullableDedicatedClusterCreateSpecification) Set(val *DedicatedClusterCreateSpecification)
func (*NullableDedicatedClusterCreateSpecification) UnmarshalJSON ¶
func (v *NullableDedicatedClusterCreateSpecification) UnmarshalJSON(src []byte) error
func (*NullableDedicatedClusterCreateSpecification) Unset ¶
func (v *NullableDedicatedClusterCreateSpecification) Unset()
type NullableDedicatedClusterUpdateSpecification ¶
type NullableDedicatedClusterUpdateSpecification struct {
// contains filtered or unexported fields
}
func NewNullableDedicatedClusterUpdateSpecification ¶
func NewNullableDedicatedClusterUpdateSpecification(val *DedicatedClusterUpdateSpecification) *NullableDedicatedClusterUpdateSpecification
func (NullableDedicatedClusterUpdateSpecification) IsSet ¶
func (v NullableDedicatedClusterUpdateSpecification) IsSet() bool
func (NullableDedicatedClusterUpdateSpecification) MarshalJSON ¶
func (v NullableDedicatedClusterUpdateSpecification) MarshalJSON() ([]byte, error)
func (*NullableDedicatedClusterUpdateSpecification) Set ¶
func (v *NullableDedicatedClusterUpdateSpecification) Set(val *DedicatedClusterUpdateSpecification)
func (*NullableDedicatedClusterUpdateSpecification) UnmarshalJSON ¶
func (v *NullableDedicatedClusterUpdateSpecification) UnmarshalJSON(src []byte) error
func (*NullableDedicatedClusterUpdateSpecification) Unset ¶
func (v *NullableDedicatedClusterUpdateSpecification) Unset()
type NullableDedicatedHardwareConfig ¶
type NullableDedicatedHardwareConfig struct {
// contains filtered or unexported fields
}
func NewNullableDedicatedHardwareConfig ¶
func NewNullableDedicatedHardwareConfig(val *DedicatedHardwareConfig) *NullableDedicatedHardwareConfig
func (NullableDedicatedHardwareConfig) Get ¶
func (v NullableDedicatedHardwareConfig) Get() *DedicatedHardwareConfig
func (NullableDedicatedHardwareConfig) IsSet ¶
func (v NullableDedicatedHardwareConfig) IsSet() bool
func (NullableDedicatedHardwareConfig) MarshalJSON ¶
func (v NullableDedicatedHardwareConfig) MarshalJSON() ([]byte, error)
func (*NullableDedicatedHardwareConfig) Set ¶
func (v *NullableDedicatedHardwareConfig) Set(val *DedicatedHardwareConfig)
func (*NullableDedicatedHardwareConfig) UnmarshalJSON ¶
func (v *NullableDedicatedHardwareConfig) UnmarshalJSON(src []byte) error
func (*NullableDedicatedHardwareConfig) Unset ¶
func (v *NullableDedicatedHardwareConfig) Unset()
type NullableDedicatedHardwareCreateSpecification ¶
type NullableDedicatedHardwareCreateSpecification struct {
// contains filtered or unexported fields
}
func NewNullableDedicatedHardwareCreateSpecification ¶
func NewNullableDedicatedHardwareCreateSpecification(val *DedicatedHardwareCreateSpecification) *NullableDedicatedHardwareCreateSpecification
func (NullableDedicatedHardwareCreateSpecification) IsSet ¶
func (v NullableDedicatedHardwareCreateSpecification) IsSet() bool
func (NullableDedicatedHardwareCreateSpecification) MarshalJSON ¶
func (v NullableDedicatedHardwareCreateSpecification) MarshalJSON() ([]byte, error)
func (*NullableDedicatedHardwareCreateSpecification) Set ¶
func (v *NullableDedicatedHardwareCreateSpecification) Set(val *DedicatedHardwareCreateSpecification)
func (*NullableDedicatedHardwareCreateSpecification) UnmarshalJSON ¶
func (v *NullableDedicatedHardwareCreateSpecification) UnmarshalJSON(src []byte) error
func (*NullableDedicatedHardwareCreateSpecification) Unset ¶
func (v *NullableDedicatedHardwareCreateSpecification) Unset()
type NullableDedicatedHardwareUpdateSpecification ¶
type NullableDedicatedHardwareUpdateSpecification struct {
// contains filtered or unexported fields
}
func NewNullableDedicatedHardwareUpdateSpecification ¶
func NewNullableDedicatedHardwareUpdateSpecification(val *DedicatedHardwareUpdateSpecification) *NullableDedicatedHardwareUpdateSpecification
func (NullableDedicatedHardwareUpdateSpecification) IsSet ¶
func (v NullableDedicatedHardwareUpdateSpecification) IsSet() bool
func (NullableDedicatedHardwareUpdateSpecification) MarshalJSON ¶
func (v NullableDedicatedHardwareUpdateSpecification) MarshalJSON() ([]byte, error)
func (*NullableDedicatedHardwareUpdateSpecification) Set ¶
func (v *NullableDedicatedHardwareUpdateSpecification) Set(val *DedicatedHardwareUpdateSpecification)
func (*NullableDedicatedHardwareUpdateSpecification) UnmarshalJSON ¶
func (v *NullableDedicatedHardwareUpdateSpecification) UnmarshalJSON(src []byte) error
func (*NullableDedicatedHardwareUpdateSpecification) Unset ¶
func (v *NullableDedicatedHardwareUpdateSpecification) Unset()
type NullableDedicatedMachineTypeSpecification ¶
type NullableDedicatedMachineTypeSpecification struct {
// contains filtered or unexported fields
}
func NewNullableDedicatedMachineTypeSpecification ¶
func NewNullableDedicatedMachineTypeSpecification(val *DedicatedMachineTypeSpecification) *NullableDedicatedMachineTypeSpecification
func (NullableDedicatedMachineTypeSpecification) IsSet ¶
func (v NullableDedicatedMachineTypeSpecification) IsSet() bool
func (NullableDedicatedMachineTypeSpecification) MarshalJSON ¶
func (v NullableDedicatedMachineTypeSpecification) MarshalJSON() ([]byte, error)
func (*NullableDedicatedMachineTypeSpecification) Set ¶
func (v *NullableDedicatedMachineTypeSpecification) Set(val *DedicatedMachineTypeSpecification)
func (*NullableDedicatedMachineTypeSpecification) UnmarshalJSON ¶
func (v *NullableDedicatedMachineTypeSpecification) UnmarshalJSON(src []byte) error
func (*NullableDedicatedMachineTypeSpecification) Unset ¶
func (v *NullableDedicatedMachineTypeSpecification) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableKeysetPaginationRequest ¶
type NullableKeysetPaginationRequest struct {
// contains filtered or unexported fields
}
func NewNullableKeysetPaginationRequest ¶
func NewNullableKeysetPaginationRequest(val *KeysetPaginationRequest) *NullableKeysetPaginationRequest
func (NullableKeysetPaginationRequest) Get ¶
func (v NullableKeysetPaginationRequest) Get() *KeysetPaginationRequest
func (NullableKeysetPaginationRequest) IsSet ¶
func (v NullableKeysetPaginationRequest) IsSet() bool
func (NullableKeysetPaginationRequest) MarshalJSON ¶
func (v NullableKeysetPaginationRequest) MarshalJSON() ([]byte, error)
func (*NullableKeysetPaginationRequest) Set ¶
func (v *NullableKeysetPaginationRequest) Set(val *KeysetPaginationRequest)
func (*NullableKeysetPaginationRequest) UnmarshalJSON ¶
func (v *NullableKeysetPaginationRequest) UnmarshalJSON(src []byte) error
func (*NullableKeysetPaginationRequest) Unset ¶
func (v *NullableKeysetPaginationRequest) Unset()
type NullableKeysetPaginationResponse ¶
type NullableKeysetPaginationResponse struct {
// contains filtered or unexported fields
}
func NewNullableKeysetPaginationResponse ¶
func NewNullableKeysetPaginationResponse(val *KeysetPaginationResponse) *NullableKeysetPaginationResponse
func (NullableKeysetPaginationResponse) Get ¶
func (v NullableKeysetPaginationResponse) Get() *KeysetPaginationResponse
func (NullableKeysetPaginationResponse) IsSet ¶
func (v NullableKeysetPaginationResponse) IsSet() bool
func (NullableKeysetPaginationResponse) MarshalJSON ¶
func (v NullableKeysetPaginationResponse) MarshalJSON() ([]byte, error)
func (*NullableKeysetPaginationResponse) Set ¶
func (v *NullableKeysetPaginationResponse) Set(val *KeysetPaginationResponse)
func (*NullableKeysetPaginationResponse) UnmarshalJSON ¶
func (v *NullableKeysetPaginationResponse) UnmarshalJSON(src []byte) error
func (*NullableKeysetPaginationResponse) Unset ¶
func (v *NullableKeysetPaginationResponse) Unset()
type NullableListAllowlistEntriesResponse ¶
type NullableListAllowlistEntriesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListAllowlistEntriesResponse ¶
func NewNullableListAllowlistEntriesResponse(val *ListAllowlistEntriesResponse) *NullableListAllowlistEntriesResponse
func (NullableListAllowlistEntriesResponse) Get ¶
func (v NullableListAllowlistEntriesResponse) Get() *ListAllowlistEntriesResponse
func (NullableListAllowlistEntriesResponse) IsSet ¶
func (v NullableListAllowlistEntriesResponse) IsSet() bool
func (NullableListAllowlistEntriesResponse) MarshalJSON ¶
func (v NullableListAllowlistEntriesResponse) MarshalJSON() ([]byte, error)
func (*NullableListAllowlistEntriesResponse) Set ¶
func (v *NullableListAllowlistEntriesResponse) Set(val *ListAllowlistEntriesResponse)
func (*NullableListAllowlistEntriesResponse) UnmarshalJSON ¶
func (v *NullableListAllowlistEntriesResponse) UnmarshalJSON(src []byte) error
func (*NullableListAllowlistEntriesResponse) Unset ¶
func (v *NullableListAllowlistEntriesResponse) Unset()
type NullableListAvailableRegionsResponse ¶
type NullableListAvailableRegionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListAvailableRegionsResponse ¶
func NewNullableListAvailableRegionsResponse(val *ListAvailableRegionsResponse) *NullableListAvailableRegionsResponse
func (NullableListAvailableRegionsResponse) Get ¶
func (v NullableListAvailableRegionsResponse) Get() *ListAvailableRegionsResponse
func (NullableListAvailableRegionsResponse) IsSet ¶
func (v NullableListAvailableRegionsResponse) IsSet() bool
func (NullableListAvailableRegionsResponse) MarshalJSON ¶
func (v NullableListAvailableRegionsResponse) MarshalJSON() ([]byte, error)
func (*NullableListAvailableRegionsResponse) Set ¶
func (v *NullableListAvailableRegionsResponse) Set(val *ListAvailableRegionsResponse)
func (*NullableListAvailableRegionsResponse) UnmarshalJSON ¶
func (v *NullableListAvailableRegionsResponse) UnmarshalJSON(src []byte) error
func (*NullableListAvailableRegionsResponse) Unset ¶
func (v *NullableListAvailableRegionsResponse) Unset()
type NullableListClusterNodesResponse ¶
type NullableListClusterNodesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListClusterNodesResponse ¶
func NewNullableListClusterNodesResponse(val *ListClusterNodesResponse) *NullableListClusterNodesResponse
func (NullableListClusterNodesResponse) Get ¶
func (v NullableListClusterNodesResponse) Get() *ListClusterNodesResponse
func (NullableListClusterNodesResponse) IsSet ¶
func (v NullableListClusterNodesResponse) IsSet() bool
func (NullableListClusterNodesResponse) MarshalJSON ¶
func (v NullableListClusterNodesResponse) MarshalJSON() ([]byte, error)
func (*NullableListClusterNodesResponse) Set ¶
func (v *NullableListClusterNodesResponse) Set(val *ListClusterNodesResponse)
func (*NullableListClusterNodesResponse) UnmarshalJSON ¶
func (v *NullableListClusterNodesResponse) UnmarshalJSON(src []byte) error
func (*NullableListClusterNodesResponse) Unset ¶
func (v *NullableListClusterNodesResponse) Unset()
type NullableListClustersResponse ¶
type NullableListClustersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListClustersResponse ¶
func NewNullableListClustersResponse(val *ListClustersResponse) *NullableListClustersResponse
func (NullableListClustersResponse) Get ¶
func (v NullableListClustersResponse) Get() *ListClustersResponse
func (NullableListClustersResponse) IsSet ¶
func (v NullableListClustersResponse) IsSet() bool
func (NullableListClustersResponse) MarshalJSON ¶
func (v NullableListClustersResponse) MarshalJSON() ([]byte, error)
func (*NullableListClustersResponse) Set ¶
func (v *NullableListClustersResponse) Set(val *ListClustersResponse)
func (*NullableListClustersResponse) UnmarshalJSON ¶
func (v *NullableListClustersResponse) UnmarshalJSON(src []byte) error
func (*NullableListClustersResponse) Unset ¶
func (v *NullableListClustersResponse) Unset()
type NullableListSQLUsersResponse ¶
type NullableListSQLUsersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListSQLUsersResponse ¶
func NewNullableListSQLUsersResponse(val *ListSQLUsersResponse) *NullableListSQLUsersResponse
func (NullableListSQLUsersResponse) Get ¶
func (v NullableListSQLUsersResponse) Get() *ListSQLUsersResponse
func (NullableListSQLUsersResponse) IsSet ¶
func (v NullableListSQLUsersResponse) IsSet() bool
func (NullableListSQLUsersResponse) MarshalJSON ¶
func (v NullableListSQLUsersResponse) MarshalJSON() ([]byte, error)
func (*NullableListSQLUsersResponse) Set ¶
func (v *NullableListSQLUsersResponse) Set(val *ListSQLUsersResponse)
func (*NullableListSQLUsersResponse) UnmarshalJSON ¶
func (v *NullableListSQLUsersResponse) UnmarshalJSON(src []byte) error
func (*NullableListSQLUsersResponse) Unset ¶
func (v *NullableListSQLUsersResponse) Unset()
type NullableNode ¶
type NullableNode struct {
// contains filtered or unexported fields
}
func NewNullableNode ¶
func NewNullableNode(val *Node) *NullableNode
func (NullableNode) Get ¶
func (v NullableNode) Get() *Node
func (NullableNode) IsSet ¶
func (v NullableNode) IsSet() bool
func (NullableNode) MarshalJSON ¶
func (v NullableNode) MarshalJSON() ([]byte, error)
func (*NullableNode) Set ¶
func (v *NullableNode) Set(val *Node)
func (*NullableNode) UnmarshalJSON ¶
func (v *NullableNode) UnmarshalJSON(src []byte) error
func (*NullableNode) Unset ¶
func (v *NullableNode) Unset()
type NullableNodeStatus ¶
type NullableNodeStatus struct {
// contains filtered or unexported fields
}
func NewNullableNodeStatus ¶
func NewNullableNodeStatus(val *NodeStatus) *NullableNodeStatus
func (NullableNodeStatus) Get ¶
func (v NullableNodeStatus) Get() *NodeStatus
func (NullableNodeStatus) IsSet ¶
func (v NullableNodeStatus) IsSet() bool
func (NullableNodeStatus) MarshalJSON ¶
func (v NullableNodeStatus) MarshalJSON() ([]byte, error)
func (*NullableNodeStatus) Set ¶
func (v *NullableNodeStatus) Set(val *NodeStatus)
func (*NullableNodeStatus) UnmarshalJSON ¶
func (v *NullableNodeStatus) UnmarshalJSON(src []byte) error
func (*NullableNodeStatus) Unset ¶
func (v *NullableNodeStatus) Unset()
type NullablePageDirection ¶
type NullablePageDirection struct {
// contains filtered or unexported fields
}
func NewNullablePageDirection ¶
func NewNullablePageDirection(val *PageDirection) *NullablePageDirection
func (NullablePageDirection) Get ¶
func (v NullablePageDirection) Get() *PageDirection
func (NullablePageDirection) IsSet ¶
func (v NullablePageDirection) IsSet() bool
func (NullablePageDirection) MarshalJSON ¶
func (v NullablePageDirection) MarshalJSON() ([]byte, error)
func (*NullablePageDirection) Set ¶
func (v *NullablePageDirection) Set(val *PageDirection)
func (*NullablePageDirection) UnmarshalJSON ¶
func (v *NullablePageDirection) UnmarshalJSON(src []byte) error
func (*NullablePageDirection) Unset ¶
func (v *NullablePageDirection) Unset()
type NullablePlan ¶
type NullablePlan struct {
// contains filtered or unexported fields
}
func NewNullablePlan ¶
func NewNullablePlan(val *Plan) *NullablePlan
func (NullablePlan) Get ¶
func (v NullablePlan) Get() *Plan
func (NullablePlan) IsSet ¶
func (v NullablePlan) IsSet() bool
func (NullablePlan) MarshalJSON ¶
func (v NullablePlan) MarshalJSON() ([]byte, error)
func (*NullablePlan) Set ¶
func (v *NullablePlan) Set(val *Plan)
func (*NullablePlan) UnmarshalJSON ¶
func (v *NullablePlan) UnmarshalJSON(src []byte) error
func (*NullablePlan) Unset ¶
func (v *NullablePlan) Unset()
type NullableRegion ¶
type NullableRegion struct {
// contains filtered or unexported fields
}
func NewNullableRegion ¶
func NewNullableRegion(val *Region) *NullableRegion
func (NullableRegion) Get ¶
func (v NullableRegion) Get() *Region
func (NullableRegion) IsSet ¶
func (v NullableRegion) IsSet() bool
func (NullableRegion) MarshalJSON ¶
func (v NullableRegion) MarshalJSON() ([]byte, error)
func (*NullableRegion) Set ¶
func (v *NullableRegion) Set(val *Region)
func (*NullableRegion) UnmarshalJSON ¶
func (v *NullableRegion) UnmarshalJSON(src []byte) error
func (*NullableRegion) Unset ¶
func (v *NullableRegion) Unset()
type NullableSQLUser ¶
type NullableSQLUser struct {
// contains filtered or unexported fields
}
func NewNullableSQLUser ¶
func NewNullableSQLUser(val *SQLUser) *NullableSQLUser
func (NullableSQLUser) Get ¶
func (v NullableSQLUser) Get() *SQLUser
func (NullableSQLUser) IsSet ¶
func (v NullableSQLUser) IsSet() bool
func (NullableSQLUser) MarshalJSON ¶
func (v NullableSQLUser) MarshalJSON() ([]byte, error)
func (*NullableSQLUser) Set ¶
func (v *NullableSQLUser) Set(val *SQLUser)
func (*NullableSQLUser) UnmarshalJSON ¶
func (v *NullableSQLUser) UnmarshalJSON(src []byte) error
func (*NullableSQLUser) Unset ¶
func (v *NullableSQLUser) Unset()
type NullableServerlessClusterConfig ¶
type NullableServerlessClusterConfig struct {
// contains filtered or unexported fields
}
func NewNullableServerlessClusterConfig ¶
func NewNullableServerlessClusterConfig(val *ServerlessClusterConfig) *NullableServerlessClusterConfig
func (NullableServerlessClusterConfig) Get ¶
func (v NullableServerlessClusterConfig) Get() *ServerlessClusterConfig
func (NullableServerlessClusterConfig) IsSet ¶
func (v NullableServerlessClusterConfig) IsSet() bool
func (NullableServerlessClusterConfig) MarshalJSON ¶
func (v NullableServerlessClusterConfig) MarshalJSON() ([]byte, error)
func (*NullableServerlessClusterConfig) Set ¶
func (v *NullableServerlessClusterConfig) Set(val *ServerlessClusterConfig)
func (*NullableServerlessClusterConfig) UnmarshalJSON ¶
func (v *NullableServerlessClusterConfig) UnmarshalJSON(src []byte) error
func (*NullableServerlessClusterConfig) Unset ¶
func (v *NullableServerlessClusterConfig) Unset()
type NullableServerlessClusterCreateSpecification ¶
type NullableServerlessClusterCreateSpecification struct {
// contains filtered or unexported fields
}
func NewNullableServerlessClusterCreateSpecification ¶
func NewNullableServerlessClusterCreateSpecification(val *ServerlessClusterCreateSpecification) *NullableServerlessClusterCreateSpecification
func (NullableServerlessClusterCreateSpecification) IsSet ¶
func (v NullableServerlessClusterCreateSpecification) IsSet() bool
func (NullableServerlessClusterCreateSpecification) MarshalJSON ¶
func (v NullableServerlessClusterCreateSpecification) MarshalJSON() ([]byte, error)
func (*NullableServerlessClusterCreateSpecification) Set ¶
func (v *NullableServerlessClusterCreateSpecification) Set(val *ServerlessClusterCreateSpecification)
func (*NullableServerlessClusterCreateSpecification) UnmarshalJSON ¶
func (v *NullableServerlessClusterCreateSpecification) UnmarshalJSON(src []byte) error
func (*NullableServerlessClusterCreateSpecification) Unset ¶
func (v *NullableServerlessClusterCreateSpecification) Unset()
type NullableServerlessClusterUpdateSpecification ¶
type NullableServerlessClusterUpdateSpecification struct {
// contains filtered or unexported fields
}
func NewNullableServerlessClusterUpdateSpecification ¶
func NewNullableServerlessClusterUpdateSpecification(val *ServerlessClusterUpdateSpecification) *NullableServerlessClusterUpdateSpecification
func (NullableServerlessClusterUpdateSpecification) IsSet ¶
func (v NullableServerlessClusterUpdateSpecification) IsSet() bool
func (NullableServerlessClusterUpdateSpecification) MarshalJSON ¶
func (v NullableServerlessClusterUpdateSpecification) MarshalJSON() ([]byte, error)
func (*NullableServerlessClusterUpdateSpecification) Set ¶
func (v *NullableServerlessClusterUpdateSpecification) Set(val *ServerlessClusterUpdateSpecification)
func (*NullableServerlessClusterUpdateSpecification) UnmarshalJSON ¶
func (v *NullableServerlessClusterUpdateSpecification) UnmarshalJSON(src []byte) error
func (*NullableServerlessClusterUpdateSpecification) Unset ¶
func (v *NullableServerlessClusterUpdateSpecification) Unset()
type NullableSortOrder ¶
type NullableSortOrder struct {
// contains filtered or unexported fields
}
func NewNullableSortOrder ¶
func NewNullableSortOrder(val *SortOrder) *NullableSortOrder
func (NullableSortOrder) Get ¶
func (v NullableSortOrder) Get() *SortOrder
func (NullableSortOrder) IsSet ¶
func (v NullableSortOrder) IsSet() bool
func (NullableSortOrder) MarshalJSON ¶
func (v NullableSortOrder) MarshalJSON() ([]byte, error)
func (*NullableSortOrder) Set ¶
func (v *NullableSortOrder) Set(val *SortOrder)
func (*NullableSortOrder) UnmarshalJSON ¶
func (v *NullableSortOrder) UnmarshalJSON(src []byte) error
func (*NullableSortOrder) Unset ¶
func (v *NullableSortOrder) Unset()
type NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateCMEKStatusRequest ¶
type NullableUpdateCMEKStatusRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCMEKStatusRequest ¶
func NewNullableUpdateCMEKStatusRequest(val *UpdateCMEKStatusRequest) *NullableUpdateCMEKStatusRequest
func (NullableUpdateCMEKStatusRequest) Get ¶
func (v NullableUpdateCMEKStatusRequest) Get() *UpdateCMEKStatusRequest
func (NullableUpdateCMEKStatusRequest) IsSet ¶
func (v NullableUpdateCMEKStatusRequest) IsSet() bool
func (NullableUpdateCMEKStatusRequest) MarshalJSON ¶
func (v NullableUpdateCMEKStatusRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateCMEKStatusRequest) Set ¶
func (v *NullableUpdateCMEKStatusRequest) Set(val *UpdateCMEKStatusRequest)
func (*NullableUpdateCMEKStatusRequest) UnmarshalJSON ¶
func (v *NullableUpdateCMEKStatusRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateCMEKStatusRequest) Unset ¶
func (v *NullableUpdateCMEKStatusRequest) Unset()
type NullableUpdateClusterSpecification ¶
type NullableUpdateClusterSpecification struct {
// contains filtered or unexported fields
}
func NewNullableUpdateClusterSpecification ¶
func NewNullableUpdateClusterSpecification(val *UpdateClusterSpecification) *NullableUpdateClusterSpecification
func (NullableUpdateClusterSpecification) Get ¶
func (v NullableUpdateClusterSpecification) Get() *UpdateClusterSpecification
func (NullableUpdateClusterSpecification) IsSet ¶
func (v NullableUpdateClusterSpecification) IsSet() bool
func (NullableUpdateClusterSpecification) MarshalJSON ¶
func (v NullableUpdateClusterSpecification) MarshalJSON() ([]byte, error)
func (*NullableUpdateClusterSpecification) Set ¶
func (v *NullableUpdateClusterSpecification) Set(val *UpdateClusterSpecification)
func (*NullableUpdateClusterSpecification) UnmarshalJSON ¶
func (v *NullableUpdateClusterSpecification) UnmarshalJSON(src []byte) error
func (*NullableUpdateClusterSpecification) Unset ¶
func (v *NullableUpdateClusterSpecification) Unset()
type NullableUpdateSQLUserPasswordRequest ¶
type NullableUpdateSQLUserPasswordRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSQLUserPasswordRequest ¶
func NewNullableUpdateSQLUserPasswordRequest(val *UpdateSQLUserPasswordRequest) *NullableUpdateSQLUserPasswordRequest
func (NullableUpdateSQLUserPasswordRequest) Get ¶
func (v NullableUpdateSQLUserPasswordRequest) Get() *UpdateSQLUserPasswordRequest
func (NullableUpdateSQLUserPasswordRequest) IsSet ¶
func (v NullableUpdateSQLUserPasswordRequest) IsSet() bool
func (NullableUpdateSQLUserPasswordRequest) MarshalJSON ¶
func (v NullableUpdateSQLUserPasswordRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateSQLUserPasswordRequest) Set ¶
func (v *NullableUpdateSQLUserPasswordRequest) Set(val *UpdateSQLUserPasswordRequest)
func (*NullableUpdateSQLUserPasswordRequest) UnmarshalJSON ¶
func (v *NullableUpdateSQLUserPasswordRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateSQLUserPasswordRequest) Unset ¶
func (v *NullableUpdateSQLUserPasswordRequest) Unset()
type PageDirection ¶
type PageDirection string
PageDirection the model 'PageDirection'
const ( NEXT PageDirection = "PAGE_DIRECTION_NEXT" LAST PageDirection = "PAGE_DIRECTION_LAST" )
List of PageDirection
func NewPageDirectionFromValue ¶
func NewPageDirectionFromValue(v string) (*PageDirection, error)
NewPageDirectionFromValue returns a pointer to a valid PageDirection for the value passed as argument, or an error if the value passed is not allowed by the enum
func (PageDirection) IsValid ¶
func (v PageDirection) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (PageDirection) Ptr ¶
func (v PageDirection) Ptr() *PageDirection
Ptr returns reference to PageDirection value
func (*PageDirection) UnmarshalJSON ¶
func (v *PageDirection) UnmarshalJSON(src []byte) error
type Plan ¶
type Plan string
Plan - DEDICATED: A paid plan that offers dedicated hardware in any location. - CUSTOM: A plan option that is used for clusters whose machine configs are not supported in self-service. All INVOICE clusters are under this plan option. - SERVERLESS: A paid plan that runs on shared hardware and caps the users' maximum monthly spending to a user-specified (possibly 0) amount.
const ( PLAN_UNSPECIFIED Plan = "PLAN_UNSPECIFIED" DEDICATED Plan = "DEDICATED" CUSTOM Plan = "CUSTOM" SERVERLESS Plan = "SERVERLESS" )
List of Plan
func NewPlanFromValue ¶
NewPlanFromValue returns a pointer to a valid Plan for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Plan) UnmarshalJSON ¶
type Region ¶
type Region struct { Name string `json:"name"` SqlDns string `json:"sql_dns"` UiDns string `json:"ui_dns"` // NodeCount will be 0 for serverless clusters. NodeCount int32 `json:"node_count"` }
Region struct for Region
func NewRegion ¶
NewRegion instantiates a new Region 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 NewRegionWithDefaults ¶
func NewRegionWithDefaults() *Region
NewRegionWithDefaults instantiates a new Region 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 (*Region) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Region) GetNodeCount ¶
GetNodeCount returns the NodeCount field value
func (*Region) GetNodeCountOk ¶
GetNodeCountOk returns a tuple with the NodeCount field value and a boolean to check if the value has been set.
func (*Region) GetSqlDnsOk ¶
GetSqlDnsOk returns a tuple with the SqlDns field value and a boolean to check if the value has been set.
func (*Region) GetUiDnsOk ¶
GetUiDnsOk returns a tuple with the UiDns field value and a boolean to check if the value has been set.
func (Region) MarshalJSON ¶
type SQLUser ¶
type SQLUser struct {
Name string `json:"name"`
}
SQLUser struct for SQLUser
func NewSQLUser ¶
NewSQLUser instantiates a new SQLUser 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 NewSQLUserWithDefaults ¶
func NewSQLUserWithDefaults() *SQLUser
NewSQLUserWithDefaults instantiates a new SQLUser 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 (*SQLUser) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (SQLUser) MarshalJSON ¶
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ServerlessClusterConfig ¶
type ServerlessClusterConfig struct { // Spend limit in US cents. SpendLimit int32 `json:"spend_limit"` // Used to build a connection string. RoutingId string `json:"routing_id"` }
ServerlessClusterConfig struct for ServerlessClusterConfig
func NewServerlessClusterConfig ¶
func NewServerlessClusterConfig(spendLimit int32, routingId string) *ServerlessClusterConfig
NewServerlessClusterConfig instantiates a new ServerlessClusterConfig 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 NewServerlessClusterConfigWithDefaults ¶
func NewServerlessClusterConfigWithDefaults() *ServerlessClusterConfig
NewServerlessClusterConfigWithDefaults instantiates a new ServerlessClusterConfig 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 (*ServerlessClusterConfig) GetRoutingId ¶
func (o *ServerlessClusterConfig) GetRoutingId() string
GetRoutingId returns the RoutingId field value
func (*ServerlessClusterConfig) GetRoutingIdOk ¶
func (o *ServerlessClusterConfig) GetRoutingIdOk() (*string, bool)
GetRoutingIdOk returns a tuple with the RoutingId field value and a boolean to check if the value has been set.
func (*ServerlessClusterConfig) GetSpendLimit ¶
func (o *ServerlessClusterConfig) GetSpendLimit() int32
GetSpendLimit returns the SpendLimit field value
func (*ServerlessClusterConfig) GetSpendLimitOk ¶
func (o *ServerlessClusterConfig) GetSpendLimitOk() (*int32, bool)
GetSpendLimitOk returns a tuple with the SpendLimit field value and a boolean to check if the value has been set.
func (ServerlessClusterConfig) MarshalJSON ¶
func (o ServerlessClusterConfig) MarshalJSON() ([]byte, error)
func (*ServerlessClusterConfig) SetRoutingId ¶
func (o *ServerlessClusterConfig) SetRoutingId(v string)
SetRoutingId sets field value
func (*ServerlessClusterConfig) SetSpendLimit ¶
func (o *ServerlessClusterConfig) SetSpendLimit(v int32)
SetSpendLimit sets field value
type ServerlessClusterCreateSpecification ¶
type ServerlessClusterCreateSpecification struct { // Region values should match the cloud provider's zone code. For example, for Oregon, set region_name to \"us-west2\" for GCP and \"us-west-2\" for AWS. Regions []string `json:"regions"` SpendLimit int32 `json:"spend_limit"` }
ServerlessClusterCreateSpecification struct for ServerlessClusterCreateSpecification
func NewServerlessClusterCreateSpecification ¶
func NewServerlessClusterCreateSpecification(regions []string, spendLimit int32) *ServerlessClusterCreateSpecification
NewServerlessClusterCreateSpecification instantiates a new ServerlessClusterCreateSpecification 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 NewServerlessClusterCreateSpecificationWithDefaults ¶
func NewServerlessClusterCreateSpecificationWithDefaults() *ServerlessClusterCreateSpecification
NewServerlessClusterCreateSpecificationWithDefaults instantiates a new ServerlessClusterCreateSpecification 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 (*ServerlessClusterCreateSpecification) GetRegions ¶
func (o *ServerlessClusterCreateSpecification) GetRegions() []string
GetRegions returns the Regions field value
func (*ServerlessClusterCreateSpecification) GetRegionsOk ¶
func (o *ServerlessClusterCreateSpecification) GetRegionsOk() ([]string, bool)
GetRegionsOk returns a tuple with the Regions field value and a boolean to check if the value has been set.
func (*ServerlessClusterCreateSpecification) GetSpendLimit ¶
func (o *ServerlessClusterCreateSpecification) GetSpendLimit() int32
GetSpendLimit returns the SpendLimit field value
func (*ServerlessClusterCreateSpecification) GetSpendLimitOk ¶
func (o *ServerlessClusterCreateSpecification) GetSpendLimitOk() (*int32, bool)
GetSpendLimitOk returns a tuple with the SpendLimit field value and a boolean to check if the value has been set.
func (ServerlessClusterCreateSpecification) MarshalJSON ¶
func (o ServerlessClusterCreateSpecification) MarshalJSON() ([]byte, error)
func (*ServerlessClusterCreateSpecification) SetRegions ¶
func (o *ServerlessClusterCreateSpecification) SetRegions(v []string)
SetRegions sets field value
func (*ServerlessClusterCreateSpecification) SetSpendLimit ¶
func (o *ServerlessClusterCreateSpecification) SetSpendLimit(v int32)
SetSpendLimit sets field value
type ServerlessClusterUpdateSpecification ¶
type ServerlessClusterUpdateSpecification struct {
SpendLimit int32 `json:"spend_limit"`
}
ServerlessClusterUpdateSpecification struct for ServerlessClusterUpdateSpecification
func NewServerlessClusterUpdateSpecification ¶
func NewServerlessClusterUpdateSpecification(spendLimit int32) *ServerlessClusterUpdateSpecification
NewServerlessClusterUpdateSpecification instantiates a new ServerlessClusterUpdateSpecification 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 NewServerlessClusterUpdateSpecificationWithDefaults ¶
func NewServerlessClusterUpdateSpecificationWithDefaults() *ServerlessClusterUpdateSpecification
NewServerlessClusterUpdateSpecificationWithDefaults instantiates a new ServerlessClusterUpdateSpecification 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 (*ServerlessClusterUpdateSpecification) GetSpendLimit ¶
func (o *ServerlessClusterUpdateSpecification) GetSpendLimit() int32
GetSpendLimit returns the SpendLimit field value
func (*ServerlessClusterUpdateSpecification) GetSpendLimitOk ¶
func (o *ServerlessClusterUpdateSpecification) GetSpendLimitOk() (*int32, bool)
GetSpendLimitOk returns a tuple with the SpendLimit field value and a boolean to check if the value has been set.
func (ServerlessClusterUpdateSpecification) MarshalJSON ¶
func (o ServerlessClusterUpdateSpecification) MarshalJSON() ([]byte, error)
func (*ServerlessClusterUpdateSpecification) SetSpendLimit ¶
func (o *ServerlessClusterUpdateSpecification) SetSpendLimit(v int32)
SetSpendLimit sets field value
type SortOrder ¶
type SortOrder string
SortOrder - DESC: Sort in descending order. The default order is ascending.
func NewSortOrderFromValue ¶
NewSortOrderFromValue returns a pointer to a valid SortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*SortOrder) UnmarshalJSON ¶
type Status ¶
type Status struct { Code *int32 `json:"code,omitempty"` Message *string `json:"message,omitempty"` Details []Any `json:"details,omitempty"` }
Status struct for Status
func NewStatus ¶
func NewStatus() *Status
NewStatus instantiates a new Status 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 NewStatusWithDefaults ¶
func NewStatusWithDefaults() *Status
NewStatusWithDefaults instantiates a new Status 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 (*Status) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) GetDetails ¶
GetDetails returns the Details field value if set, zero value otherwise.
func (*Status) GetDetailsOk ¶
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Status) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (*Status) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Status) MarshalJSON ¶
func (*Status) SetCode ¶
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*Status) SetDetails ¶
SetDetails gets a reference to the given []Any and assigns it to the Details field.
func (*Status) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
type UpdateCMEKStatusRequest ¶
type UpdateCMEKStatusRequest struct {
Action CMEKCustomerAction `json:"action"`
}
UpdateCMEKStatusRequest struct for UpdateCMEKStatusRequest
func NewUpdateCMEKStatusRequest ¶
func NewUpdateCMEKStatusRequest(action CMEKCustomerAction) *UpdateCMEKStatusRequest
NewUpdateCMEKStatusRequest instantiates a new UpdateCMEKStatusRequest 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 NewUpdateCMEKStatusRequestWithDefaults ¶
func NewUpdateCMEKStatusRequestWithDefaults() *UpdateCMEKStatusRequest
NewUpdateCMEKStatusRequestWithDefaults instantiates a new UpdateCMEKStatusRequest 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 (*UpdateCMEKStatusRequest) GetAction ¶
func (o *UpdateCMEKStatusRequest) GetAction() CMEKCustomerAction
GetAction returns the Action field value
func (*UpdateCMEKStatusRequest) GetActionOk ¶
func (o *UpdateCMEKStatusRequest) GetActionOk() (*CMEKCustomerAction, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (UpdateCMEKStatusRequest) MarshalJSON ¶
func (o UpdateCMEKStatusRequest) MarshalJSON() ([]byte, error)
func (*UpdateCMEKStatusRequest) SetAction ¶
func (o *UpdateCMEKStatusRequest) SetAction(v CMEKCustomerAction)
SetAction sets field value
type UpdateClusterSpecification ¶
type UpdateClusterSpecification struct { Dedicated *DedicatedClusterUpdateSpecification `json:"dedicated,omitempty"` Serverless *ServerlessClusterUpdateSpecification `json:"serverless,omitempty"` }
UpdateClusterSpecification struct for UpdateClusterSpecification
func NewUpdateClusterSpecification ¶
func NewUpdateClusterSpecification() *UpdateClusterSpecification
NewUpdateClusterSpecification instantiates a new UpdateClusterSpecification 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 NewUpdateClusterSpecificationWithDefaults ¶
func NewUpdateClusterSpecificationWithDefaults() *UpdateClusterSpecification
NewUpdateClusterSpecificationWithDefaults instantiates a new UpdateClusterSpecification 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 (*UpdateClusterSpecification) GetDedicated ¶
func (o *UpdateClusterSpecification) GetDedicated() DedicatedClusterUpdateSpecification
GetDedicated returns the Dedicated field value if set, zero value otherwise.
func (*UpdateClusterSpecification) GetDedicatedOk ¶
func (o *UpdateClusterSpecification) GetDedicatedOk() (*DedicatedClusterUpdateSpecification, bool)
GetDedicatedOk returns a tuple with the Dedicated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateClusterSpecification) GetServerless ¶
func (o *UpdateClusterSpecification) GetServerless() ServerlessClusterUpdateSpecification
GetServerless returns the Serverless field value if set, zero value otherwise.
func (*UpdateClusterSpecification) GetServerlessOk ¶
func (o *UpdateClusterSpecification) GetServerlessOk() (*ServerlessClusterUpdateSpecification, bool)
GetServerlessOk returns a tuple with the Serverless field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateClusterSpecification) HasDedicated ¶
func (o *UpdateClusterSpecification) HasDedicated() bool
HasDedicated returns a boolean if a field has been set.
func (*UpdateClusterSpecification) HasServerless ¶
func (o *UpdateClusterSpecification) HasServerless() bool
HasServerless returns a boolean if a field has been set.
func (UpdateClusterSpecification) MarshalJSON ¶
func (o UpdateClusterSpecification) MarshalJSON() ([]byte, error)
func (*UpdateClusterSpecification) SetDedicated ¶
func (o *UpdateClusterSpecification) SetDedicated(v DedicatedClusterUpdateSpecification)
SetDedicated gets a reference to the given DedicatedClusterUpdateSpecification and assigns it to the Dedicated field.
func (*UpdateClusterSpecification) SetServerless ¶
func (o *UpdateClusterSpecification) SetServerless(v ServerlessClusterUpdateSpecification)
SetServerless gets a reference to the given ServerlessClusterUpdateSpecification and assigns it to the Serverless field.
type UpdateSQLUserPasswordRequest ¶
type UpdateSQLUserPasswordRequest struct {
Password string `json:"password"`
}
UpdateSQLUserPasswordRequest struct for UpdateSQLUserPasswordRequest
func NewUpdateSQLUserPasswordRequest ¶
func NewUpdateSQLUserPasswordRequest(password string) *UpdateSQLUserPasswordRequest
NewUpdateSQLUserPasswordRequest instantiates a new UpdateSQLUserPasswordRequest 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 NewUpdateSQLUserPasswordRequestWithDefaults ¶
func NewUpdateSQLUserPasswordRequestWithDefaults() *UpdateSQLUserPasswordRequest
NewUpdateSQLUserPasswordRequestWithDefaults instantiates a new UpdateSQLUserPasswordRequest 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 (*UpdateSQLUserPasswordRequest) GetPassword ¶
func (o *UpdateSQLUserPasswordRequest) GetPassword() string
GetPassword returns the Password field value
func (*UpdateSQLUserPasswordRequest) GetPasswordOk ¶
func (o *UpdateSQLUserPasswordRequest) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (UpdateSQLUserPasswordRequest) MarshalJSON ¶
func (o UpdateSQLUserPasswordRequest) MarshalJSON() ([]byte, error)
func (*UpdateSQLUserPasswordRequest) SetPassword ¶
func (o *UpdateSQLUserPasswordRequest) SetPassword(v string)
SetPassword sets field value
Source Files ¶
- api_cockroach_cloud.go
- client.go
- configuration.go
- model_allowlist_entry.go
- model_any.go
- model_api_cloud_provider.go
- model_cloud_provider_region.go
- model_cluster.go
- model_cluster_config.go
- model_cluster_state_type.go
- model_cluster_status_type.go
- model_cmek_cluster_info.go
- model_cmek_cluster_specification.go
- model_cmek_customer_action.go
- model_cmek_key_info.go
- model_cmek_key_specification.go
- model_cmek_key_type.go
- model_cmek_region_info.go
- model_cmek_region_specification.go
- model_cmek_status.go
- model_create_cluster_request.go
- model_create_cluster_specification.go
- model_create_sql_user_request.go
- model_dedicated_cluster_create_specification.go
- model_dedicated_cluster_update_specification.go
- model_dedicated_hardware_config.go
- model_dedicated_hardware_create_specification.go
- model_dedicated_hardware_update_specification.go
- model_dedicated_machine_type_specification.go
- model_keyset_pagination_request.go
- model_keyset_pagination_response.go
- model_list_allowlist_entries_response.go
- model_list_available_regions_response.go
- model_list_cluster_nodes_response.go
- model_list_clusters_response.go
- model_list_sql_users_response.go
- model_node.go
- model_node_status.go
- model_page_direction.go
- model_plan.go
- model_region.go
- model_serverless_cluster_config.go
- model_serverless_cluster_create_specification.go
- model_serverless_cluster_update_specification.go
- model_sort_order.go
- model_sql_user.go
- model_status.go
- model_update_cluster_specification.go
- model_update_cmek_status_request.go
- model_update_sql_user_password_request.go
- response.go
- utils.go