Documentation ¶
Index ¶
- Constants
- func AddPinnedCert(transport *http.Transport, pkFingerprint string)
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type ApiClustersDeleteRequest
- type ApiClustersFindByIdRequest
- type ApiClustersGetRequest
- type ApiClustersKubeconfigFindByClusterIdRequest
- type ApiClustersNodepoolsDeleteRequest
- type ApiClustersNodepoolsFindByIdRequest
- type ApiClustersNodepoolsGetRequest
- type ApiClustersNodepoolsPatchRequest
- type ApiClustersNodepoolsPostRequest
- type ApiClustersPatchRequest
- type ApiClustersPostRequest
- type ApiVersionsGetRequest
- type AvailabilityZone
- type Cluster
- func (o *Cluster) GetDataPlatformVersion() *string
- func (o *Cluster) GetDataPlatformVersionOk() (*string, bool)
- func (o *Cluster) GetDatacenterId() *string
- func (o *Cluster) GetDatacenterIdOk() (*string, bool)
- func (o *Cluster) GetMaintenanceWindow() *MaintenanceWindow
- func (o *Cluster) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *Cluster) GetName() *string
- func (o *Cluster) GetNameOk() (*string, bool)
- func (o *Cluster) HasDataPlatformVersion() bool
- func (o *Cluster) HasDatacenterId() bool
- func (o *Cluster) HasMaintenanceWindow() bool
- func (o *Cluster) HasName() bool
- func (o Cluster) MarshalJSON() ([]byte, error)
- func (o *Cluster) SetDataPlatformVersion(v string)
- func (o *Cluster) SetDatacenterId(v string)
- func (o *Cluster) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *Cluster) SetName(v string)
- type ClusterListResponseData
- func (o *ClusterListResponseData) GetHref() *string
- func (o *ClusterListResponseData) GetHrefOk() (*string, bool)
- func (o *ClusterListResponseData) GetId() *string
- func (o *ClusterListResponseData) GetIdOk() (*string, bool)
- func (o *ClusterListResponseData) GetItems() *[]ClusterResponseData
- func (o *ClusterListResponseData) GetItemsOk() (*[]ClusterResponseData, bool)
- func (o *ClusterListResponseData) GetType() *string
- func (o *ClusterListResponseData) GetTypeOk() (*string, bool)
- func (o *ClusterListResponseData) HasHref() bool
- func (o *ClusterListResponseData) HasId() bool
- func (o *ClusterListResponseData) HasItems() bool
- func (o *ClusterListResponseData) HasType() bool
- func (o ClusterListResponseData) MarshalJSON() ([]byte, error)
- func (o *ClusterListResponseData) SetHref(v string)
- func (o *ClusterListResponseData) SetId(v string)
- func (o *ClusterListResponseData) SetItems(v []ClusterResponseData)
- func (o *ClusterListResponseData) SetType(v string)
- type ClusterResponseData
- func (o *ClusterResponseData) GetHref() *string
- func (o *ClusterResponseData) GetHrefOk() (*string, bool)
- func (o *ClusterResponseData) GetId() *string
- func (o *ClusterResponseData) GetIdOk() (*string, bool)
- func (o *ClusterResponseData) GetMetadata() *Metadata
- func (o *ClusterResponseData) GetMetadataOk() (*Metadata, bool)
- func (o *ClusterResponseData) GetProperties() *Cluster
- func (o *ClusterResponseData) GetPropertiesOk() (*Cluster, bool)
- func (o *ClusterResponseData) GetType() *string
- func (o *ClusterResponseData) GetTypeOk() (*string, bool)
- func (o *ClusterResponseData) HasHref() bool
- func (o *ClusterResponseData) HasId() bool
- func (o *ClusterResponseData) HasMetadata() bool
- func (o *ClusterResponseData) HasProperties() bool
- func (o *ClusterResponseData) HasType() bool
- func (o ClusterResponseData) MarshalJSON() ([]byte, error)
- func (o *ClusterResponseData) SetHref(v string)
- func (o *ClusterResponseData) SetId(v string)
- func (o *ClusterResponseData) SetMetadata(v Metadata)
- func (o *ClusterResponseData) SetProperties(v Cluster)
- func (o *ClusterResponseData) SetType(v string)
- type CreateClusterProperties
- func (o *CreateClusterProperties) GetDataPlatformVersion() *string
- func (o *CreateClusterProperties) GetDataPlatformVersionOk() (*string, bool)
- func (o *CreateClusterProperties) GetDatacenterId() *string
- func (o *CreateClusterProperties) GetDatacenterIdOk() (*string, bool)
- func (o *CreateClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
- func (o *CreateClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *CreateClusterProperties) GetName() *string
- func (o *CreateClusterProperties) GetNameOk() (*string, bool)
- func (o *CreateClusterProperties) HasDataPlatformVersion() bool
- func (o *CreateClusterProperties) HasDatacenterId() bool
- func (o *CreateClusterProperties) HasMaintenanceWindow() bool
- func (o *CreateClusterProperties) HasName() bool
- func (o CreateClusterProperties) MarshalJSON() ([]byte, error)
- func (o *CreateClusterProperties) SetDataPlatformVersion(v string)
- func (o *CreateClusterProperties) SetDatacenterId(v string)
- func (o *CreateClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *CreateClusterProperties) SetName(v string)
- type CreateClusterRequest
- func (o *CreateClusterRequest) GetProperties() *CreateClusterProperties
- func (o *CreateClusterRequest) GetPropertiesOk() (*CreateClusterProperties, bool)
- func (o *CreateClusterRequest) HasProperties() bool
- func (o CreateClusterRequest) MarshalJSON() ([]byte, error)
- func (o *CreateClusterRequest) SetProperties(v CreateClusterProperties)
- type CreateNodePoolProperties
- func (o *CreateNodePoolProperties) GetAnnotations() *map[string]interface{}
- func (o *CreateNodePoolProperties) GetAnnotationsOk() (*map[string]interface{}, bool)
- func (o *CreateNodePoolProperties) GetAvailabilityZone() *AvailabilityZone
- func (o *CreateNodePoolProperties) GetAvailabilityZoneOk() (*AvailabilityZone, bool)
- func (o *CreateNodePoolProperties) GetCoresCount() *int32
- func (o *CreateNodePoolProperties) GetCoresCountOk() (*int32, bool)
- func (o *CreateNodePoolProperties) GetCpuFamily() *string
- func (o *CreateNodePoolProperties) GetCpuFamilyOk() (*string, bool)
- func (o *CreateNodePoolProperties) GetLabels() *map[string]interface{}
- func (o *CreateNodePoolProperties) GetLabelsOk() (*map[string]interface{}, bool)
- func (o *CreateNodePoolProperties) GetMaintenanceWindow() *MaintenanceWindow
- func (o *CreateNodePoolProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *CreateNodePoolProperties) GetName() *string
- func (o *CreateNodePoolProperties) GetNameOk() (*string, bool)
- func (o *CreateNodePoolProperties) GetNodeCount() *int32
- func (o *CreateNodePoolProperties) GetNodeCountOk() (*int32, bool)
- func (o *CreateNodePoolProperties) GetRamSize() *int32
- func (o *CreateNodePoolProperties) GetRamSizeOk() (*int32, bool)
- func (o *CreateNodePoolProperties) GetStorageSize() *int32
- func (o *CreateNodePoolProperties) GetStorageSizeOk() (*int32, bool)
- func (o *CreateNodePoolProperties) GetStorageType() *StorageType
- func (o *CreateNodePoolProperties) GetStorageTypeOk() (*StorageType, bool)
- func (o *CreateNodePoolProperties) HasAnnotations() bool
- func (o *CreateNodePoolProperties) HasAvailabilityZone() bool
- func (o *CreateNodePoolProperties) HasCoresCount() bool
- func (o *CreateNodePoolProperties) HasCpuFamily() bool
- func (o *CreateNodePoolProperties) HasLabels() bool
- func (o *CreateNodePoolProperties) HasMaintenanceWindow() bool
- func (o *CreateNodePoolProperties) HasName() bool
- func (o *CreateNodePoolProperties) HasNodeCount() bool
- func (o *CreateNodePoolProperties) HasRamSize() bool
- func (o *CreateNodePoolProperties) HasStorageSize() bool
- func (o *CreateNodePoolProperties) HasStorageType() bool
- func (o CreateNodePoolProperties) MarshalJSON() ([]byte, error)
- func (o *CreateNodePoolProperties) SetAnnotations(v map[string]interface{})
- func (o *CreateNodePoolProperties) SetAvailabilityZone(v AvailabilityZone)
- func (o *CreateNodePoolProperties) SetCoresCount(v int32)
- func (o *CreateNodePoolProperties) SetCpuFamily(v string)
- func (o *CreateNodePoolProperties) SetLabels(v map[string]interface{})
- func (o *CreateNodePoolProperties) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *CreateNodePoolProperties) SetName(v string)
- func (o *CreateNodePoolProperties) SetNodeCount(v int32)
- func (o *CreateNodePoolProperties) SetRamSize(v int32)
- func (o *CreateNodePoolProperties) SetStorageSize(v int32)
- func (o *CreateNodePoolProperties) SetStorageType(v StorageType)
- type CreateNodePoolRequest
- func (o *CreateNodePoolRequest) GetProperties() *CreateNodePoolProperties
- func (o *CreateNodePoolRequest) GetPropertiesOk() (*CreateNodePoolProperties, bool)
- func (o *CreateNodePoolRequest) HasProperties() bool
- func (o CreateNodePoolRequest) MarshalJSON() ([]byte, error)
- func (o *CreateNodePoolRequest) SetProperties(v CreateNodePoolProperties)
- type DataPlatformClusterApiService
- func (a *DataPlatformClusterApiService) ClustersDelete(ctx _context.Context, clusterId string) ApiClustersDeleteRequest
- func (a *DataPlatformClusterApiService) ClustersDeleteExecute(r ApiClustersDeleteRequest) (ClusterResponseData, *shared.APIResponse, error)
- func (a *DataPlatformClusterApiService) ClustersFindById(ctx _context.Context, clusterId string) ApiClustersFindByIdRequest
- func (a *DataPlatformClusterApiService) ClustersFindByIdExecute(r ApiClustersFindByIdRequest) (ClusterResponseData, *shared.APIResponse, error)
- func (a *DataPlatformClusterApiService) ClustersGet(ctx _context.Context) ApiClustersGetRequest
- func (a *DataPlatformClusterApiService) ClustersGetExecute(r ApiClustersGetRequest) (ClusterListResponseData, *shared.APIResponse, error)
- func (a *DataPlatformClusterApiService) ClustersKubeconfigFindByClusterId(ctx _context.Context, clusterId string) ApiClustersKubeconfigFindByClusterIdRequest
- func (a *DataPlatformClusterApiService) ClustersKubeconfigFindByClusterIdExecute(r ApiClustersKubeconfigFindByClusterIdRequest) (map[string]interface{}, *shared.APIResponse, error)
- func (a *DataPlatformClusterApiService) ClustersPatch(ctx _context.Context, clusterId string) ApiClustersPatchRequest
- func (a *DataPlatformClusterApiService) ClustersPatchExecute(r ApiClustersPatchRequest) (ClusterResponseData, *shared.APIResponse, error)
- func (a *DataPlatformClusterApiService) ClustersPost(ctx _context.Context) ApiClustersPostRequest
- func (a *DataPlatformClusterApiService) ClustersPostExecute(r ApiClustersPostRequest) (ClusterResponseData, *shared.APIResponse, error)
- type DataPlatformMetaDataApiService
- type DataPlatformNodePoolApiService
- func (a *DataPlatformNodePoolApiService) ClustersNodepoolsDelete(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsDeleteRequest
- func (a *DataPlatformNodePoolApiService) ClustersNodepoolsDeleteExecute(r ApiClustersNodepoolsDeleteRequest) (NodePoolResponseData, *shared.APIResponse, error)
- func (a *DataPlatformNodePoolApiService) ClustersNodepoolsFindById(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsFindByIdRequest
- func (a *DataPlatformNodePoolApiService) ClustersNodepoolsFindByIdExecute(r ApiClustersNodepoolsFindByIdRequest) (NodePoolResponseData, *shared.APIResponse, error)
- func (a *DataPlatformNodePoolApiService) ClustersNodepoolsGet(ctx _context.Context, clusterId string) ApiClustersNodepoolsGetRequest
- func (a *DataPlatformNodePoolApiService) ClustersNodepoolsGetExecute(r ApiClustersNodepoolsGetRequest) (NodePoolListResponseData, *shared.APIResponse, error)
- func (a *DataPlatformNodePoolApiService) ClustersNodepoolsPatch(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsPatchRequest
- func (a *DataPlatformNodePoolApiService) ClustersNodepoolsPatchExecute(r ApiClustersNodepoolsPatchRequest) (NodePoolResponseData, *shared.APIResponse, error)
- func (a *DataPlatformNodePoolApiService) ClustersNodepoolsPost(ctx _context.Context, clusterId string) ApiClustersNodepoolsPostRequest
- func (a *DataPlatformNodePoolApiService) ClustersNodepoolsPostExecute(r ApiClustersNodepoolsPostRequest) (NodePoolResponseData, *shared.APIResponse, error)
- type ErrorMessage
- func (o *ErrorMessage) GetErrorCode() *string
- func (o *ErrorMessage) GetErrorCodeOk() (*string, bool)
- func (o *ErrorMessage) GetMessage() *string
- func (o *ErrorMessage) GetMessageOk() (*string, bool)
- func (o *ErrorMessage) HasErrorCode() bool
- func (o *ErrorMessage) HasMessage() bool
- func (o ErrorMessage) MarshalJSON() ([]byte, error)
- func (o *ErrorMessage) SetErrorCode(v string)
- func (o *ErrorMessage) SetMessage(v string)
- type ErrorResponse
- func (o *ErrorResponse) GetHttpStatus() *int32
- func (o *ErrorResponse) GetHttpStatusOk() (*int32, bool)
- func (o *ErrorResponse) GetMessages() *[]ErrorMessage
- func (o *ErrorResponse) GetMessagesOk() (*[]ErrorMessage, bool)
- func (o *ErrorResponse) HasHttpStatus() bool
- func (o *ErrorResponse) HasMessages() bool
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetHttpStatus(v int32)
- func (o *ErrorResponse) SetMessages(v []ErrorMessage)
- type IonosTime
- type MaintenanceWindow
- func (o *MaintenanceWindow) GetDayOfTheWeek() *string
- func (o *MaintenanceWindow) GetDayOfTheWeekOk() (*string, bool)
- func (o *MaintenanceWindow) GetTime() *string
- func (o *MaintenanceWindow) GetTimeOk() (*string, bool)
- func (o *MaintenanceWindow) HasDayOfTheWeek() bool
- func (o *MaintenanceWindow) HasTime() bool
- func (o MaintenanceWindow) MarshalJSON() ([]byte, error)
- func (o *MaintenanceWindow) SetDayOfTheWeek(v string)
- func (o *MaintenanceWindow) SetTime(v string)
- type Metadata
- func (o *Metadata) GetAvailableUpgradeVersions() *[]string
- func (o *Metadata) GetAvailableUpgradeVersionsOk() (*[]string, bool)
- func (o *Metadata) GetCreatedBy() *string
- func (o *Metadata) GetCreatedByOk() (*string, bool)
- func (o *Metadata) GetCreatedByUserId() *string
- func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)
- func (o *Metadata) GetCreatedDate() *time.Time
- func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *Metadata) GetCreatedInContractNumber() *string
- func (o *Metadata) GetCreatedInContractNumberOk() (*string, bool)
- func (o *Metadata) GetCurrentDataPlatformRevision() *int64
- func (o *Metadata) GetCurrentDataPlatformRevisionOk() (*int64, bool)
- func (o *Metadata) GetCurrentDataPlatformVersion() *string
- func (o *Metadata) GetCurrentDataPlatformVersionOk() (*string, bool)
- func (o *Metadata) GetETag() *string
- func (o *Metadata) GetETagOk() (*string, bool)
- func (o *Metadata) GetLastModifiedBy() *string
- func (o *Metadata) GetLastModifiedByOk() (*string, bool)
- func (o *Metadata) GetLastModifiedByUserId() *string
- func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)
- func (o *Metadata) GetLastModifiedDate() *time.Time
- func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *Metadata) GetState() *string
- func (o *Metadata) GetStateOk() (*string, bool)
- func (o *Metadata) HasAvailableUpgradeVersions() bool
- func (o *Metadata) HasCreatedBy() bool
- func (o *Metadata) HasCreatedByUserId() bool
- func (o *Metadata) HasCreatedDate() bool
- func (o *Metadata) HasCreatedInContractNumber() bool
- func (o *Metadata) HasCurrentDataPlatformRevision() bool
- func (o *Metadata) HasCurrentDataPlatformVersion() bool
- func (o *Metadata) HasETag() bool
- func (o *Metadata) HasLastModifiedBy() bool
- func (o *Metadata) HasLastModifiedByUserId() bool
- func (o *Metadata) HasLastModifiedDate() bool
- func (o *Metadata) HasState() bool
- func (o Metadata) MarshalJSON() ([]byte, error)
- func (o *Metadata) SetAvailableUpgradeVersions(v []string)
- func (o *Metadata) SetCreatedBy(v string)
- func (o *Metadata) SetCreatedByUserId(v string)
- func (o *Metadata) SetCreatedDate(v time.Time)
- func (o *Metadata) SetCreatedInContractNumber(v string)
- func (o *Metadata) SetCurrentDataPlatformRevision(v int64)
- func (o *Metadata) SetCurrentDataPlatformVersion(v string)
- func (o *Metadata) SetETag(v string)
- func (o *Metadata) SetLastModifiedBy(v string)
- func (o *Metadata) SetLastModifiedByUserId(v string)
- func (o *Metadata) SetLastModifiedDate(v time.Time)
- func (o *Metadata) SetState(v string)
- type NodePool
- func (o *NodePool) GetAnnotations() *map[string]interface{}
- func (o *NodePool) GetAnnotationsOk() (*map[string]interface{}, bool)
- func (o *NodePool) GetAvailabilityZone() *AvailabilityZone
- func (o *NodePool) GetAvailabilityZoneOk() (*AvailabilityZone, bool)
- func (o *NodePool) GetCoresCount() *int32
- func (o *NodePool) GetCoresCountOk() (*int32, bool)
- func (o *NodePool) GetCpuFamily() *string
- func (o *NodePool) GetCpuFamilyOk() (*string, bool)
- func (o *NodePool) GetDataPlatformVersion() *string
- func (o *NodePool) GetDataPlatformVersionOk() (*string, bool)
- func (o *NodePool) GetDatacenterId() *string
- func (o *NodePool) GetDatacenterIdOk() (*string, bool)
- func (o *NodePool) GetLabels() *map[string]interface{}
- func (o *NodePool) GetLabelsOk() (*map[string]interface{}, bool)
- func (o *NodePool) GetMaintenanceWindow() *MaintenanceWindow
- func (o *NodePool) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *NodePool) GetName() *string
- func (o *NodePool) GetNameOk() (*string, bool)
- func (o *NodePool) GetNodeCount() *int32
- func (o *NodePool) GetNodeCountOk() (*int32, bool)
- func (o *NodePool) GetRamSize() *int32
- func (o *NodePool) GetRamSizeOk() (*int32, bool)
- func (o *NodePool) GetStorageSize() *int32
- func (o *NodePool) GetStorageSizeOk() (*int32, bool)
- func (o *NodePool) GetStorageType() *StorageType
- func (o *NodePool) GetStorageTypeOk() (*StorageType, bool)
- func (o *NodePool) HasAnnotations() bool
- func (o *NodePool) HasAvailabilityZone() bool
- func (o *NodePool) HasCoresCount() bool
- func (o *NodePool) HasCpuFamily() bool
- func (o *NodePool) HasDataPlatformVersion() bool
- func (o *NodePool) HasDatacenterId() bool
- func (o *NodePool) HasLabels() bool
- func (o *NodePool) HasMaintenanceWindow() bool
- func (o *NodePool) HasName() bool
- func (o *NodePool) HasNodeCount() bool
- func (o *NodePool) HasRamSize() bool
- func (o *NodePool) HasStorageSize() bool
- func (o *NodePool) HasStorageType() bool
- func (o NodePool) MarshalJSON() ([]byte, error)
- func (o *NodePool) SetAnnotations(v map[string]interface{})
- func (o *NodePool) SetAvailabilityZone(v AvailabilityZone)
- func (o *NodePool) SetCoresCount(v int32)
- func (o *NodePool) SetCpuFamily(v string)
- func (o *NodePool) SetDataPlatformVersion(v string)
- func (o *NodePool) SetDatacenterId(v string)
- func (o *NodePool) SetLabels(v map[string]interface{})
- func (o *NodePool) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *NodePool) SetName(v string)
- func (o *NodePool) SetNodeCount(v int32)
- func (o *NodePool) SetRamSize(v int32)
- func (o *NodePool) SetStorageSize(v int32)
- func (o *NodePool) SetStorageType(v StorageType)
- type NodePoolListResponseData
- func (o *NodePoolListResponseData) GetHref() *string
- func (o *NodePoolListResponseData) GetHrefOk() (*string, bool)
- func (o *NodePoolListResponseData) GetId() *string
- func (o *NodePoolListResponseData) GetIdOk() (*string, bool)
- func (o *NodePoolListResponseData) GetItems() *[]NodePoolResponseData
- func (o *NodePoolListResponseData) GetItemsOk() (*[]NodePoolResponseData, bool)
- func (o *NodePoolListResponseData) GetType() *string
- func (o *NodePoolListResponseData) GetTypeOk() (*string, bool)
- func (o *NodePoolListResponseData) HasHref() bool
- func (o *NodePoolListResponseData) HasId() bool
- func (o *NodePoolListResponseData) HasItems() bool
- func (o *NodePoolListResponseData) HasType() bool
- func (o NodePoolListResponseData) MarshalJSON() ([]byte, error)
- func (o *NodePoolListResponseData) SetHref(v string)
- func (o *NodePoolListResponseData) SetId(v string)
- func (o *NodePoolListResponseData) SetItems(v []NodePoolResponseData)
- func (o *NodePoolListResponseData) SetType(v string)
- type NodePoolResponseData
- func (o *NodePoolResponseData) GetHref() *string
- func (o *NodePoolResponseData) GetHrefOk() (*string, bool)
- func (o *NodePoolResponseData) GetId() *string
- func (o *NodePoolResponseData) GetIdOk() (*string, bool)
- func (o *NodePoolResponseData) GetMetadata() *Metadata
- func (o *NodePoolResponseData) GetMetadataOk() (*Metadata, bool)
- func (o *NodePoolResponseData) GetProperties() *NodePool
- func (o *NodePoolResponseData) GetPropertiesOk() (*NodePool, bool)
- func (o *NodePoolResponseData) GetType() *string
- func (o *NodePoolResponseData) GetTypeOk() (*string, bool)
- func (o *NodePoolResponseData) HasHref() bool
- func (o *NodePoolResponseData) HasId() bool
- func (o *NodePoolResponseData) HasMetadata() bool
- func (o *NodePoolResponseData) HasProperties() bool
- func (o *NodePoolResponseData) HasType() bool
- func (o NodePoolResponseData) MarshalJSON() ([]byte, error)
- func (o *NodePoolResponseData) SetHref(v string)
- func (o *NodePoolResponseData) SetId(v string)
- func (o *NodePoolResponseData) SetMetadata(v Metadata)
- func (o *NodePoolResponseData) SetProperties(v NodePool)
- func (o *NodePoolResponseData) SetType(v string)
- type NullableAvailabilityZone
- func (v NullableAvailabilityZone) Get() *AvailabilityZone
- func (v NullableAvailabilityZone) IsSet() bool
- func (v NullableAvailabilityZone) MarshalJSON() ([]byte, error)
- func (v *NullableAvailabilityZone) Set(val *AvailabilityZone)
- func (v *NullableAvailabilityZone) UnmarshalJSON(src []byte) error
- func (v *NullableAvailabilityZone) Unset()
- type NullableCluster
- type NullableClusterListResponseData
- func (v NullableClusterListResponseData) Get() *ClusterListResponseData
- func (v NullableClusterListResponseData) IsSet() bool
- func (v NullableClusterListResponseData) MarshalJSON() ([]byte, error)
- func (v *NullableClusterListResponseData) Set(val *ClusterListResponseData)
- func (v *NullableClusterListResponseData) UnmarshalJSON(src []byte) error
- func (v *NullableClusterListResponseData) Unset()
- type NullableClusterResponseData
- func (v NullableClusterResponseData) Get() *ClusterResponseData
- func (v NullableClusterResponseData) IsSet() bool
- func (v NullableClusterResponseData) MarshalJSON() ([]byte, error)
- func (v *NullableClusterResponseData) Set(val *ClusterResponseData)
- func (v *NullableClusterResponseData) UnmarshalJSON(src []byte) error
- func (v *NullableClusterResponseData) Unset()
- type NullableCreateClusterProperties
- func (v NullableCreateClusterProperties) Get() *CreateClusterProperties
- func (v NullableCreateClusterProperties) IsSet() bool
- func (v NullableCreateClusterProperties) MarshalJSON() ([]byte, error)
- func (v *NullableCreateClusterProperties) Set(val *CreateClusterProperties)
- func (v *NullableCreateClusterProperties) UnmarshalJSON(src []byte) error
- func (v *NullableCreateClusterProperties) 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 NullableCreateNodePoolProperties
- func (v NullableCreateNodePoolProperties) Get() *CreateNodePoolProperties
- func (v NullableCreateNodePoolProperties) IsSet() bool
- func (v NullableCreateNodePoolProperties) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNodePoolProperties) Set(val *CreateNodePoolProperties)
- func (v *NullableCreateNodePoolProperties) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNodePoolProperties) Unset()
- type NullableCreateNodePoolRequest
- func (v NullableCreateNodePoolRequest) Get() *CreateNodePoolRequest
- func (v NullableCreateNodePoolRequest) IsSet() bool
- func (v NullableCreateNodePoolRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNodePoolRequest) Set(val *CreateNodePoolRequest)
- func (v *NullableCreateNodePoolRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNodePoolRequest) Unset()
- type NullableErrorMessage
- func (v NullableErrorMessage) Get() *ErrorMessage
- func (v NullableErrorMessage) IsSet() bool
- func (v NullableErrorMessage) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessage) Set(val *ErrorMessage)
- func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessage) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableMaintenanceWindow
- func (v NullableMaintenanceWindow) Get() *MaintenanceWindow
- func (v NullableMaintenanceWindow) IsSet() bool
- func (v NullableMaintenanceWindow) MarshalJSON() ([]byte, error)
- func (v *NullableMaintenanceWindow) Set(val *MaintenanceWindow)
- func (v *NullableMaintenanceWindow) UnmarshalJSON(src []byte) error
- func (v *NullableMaintenanceWindow) Unset()
- type NullableMetadata
- type NullableNodePool
- type NullableNodePoolListResponseData
- func (v NullableNodePoolListResponseData) Get() *NodePoolListResponseData
- func (v NullableNodePoolListResponseData) IsSet() bool
- func (v NullableNodePoolListResponseData) MarshalJSON() ([]byte, error)
- func (v *NullableNodePoolListResponseData) Set(val *NodePoolListResponseData)
- func (v *NullableNodePoolListResponseData) UnmarshalJSON(src []byte) error
- func (v *NullableNodePoolListResponseData) Unset()
- type NullableNodePoolResponseData
- func (v NullableNodePoolResponseData) Get() *NodePoolResponseData
- func (v NullableNodePoolResponseData) IsSet() bool
- func (v NullableNodePoolResponseData) MarshalJSON() ([]byte, error)
- func (v *NullableNodePoolResponseData) Set(val *NodePoolResponseData)
- func (v *NullableNodePoolResponseData) UnmarshalJSON(src []byte) error
- func (v *NullableNodePoolResponseData) Unset()
- type NullablePatchClusterProperties
- func (v NullablePatchClusterProperties) Get() *PatchClusterProperties
- func (v NullablePatchClusterProperties) IsSet() bool
- func (v NullablePatchClusterProperties) MarshalJSON() ([]byte, error)
- func (v *NullablePatchClusterProperties) Set(val *PatchClusterProperties)
- func (v *NullablePatchClusterProperties) UnmarshalJSON(src []byte) error
- func (v *NullablePatchClusterProperties) Unset()
- type NullablePatchClusterRequest
- func (v NullablePatchClusterRequest) Get() *PatchClusterRequest
- func (v NullablePatchClusterRequest) IsSet() bool
- func (v NullablePatchClusterRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchClusterRequest) Set(val *PatchClusterRequest)
- func (v *NullablePatchClusterRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchClusterRequest) Unset()
- type NullablePatchNodePoolProperties
- func (v NullablePatchNodePoolProperties) Get() *PatchNodePoolProperties
- func (v NullablePatchNodePoolProperties) IsSet() bool
- func (v NullablePatchNodePoolProperties) MarshalJSON() ([]byte, error)
- func (v *NullablePatchNodePoolProperties) Set(val *PatchNodePoolProperties)
- func (v *NullablePatchNodePoolProperties) UnmarshalJSON(src []byte) error
- func (v *NullablePatchNodePoolProperties) Unset()
- type NullablePatchNodePoolRequest
- func (v NullablePatchNodePoolRequest) Get() *PatchNodePoolRequest
- func (v NullablePatchNodePoolRequest) IsSet() bool
- func (v NullablePatchNodePoolRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchNodePoolRequest) Set(val *PatchNodePoolRequest)
- func (v *NullablePatchNodePoolRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchNodePoolRequest) Unset()
- type NullableStorageType
- func (v NullableStorageType) Get() *StorageType
- func (v NullableStorageType) IsSet() bool
- func (v NullableStorageType) MarshalJSON() ([]byte, error)
- func (v *NullableStorageType) Set(val *StorageType)
- func (v *NullableStorageType) UnmarshalJSON(src []byte) error
- func (v *NullableStorageType) Unset()
- type PatchClusterProperties
- func (o *PatchClusterProperties) GetDataPlatformVersion() *string
- func (o *PatchClusterProperties) GetDataPlatformVersionOk() (*string, bool)
- func (o *PatchClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
- func (o *PatchClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *PatchClusterProperties) GetName() *string
- func (o *PatchClusterProperties) GetNameOk() (*string, bool)
- func (o *PatchClusterProperties) HasDataPlatformVersion() bool
- func (o *PatchClusterProperties) HasMaintenanceWindow() bool
- func (o *PatchClusterProperties) HasName() bool
- func (o PatchClusterProperties) MarshalJSON() ([]byte, error)
- func (o *PatchClusterProperties) SetDataPlatformVersion(v string)
- func (o *PatchClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *PatchClusterProperties) SetName(v string)
- type PatchClusterRequest
- func (o *PatchClusterRequest) GetProperties() *PatchClusterProperties
- func (o *PatchClusterRequest) GetPropertiesOk() (*PatchClusterProperties, bool)
- func (o *PatchClusterRequest) HasProperties() bool
- func (o PatchClusterRequest) MarshalJSON() ([]byte, error)
- func (o *PatchClusterRequest) SetProperties(v PatchClusterProperties)
- type PatchNodePoolProperties
- func (o *PatchNodePoolProperties) GetAnnotations() *map[string]interface{}
- func (o *PatchNodePoolProperties) GetAnnotationsOk() (*map[string]interface{}, bool)
- func (o *PatchNodePoolProperties) GetLabels() *map[string]interface{}
- func (o *PatchNodePoolProperties) GetLabelsOk() (*map[string]interface{}, bool)
- func (o *PatchNodePoolProperties) GetMaintenanceWindow() *MaintenanceWindow
- func (o *PatchNodePoolProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
- func (o *PatchNodePoolProperties) GetNodeCount() *int32
- func (o *PatchNodePoolProperties) GetNodeCountOk() (*int32, bool)
- func (o *PatchNodePoolProperties) HasAnnotations() bool
- func (o *PatchNodePoolProperties) HasLabels() bool
- func (o *PatchNodePoolProperties) HasMaintenanceWindow() bool
- func (o *PatchNodePoolProperties) HasNodeCount() bool
- func (o PatchNodePoolProperties) MarshalJSON() ([]byte, error)
- func (o *PatchNodePoolProperties) SetAnnotations(v map[string]interface{})
- func (o *PatchNodePoolProperties) SetLabels(v map[string]interface{})
- func (o *PatchNodePoolProperties) SetMaintenanceWindow(v MaintenanceWindow)
- func (o *PatchNodePoolProperties) SetNodeCount(v int32)
- type PatchNodePoolRequest
- func (o *PatchNodePoolRequest) GetProperties() *PatchNodePoolProperties
- func (o *PatchNodePoolRequest) GetPropertiesOk() (*PatchNodePoolProperties, bool)
- func (o *PatchNodePoolRequest) HasProperties() bool
- func (o PatchNodePoolRequest) MarshalJSON() ([]byte, error)
- func (o *PatchNodePoolRequest) SetProperties(v PatchNodePoolProperties)
- type StorageType
- type TLSDial
Constants ¶
const ( RequestStatusQueued = "QUEUED" RequestStatusRunning = "RUNNING" RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" Version = "products/dataplatform/v0.1.1" )
Variables ¶
This section is empty.
Functions ¶
func AddPinnedCert ¶
AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport
Types ¶
type APIClient ¶
type APIClient struct { DataPlatformClusterApi *DataPlatformClusterApiService DataPlatformMetaDataApi *DataPlatformMetaDataApiService DataPlatformNodePoolApi *DataPlatformNodePoolApiService // contains filtered or unexported fields }
APIClient manages communication with the IONOS Cloud - Managed Stackable Data Platform API API v0.0.8 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *shared.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() *shared.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 ApiClustersDeleteRequest ¶ added in v0.1.1
type ApiClustersDeleteRequest struct { ApiService *DataPlatformClusterApiService // contains filtered or unexported fields }
func (ApiClustersDeleteRequest) Execute ¶ added in v0.1.1
func (r ApiClustersDeleteRequest) Execute() (ClusterResponseData, *shared.APIResponse, error)
type ApiClustersFindByIdRequest ¶ added in v0.1.1
type ApiClustersFindByIdRequest struct { ApiService *DataPlatformClusterApiService // contains filtered or unexported fields }
func (ApiClustersFindByIdRequest) Execute ¶ added in v0.1.1
func (r ApiClustersFindByIdRequest) Execute() (ClusterResponseData, *shared.APIResponse, error)
type ApiClustersGetRequest ¶ added in v0.1.1
type ApiClustersGetRequest struct { ApiService *DataPlatformClusterApiService // contains filtered or unexported fields }
func (ApiClustersGetRequest) Execute ¶ added in v0.1.1
func (r ApiClustersGetRequest) Execute() (ClusterListResponseData, *shared.APIResponse, error)
func (ApiClustersGetRequest) Name ¶ added in v0.1.1
func (r ApiClustersGetRequest) Name(name string) ApiClustersGetRequest
type ApiClustersKubeconfigFindByClusterIdRequest ¶ added in v0.1.1
type ApiClustersKubeconfigFindByClusterIdRequest struct { ApiService *DataPlatformClusterApiService // contains filtered or unexported fields }
func (ApiClustersKubeconfigFindByClusterIdRequest) Execute ¶ added in v0.1.1
func (r ApiClustersKubeconfigFindByClusterIdRequest) Execute() (map[string]interface{}, *shared.APIResponse, error)
type ApiClustersNodepoolsDeleteRequest ¶ added in v0.1.1
type ApiClustersNodepoolsDeleteRequest struct { ApiService *DataPlatformNodePoolApiService // contains filtered or unexported fields }
func (ApiClustersNodepoolsDeleteRequest) Execute ¶ added in v0.1.1
func (r ApiClustersNodepoolsDeleteRequest) Execute() (NodePoolResponseData, *shared.APIResponse, error)
type ApiClustersNodepoolsFindByIdRequest ¶ added in v0.1.1
type ApiClustersNodepoolsFindByIdRequest struct { ApiService *DataPlatformNodePoolApiService // contains filtered or unexported fields }
func (ApiClustersNodepoolsFindByIdRequest) Execute ¶ added in v0.1.1
func (r ApiClustersNodepoolsFindByIdRequest) Execute() (NodePoolResponseData, *shared.APIResponse, error)
type ApiClustersNodepoolsGetRequest ¶ added in v0.1.1
type ApiClustersNodepoolsGetRequest struct { ApiService *DataPlatformNodePoolApiService // contains filtered or unexported fields }
func (ApiClustersNodepoolsGetRequest) Execute ¶ added in v0.1.1
func (r ApiClustersNodepoolsGetRequest) Execute() (NodePoolListResponseData, *shared.APIResponse, error)
type ApiClustersNodepoolsPatchRequest ¶ added in v0.1.1
type ApiClustersNodepoolsPatchRequest struct { ApiService *DataPlatformNodePoolApiService // contains filtered or unexported fields }
func (ApiClustersNodepoolsPatchRequest) Execute ¶ added in v0.1.1
func (r ApiClustersNodepoolsPatchRequest) Execute() (NodePoolResponseData, *shared.APIResponse, error)
func (ApiClustersNodepoolsPatchRequest) PatchNodePoolRequest ¶ added in v0.1.1
func (r ApiClustersNodepoolsPatchRequest) PatchNodePoolRequest(patchNodePoolRequest PatchNodePoolRequest) ApiClustersNodepoolsPatchRequest
type ApiClustersNodepoolsPostRequest ¶ added in v0.1.1
type ApiClustersNodepoolsPostRequest struct { ApiService *DataPlatformNodePoolApiService // contains filtered or unexported fields }
func (ApiClustersNodepoolsPostRequest) CreateNodePoolRequest ¶ added in v0.1.1
func (r ApiClustersNodepoolsPostRequest) CreateNodePoolRequest(createNodePoolRequest CreateNodePoolRequest) ApiClustersNodepoolsPostRequest
func (ApiClustersNodepoolsPostRequest) Execute ¶ added in v0.1.1
func (r ApiClustersNodepoolsPostRequest) Execute() (NodePoolResponseData, *shared.APIResponse, error)
type ApiClustersPatchRequest ¶ added in v0.1.1
type ApiClustersPatchRequest struct { ApiService *DataPlatformClusterApiService // contains filtered or unexported fields }
func (ApiClustersPatchRequest) Execute ¶ added in v0.1.1
func (r ApiClustersPatchRequest) Execute() (ClusterResponseData, *shared.APIResponse, error)
func (ApiClustersPatchRequest) PatchClusterRequest ¶ added in v0.1.1
func (r ApiClustersPatchRequest) PatchClusterRequest(patchClusterRequest PatchClusterRequest) ApiClustersPatchRequest
type ApiClustersPostRequest ¶ added in v0.1.1
type ApiClustersPostRequest struct { ApiService *DataPlatformClusterApiService // contains filtered or unexported fields }
func (ApiClustersPostRequest) CreateClusterRequest ¶ added in v0.1.1
func (r ApiClustersPostRequest) CreateClusterRequest(createClusterRequest CreateClusterRequest) ApiClustersPostRequest
func (ApiClustersPostRequest) Execute ¶ added in v0.1.1
func (r ApiClustersPostRequest) Execute() (ClusterResponseData, *shared.APIResponse, error)
type ApiVersionsGetRequest ¶
type ApiVersionsGetRequest struct { ApiService *DataPlatformMetaDataApiService // contains filtered or unexported fields }
func (ApiVersionsGetRequest) Execute ¶
func (r ApiVersionsGetRequest) Execute() ([]string, *shared.APIResponse, error)
type AvailabilityZone ¶
type AvailabilityZone string
AvailabilityZone The availability zone of the virtual data center region where the node pool resources should be provisioned.
const ( AVAILABILITYZONE_AUTO AvailabilityZone = "AUTO" AVAILABILITYZONE_ZONE_1 AvailabilityZone = "ZONE_1" AVAILABILITYZONE_ZONE_2 AvailabilityZone = "ZONE_2" )
List of AvailabilityZone
func (AvailabilityZone) Ptr ¶
func (v AvailabilityZone) Ptr() *AvailabilityZone
Ptr returns reference to AvailabilityZone value
func (*AvailabilityZone) UnmarshalJSON ¶
func (v *AvailabilityZone) UnmarshalJSON(src []byte) error
type Cluster ¶
type Cluster struct { // The name of your cluster. Must be 63 characters or less and must begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. Name *string `json:"name,omitempty"` // The version of the data platform. DataPlatformVersion *string `json:"dataPlatformVersion,omitempty"` // The UUID of the virtual data center (VDC) the cluster is provisioned. DatacenterId *string `json:"datacenterId,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` }
Cluster A DataPlatformCluster
func NewCluster ¶
func NewCluster() *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) GetDataPlatformVersion ¶
GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned
func (*Cluster) GetDataPlatformVersionOk ¶
GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) GetDatacenterId ¶
GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned
func (*Cluster) GetDatacenterIdOk ¶
GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) GetMaintenanceWindow ¶
func (o *Cluster) GetMaintenanceWindow() *MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned
func (*Cluster) GetMaintenanceWindowOk ¶
func (o *Cluster) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) GetName ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*Cluster) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Cluster) HasDataPlatformVersion ¶
HasDataPlatformVersion returns a boolean if a field has been set.
func (*Cluster) HasDatacenterId ¶
HasDatacenterId returns a boolean if a field has been set.
func (*Cluster) HasMaintenanceWindow ¶
HasMaintenanceWindow returns a boolean if a field has been set.
func (Cluster) MarshalJSON ¶
func (*Cluster) SetDataPlatformVersion ¶
SetDataPlatformVersion sets field value
func (*Cluster) SetDatacenterId ¶
SetDatacenterId sets field value
func (*Cluster) SetMaintenanceWindow ¶
func (o *Cluster) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
type ClusterListResponseData ¶
type ClusterListResponseData struct { // The ID of a list of resources. Id *string `json:"id,omitempty"` Type *string `json:"type,omitempty"` Href *string `json:"href,omitempty"` Items *[]ClusterResponseData `json:"items"` }
ClusterListResponseData Data of a cluster list
func NewClusterListResponseData ¶
func NewClusterListResponseData(items []ClusterResponseData) *ClusterListResponseData
NewClusterListResponseData instantiates a new ClusterListResponseData 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 NewClusterListResponseDataWithDefaults ¶
func NewClusterListResponseDataWithDefaults() *ClusterListResponseData
NewClusterListResponseDataWithDefaults instantiates a new ClusterListResponseData 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 (*ClusterListResponseData) GetHref ¶
func (o *ClusterListResponseData) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterListResponseData) GetHrefOk ¶
func (o *ClusterListResponseData) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterListResponseData) GetId ¶
func (o *ClusterListResponseData) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterListResponseData) GetIdOk ¶
func (o *ClusterListResponseData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterListResponseData) GetItems ¶
func (o *ClusterListResponseData) GetItems() *[]ClusterResponseData
GetItems returns the Items field value If the value is explicit nil, the zero value for []ClusterResponseData will be returned
func (*ClusterListResponseData) GetItemsOk ¶
func (o *ClusterListResponseData) GetItemsOk() (*[]ClusterResponseData, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterListResponseData) GetType ¶
func (o *ClusterListResponseData) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterListResponseData) GetTypeOk ¶
func (o *ClusterListResponseData) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterListResponseData) HasHref ¶
func (o *ClusterListResponseData) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ClusterListResponseData) HasId ¶
func (o *ClusterListResponseData) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterListResponseData) HasItems ¶
func (o *ClusterListResponseData) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ClusterListResponseData) HasType ¶
func (o *ClusterListResponseData) HasType() bool
HasType returns a boolean if a field has been set.
func (ClusterListResponseData) MarshalJSON ¶
func (o ClusterListResponseData) MarshalJSON() ([]byte, error)
func (*ClusterListResponseData) SetHref ¶
func (o *ClusterListResponseData) SetHref(v string)
SetHref sets field value
func (*ClusterListResponseData) SetId ¶
func (o *ClusterListResponseData) SetId(v string)
SetId sets field value
func (*ClusterListResponseData) SetItems ¶
func (o *ClusterListResponseData) SetItems(v []ClusterResponseData)
SetItems sets field value
func (*ClusterListResponseData) SetType ¶
func (o *ClusterListResponseData) SetType(v string)
SetType sets field value
type ClusterResponseData ¶
type ClusterResponseData struct { // The unique ID of the resource. Must conform to the UUID format. Id *string `json:"id"` // The type of the resource. Type *string `json:"type,omitempty"` // URL to the object representation (absolute path). Href *string `json:"href,omitempty"` Metadata *Metadata `json:"metadata"` Properties *Cluster `json:"properties"` }
ClusterResponseData Data of a cluster
func NewClusterResponseData ¶
func NewClusterResponseData(id string, metadata Metadata, properties Cluster) *ClusterResponseData
NewClusterResponseData instantiates a new ClusterResponseData 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 NewClusterResponseDataWithDefaults ¶
func NewClusterResponseDataWithDefaults() *ClusterResponseData
NewClusterResponseDataWithDefaults instantiates a new ClusterResponseData 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 (*ClusterResponseData) GetHref ¶
func (o *ClusterResponseData) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterResponseData) GetHrefOk ¶
func (o *ClusterResponseData) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterResponseData) GetId ¶
func (o *ClusterResponseData) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterResponseData) GetIdOk ¶
func (o *ClusterResponseData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterResponseData) GetMetadata ¶
func (o *ClusterResponseData) GetMetadata() *Metadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned
func (*ClusterResponseData) GetMetadataOk ¶
func (o *ClusterResponseData) GetMetadataOk() (*Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterResponseData) GetProperties ¶
func (o *ClusterResponseData) GetProperties() *Cluster
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Cluster will be returned
func (*ClusterResponseData) GetPropertiesOk ¶
func (o *ClusterResponseData) GetPropertiesOk() (*Cluster, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterResponseData) GetType ¶
func (o *ClusterResponseData) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ClusterResponseData) GetTypeOk ¶
func (o *ClusterResponseData) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ClusterResponseData) HasHref ¶
func (o *ClusterResponseData) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ClusterResponseData) HasId ¶
func (o *ClusterResponseData) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterResponseData) HasMetadata ¶
func (o *ClusterResponseData) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ClusterResponseData) HasProperties ¶
func (o *ClusterResponseData) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*ClusterResponseData) HasType ¶
func (o *ClusterResponseData) HasType() bool
HasType returns a boolean if a field has been set.
func (ClusterResponseData) MarshalJSON ¶
func (o ClusterResponseData) MarshalJSON() ([]byte, error)
func (*ClusterResponseData) SetHref ¶
func (o *ClusterResponseData) SetHref(v string)
SetHref sets field value
func (*ClusterResponseData) SetId ¶
func (o *ClusterResponseData) SetId(v string)
SetId sets field value
func (*ClusterResponseData) SetMetadata ¶
func (o *ClusterResponseData) SetMetadata(v Metadata)
SetMetadata sets field value
func (*ClusterResponseData) SetProperties ¶
func (o *ClusterResponseData) SetProperties(v Cluster)
SetProperties sets field value
func (*ClusterResponseData) SetType ¶
func (o *ClusterResponseData) SetType(v string)
SetType sets field value
type CreateClusterProperties ¶
type CreateClusterProperties struct { // The name of your cluster. Must be 63 characters or less and must begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. Name *string `json:"name"` // The version of the data platform. DataPlatformVersion *string `json:"dataPlatformVersion,omitempty"` // The UUID of the virtual data center (VDC) the cluster is provisioned. DatacenterId *string `json:"datacenterId"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` }
CreateClusterProperties struct for CreateClusterProperties
func NewCreateClusterProperties ¶
func NewCreateClusterProperties(name string, datacenterId string) *CreateClusterProperties
NewCreateClusterProperties instantiates a new CreateClusterProperties 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 NewCreateClusterPropertiesWithDefaults ¶
func NewCreateClusterPropertiesWithDefaults() *CreateClusterProperties
NewCreateClusterPropertiesWithDefaults instantiates a new CreateClusterProperties 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 (*CreateClusterProperties) GetDataPlatformVersion ¶
func (o *CreateClusterProperties) GetDataPlatformVersion() *string
GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned
func (*CreateClusterProperties) GetDataPlatformVersionOk ¶
func (o *CreateClusterProperties) GetDataPlatformVersionOk() (*string, bool)
GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateClusterProperties) GetDatacenterId ¶
func (o *CreateClusterProperties) GetDatacenterId() *string
GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned
func (*CreateClusterProperties) GetDatacenterIdOk ¶
func (o *CreateClusterProperties) GetDatacenterIdOk() (*string, bool)
GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateClusterProperties) GetMaintenanceWindow ¶
func (o *CreateClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned
func (*CreateClusterProperties) GetMaintenanceWindowOk ¶
func (o *CreateClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateClusterProperties) GetName ¶
func (o *CreateClusterProperties) GetName() *string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*CreateClusterProperties) GetNameOk ¶
func (o *CreateClusterProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateClusterProperties) HasDataPlatformVersion ¶
func (o *CreateClusterProperties) HasDataPlatformVersion() bool
HasDataPlatformVersion returns a boolean if a field has been set.
func (*CreateClusterProperties) HasDatacenterId ¶
func (o *CreateClusterProperties) HasDatacenterId() bool
HasDatacenterId returns a boolean if a field has been set.
func (*CreateClusterProperties) HasMaintenanceWindow ¶
func (o *CreateClusterProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*CreateClusterProperties) HasName ¶
func (o *CreateClusterProperties) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateClusterProperties) MarshalJSON ¶
func (o CreateClusterProperties) MarshalJSON() ([]byte, error)
func (*CreateClusterProperties) SetDataPlatformVersion ¶
func (o *CreateClusterProperties) SetDataPlatformVersion(v string)
SetDataPlatformVersion sets field value
func (*CreateClusterProperties) SetDatacenterId ¶
func (o *CreateClusterProperties) SetDatacenterId(v string)
SetDatacenterId sets field value
func (*CreateClusterProperties) SetMaintenanceWindow ¶
func (o *CreateClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*CreateClusterProperties) SetName ¶
func (o *CreateClusterProperties) SetName(v string)
SetName sets field value
type CreateClusterRequest ¶
type CreateClusterRequest struct {
Properties *CreateClusterProperties `json:"properties"`
}
CreateClusterRequest Data to create a new DataPlatformCluster
func NewCreateClusterRequest ¶
func NewCreateClusterRequest(properties CreateClusterProperties) *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) GetProperties ¶
func (o *CreateClusterRequest) GetProperties() *CreateClusterProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for CreateClusterProperties will be returned
func (*CreateClusterRequest) GetPropertiesOk ¶
func (o *CreateClusterRequest) GetPropertiesOk() (*CreateClusterProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateClusterRequest) HasProperties ¶
func (o *CreateClusterRequest) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (CreateClusterRequest) MarshalJSON ¶
func (o CreateClusterRequest) MarshalJSON() ([]byte, error)
func (*CreateClusterRequest) SetProperties ¶
func (o *CreateClusterRequest) SetProperties(v CreateClusterProperties)
SetProperties sets field value
type CreateNodePoolProperties ¶
type CreateNodePoolProperties struct { // The name of your node pool. Must be 63 characters or less and must begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. Name *string `json:"name"` // The number of nodes that make up the node pool. NodeCount *int32 `json:"nodeCount"` // A valid CPU family name or `AUTO` if the platform shall choose the best fitting option. Available CPU architectures can be retrieved from the data center resource. CpuFamily *string `json:"cpuFamily,omitempty"` // The number of CPU cores per node. CoresCount *int32 `json:"coresCount,omitempty"` // The RAM size for one node in MB. Must be set in multiples of 1024 MB, with a minimum size is of 2048 MB. RamSize *int32 `json:"ramSize,omitempty"` AvailabilityZone *AvailabilityZone `json:"availabilityZone,omitempty"` StorageType *StorageType `json:"storageType,omitempty"` // The size of the volume in GB. The size must be greater than 10 GB. StorageSize *int32 `json:"storageSize,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` // Key-value pairs attached to the node pool resource as [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) Labels *map[string]interface{} `json:"labels,omitempty"` // Key-value pairs attached to node pool resource as [Kubernetes annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) Annotations *map[string]interface{} `json:"annotations,omitempty"` }
CreateNodePoolProperties struct for CreateNodePoolProperties
func NewCreateNodePoolProperties ¶
func NewCreateNodePoolProperties(name string, nodeCount int32) *CreateNodePoolProperties
NewCreateNodePoolProperties instantiates a new CreateNodePoolProperties 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 NewCreateNodePoolPropertiesWithDefaults ¶
func NewCreateNodePoolPropertiesWithDefaults() *CreateNodePoolProperties
NewCreateNodePoolPropertiesWithDefaults instantiates a new CreateNodePoolProperties 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 (*CreateNodePoolProperties) GetAnnotations ¶
func (o *CreateNodePoolProperties) GetAnnotations() *map[string]interface{}
GetAnnotations returns the Annotations field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*CreateNodePoolProperties) GetAnnotationsOk ¶
func (o *CreateNodePoolProperties) GetAnnotationsOk() (*map[string]interface{}, bool)
GetAnnotationsOk returns a tuple with the Annotations field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolProperties) GetAvailabilityZone ¶
func (o *CreateNodePoolProperties) GetAvailabilityZone() *AvailabilityZone
GetAvailabilityZone returns the AvailabilityZone field value If the value is explicit nil, the zero value for AvailabilityZone will be returned
func (*CreateNodePoolProperties) GetAvailabilityZoneOk ¶
func (o *CreateNodePoolProperties) GetAvailabilityZoneOk() (*AvailabilityZone, bool)
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolProperties) GetCoresCount ¶
func (o *CreateNodePoolProperties) GetCoresCount() *int32
GetCoresCount returns the CoresCount field value If the value is explicit nil, the zero value for int32 will be returned
func (*CreateNodePoolProperties) GetCoresCountOk ¶
func (o *CreateNodePoolProperties) GetCoresCountOk() (*int32, bool)
GetCoresCountOk returns a tuple with the CoresCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolProperties) GetCpuFamily ¶
func (o *CreateNodePoolProperties) GetCpuFamily() *string
GetCpuFamily returns the CpuFamily field value If the value is explicit nil, the zero value for string will be returned
func (*CreateNodePoolProperties) GetCpuFamilyOk ¶
func (o *CreateNodePoolProperties) GetCpuFamilyOk() (*string, bool)
GetCpuFamilyOk returns a tuple with the CpuFamily field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolProperties) GetLabels ¶
func (o *CreateNodePoolProperties) GetLabels() *map[string]interface{}
GetLabels returns the Labels field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*CreateNodePoolProperties) GetLabelsOk ¶
func (o *CreateNodePoolProperties) GetLabelsOk() (*map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolProperties) GetMaintenanceWindow ¶
func (o *CreateNodePoolProperties) GetMaintenanceWindow() *MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned
func (*CreateNodePoolProperties) GetMaintenanceWindowOk ¶
func (o *CreateNodePoolProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolProperties) GetName ¶
func (o *CreateNodePoolProperties) GetName() *string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*CreateNodePoolProperties) GetNameOk ¶
func (o *CreateNodePoolProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolProperties) GetNodeCount ¶
func (o *CreateNodePoolProperties) GetNodeCount() *int32
GetNodeCount returns the NodeCount field value If the value is explicit nil, the zero value for int32 will be returned
func (*CreateNodePoolProperties) GetNodeCountOk ¶
func (o *CreateNodePoolProperties) GetNodeCountOk() (*int32, bool)
GetNodeCountOk returns a tuple with the NodeCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolProperties) GetRamSize ¶
func (o *CreateNodePoolProperties) GetRamSize() *int32
GetRamSize returns the RamSize field value If the value is explicit nil, the zero value for int32 will be returned
func (*CreateNodePoolProperties) GetRamSizeOk ¶
func (o *CreateNodePoolProperties) GetRamSizeOk() (*int32, bool)
GetRamSizeOk returns a tuple with the RamSize field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolProperties) GetStorageSize ¶
func (o *CreateNodePoolProperties) GetStorageSize() *int32
GetStorageSize returns the StorageSize field value If the value is explicit nil, the zero value for int32 will be returned
func (*CreateNodePoolProperties) GetStorageSizeOk ¶
func (o *CreateNodePoolProperties) GetStorageSizeOk() (*int32, bool)
GetStorageSizeOk returns a tuple with the StorageSize field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolProperties) GetStorageType ¶
func (o *CreateNodePoolProperties) GetStorageType() *StorageType
GetStorageType returns the StorageType field value If the value is explicit nil, the zero value for StorageType will be returned
func (*CreateNodePoolProperties) GetStorageTypeOk ¶
func (o *CreateNodePoolProperties) GetStorageTypeOk() (*StorageType, bool)
GetStorageTypeOk returns a tuple with the StorageType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolProperties) HasAnnotations ¶
func (o *CreateNodePoolProperties) HasAnnotations() bool
HasAnnotations returns a boolean if a field has been set.
func (*CreateNodePoolProperties) HasAvailabilityZone ¶
func (o *CreateNodePoolProperties) HasAvailabilityZone() bool
HasAvailabilityZone returns a boolean if a field has been set.
func (*CreateNodePoolProperties) HasCoresCount ¶
func (o *CreateNodePoolProperties) HasCoresCount() bool
HasCoresCount returns a boolean if a field has been set.
func (*CreateNodePoolProperties) HasCpuFamily ¶
func (o *CreateNodePoolProperties) HasCpuFamily() bool
HasCpuFamily returns a boolean if a field has been set.
func (*CreateNodePoolProperties) HasLabels ¶
func (o *CreateNodePoolProperties) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateNodePoolProperties) HasMaintenanceWindow ¶
func (o *CreateNodePoolProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*CreateNodePoolProperties) HasName ¶
func (o *CreateNodePoolProperties) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateNodePoolProperties) HasNodeCount ¶
func (o *CreateNodePoolProperties) HasNodeCount() bool
HasNodeCount returns a boolean if a field has been set.
func (*CreateNodePoolProperties) HasRamSize ¶
func (o *CreateNodePoolProperties) HasRamSize() bool
HasRamSize returns a boolean if a field has been set.
func (*CreateNodePoolProperties) HasStorageSize ¶
func (o *CreateNodePoolProperties) HasStorageSize() bool
HasStorageSize returns a boolean if a field has been set.
func (*CreateNodePoolProperties) HasStorageType ¶
func (o *CreateNodePoolProperties) HasStorageType() bool
HasStorageType returns a boolean if a field has been set.
func (CreateNodePoolProperties) MarshalJSON ¶
func (o CreateNodePoolProperties) MarshalJSON() ([]byte, error)
func (*CreateNodePoolProperties) SetAnnotations ¶
func (o *CreateNodePoolProperties) SetAnnotations(v map[string]interface{})
SetAnnotations sets field value
func (*CreateNodePoolProperties) SetAvailabilityZone ¶
func (o *CreateNodePoolProperties) SetAvailabilityZone(v AvailabilityZone)
SetAvailabilityZone sets field value
func (*CreateNodePoolProperties) SetCoresCount ¶
func (o *CreateNodePoolProperties) SetCoresCount(v int32)
SetCoresCount sets field value
func (*CreateNodePoolProperties) SetCpuFamily ¶
func (o *CreateNodePoolProperties) SetCpuFamily(v string)
SetCpuFamily sets field value
func (*CreateNodePoolProperties) SetLabels ¶
func (o *CreateNodePoolProperties) SetLabels(v map[string]interface{})
SetLabels sets field value
func (*CreateNodePoolProperties) SetMaintenanceWindow ¶
func (o *CreateNodePoolProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*CreateNodePoolProperties) SetName ¶
func (o *CreateNodePoolProperties) SetName(v string)
SetName sets field value
func (*CreateNodePoolProperties) SetNodeCount ¶
func (o *CreateNodePoolProperties) SetNodeCount(v int32)
SetNodeCount sets field value
func (*CreateNodePoolProperties) SetRamSize ¶
func (o *CreateNodePoolProperties) SetRamSize(v int32)
SetRamSize sets field value
func (*CreateNodePoolProperties) SetStorageSize ¶
func (o *CreateNodePoolProperties) SetStorageSize(v int32)
SetStorageSize sets field value
func (*CreateNodePoolProperties) SetStorageType ¶
func (o *CreateNodePoolProperties) SetStorageType(v StorageType)
SetStorageType sets field value
type CreateNodePoolRequest ¶
type CreateNodePoolRequest struct {
Properties *CreateNodePoolProperties `json:"properties"`
}
CreateNodePoolRequest Data to create a new node pool for a DataPlatformNodePool
func NewCreateNodePoolRequest ¶
func NewCreateNodePoolRequest(properties CreateNodePoolProperties) *CreateNodePoolRequest
NewCreateNodePoolRequest instantiates a new CreateNodePoolRequest 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 NewCreateNodePoolRequestWithDefaults ¶
func NewCreateNodePoolRequestWithDefaults() *CreateNodePoolRequest
NewCreateNodePoolRequestWithDefaults instantiates a new CreateNodePoolRequest 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 (*CreateNodePoolRequest) GetProperties ¶
func (o *CreateNodePoolRequest) GetProperties() *CreateNodePoolProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for CreateNodePoolProperties will be returned
func (*CreateNodePoolRequest) GetPropertiesOk ¶
func (o *CreateNodePoolRequest) GetPropertiesOk() (*CreateNodePoolProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateNodePoolRequest) HasProperties ¶
func (o *CreateNodePoolRequest) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (CreateNodePoolRequest) MarshalJSON ¶
func (o CreateNodePoolRequest) MarshalJSON() ([]byte, error)
func (*CreateNodePoolRequest) SetProperties ¶
func (o *CreateNodePoolRequest) SetProperties(v CreateNodePoolProperties)
SetProperties sets field value
type DataPlatformClusterApiService ¶
type DataPlatformClusterApiService service
DataPlatformClusterApiService DataPlatformClusterApi service
func (*DataPlatformClusterApiService) ClustersDelete ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersDelete(ctx _context.Context, clusterId string) ApiClustersDeleteRequest
- ClustersDelete Delete a DataPlatformCluster
- Deletes the specified DataPlatformCluster by its distinct cluster ID.
The ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The unique ID of the cluster. Must conform to the UUID format.
- @return ApiClustersDeleteRequest
func (*DataPlatformClusterApiService) ClustersDeleteExecute ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersDeleteExecute(r ApiClustersDeleteRequest) (ClusterResponseData, *shared.APIResponse, error)
* Execute executes the request * @return ClusterResponseData
func (*DataPlatformClusterApiService) ClustersFindById ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersFindById(ctx _context.Context, clusterId string) ApiClustersFindByIdRequest
- ClustersFindById Retrieve a DataPlatformCluster
- Retrieve the specified DataPlatformCluster by its distinct ID.
The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The unique ID of the cluster. Must conform to the UUID format.
- @return ApiClustersFindByIdRequest
func (*DataPlatformClusterApiService) ClustersFindByIdExecute ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersFindByIdExecute(r ApiClustersFindByIdRequest) (ClusterResponseData, *shared.APIResponse, error)
* Execute executes the request * @return ClusterResponseData
func (*DataPlatformClusterApiService) ClustersGet ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersGet(ctx _context.Context) ApiClustersGetRequest
- ClustersGet List the DataPlatformClusters
- List all available DataPlatformClusters that can be accessed by the user.
The user might filter the request for the name of the DataPlatformCluster. If no cluster is available matching the request, the list will be empty.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiClustersGetRequest
func (*DataPlatformClusterApiService) ClustersGetExecute ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersGetExecute(r ApiClustersGetRequest) (ClusterListResponseData, *shared.APIResponse, error)
* Execute executes the request * @return ClusterListResponseData
func (*DataPlatformClusterApiService) ClustersKubeconfigFindByClusterId ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersKubeconfigFindByClusterId(ctx _context.Context, clusterId string) ApiClustersKubeconfigFindByClusterIdRequest
- ClustersKubeconfigFindByClusterId Read the Kubeconfig
- Retrieves the Kubernetes configuration file (kubeconfig)
for the specified DataPlatformCluster by its cluster ID.
The ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The unique ID of the cluster. Must conform to the UUID format.
- @return ApiClustersKubeconfigFindByClusterIdRequest
func (*DataPlatformClusterApiService) ClustersKubeconfigFindByClusterIdExecute ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersKubeconfigFindByClusterIdExecute(r ApiClustersKubeconfigFindByClusterIdRequest) (map[string]interface{}, *shared.APIResponse, error)
* Execute executes the request * @return map[string]interface{}
func (*DataPlatformClusterApiService) ClustersPatch ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersPatch(ctx _context.Context, clusterId string) ApiClustersPatchRequest
- ClustersPatch Partially Modify a DataPlatformCluster
- Modifies the specified DataPlatformCluster by its distinct cluster ID.
The fields in the request body are applied to the cluster. Note that the application to the cluster itself is performed asynchronously. You can check the sync state by querying the cluster with the GET method.
The ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The unique ID of the cluster. Must conform to the UUID format.
- @return ApiClustersPatchRequest
func (*DataPlatformClusterApiService) ClustersPatchExecute ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersPatchExecute(r ApiClustersPatchRequest) (ClusterResponseData, *shared.APIResponse, error)
* Execute executes the request * @return ClusterResponseData
func (*DataPlatformClusterApiService) ClustersPost ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersPost(ctx _context.Context) ApiClustersPostRequest
- ClustersPost Create a DataPlatformCluster
- Creates a new DataPlatformCluster.
The cluster will be provisioned in the data center matching the provided `datacenterID`. Therefore the data center must be created upfront and must be accessible by the user issuing the request.
To create a new virtual data center (VDC) [see](https://api.ionos.com/docs/cloud/v6/#Data-centers-post-datacenters).
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiClustersPostRequest
func (*DataPlatformClusterApiService) ClustersPostExecute ¶ added in v0.1.1
func (a *DataPlatformClusterApiService) ClustersPostExecute(r ApiClustersPostRequest) (ClusterResponseData, *shared.APIResponse, error)
* Execute executes the request * @return ClusterResponseData
type DataPlatformMetaDataApiService ¶
type DataPlatformMetaDataApiService service
DataPlatformMetaDataApiService DataPlatformMetaDataApi service
func (*DataPlatformMetaDataApiService) VersionsGet ¶
func (a *DataPlatformMetaDataApiService) VersionsGet(ctx _context.Context) ApiVersionsGetRequest
* VersionsGet Managed Stackable Data Platform API Versions * Retrieves all available versions of the Managed Stackable Data Platform. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiVersionsGetRequest
func (*DataPlatformMetaDataApiService) VersionsGetExecute ¶
func (a *DataPlatformMetaDataApiService) VersionsGetExecute(r ApiVersionsGetRequest) ([]string, *shared.APIResponse, error)
* Execute executes the request * @return []string
type DataPlatformNodePoolApiService ¶
type DataPlatformNodePoolApiService service
DataPlatformNodePoolApiService DataPlatformNodePoolApi service
func (*DataPlatformNodePoolApiService) ClustersNodepoolsDelete ¶ added in v0.1.1
func (a *DataPlatformNodePoolApiService) ClustersNodepoolsDelete(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsDeleteRequest
- ClustersNodepoolsDelete Remove a DataPlatformNodePool from a DataPlatformCluster
- Removes the specified node pool from the specified DataPlatformCluster and deletes the node pool afterwards.
The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.
The node pool ID can be found in the response when a node pool is created or when you GET a list of all node pools assigned to a specific DataPlatformCluster.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The unique ID of the cluster. Must conform to the UUID format.
- @param nodepoolId The unique ID of the node pool. Must conform to the UUID format.
- @return ApiClustersNodepoolsDeleteRequest
func (*DataPlatformNodePoolApiService) ClustersNodepoolsDeleteExecute ¶ added in v0.1.1
func (a *DataPlatformNodePoolApiService) ClustersNodepoolsDeleteExecute(r ApiClustersNodepoolsDeleteRequest) (NodePoolResponseData, *shared.APIResponse, error)
* Execute executes the request * @return NodePoolResponseData
func (*DataPlatformNodePoolApiService) ClustersNodepoolsFindById ¶ added in v0.1.1
func (a *DataPlatformNodePoolApiService) ClustersNodepoolsFindById(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsFindByIdRequest
- ClustersNodepoolsFindById Retrieve a DataPlatformNodePool
- Retrieve a node pool belonging to a Kubernetes cluster running Stackable by using its ID.
The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.
The node pool ID can be found in the response when a node pool is created or when you GET a list of all node pools assigned to a specific DataPlatformCluster.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The unique ID of the cluster. Must conform to the UUID format.
- @param nodepoolId The unique ID of the node pool. Must conform to the UUID format.
- @return ApiClustersNodepoolsFindByIdRequest
func (*DataPlatformNodePoolApiService) ClustersNodepoolsFindByIdExecute ¶ added in v0.1.1
func (a *DataPlatformNodePoolApiService) ClustersNodepoolsFindByIdExecute(r ApiClustersNodepoolsFindByIdRequest) (NodePoolResponseData, *shared.APIResponse, error)
* Execute executes the request * @return NodePoolResponseData
func (*DataPlatformNodePoolApiService) ClustersNodepoolsGet ¶ added in v0.1.1
func (a *DataPlatformNodePoolApiService) ClustersNodepoolsGet(ctx _context.Context, clusterId string) ApiClustersNodepoolsGetRequest
- ClustersNodepoolsGet List the DataPlatformNodePools of a DataPlatformCluster
- List all node pools assigned to the specified DataPlatformCluster by its ID.
The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The unique ID of the cluster. Must conform to the UUID format.
- @return ApiClustersNodepoolsGetRequest
func (*DataPlatformNodePoolApiService) ClustersNodepoolsGetExecute ¶ added in v0.1.1
func (a *DataPlatformNodePoolApiService) ClustersNodepoolsGetExecute(r ApiClustersNodepoolsGetRequest) (NodePoolListResponseData, *shared.APIResponse, error)
* Execute executes the request * @return NodePoolListResponseData
func (*DataPlatformNodePoolApiService) ClustersNodepoolsPatch ¶ added in v0.1.1
func (a *DataPlatformNodePoolApiService) ClustersNodepoolsPatch(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsPatchRequest
- ClustersNodepoolsPatch Partially Modify a DataPlatformNodePool
- Modifies the specified node pool of a DataPlatformCluster.
Update selected attributes of a node pool belonging to a Kubernetes cluster running Stackable.
The fields in the request body are applied to the cluster. Note that the application to the node pool itself is performed asynchronously. You can check the sync state by querying the node pool with the GET method.
The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.
The node pool ID can be found in the response when a node pool is created or when you GET a list of all node pools assigned to a specific DataPlatformCluster.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The unique ID of the cluster. Must conform to the UUID format.
- @param nodepoolId The unique ID of the node pool. Must conform to the UUID format.
- @return ApiClustersNodepoolsPatchRequest
func (*DataPlatformNodePoolApiService) ClustersNodepoolsPatchExecute ¶ added in v0.1.1
func (a *DataPlatformNodePoolApiService) ClustersNodepoolsPatchExecute(r ApiClustersNodepoolsPatchRequest) (NodePoolResponseData, *shared.APIResponse, error)
* Execute executes the request * @return NodePoolResponseData
func (*DataPlatformNodePoolApiService) ClustersNodepoolsPost ¶ added in v0.1.1
func (a *DataPlatformNodePoolApiService) ClustersNodepoolsPost(ctx _context.Context, clusterId string) ApiClustersNodepoolsPostRequest
- ClustersNodepoolsPost Create a DataPlatformNodePool for a distinct DataPlatformCluster
- Creates a new node pool and assigns the node pool resources exclusively to the defined managed cluster.
The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The unique ID of the cluster. Must conform to the UUID format.
- @return ApiClustersNodepoolsPostRequest
func (*DataPlatformNodePoolApiService) ClustersNodepoolsPostExecute ¶ added in v0.1.1
func (a *DataPlatformNodePoolApiService) ClustersNodepoolsPostExecute(r ApiClustersNodepoolsPostRequest) (NodePoolResponseData, *shared.APIResponse, error)
* Execute executes the request * @return NodePoolResponseData
type ErrorMessage ¶
type ErrorMessage struct { // Internal error code ErrorCode *string `json:"errorCode,omitempty"` // A human readable explanation of the problem. Message *string `json:"message,omitempty"` }
ErrorMessage struct for ErrorMessage
func NewErrorMessage ¶
func NewErrorMessage() *ErrorMessage
NewErrorMessage instantiates a new ErrorMessage 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 NewErrorMessageWithDefaults ¶
func NewErrorMessageWithDefaults() *ErrorMessage
NewErrorMessageWithDefaults instantiates a new ErrorMessage 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 (*ErrorMessage) GetErrorCode ¶
func (o *ErrorMessage) GetErrorCode() *string
GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned
func (*ErrorMessage) GetErrorCodeOk ¶
func (o *ErrorMessage) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorMessage) GetMessage ¶
func (o *ErrorMessage) GetMessage() *string
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*ErrorMessage) GetMessageOk ¶
func (o *ErrorMessage) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorMessage) HasErrorCode ¶
func (o *ErrorMessage) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*ErrorMessage) HasMessage ¶
func (o *ErrorMessage) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ErrorMessage) MarshalJSON ¶
func (o ErrorMessage) MarshalJSON() ([]byte, error)
func (*ErrorMessage) SetErrorCode ¶
func (o *ErrorMessage) SetErrorCode(v string)
SetErrorCode sets field value
func (*ErrorMessage) SetMessage ¶
func (o *ErrorMessage) SetMessage(v string)
SetMessage sets field value
type ErrorResponse ¶
type ErrorResponse struct { // HTTP status code of the operation as specified by [RFC 7231](https://datatracker.ietf.org/doc/html/rfc7231#section-6) HttpStatus *int32 `json:"httpStatus,omitempty"` Messages *[]ErrorMessage `json:"messages,omitempty"` }
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse() *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetHttpStatus ¶
func (o *ErrorResponse) GetHttpStatus() *int32
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*ErrorResponse) GetHttpStatusOk ¶
func (o *ErrorResponse) GetHttpStatusOk() (*int32, bool)
GetHttpStatusOk returns a tuple with the HttpStatus field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorResponse) GetMessages ¶
func (o *ErrorResponse) GetMessages() *[]ErrorMessage
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned
func (*ErrorResponse) GetMessagesOk ¶
func (o *ErrorResponse) GetMessagesOk() (*[]ErrorMessage, bool)
GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorResponse) HasHttpStatus ¶
func (o *ErrorResponse) HasHttpStatus() bool
HasHttpStatus returns a boolean if a field has been set.
func (*ErrorResponse) HasMessages ¶
func (o *ErrorResponse) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetHttpStatus ¶
func (o *ErrorResponse) SetHttpStatus(v int32)
SetHttpStatus sets field value
func (*ErrorResponse) SetMessages ¶
func (o *ErrorResponse) SetMessages(v []ErrorMessage)
SetMessages sets field value
type IonosTime ¶
func (*IonosTime) UnmarshalJSON ¶
type MaintenanceWindow ¶
type MaintenanceWindow struct { // Time at which the maintenance should start. Must conform to the 'HH:MM:SS' 24-hour format. Time *string `json:"time"` DayOfTheWeek *string `json:"dayOfTheWeek"` }
MaintenanceWindow Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
func NewMaintenanceWindow ¶
func NewMaintenanceWindow(time string, dayOfTheWeek string) *MaintenanceWindow
NewMaintenanceWindow instantiates a new MaintenanceWindow 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 NewMaintenanceWindowWithDefaults ¶
func NewMaintenanceWindowWithDefaults() *MaintenanceWindow
NewMaintenanceWindowWithDefaults instantiates a new MaintenanceWindow 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 (*MaintenanceWindow) GetDayOfTheWeek ¶
func (o *MaintenanceWindow) GetDayOfTheWeek() *string
GetDayOfTheWeek returns the DayOfTheWeek field value If the value is explicit nil, the zero value for string will be returned
func (*MaintenanceWindow) GetDayOfTheWeekOk ¶
func (o *MaintenanceWindow) GetDayOfTheWeekOk() (*string, bool)
GetDayOfTheWeekOk returns a tuple with the DayOfTheWeek field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MaintenanceWindow) GetTime ¶
func (o *MaintenanceWindow) GetTime() *string
GetTime returns the Time field value If the value is explicit nil, the zero value for string will be returned
func (*MaintenanceWindow) GetTimeOk ¶
func (o *MaintenanceWindow) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MaintenanceWindow) HasDayOfTheWeek ¶
func (o *MaintenanceWindow) HasDayOfTheWeek() bool
HasDayOfTheWeek returns a boolean if a field has been set.
func (*MaintenanceWindow) HasTime ¶
func (o *MaintenanceWindow) HasTime() bool
HasTime returns a boolean if a field has been set.
func (MaintenanceWindow) MarshalJSON ¶
func (o MaintenanceWindow) MarshalJSON() ([]byte, error)
func (*MaintenanceWindow) SetDayOfTheWeek ¶
func (o *MaintenanceWindow) SetDayOfTheWeek(v string)
SetDayOfTheWeek sets field value
func (*MaintenanceWindow) SetTime ¶
func (o *MaintenanceWindow) SetTime(v string)
SetTime sets field value
type Metadata ¶
type Metadata struct { // The Entity Tag of the resource as defined in http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11 ETag *string `json:"ETag,omitempty"` // The time the resource was created, ISO 8601 timestamp (UTC). CreatedDate *IonosTime `json:"createdDate,omitempty"` // The user that created the resource CreatedBy *string `json:"createdBy,omitempty"` // The ID of the user that created the resource CreatedByUserId *string `json:"createdByUserId,omitempty"` // The creators contractNumber CreatedInContractNumber *string `json:"createdInContractNumber,omitempty"` // The last time the resource was modified, ISO 8601 timestamp (UTC). LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // The user that last modified the resource LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // The ID of the user that last modified the resource LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"` // The version of the data platform. CurrentDataPlatformVersion *string `json:"currentDataPlatformVersion,omitempty"` // The current data platform revision of a resource. This internal revision is used to roll out non-breaking internal changes. This attribute is read-only. CurrentDataPlatformRevision *int64 `json:"currentDataPlatformRevision,omitempty"` // List of available upgrades for this cluster AvailableUpgradeVersions *[]string `json:"availableUpgradeVersions,omitempty"` // State of the resource. *AVAILABLE* There are no pending modification requests for this item; *BUSY* There is at least one modification request pending and all following requests will be queued; *DEPLOYING* Resource state DEPLOYING - the resource is being created; *FAILED* Resource state FAILED - creation of the resource failed; *UPDATING* Resource state UPDATING - the resource is being updated; *FAILED_UPDATING* Resource state FAILED_UPDATING - an update to the resource was not successful; *DESTROYING* Resource state DESTROYING - the resource is being deleted; *FAILED_DESTROYING* Resource state FAILED_DESTROYING - deletion of the resource was not successful; *TERMINATED* Resource state TERMINATED - the resource was deleted. State *string `json:"state,omitempty"` }
Metadata Metadata of the resource
func NewMetadata ¶
func NewMetadata() *Metadata
NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults ¶
func NewMetadataWithDefaults() *Metadata
NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetAvailableUpgradeVersions ¶
GetAvailableUpgradeVersions returns the AvailableUpgradeVersions field value If the value is explicit nil, the zero value for []string will be returned
func (*Metadata) GetAvailableUpgradeVersionsOk ¶
GetAvailableUpgradeVersionsOk returns a tuple with the AvailableUpgradeVersions field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCreatedByUserId ¶
GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedByUserIdOk ¶
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCreatedDate ¶
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetCreatedDateOk ¶
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCreatedInContractNumber ¶
GetCreatedInContractNumber returns the CreatedInContractNumber field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCreatedInContractNumberOk ¶
GetCreatedInContractNumberOk returns a tuple with the CreatedInContractNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCurrentDataPlatformRevision ¶
GetCurrentDataPlatformRevision returns the CurrentDataPlatformRevision field value If the value is explicit nil, the zero value for int64 will be returned
func (*Metadata) GetCurrentDataPlatformRevisionOk ¶
GetCurrentDataPlatformRevisionOk returns a tuple with the CurrentDataPlatformRevision field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetCurrentDataPlatformVersion ¶
GetCurrentDataPlatformVersion returns the CurrentDataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetCurrentDataPlatformVersionOk ¶
GetCurrentDataPlatformVersionOk returns a tuple with the CurrentDataPlatformVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetETag ¶
GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetETagOk ¶
GetETagOk returns a tuple with the ETag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedBy ¶
GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByOk ¶
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedByUserId ¶
GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetLastModifiedByUserIdOk ¶
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedDate ¶
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetLastModifiedDateOk ¶
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetState ¶
GetState returns the State field value If the value is explicit nil, the zero value for string will be returned
func (*Metadata) GetStateOk ¶
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) HasAvailableUpgradeVersions ¶
HasAvailableUpgradeVersions returns a boolean if a field has been set.
func (*Metadata) HasCreatedBy ¶
HasCreatedBy returns a boolean if a field has been set.
func (*Metadata) HasCreatedByUserId ¶
HasCreatedByUserId returns a boolean if a field has been set.
func (*Metadata) HasCreatedDate ¶
HasCreatedDate returns a boolean if a field has been set.
func (*Metadata) HasCreatedInContractNumber ¶
HasCreatedInContractNumber returns a boolean if a field has been set.
func (*Metadata) HasCurrentDataPlatformRevision ¶
HasCurrentDataPlatformRevision returns a boolean if a field has been set.
func (*Metadata) HasCurrentDataPlatformVersion ¶
HasCurrentDataPlatformVersion returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedBy ¶
HasLastModifiedBy returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedByUserId ¶
HasLastModifiedByUserId returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedDate ¶
HasLastModifiedDate returns a boolean if a field has been set.
func (Metadata) MarshalJSON ¶
func (*Metadata) SetAvailableUpgradeVersions ¶
SetAvailableUpgradeVersions sets field value
func (*Metadata) SetCreatedBy ¶
SetCreatedBy sets field value
func (*Metadata) SetCreatedByUserId ¶
SetCreatedByUserId sets field value
func (*Metadata) SetCreatedDate ¶
SetCreatedDate sets field value
func (*Metadata) SetCreatedInContractNumber ¶
SetCreatedInContractNumber sets field value
func (*Metadata) SetCurrentDataPlatformRevision ¶
SetCurrentDataPlatformRevision sets field value
func (*Metadata) SetCurrentDataPlatformVersion ¶
SetCurrentDataPlatformVersion sets field value
func (*Metadata) SetLastModifiedBy ¶
SetLastModifiedBy sets field value
func (*Metadata) SetLastModifiedByUserId ¶
SetLastModifiedByUserId sets field value
func (*Metadata) SetLastModifiedDate ¶
SetLastModifiedDate sets field value
type NodePool ¶
type NodePool struct { // The name of your node pool. Must be 63 characters or less and must begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. Name *string `json:"name,omitempty"` // The version of the data platform. DataPlatformVersion *string `json:"dataPlatformVersion,omitempty"` // The UUID of the virtual data center (VDC) the cluster is provisioned. DatacenterId *string `json:"datacenterId,omitempty"` // The number of nodes that make up the node pool. NodeCount *int32 `json:"nodeCount,omitempty"` // A valid CPU family name or `AUTO` if the platform shall choose the best fitting option. Available CPU architectures can be retrieved from the data center resource. CpuFamily *string `json:"cpuFamily,omitempty"` // The number of CPU cores per node. CoresCount *int32 `json:"coresCount,omitempty"` // The RAM size for one node in MB. Must be set in multiples of 1024 MB, with a minimum size is of 2048 MB. RamSize *int32 `json:"ramSize,omitempty"` AvailabilityZone *AvailabilityZone `json:"availabilityZone,omitempty"` StorageType *StorageType `json:"storageType,omitempty"` // The size of the volume in GB. The size must be greater than 10 GB. StorageSize *int32 `json:"storageSize,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` // Key-value pairs attached to the node pool resource as [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) Labels *map[string]interface{} `json:"labels,omitempty"` // Key-value pairs attached to node pool resource as [Kubernetes annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) Annotations *map[string]interface{} `json:"annotations,omitempty"` }
NodePool A DataPlatformNodePool of a DataPlatformCluster
func NewNodePool ¶
func NewNodePool() *NodePool
NewNodePool instantiates a new NodePool 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 NewNodePoolWithDefaults ¶
func NewNodePoolWithDefaults() *NodePool
NewNodePoolWithDefaults instantiates a new NodePool 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 (*NodePool) GetAnnotations ¶
GetAnnotations returns the Annotations field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*NodePool) GetAnnotationsOk ¶
GetAnnotationsOk returns a tuple with the Annotations field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetAvailabilityZone ¶
func (o *NodePool) GetAvailabilityZone() *AvailabilityZone
GetAvailabilityZone returns the AvailabilityZone field value If the value is explicit nil, the zero value for AvailabilityZone will be returned
func (*NodePool) GetAvailabilityZoneOk ¶
func (o *NodePool) GetAvailabilityZoneOk() (*AvailabilityZone, bool)
GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetCoresCount ¶
GetCoresCount returns the CoresCount field value If the value is explicit nil, the zero value for int32 will be returned
func (*NodePool) GetCoresCountOk ¶
GetCoresCountOk returns a tuple with the CoresCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetCpuFamily ¶
GetCpuFamily returns the CpuFamily field value If the value is explicit nil, the zero value for string will be returned
func (*NodePool) GetCpuFamilyOk ¶
GetCpuFamilyOk returns a tuple with the CpuFamily field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetDataPlatformVersion ¶
GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned
func (*NodePool) GetDataPlatformVersionOk ¶
GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetDatacenterId ¶
GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned
func (*NodePool) GetDatacenterIdOk ¶
GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetLabels ¶
GetLabels returns the Labels field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*NodePool) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetMaintenanceWindow ¶
func (o *NodePool) GetMaintenanceWindow() *MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned
func (*NodePool) GetMaintenanceWindowOk ¶
func (o *NodePool) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetName ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*NodePool) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetNodeCount ¶
GetNodeCount returns the NodeCount field value If the value is explicit nil, the zero value for int32 will be returned
func (*NodePool) GetNodeCountOk ¶
GetNodeCountOk returns a tuple with the NodeCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetRamSize ¶
GetRamSize returns the RamSize field value If the value is explicit nil, the zero value for int32 will be returned
func (*NodePool) GetRamSizeOk ¶
GetRamSizeOk returns a tuple with the RamSize field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetStorageSize ¶
GetStorageSize returns the StorageSize field value If the value is explicit nil, the zero value for int32 will be returned
func (*NodePool) GetStorageSizeOk ¶
GetStorageSizeOk returns a tuple with the StorageSize field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) GetStorageType ¶
func (o *NodePool) GetStorageType() *StorageType
GetStorageType returns the StorageType field value If the value is explicit nil, the zero value for StorageType will be returned
func (*NodePool) GetStorageTypeOk ¶
func (o *NodePool) GetStorageTypeOk() (*StorageType, bool)
GetStorageTypeOk returns a tuple with the StorageType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePool) HasAnnotations ¶
HasAnnotations returns a boolean if a field has been set.
func (*NodePool) HasAvailabilityZone ¶
HasAvailabilityZone returns a boolean if a field has been set.
func (*NodePool) HasCoresCount ¶
HasCoresCount returns a boolean if a field has been set.
func (*NodePool) HasCpuFamily ¶
HasCpuFamily returns a boolean if a field has been set.
func (*NodePool) HasDataPlatformVersion ¶
HasDataPlatformVersion returns a boolean if a field has been set.
func (*NodePool) HasDatacenterId ¶
HasDatacenterId returns a boolean if a field has been set.
func (*NodePool) HasMaintenanceWindow ¶
HasMaintenanceWindow returns a boolean if a field has been set.
func (*NodePool) HasNodeCount ¶
HasNodeCount returns a boolean if a field has been set.
func (*NodePool) HasRamSize ¶
HasRamSize returns a boolean if a field has been set.
func (*NodePool) HasStorageSize ¶
HasStorageSize returns a boolean if a field has been set.
func (*NodePool) HasStorageType ¶
HasStorageType returns a boolean if a field has been set.
func (NodePool) MarshalJSON ¶
func (*NodePool) SetAnnotations ¶
SetAnnotations sets field value
func (*NodePool) SetAvailabilityZone ¶
func (o *NodePool) SetAvailabilityZone(v AvailabilityZone)
SetAvailabilityZone sets field value
func (*NodePool) SetCoresCount ¶
SetCoresCount sets field value
func (*NodePool) SetCpuFamily ¶
SetCpuFamily sets field value
func (*NodePool) SetDataPlatformVersion ¶
SetDataPlatformVersion sets field value
func (*NodePool) SetDatacenterId ¶
SetDatacenterId sets field value
func (*NodePool) SetMaintenanceWindow ¶
func (o *NodePool) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*NodePool) SetNodeCount ¶
SetNodeCount sets field value
func (*NodePool) SetStorageSize ¶
SetStorageSize sets field value
func (*NodePool) SetStorageType ¶
func (o *NodePool) SetStorageType(v StorageType)
SetStorageType sets field value
type NodePoolListResponseData ¶
type NodePoolListResponseData struct { // The ID of a list of resources. Id *string `json:"id,omitempty"` Type *string `json:"type,omitempty"` Href *string `json:"href,omitempty"` Items *[]NodePoolResponseData `json:"items"` }
NodePoolListResponseData Data of a node pool list
func NewNodePoolListResponseData ¶
func NewNodePoolListResponseData(items []NodePoolResponseData) *NodePoolListResponseData
NewNodePoolListResponseData instantiates a new NodePoolListResponseData 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 NewNodePoolListResponseDataWithDefaults ¶
func NewNodePoolListResponseDataWithDefaults() *NodePoolListResponseData
NewNodePoolListResponseDataWithDefaults instantiates a new NodePoolListResponseData 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 (*NodePoolListResponseData) GetHref ¶
func (o *NodePoolListResponseData) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*NodePoolListResponseData) GetHrefOk ¶
func (o *NodePoolListResponseData) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePoolListResponseData) GetId ¶
func (o *NodePoolListResponseData) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*NodePoolListResponseData) GetIdOk ¶
func (o *NodePoolListResponseData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePoolListResponseData) GetItems ¶
func (o *NodePoolListResponseData) GetItems() *[]NodePoolResponseData
GetItems returns the Items field value If the value is explicit nil, the zero value for []NodePoolResponseData will be returned
func (*NodePoolListResponseData) GetItemsOk ¶
func (o *NodePoolListResponseData) GetItemsOk() (*[]NodePoolResponseData, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePoolListResponseData) GetType ¶
func (o *NodePoolListResponseData) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*NodePoolListResponseData) GetTypeOk ¶
func (o *NodePoolListResponseData) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePoolListResponseData) HasHref ¶
func (o *NodePoolListResponseData) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*NodePoolListResponseData) HasId ¶
func (o *NodePoolListResponseData) HasId() bool
HasId returns a boolean if a field has been set.
func (*NodePoolListResponseData) HasItems ¶
func (o *NodePoolListResponseData) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*NodePoolListResponseData) HasType ¶
func (o *NodePoolListResponseData) HasType() bool
HasType returns a boolean if a field has been set.
func (NodePoolListResponseData) MarshalJSON ¶
func (o NodePoolListResponseData) MarshalJSON() ([]byte, error)
func (*NodePoolListResponseData) SetHref ¶
func (o *NodePoolListResponseData) SetHref(v string)
SetHref sets field value
func (*NodePoolListResponseData) SetId ¶
func (o *NodePoolListResponseData) SetId(v string)
SetId sets field value
func (*NodePoolListResponseData) SetItems ¶
func (o *NodePoolListResponseData) SetItems(v []NodePoolResponseData)
SetItems sets field value
func (*NodePoolListResponseData) SetType ¶
func (o *NodePoolListResponseData) SetType(v string)
SetType sets field value
type NodePoolResponseData ¶
type NodePoolResponseData struct { // The unique ID of the resource. Must conform to the UUID format. Id *string `json:"id"` // The type of the resource. Type *string `json:"type,omitempty"` // URL to the object representation (absolute path). Href *string `json:"href,omitempty"` Metadata *Metadata `json:"metadata"` Properties *NodePool `json:"properties"` }
NodePoolResponseData Data of a node pool
func NewNodePoolResponseData ¶
func NewNodePoolResponseData(id string, metadata Metadata, properties NodePool) *NodePoolResponseData
NewNodePoolResponseData instantiates a new NodePoolResponseData 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 NewNodePoolResponseDataWithDefaults ¶
func NewNodePoolResponseDataWithDefaults() *NodePoolResponseData
NewNodePoolResponseDataWithDefaults instantiates a new NodePoolResponseData 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 (*NodePoolResponseData) GetHref ¶
func (o *NodePoolResponseData) GetHref() *string
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*NodePoolResponseData) GetHrefOk ¶
func (o *NodePoolResponseData) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePoolResponseData) GetId ¶
func (o *NodePoolResponseData) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*NodePoolResponseData) GetIdOk ¶
func (o *NodePoolResponseData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePoolResponseData) GetMetadata ¶
func (o *NodePoolResponseData) GetMetadata() *Metadata
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned
func (*NodePoolResponseData) GetMetadataOk ¶
func (o *NodePoolResponseData) GetMetadataOk() (*Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePoolResponseData) GetProperties ¶
func (o *NodePoolResponseData) GetProperties() *NodePool
GetProperties returns the Properties field value If the value is explicit nil, the zero value for NodePool will be returned
func (*NodePoolResponseData) GetPropertiesOk ¶
func (o *NodePoolResponseData) GetPropertiesOk() (*NodePool, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePoolResponseData) GetType ¶
func (o *NodePoolResponseData) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*NodePoolResponseData) GetTypeOk ¶
func (o *NodePoolResponseData) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NodePoolResponseData) HasHref ¶
func (o *NodePoolResponseData) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*NodePoolResponseData) HasId ¶
func (o *NodePoolResponseData) HasId() bool
HasId returns a boolean if a field has been set.
func (*NodePoolResponseData) HasMetadata ¶
func (o *NodePoolResponseData) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*NodePoolResponseData) HasProperties ¶
func (o *NodePoolResponseData) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*NodePoolResponseData) HasType ¶
func (o *NodePoolResponseData) HasType() bool
HasType returns a boolean if a field has been set.
func (NodePoolResponseData) MarshalJSON ¶
func (o NodePoolResponseData) MarshalJSON() ([]byte, error)
func (*NodePoolResponseData) SetHref ¶
func (o *NodePoolResponseData) SetHref(v string)
SetHref sets field value
func (*NodePoolResponseData) SetId ¶
func (o *NodePoolResponseData) SetId(v string)
SetId sets field value
func (*NodePoolResponseData) SetMetadata ¶
func (o *NodePoolResponseData) SetMetadata(v Metadata)
SetMetadata sets field value
func (*NodePoolResponseData) SetProperties ¶
func (o *NodePoolResponseData) SetProperties(v NodePool)
SetProperties sets field value
func (*NodePoolResponseData) SetType ¶
func (o *NodePoolResponseData) SetType(v string)
SetType sets field value
type NullableAvailabilityZone ¶
type NullableAvailabilityZone struct {
// contains filtered or unexported fields
}
func NewNullableAvailabilityZone ¶
func NewNullableAvailabilityZone(val *AvailabilityZone) *NullableAvailabilityZone
func (NullableAvailabilityZone) Get ¶
func (v NullableAvailabilityZone) Get() *AvailabilityZone
func (NullableAvailabilityZone) IsSet ¶
func (v NullableAvailabilityZone) IsSet() bool
func (NullableAvailabilityZone) MarshalJSON ¶
func (v NullableAvailabilityZone) MarshalJSON() ([]byte, error)
func (*NullableAvailabilityZone) Set ¶
func (v *NullableAvailabilityZone) Set(val *AvailabilityZone)
func (*NullableAvailabilityZone) UnmarshalJSON ¶
func (v *NullableAvailabilityZone) UnmarshalJSON(src []byte) error
func (*NullableAvailabilityZone) Unset ¶
func (v *NullableAvailabilityZone) 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 NullableClusterListResponseData ¶
type NullableClusterListResponseData struct {
// contains filtered or unexported fields
}
func NewNullableClusterListResponseData ¶
func NewNullableClusterListResponseData(val *ClusterListResponseData) *NullableClusterListResponseData
func (NullableClusterListResponseData) Get ¶
func (v NullableClusterListResponseData) Get() *ClusterListResponseData
func (NullableClusterListResponseData) IsSet ¶
func (v NullableClusterListResponseData) IsSet() bool
func (NullableClusterListResponseData) MarshalJSON ¶
func (v NullableClusterListResponseData) MarshalJSON() ([]byte, error)
func (*NullableClusterListResponseData) Set ¶
func (v *NullableClusterListResponseData) Set(val *ClusterListResponseData)
func (*NullableClusterListResponseData) UnmarshalJSON ¶
func (v *NullableClusterListResponseData) UnmarshalJSON(src []byte) error
func (*NullableClusterListResponseData) Unset ¶
func (v *NullableClusterListResponseData) Unset()
type NullableClusterResponseData ¶
type NullableClusterResponseData struct {
// contains filtered or unexported fields
}
func NewNullableClusterResponseData ¶
func NewNullableClusterResponseData(val *ClusterResponseData) *NullableClusterResponseData
func (NullableClusterResponseData) Get ¶
func (v NullableClusterResponseData) Get() *ClusterResponseData
func (NullableClusterResponseData) IsSet ¶
func (v NullableClusterResponseData) IsSet() bool
func (NullableClusterResponseData) MarshalJSON ¶
func (v NullableClusterResponseData) MarshalJSON() ([]byte, error)
func (*NullableClusterResponseData) Set ¶
func (v *NullableClusterResponseData) Set(val *ClusterResponseData)
func (*NullableClusterResponseData) UnmarshalJSON ¶
func (v *NullableClusterResponseData) UnmarshalJSON(src []byte) error
func (*NullableClusterResponseData) Unset ¶
func (v *NullableClusterResponseData) Unset()
type NullableCreateClusterProperties ¶
type NullableCreateClusterProperties struct {
// contains filtered or unexported fields
}
func NewNullableCreateClusterProperties ¶
func NewNullableCreateClusterProperties(val *CreateClusterProperties) *NullableCreateClusterProperties
func (NullableCreateClusterProperties) Get ¶
func (v NullableCreateClusterProperties) Get() *CreateClusterProperties
func (NullableCreateClusterProperties) IsSet ¶
func (v NullableCreateClusterProperties) IsSet() bool
func (NullableCreateClusterProperties) MarshalJSON ¶
func (v NullableCreateClusterProperties) MarshalJSON() ([]byte, error)
func (*NullableCreateClusterProperties) Set ¶
func (v *NullableCreateClusterProperties) Set(val *CreateClusterProperties)
func (*NullableCreateClusterProperties) UnmarshalJSON ¶
func (v *NullableCreateClusterProperties) UnmarshalJSON(src []byte) error
func (*NullableCreateClusterProperties) Unset ¶
func (v *NullableCreateClusterProperties) 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 NullableCreateNodePoolProperties ¶
type NullableCreateNodePoolProperties struct {
// contains filtered or unexported fields
}
func NewNullableCreateNodePoolProperties ¶
func NewNullableCreateNodePoolProperties(val *CreateNodePoolProperties) *NullableCreateNodePoolProperties
func (NullableCreateNodePoolProperties) Get ¶
func (v NullableCreateNodePoolProperties) Get() *CreateNodePoolProperties
func (NullableCreateNodePoolProperties) IsSet ¶
func (v NullableCreateNodePoolProperties) IsSet() bool
func (NullableCreateNodePoolProperties) MarshalJSON ¶
func (v NullableCreateNodePoolProperties) MarshalJSON() ([]byte, error)
func (*NullableCreateNodePoolProperties) Set ¶
func (v *NullableCreateNodePoolProperties) Set(val *CreateNodePoolProperties)
func (*NullableCreateNodePoolProperties) UnmarshalJSON ¶
func (v *NullableCreateNodePoolProperties) UnmarshalJSON(src []byte) error
func (*NullableCreateNodePoolProperties) Unset ¶
func (v *NullableCreateNodePoolProperties) Unset()
type NullableCreateNodePoolRequest ¶
type NullableCreateNodePoolRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateNodePoolRequest ¶
func NewNullableCreateNodePoolRequest(val *CreateNodePoolRequest) *NullableCreateNodePoolRequest
func (NullableCreateNodePoolRequest) Get ¶
func (v NullableCreateNodePoolRequest) Get() *CreateNodePoolRequest
func (NullableCreateNodePoolRequest) IsSet ¶
func (v NullableCreateNodePoolRequest) IsSet() bool
func (NullableCreateNodePoolRequest) MarshalJSON ¶
func (v NullableCreateNodePoolRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateNodePoolRequest) Set ¶
func (v *NullableCreateNodePoolRequest) Set(val *CreateNodePoolRequest)
func (*NullableCreateNodePoolRequest) UnmarshalJSON ¶
func (v *NullableCreateNodePoolRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateNodePoolRequest) Unset ¶
func (v *NullableCreateNodePoolRequest) Unset()
type NullableErrorMessage ¶
type NullableErrorMessage struct {
// contains filtered or unexported fields
}
func NewNullableErrorMessage ¶
func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage
func (NullableErrorMessage) Get ¶
func (v NullableErrorMessage) Get() *ErrorMessage
func (NullableErrorMessage) IsSet ¶
func (v NullableErrorMessage) IsSet() bool
func (NullableErrorMessage) MarshalJSON ¶
func (v NullableErrorMessage) MarshalJSON() ([]byte, error)
func (*NullableErrorMessage) Set ¶
func (v *NullableErrorMessage) Set(val *ErrorMessage)
func (*NullableErrorMessage) UnmarshalJSON ¶
func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error
func (*NullableErrorMessage) Unset ¶
func (v *NullableErrorMessage) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableMaintenanceWindow ¶
type NullableMaintenanceWindow struct {
// contains filtered or unexported fields
}
func NewNullableMaintenanceWindow ¶
func NewNullableMaintenanceWindow(val *MaintenanceWindow) *NullableMaintenanceWindow
func (NullableMaintenanceWindow) Get ¶
func (v NullableMaintenanceWindow) Get() *MaintenanceWindow
func (NullableMaintenanceWindow) IsSet ¶
func (v NullableMaintenanceWindow) IsSet() bool
func (NullableMaintenanceWindow) MarshalJSON ¶
func (v NullableMaintenanceWindow) MarshalJSON() ([]byte, error)
func (*NullableMaintenanceWindow) Set ¶
func (v *NullableMaintenanceWindow) Set(val *MaintenanceWindow)
func (*NullableMaintenanceWindow) UnmarshalJSON ¶
func (v *NullableMaintenanceWindow) UnmarshalJSON(src []byte) error
func (*NullableMaintenanceWindow) Unset ¶
func (v *NullableMaintenanceWindow) Unset()
type NullableMetadata ¶
type NullableMetadata struct {
// contains filtered or unexported fields
}
func NewNullableMetadata ¶
func NewNullableMetadata(val *Metadata) *NullableMetadata
func (NullableMetadata) Get ¶
func (v NullableMetadata) Get() *Metadata
func (NullableMetadata) IsSet ¶
func (v NullableMetadata) IsSet() bool
func (NullableMetadata) MarshalJSON ¶
func (v NullableMetadata) MarshalJSON() ([]byte, error)
func (*NullableMetadata) Set ¶
func (v *NullableMetadata) Set(val *Metadata)
func (*NullableMetadata) UnmarshalJSON ¶
func (v *NullableMetadata) UnmarshalJSON(src []byte) error
func (*NullableMetadata) Unset ¶
func (v *NullableMetadata) Unset()
type NullableNodePool ¶
type NullableNodePool struct {
// contains filtered or unexported fields
}
func NewNullableNodePool ¶
func NewNullableNodePool(val *NodePool) *NullableNodePool
func (NullableNodePool) Get ¶
func (v NullableNodePool) Get() *NodePool
func (NullableNodePool) IsSet ¶
func (v NullableNodePool) IsSet() bool
func (NullableNodePool) MarshalJSON ¶
func (v NullableNodePool) MarshalJSON() ([]byte, error)
func (*NullableNodePool) Set ¶
func (v *NullableNodePool) Set(val *NodePool)
func (*NullableNodePool) UnmarshalJSON ¶
func (v *NullableNodePool) UnmarshalJSON(src []byte) error
func (*NullableNodePool) Unset ¶
func (v *NullableNodePool) Unset()
type NullableNodePoolListResponseData ¶
type NullableNodePoolListResponseData struct {
// contains filtered or unexported fields
}
func NewNullableNodePoolListResponseData ¶
func NewNullableNodePoolListResponseData(val *NodePoolListResponseData) *NullableNodePoolListResponseData
func (NullableNodePoolListResponseData) Get ¶
func (v NullableNodePoolListResponseData) Get() *NodePoolListResponseData
func (NullableNodePoolListResponseData) IsSet ¶
func (v NullableNodePoolListResponseData) IsSet() bool
func (NullableNodePoolListResponseData) MarshalJSON ¶
func (v NullableNodePoolListResponseData) MarshalJSON() ([]byte, error)
func (*NullableNodePoolListResponseData) Set ¶
func (v *NullableNodePoolListResponseData) Set(val *NodePoolListResponseData)
func (*NullableNodePoolListResponseData) UnmarshalJSON ¶
func (v *NullableNodePoolListResponseData) UnmarshalJSON(src []byte) error
func (*NullableNodePoolListResponseData) Unset ¶
func (v *NullableNodePoolListResponseData) Unset()
type NullableNodePoolResponseData ¶
type NullableNodePoolResponseData struct {
// contains filtered or unexported fields
}
func NewNullableNodePoolResponseData ¶
func NewNullableNodePoolResponseData(val *NodePoolResponseData) *NullableNodePoolResponseData
func (NullableNodePoolResponseData) Get ¶
func (v NullableNodePoolResponseData) Get() *NodePoolResponseData
func (NullableNodePoolResponseData) IsSet ¶
func (v NullableNodePoolResponseData) IsSet() bool
func (NullableNodePoolResponseData) MarshalJSON ¶
func (v NullableNodePoolResponseData) MarshalJSON() ([]byte, error)
func (*NullableNodePoolResponseData) Set ¶
func (v *NullableNodePoolResponseData) Set(val *NodePoolResponseData)
func (*NullableNodePoolResponseData) UnmarshalJSON ¶
func (v *NullableNodePoolResponseData) UnmarshalJSON(src []byte) error
func (*NullableNodePoolResponseData) Unset ¶
func (v *NullableNodePoolResponseData) Unset()
type NullablePatchClusterProperties ¶
type NullablePatchClusterProperties struct {
// contains filtered or unexported fields
}
func NewNullablePatchClusterProperties ¶
func NewNullablePatchClusterProperties(val *PatchClusterProperties) *NullablePatchClusterProperties
func (NullablePatchClusterProperties) Get ¶
func (v NullablePatchClusterProperties) Get() *PatchClusterProperties
func (NullablePatchClusterProperties) IsSet ¶
func (v NullablePatchClusterProperties) IsSet() bool
func (NullablePatchClusterProperties) MarshalJSON ¶
func (v NullablePatchClusterProperties) MarshalJSON() ([]byte, error)
func (*NullablePatchClusterProperties) Set ¶
func (v *NullablePatchClusterProperties) Set(val *PatchClusterProperties)
func (*NullablePatchClusterProperties) UnmarshalJSON ¶
func (v *NullablePatchClusterProperties) UnmarshalJSON(src []byte) error
func (*NullablePatchClusterProperties) Unset ¶
func (v *NullablePatchClusterProperties) Unset()
type NullablePatchClusterRequest ¶
type NullablePatchClusterRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchClusterRequest ¶
func NewNullablePatchClusterRequest(val *PatchClusterRequest) *NullablePatchClusterRequest
func (NullablePatchClusterRequest) Get ¶
func (v NullablePatchClusterRequest) Get() *PatchClusterRequest
func (NullablePatchClusterRequest) IsSet ¶
func (v NullablePatchClusterRequest) IsSet() bool
func (NullablePatchClusterRequest) MarshalJSON ¶
func (v NullablePatchClusterRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchClusterRequest) Set ¶
func (v *NullablePatchClusterRequest) Set(val *PatchClusterRequest)
func (*NullablePatchClusterRequest) UnmarshalJSON ¶
func (v *NullablePatchClusterRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchClusterRequest) Unset ¶
func (v *NullablePatchClusterRequest) Unset()
type NullablePatchNodePoolProperties ¶
type NullablePatchNodePoolProperties struct {
// contains filtered or unexported fields
}
func NewNullablePatchNodePoolProperties ¶
func NewNullablePatchNodePoolProperties(val *PatchNodePoolProperties) *NullablePatchNodePoolProperties
func (NullablePatchNodePoolProperties) Get ¶
func (v NullablePatchNodePoolProperties) Get() *PatchNodePoolProperties
func (NullablePatchNodePoolProperties) IsSet ¶
func (v NullablePatchNodePoolProperties) IsSet() bool
func (NullablePatchNodePoolProperties) MarshalJSON ¶
func (v NullablePatchNodePoolProperties) MarshalJSON() ([]byte, error)
func (*NullablePatchNodePoolProperties) Set ¶
func (v *NullablePatchNodePoolProperties) Set(val *PatchNodePoolProperties)
func (*NullablePatchNodePoolProperties) UnmarshalJSON ¶
func (v *NullablePatchNodePoolProperties) UnmarshalJSON(src []byte) error
func (*NullablePatchNodePoolProperties) Unset ¶
func (v *NullablePatchNodePoolProperties) Unset()
type NullablePatchNodePoolRequest ¶
type NullablePatchNodePoolRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchNodePoolRequest ¶
func NewNullablePatchNodePoolRequest(val *PatchNodePoolRequest) *NullablePatchNodePoolRequest
func (NullablePatchNodePoolRequest) Get ¶
func (v NullablePatchNodePoolRequest) Get() *PatchNodePoolRequest
func (NullablePatchNodePoolRequest) IsSet ¶
func (v NullablePatchNodePoolRequest) IsSet() bool
func (NullablePatchNodePoolRequest) MarshalJSON ¶
func (v NullablePatchNodePoolRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchNodePoolRequest) Set ¶
func (v *NullablePatchNodePoolRequest) Set(val *PatchNodePoolRequest)
func (*NullablePatchNodePoolRequest) UnmarshalJSON ¶
func (v *NullablePatchNodePoolRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchNodePoolRequest) Unset ¶
func (v *NullablePatchNodePoolRequest) Unset()
type NullableStorageType ¶
type NullableStorageType struct {
// contains filtered or unexported fields
}
func NewNullableStorageType ¶
func NewNullableStorageType(val *StorageType) *NullableStorageType
func (NullableStorageType) Get ¶
func (v NullableStorageType) Get() *StorageType
func (NullableStorageType) IsSet ¶
func (v NullableStorageType) IsSet() bool
func (NullableStorageType) MarshalJSON ¶
func (v NullableStorageType) MarshalJSON() ([]byte, error)
func (*NullableStorageType) Set ¶
func (v *NullableStorageType) Set(val *StorageType)
func (*NullableStorageType) UnmarshalJSON ¶
func (v *NullableStorageType) UnmarshalJSON(src []byte) error
func (*NullableStorageType) Unset ¶
func (v *NullableStorageType) Unset()
type PatchClusterProperties ¶
type PatchClusterProperties struct { // The name of your cluster. Must be 63 characters or less and must begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. Name *string `json:"name,omitempty"` // The version of the data platform. DataPlatformVersion *string `json:"dataPlatformVersion,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` }
PatchClusterProperties struct for PatchClusterProperties
func NewPatchClusterProperties ¶
func NewPatchClusterProperties() *PatchClusterProperties
NewPatchClusterProperties instantiates a new PatchClusterProperties 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 NewPatchClusterPropertiesWithDefaults ¶
func NewPatchClusterPropertiesWithDefaults() *PatchClusterProperties
NewPatchClusterPropertiesWithDefaults instantiates a new PatchClusterProperties 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 (*PatchClusterProperties) GetDataPlatformVersion ¶
func (o *PatchClusterProperties) GetDataPlatformVersion() *string
GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned
func (*PatchClusterProperties) GetDataPlatformVersionOk ¶
func (o *PatchClusterProperties) GetDataPlatformVersionOk() (*string, bool)
GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PatchClusterProperties) GetMaintenanceWindow ¶
func (o *PatchClusterProperties) GetMaintenanceWindow() *MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned
func (*PatchClusterProperties) GetMaintenanceWindowOk ¶
func (o *PatchClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PatchClusterProperties) GetName ¶
func (o *PatchClusterProperties) GetName() *string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*PatchClusterProperties) GetNameOk ¶
func (o *PatchClusterProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PatchClusterProperties) HasDataPlatformVersion ¶
func (o *PatchClusterProperties) HasDataPlatformVersion() bool
HasDataPlatformVersion returns a boolean if a field has been set.
func (*PatchClusterProperties) HasMaintenanceWindow ¶
func (o *PatchClusterProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*PatchClusterProperties) HasName ¶
func (o *PatchClusterProperties) HasName() bool
HasName returns a boolean if a field has been set.
func (PatchClusterProperties) MarshalJSON ¶
func (o PatchClusterProperties) MarshalJSON() ([]byte, error)
func (*PatchClusterProperties) SetDataPlatformVersion ¶
func (o *PatchClusterProperties) SetDataPlatformVersion(v string)
SetDataPlatformVersion sets field value
func (*PatchClusterProperties) SetMaintenanceWindow ¶
func (o *PatchClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*PatchClusterProperties) SetName ¶
func (o *PatchClusterProperties) SetName(v string)
SetName sets field value
type PatchClusterRequest ¶
type PatchClusterRequest struct {
Properties *PatchClusterProperties `json:"properties"`
}
PatchClusterRequest Data to update selected properties of a DataPlatformCluster
func NewPatchClusterRequest ¶
func NewPatchClusterRequest(properties PatchClusterProperties) *PatchClusterRequest
NewPatchClusterRequest instantiates a new PatchClusterRequest 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 NewPatchClusterRequestWithDefaults ¶
func NewPatchClusterRequestWithDefaults() *PatchClusterRequest
NewPatchClusterRequestWithDefaults instantiates a new PatchClusterRequest 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 (*PatchClusterRequest) GetProperties ¶
func (o *PatchClusterRequest) GetProperties() *PatchClusterProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for PatchClusterProperties will be returned
func (*PatchClusterRequest) GetPropertiesOk ¶
func (o *PatchClusterRequest) GetPropertiesOk() (*PatchClusterProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PatchClusterRequest) HasProperties ¶
func (o *PatchClusterRequest) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (PatchClusterRequest) MarshalJSON ¶
func (o PatchClusterRequest) MarshalJSON() ([]byte, error)
func (*PatchClusterRequest) SetProperties ¶
func (o *PatchClusterRequest) SetProperties(v PatchClusterProperties)
SetProperties sets field value
type PatchNodePoolProperties ¶
type PatchNodePoolProperties struct { // The number of nodes that make up the node pool. NodeCount *int32 `json:"nodeCount,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` // Key-value pairs attached to the node pool resource as [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) Labels *map[string]interface{} `json:"labels,omitempty"` // Key-value pairs attached to node pool resource as [Kubernetes annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) Annotations *map[string]interface{} `json:"annotations,omitempty"` }
PatchNodePoolProperties struct for PatchNodePoolProperties
func NewPatchNodePoolProperties ¶
func NewPatchNodePoolProperties() *PatchNodePoolProperties
NewPatchNodePoolProperties instantiates a new PatchNodePoolProperties 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 NewPatchNodePoolPropertiesWithDefaults ¶
func NewPatchNodePoolPropertiesWithDefaults() *PatchNodePoolProperties
NewPatchNodePoolPropertiesWithDefaults instantiates a new PatchNodePoolProperties 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 (*PatchNodePoolProperties) GetAnnotations ¶
func (o *PatchNodePoolProperties) GetAnnotations() *map[string]interface{}
GetAnnotations returns the Annotations field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*PatchNodePoolProperties) GetAnnotationsOk ¶
func (o *PatchNodePoolProperties) GetAnnotationsOk() (*map[string]interface{}, bool)
GetAnnotationsOk returns a tuple with the Annotations field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PatchNodePoolProperties) GetLabels ¶
func (o *PatchNodePoolProperties) GetLabels() *map[string]interface{}
GetLabels returns the Labels field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*PatchNodePoolProperties) GetLabelsOk ¶
func (o *PatchNodePoolProperties) GetLabelsOk() (*map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PatchNodePoolProperties) GetMaintenanceWindow ¶
func (o *PatchNodePoolProperties) GetMaintenanceWindow() *MaintenanceWindow
GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned
func (*PatchNodePoolProperties) GetMaintenanceWindowOk ¶
func (o *PatchNodePoolProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)
GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PatchNodePoolProperties) GetNodeCount ¶
func (o *PatchNodePoolProperties) GetNodeCount() *int32
GetNodeCount returns the NodeCount field value If the value is explicit nil, the zero value for int32 will be returned
func (*PatchNodePoolProperties) GetNodeCountOk ¶
func (o *PatchNodePoolProperties) GetNodeCountOk() (*int32, bool)
GetNodeCountOk returns a tuple with the NodeCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PatchNodePoolProperties) HasAnnotations ¶
func (o *PatchNodePoolProperties) HasAnnotations() bool
HasAnnotations returns a boolean if a field has been set.
func (*PatchNodePoolProperties) HasLabels ¶
func (o *PatchNodePoolProperties) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*PatchNodePoolProperties) HasMaintenanceWindow ¶
func (o *PatchNodePoolProperties) HasMaintenanceWindow() bool
HasMaintenanceWindow returns a boolean if a field has been set.
func (*PatchNodePoolProperties) HasNodeCount ¶
func (o *PatchNodePoolProperties) HasNodeCount() bool
HasNodeCount returns a boolean if a field has been set.
func (PatchNodePoolProperties) MarshalJSON ¶
func (o PatchNodePoolProperties) MarshalJSON() ([]byte, error)
func (*PatchNodePoolProperties) SetAnnotations ¶
func (o *PatchNodePoolProperties) SetAnnotations(v map[string]interface{})
SetAnnotations sets field value
func (*PatchNodePoolProperties) SetLabels ¶
func (o *PatchNodePoolProperties) SetLabels(v map[string]interface{})
SetLabels sets field value
func (*PatchNodePoolProperties) SetMaintenanceWindow ¶
func (o *PatchNodePoolProperties) SetMaintenanceWindow(v MaintenanceWindow)
SetMaintenanceWindow sets field value
func (*PatchNodePoolProperties) SetNodeCount ¶
func (o *PatchNodePoolProperties) SetNodeCount(v int32)
SetNodeCount sets field value
type PatchNodePoolRequest ¶
type PatchNodePoolRequest struct {
Properties *PatchNodePoolProperties `json:"properties"`
}
PatchNodePoolRequest Data to update selected properties of a node pool for a DataPlatformNodePool.
func NewPatchNodePoolRequest ¶
func NewPatchNodePoolRequest(properties PatchNodePoolProperties) *PatchNodePoolRequest
NewPatchNodePoolRequest instantiates a new PatchNodePoolRequest 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 NewPatchNodePoolRequestWithDefaults ¶
func NewPatchNodePoolRequestWithDefaults() *PatchNodePoolRequest
NewPatchNodePoolRequestWithDefaults instantiates a new PatchNodePoolRequest 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 (*PatchNodePoolRequest) GetProperties ¶
func (o *PatchNodePoolRequest) GetProperties() *PatchNodePoolProperties
GetProperties returns the Properties field value If the value is explicit nil, the zero value for PatchNodePoolProperties will be returned
func (*PatchNodePoolRequest) GetPropertiesOk ¶
func (o *PatchNodePoolRequest) GetPropertiesOk() (*PatchNodePoolProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PatchNodePoolRequest) HasProperties ¶
func (o *PatchNodePoolRequest) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (PatchNodePoolRequest) MarshalJSON ¶
func (o PatchNodePoolRequest) MarshalJSON() ([]byte, error)
func (*PatchNodePoolRequest) SetProperties ¶
func (o *PatchNodePoolRequest) SetProperties(v PatchNodePoolProperties)
SetProperties sets field value
type StorageType ¶
type StorageType string
StorageType The type of hardware for the volume.
const ( STORAGETYPE_HDD StorageType = "HDD" STORAGETYPE_SSD StorageType = "SSD" )
List of StorageType
func (StorageType) Ptr ¶
func (v StorageType) Ptr() *StorageType
Ptr returns reference to StorageType value
func (*StorageType) UnmarshalJSON ¶
func (v *StorageType) UnmarshalJSON(src []byte) error
Source Files ¶
- api_data_platform_cluster.go
- api_data_platform_meta_data.go
- api_data_platform_node_pool.go
- client.go
- model_availability_zone.go
- model_cluster.go
- model_cluster_list_response_data.go
- model_cluster_response_data.go
- model_create_cluster_properties.go
- model_create_cluster_request.go
- model_create_node_pool_properties.go
- model_create_node_pool_request.go
- model_error_message.go
- model_error_response.go
- model_maintenance_window.go
- model_metadata.go
- model_node_pool.go
- model_node_pool_list_response_data.go
- model_node_pool_response_data.go
- model_patch_cluster_properties.go
- model_patch_cluster_request.go
- model_patch_node_pool_properties.go
- model_patch_node_pool_request.go
- model_storage_type.go
- utils.go