Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type ACL
- func (o *ACL) GetAllowedCidrs() []string
- func (o *ACL) GetAllowedCidrsOk() ([]string, bool)
- func (o *ACL) GetEnabled() bool
- func (o *ACL) GetEnabledOk() (*bool, bool)
- func (o ACL) MarshalJSON() ([]byte, error)
- func (o *ACL) SetAllowedCidrs(v []string)
- func (o *ACL) SetEnabled(v bool)
- func (o ACL) ToMap() (map[string]interface{}, error)
- func (o *ACL) UnmarshalJSON(data []byte) (err error)
- type APIClient
- type APIResponse
- type ApiCompleteCredentialsRotationRequest
- type ApiCreateKubeconfigRequest
- type ApiCreateOrUpdateClusterRequest
- type ApiDeleteClusterRequest
- type ApiGetClusterRequest
- type ApiGetLoginKubeconfigRequest
- type ApiListClustersRequest
- type ApiListProviderOptionsRequest
- type ApiStartCredentialsRotationRequest
- type ApiTriggerHibernateRequest
- type ApiTriggerMaintenanceRequest
- type ApiTriggerReconcileRequest
- type ApiTriggerWakeupRequest
- type Argus
- func (o *Argus) GetArgusInstanceId() string
- func (o *Argus) GetArgusInstanceIdOk() (*string, bool)
- func (o *Argus) GetEnabled() bool
- func (o *Argus) GetEnabledOk() (*bool, bool)
- func (o Argus) MarshalJSON() ([]byte, error)
- func (o *Argus) SetArgusInstanceId(v string)
- func (o *Argus) SetEnabled(v bool)
- func (o Argus) ToMap() (map[string]interface{}, error)
- func (o *Argus) UnmarshalJSON(data []byte) (err error)
- type AvailabilityZone
- func (o *AvailabilityZone) GetName() string
- func (o *AvailabilityZone) GetNameOk() (*string, bool)
- func (o *AvailabilityZone) HasName() bool
- func (o AvailabilityZone) MarshalJSON() ([]byte, error)
- func (o *AvailabilityZone) SetName(v string)
- func (o AvailabilityZone) ToMap() (map[string]interface{}, error)
- type CRI
- type Cluster
- func (o *Cluster) GetExtensions() Extension
- func (o *Cluster) GetExtensionsOk() (*Extension, bool)
- func (o *Cluster) GetHibernation() Hibernation
- func (o *Cluster) GetHibernationOk() (*Hibernation, bool)
- func (o *Cluster) GetKubernetes() Kubernetes
- func (o *Cluster) GetKubernetesOk() (*Kubernetes, bool)
- func (o *Cluster) GetMaintenance() Maintenance
- func (o *Cluster) GetMaintenanceOk() (*Maintenance, bool)
- func (o *Cluster) GetName() string
- func (o *Cluster) GetNameOk() (*string, bool)
- func (o *Cluster) GetNetwork() Network
- func (o *Cluster) GetNetworkOk() (*Network, bool)
- func (o *Cluster) GetNodepools() []Nodepool
- func (o *Cluster) GetNodepoolsOk() ([]Nodepool, bool)
- func (o *Cluster) GetStatus() ClusterStatus
- func (o *Cluster) GetStatusOk() (*ClusterStatus, bool)
- func (o *Cluster) HasExtensions() bool
- func (o *Cluster) HasHibernation() bool
- func (o *Cluster) HasMaintenance() bool
- func (o *Cluster) HasName() bool
- func (o *Cluster) HasNetwork() bool
- func (o *Cluster) HasStatus() bool
- func (o Cluster) MarshalJSON() ([]byte, error)
- func (o *Cluster) SetExtensions(v Extension)
- func (o *Cluster) SetHibernation(v Hibernation)
- func (o *Cluster) SetKubernetes(v Kubernetes)
- func (o *Cluster) SetMaintenance(v Maintenance)
- func (o *Cluster) SetName(v string)
- func (o *Cluster) SetNetwork(v Network)
- func (o *Cluster) SetNodepools(v []Nodepool)
- func (o *Cluster) SetStatus(v ClusterStatus)
- func (o Cluster) ToMap() (map[string]interface{}, error)
- func (o *Cluster) UnmarshalJSON(data []byte) (err error)
- type ClusterError
- func (o *ClusterError) GetCode() string
- func (o *ClusterError) GetCodeOk() (*string, bool)
- func (o *ClusterError) GetMessage() string
- func (o *ClusterError) GetMessageOk() (*string, bool)
- func (o *ClusterError) HasCode() bool
- func (o *ClusterError) HasMessage() bool
- func (o ClusterError) MarshalJSON() ([]byte, error)
- func (o *ClusterError) SetCode(v string)
- func (o *ClusterError) SetMessage(v string)
- func (o ClusterError) ToMap() (map[string]interface{}, error)
- type ClusterStatus
- func (o *ClusterStatus) GetAggregated() ClusterStatusState
- func (o *ClusterStatus) GetAggregatedOk() (*ClusterStatusState, bool)
- func (o *ClusterStatus) GetCreationTime() time.Time
- func (o *ClusterStatus) GetCreationTimeOk() (*time.Time, bool)
- func (o *ClusterStatus) GetCredentialsRotation() CredentialsRotationState
- func (o *ClusterStatus) GetCredentialsRotationOk() (*CredentialsRotationState, bool)
- func (o *ClusterStatus) GetEgressAddressRanges() []string
- func (o *ClusterStatus) GetEgressAddressRangesOk() ([]string, bool)
- func (o *ClusterStatus) GetError() RuntimeError
- func (o *ClusterStatus) GetErrorOk() (*RuntimeError, bool)
- func (o *ClusterStatus) GetErrors() []ClusterError
- func (o *ClusterStatus) GetErrorsOk() ([]ClusterError, bool)
- func (o *ClusterStatus) GetHibernated() bool
- func (o *ClusterStatus) GetHibernatedOk() (*bool, bool)
- func (o *ClusterStatus) GetPodAddressRanges() []string
- func (o *ClusterStatus) GetPodAddressRangesOk() ([]string, bool)
- func (o *ClusterStatus) HasAggregated() bool
- func (o *ClusterStatus) HasCreationTime() bool
- func (o *ClusterStatus) HasCredentialsRotation() bool
- func (o *ClusterStatus) HasEgressAddressRanges() bool
- func (o *ClusterStatus) HasError() bool
- func (o *ClusterStatus) HasErrors() bool
- func (o *ClusterStatus) HasHibernated() bool
- func (o *ClusterStatus) HasPodAddressRanges() bool
- func (o ClusterStatus) MarshalJSON() ([]byte, error)
- func (o *ClusterStatus) SetAggregated(v ClusterStatusState)
- func (o *ClusterStatus) SetCreationTime(v time.Time)
- func (o *ClusterStatus) SetCredentialsRotation(v CredentialsRotationState)
- func (o *ClusterStatus) SetEgressAddressRanges(v []string)
- func (o *ClusterStatus) SetError(v RuntimeError)
- func (o *ClusterStatus) SetErrors(v []ClusterError)
- func (o *ClusterStatus) SetHibernated(v bool)
- func (o *ClusterStatus) SetPodAddressRanges(v []string)
- func (o ClusterStatus) ToMap() (map[string]interface{}, error)
- type ClusterStatusState
- type CreateKubeconfigPayload
- func (o *CreateKubeconfigPayload) GetExpirationSeconds() string
- func (o *CreateKubeconfigPayload) GetExpirationSecondsOk() (*string, bool)
- func (o *CreateKubeconfigPayload) HasExpirationSeconds() bool
- func (o CreateKubeconfigPayload) MarshalJSON() ([]byte, error)
- func (o *CreateKubeconfigPayload) SetExpirationSeconds(v string)
- func (o CreateKubeconfigPayload) ToMap() (map[string]interface{}, error)
- type CreateOrUpdateClusterPayload
- func (o *CreateOrUpdateClusterPayload) GetExtensions() Extension
- func (o *CreateOrUpdateClusterPayload) GetExtensionsOk() (*Extension, bool)
- func (o *CreateOrUpdateClusterPayload) GetHibernation() Hibernation
- func (o *CreateOrUpdateClusterPayload) GetHibernationOk() (*Hibernation, bool)
- func (o *CreateOrUpdateClusterPayload) GetKubernetes() Kubernetes
- func (o *CreateOrUpdateClusterPayload) GetKubernetesOk() (*Kubernetes, bool)
- func (o *CreateOrUpdateClusterPayload) GetMaintenance() Maintenance
- func (o *CreateOrUpdateClusterPayload) GetMaintenanceOk() (*Maintenance, bool)
- func (o *CreateOrUpdateClusterPayload) GetNetwork() Network
- func (o *CreateOrUpdateClusterPayload) GetNetworkOk() (*Network, bool)
- func (o *CreateOrUpdateClusterPayload) GetNodepools() []Nodepool
- func (o *CreateOrUpdateClusterPayload) GetNodepoolsOk() ([]Nodepool, bool)
- func (o *CreateOrUpdateClusterPayload) GetStatus() ClusterStatus
- func (o *CreateOrUpdateClusterPayload) GetStatusOk() (*ClusterStatus, bool)
- func (o *CreateOrUpdateClusterPayload) HasExtensions() bool
- func (o *CreateOrUpdateClusterPayload) HasHibernation() bool
- func (o *CreateOrUpdateClusterPayload) HasMaintenance() bool
- func (o *CreateOrUpdateClusterPayload) HasNetwork() bool
- func (o *CreateOrUpdateClusterPayload) HasStatus() bool
- func (o CreateOrUpdateClusterPayload) MarshalJSON() ([]byte, error)
- func (o *CreateOrUpdateClusterPayload) SetExtensions(v Extension)
- func (o *CreateOrUpdateClusterPayload) SetHibernation(v Hibernation)
- func (o *CreateOrUpdateClusterPayload) SetKubernetes(v Kubernetes)
- func (o *CreateOrUpdateClusterPayload) SetMaintenance(v Maintenance)
- func (o *CreateOrUpdateClusterPayload) SetNetwork(v Network)
- func (o *CreateOrUpdateClusterPayload) SetNodepools(v []Nodepool)
- func (o *CreateOrUpdateClusterPayload) SetStatus(v ClusterStatus)
- func (o CreateOrUpdateClusterPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateOrUpdateClusterPayload) UnmarshalJSON(data []byte) (err error)
- type CredentialsRotationState
- func (o *CredentialsRotationState) GetLastCompletionTime() time.Time
- func (o *CredentialsRotationState) GetLastCompletionTimeOk() (*time.Time, bool)
- func (o *CredentialsRotationState) GetLastInitiationTime() time.Time
- func (o *CredentialsRotationState) GetLastInitiationTimeOk() (*time.Time, bool)
- func (o *CredentialsRotationState) GetPhase() string
- func (o *CredentialsRotationState) GetPhaseOk() (*string, bool)
- func (o *CredentialsRotationState) HasLastCompletionTime() bool
- func (o *CredentialsRotationState) HasLastInitiationTime() bool
- func (o *CredentialsRotationState) HasPhase() bool
- func (o CredentialsRotationState) MarshalJSON() ([]byte, error)
- func (o *CredentialsRotationState) SetLastCompletionTime(v time.Time)
- func (o *CredentialsRotationState) SetLastInitiationTime(v time.Time)
- func (o *CredentialsRotationState) SetPhase(v string)
- func (o CredentialsRotationState) ToMap() (map[string]interface{}, error)
- type DNS
- func (o *DNS) GetEnabled() bool
- func (o *DNS) GetEnabledOk() (*bool, bool)
- func (o *DNS) GetZones() []string
- func (o *DNS) GetZonesOk() ([]string, bool)
- func (o *DNS) HasZones() bool
- func (o DNS) MarshalJSON() ([]byte, error)
- func (o *DNS) SetEnabled(v bool)
- func (o *DNS) SetZones(v []string)
- func (o DNS) ToMap() (map[string]interface{}, error)
- func (o *DNS) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CompleteCredentialsRotation(ctx context.Context, projectId string, clusterName string) ApiCompleteCredentialsRotationRequest
- func (a *DefaultAPIService) CompleteCredentialsRotationExecute(r ApiCompleteCredentialsRotationRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) CreateKubeconfig(ctx context.Context, projectId string, clusterName string) ApiCreateKubeconfigRequest
- func (a *DefaultAPIService) CreateKubeconfigExecute(r ApiCreateKubeconfigRequest) (*Kubeconfig, error)
- func (a *DefaultAPIService) CreateOrUpdateCluster(ctx context.Context, projectId string, clusterName string) ApiCreateOrUpdateClusterRequest
- func (a *DefaultAPIService) CreateOrUpdateClusterExecute(r ApiCreateOrUpdateClusterRequest) (*Cluster, error)
- func (a *DefaultAPIService) DeleteCluster(ctx context.Context, projectId string, clusterName string) ApiDeleteClusterRequest
- func (a *DefaultAPIService) DeleteClusterExecute(r ApiDeleteClusterRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) GetCluster(ctx context.Context, projectId string, clusterName string) ApiGetClusterRequest
- func (a *DefaultAPIService) GetClusterExecute(r ApiGetClusterRequest) (*Cluster, error)
- func (a *DefaultAPIService) GetLoginKubeconfig(ctx context.Context, projectId string, clusterName string) ApiGetLoginKubeconfigRequest
- func (a *DefaultAPIService) GetLoginKubeconfigExecute(r ApiGetLoginKubeconfigRequest) (*LoginKubeconfig, error)
- func (a *DefaultAPIService) ListClusters(ctx context.Context, projectId string) ApiListClustersRequest
- func (a *DefaultAPIService) ListClustersExecute(r ApiListClustersRequest) (*ListClustersResponse, error)
- func (a *DefaultAPIService) ListProviderOptions(ctx context.Context) ApiListProviderOptionsRequest
- func (a *DefaultAPIService) ListProviderOptionsExecute(r ApiListProviderOptionsRequest) (*ProviderOptions, error)
- func (a *DefaultAPIService) StartCredentialsRotation(ctx context.Context, projectId string, clusterName string) ApiStartCredentialsRotationRequest
- func (a *DefaultAPIService) StartCredentialsRotationExecute(r ApiStartCredentialsRotationRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) TriggerHibernate(ctx context.Context, projectId string, clusterName string) ApiTriggerHibernateRequest
- func (a *DefaultAPIService) TriggerHibernateExecute(r ApiTriggerHibernateRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) TriggerMaintenance(ctx context.Context, projectId string, clusterName string) ApiTriggerMaintenanceRequest
- func (a *DefaultAPIService) TriggerMaintenanceExecute(r ApiTriggerMaintenanceRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) TriggerReconcile(ctx context.Context, projectId string, clusterName string) ApiTriggerReconcileRequest
- func (a *DefaultAPIService) TriggerReconcileExecute(r ApiTriggerReconcileRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) TriggerWakeup(ctx context.Context, projectId string, clusterName string) ApiTriggerWakeupRequest
- func (a *DefaultAPIService) TriggerWakeupExecute(r ApiTriggerWakeupRequest) (map[string]interface{}, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CompleteCredentialsRotation(ctx context.Context, projectId string, clusterName string) ApiCompleteCredentialsRotationRequest
- func (a DefaultAPIServiceMock) CompleteCredentialsRotationExecute(r ApiCompleteCredentialsRotationRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) CreateKubeconfig(ctx context.Context, projectId string, clusterName string) ApiCreateKubeconfigRequest
- func (a DefaultAPIServiceMock) CreateKubeconfigExecute(r ApiCreateKubeconfigRequest) (*Kubeconfig, error)
- func (a DefaultAPIServiceMock) CreateOrUpdateCluster(ctx context.Context, projectId string, clusterName string) ApiCreateOrUpdateClusterRequest
- func (a DefaultAPIServiceMock) CreateOrUpdateClusterExecute(r ApiCreateOrUpdateClusterRequest) (*Cluster, error)
- func (a DefaultAPIServiceMock) DeleteCluster(ctx context.Context, projectId string, clusterName string) ApiDeleteClusterRequest
- func (a DefaultAPIServiceMock) DeleteClusterExecute(r ApiDeleteClusterRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) GetCluster(ctx context.Context, projectId string, clusterName string) ApiGetClusterRequest
- func (a DefaultAPIServiceMock) GetClusterExecute(r ApiGetClusterRequest) (*Cluster, error)
- func (a DefaultAPIServiceMock) GetLoginKubeconfig(ctx context.Context, projectId string, clusterName string) ApiGetLoginKubeconfigRequest
- func (a DefaultAPIServiceMock) GetLoginKubeconfigExecute(r ApiGetLoginKubeconfigRequest) (*LoginKubeconfig, error)
- func (a DefaultAPIServiceMock) ListClusters(ctx context.Context, projectId string) ApiListClustersRequest
- func (a DefaultAPIServiceMock) ListClustersExecute(r ApiListClustersRequest) (*ListClustersResponse, error)
- func (a DefaultAPIServiceMock) ListProviderOptions(ctx context.Context) ApiListProviderOptionsRequest
- func (a DefaultAPIServiceMock) ListProviderOptionsExecute(r ApiListProviderOptionsRequest) (*ProviderOptions, error)
- func (a DefaultAPIServiceMock) StartCredentialsRotation(ctx context.Context, projectId string, clusterName string) ApiStartCredentialsRotationRequest
- func (a DefaultAPIServiceMock) StartCredentialsRotationExecute(r ApiStartCredentialsRotationRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) TriggerHibernate(ctx context.Context, projectId string, clusterName string) ApiTriggerHibernateRequest
- func (a DefaultAPIServiceMock) TriggerHibernateExecute(r ApiTriggerHibernateRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) TriggerMaintenance(ctx context.Context, projectId string, clusterName string) ApiTriggerMaintenanceRequest
- func (a DefaultAPIServiceMock) TriggerMaintenanceExecute(r ApiTriggerMaintenanceRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) TriggerReconcile(ctx context.Context, projectId string, clusterName string) ApiTriggerReconcileRequest
- func (a DefaultAPIServiceMock) TriggerReconcileExecute(r ApiTriggerReconcileRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) TriggerWakeup(ctx context.Context, projectId string, clusterName string) ApiTriggerWakeupRequest
- func (a DefaultAPIServiceMock) TriggerWakeupExecute(r ApiTriggerWakeupRequest) (map[string]interface{}, error)
- type Extension
- func (o *Extension) GetAcl() ACL
- func (o *Extension) GetAclOk() (*ACL, bool)
- func (o *Extension) GetArgus() Argus
- func (o *Extension) GetArgusOk() (*Argus, bool)
- func (o *Extension) GetDns() DNS
- func (o *Extension) GetDnsOk() (*DNS, bool)
- func (o *Extension) HasAcl() bool
- func (o *Extension) HasArgus() bool
- func (o *Extension) HasDns() bool
- func (o Extension) MarshalJSON() ([]byte, error)
- func (o *Extension) SetAcl(v ACL)
- func (o *Extension) SetArgus(v Argus)
- func (o *Extension) SetDns(v DNS)
- func (o Extension) ToMap() (map[string]interface{}, error)
- type Hibernation
- func (o *Hibernation) GetSchedules() []HibernationSchedule
- func (o *Hibernation) GetSchedulesOk() ([]HibernationSchedule, bool)
- func (o Hibernation) MarshalJSON() ([]byte, error)
- func (o *Hibernation) SetSchedules(v []HibernationSchedule)
- func (o Hibernation) ToMap() (map[string]interface{}, error)
- func (o *Hibernation) UnmarshalJSON(data []byte) (err error)
- type HibernationSchedule
- func (o *HibernationSchedule) GetEnd() string
- func (o *HibernationSchedule) GetEndOk() (*string, bool)
- func (o *HibernationSchedule) GetStart() string
- func (o *HibernationSchedule) GetStartOk() (*string, bool)
- func (o *HibernationSchedule) GetTimezone() string
- func (o *HibernationSchedule) GetTimezoneOk() (*string, bool)
- func (o *HibernationSchedule) HasTimezone() bool
- func (o HibernationSchedule) MarshalJSON() ([]byte, error)
- func (o *HibernationSchedule) SetEnd(v string)
- func (o *HibernationSchedule) SetStart(v string)
- func (o *HibernationSchedule) SetTimezone(v string)
- func (o HibernationSchedule) ToMap() (map[string]interface{}, error)
- func (o *HibernationSchedule) UnmarshalJSON(data []byte) (err error)
- type Image
- func (o *Image) GetName() string
- func (o *Image) GetNameOk() (*string, bool)
- func (o *Image) GetVersion() string
- func (o *Image) GetVersionOk() (*string, bool)
- func (o Image) MarshalJSON() ([]byte, error)
- func (o *Image) SetName(v string)
- func (o *Image) SetVersion(v string)
- func (o Image) ToMap() (map[string]interface{}, error)
- func (o *Image) UnmarshalJSON(data []byte) (err error)
- type Kubeconfig
- func (o *Kubeconfig) GetExpirationTimestamp() time.Time
- func (o *Kubeconfig) GetExpirationTimestampOk() (*time.Time, bool)
- func (o *Kubeconfig) GetKubeconfig() string
- func (o *Kubeconfig) GetKubeconfigOk() (*string, bool)
- func (o *Kubeconfig) HasExpirationTimestamp() bool
- func (o *Kubeconfig) HasKubeconfig() bool
- func (o Kubeconfig) MarshalJSON() ([]byte, error)
- func (o *Kubeconfig) SetExpirationTimestamp(v time.Time)
- func (o *Kubeconfig) SetKubeconfig(v string)
- func (o Kubeconfig) ToMap() (map[string]interface{}, error)
- type Kubernetes
- func (o *Kubernetes) GetAllowPrivilegedContainers() bool
- func (o *Kubernetes) GetAllowPrivilegedContainersOk() (*bool, bool)
- func (o *Kubernetes) GetVersion() string
- func (o *Kubernetes) GetVersionOk() (*string, bool)
- func (o *Kubernetes) HasAllowPrivilegedContainers() bool
- func (o Kubernetes) MarshalJSON() ([]byte, error)
- func (o *Kubernetes) SetAllowPrivilegedContainers(v bool)
- func (o *Kubernetes) SetVersion(v string)
- func (o Kubernetes) ToMap() (map[string]interface{}, error)
- func (o *Kubernetes) UnmarshalJSON(data []byte) (err error)
- type KubernetesVersion
- func (o *KubernetesVersion) GetExpirationDate() time.Time
- func (o *KubernetesVersion) GetExpirationDateOk() (*time.Time, bool)
- func (o *KubernetesVersion) GetFeatureGates() map[string]string
- func (o *KubernetesVersion) GetFeatureGatesOk() (*map[string]string, bool)
- func (o *KubernetesVersion) GetState() string
- func (o *KubernetesVersion) GetStateOk() (*string, bool)
- func (o *KubernetesVersion) GetVersion() string
- func (o *KubernetesVersion) GetVersionOk() (*string, bool)
- func (o *KubernetesVersion) HasExpirationDate() bool
- func (o *KubernetesVersion) HasFeatureGates() bool
- func (o *KubernetesVersion) HasState() bool
- func (o *KubernetesVersion) HasVersion() bool
- func (o KubernetesVersion) MarshalJSON() ([]byte, error)
- func (o *KubernetesVersion) SetExpirationDate(v time.Time)
- func (o *KubernetesVersion) SetFeatureGates(v map[string]string)
- func (o *KubernetesVersion) SetState(v string)
- func (o *KubernetesVersion) SetVersion(v string)
- func (o KubernetesVersion) ToMap() (map[string]interface{}, error)
- type ListClustersResponse
- func (o *ListClustersResponse) GetItems() []Cluster
- func (o *ListClustersResponse) GetItemsOk() ([]Cluster, bool)
- func (o *ListClustersResponse) HasItems() bool
- func (o ListClustersResponse) MarshalJSON() ([]byte, error)
- func (o *ListClustersResponse) SetItems(v []Cluster)
- func (o ListClustersResponse) ToMap() (map[string]interface{}, error)
- type LoginKubeconfig
- func (o *LoginKubeconfig) GetKubeconfig() string
- func (o *LoginKubeconfig) GetKubeconfigOk() (*string, bool)
- func (o *LoginKubeconfig) HasKubeconfig() bool
- func (o LoginKubeconfig) MarshalJSON() ([]byte, error)
- func (o *LoginKubeconfig) SetKubeconfig(v string)
- func (o LoginKubeconfig) ToMap() (map[string]interface{}, error)
- type Machine
- func (o *Machine) GetImage() Image
- func (o *Machine) GetImageOk() (*Image, bool)
- func (o *Machine) GetType() string
- func (o *Machine) GetTypeOk() (*string, bool)
- func (o Machine) MarshalJSON() ([]byte, error)
- func (o *Machine) SetImage(v Image)
- func (o *Machine) SetType(v string)
- func (o Machine) ToMap() (map[string]interface{}, error)
- func (o *Machine) UnmarshalJSON(data []byte) (err error)
- type MachineImage
- func (o *MachineImage) GetName() string
- func (o *MachineImage) GetNameOk() (*string, bool)
- func (o *MachineImage) GetVersions() []MachineImageVersion
- func (o *MachineImage) GetVersionsOk() ([]MachineImageVersion, bool)
- func (o *MachineImage) HasName() bool
- func (o *MachineImage) HasVersions() bool
- func (o MachineImage) MarshalJSON() ([]byte, error)
- func (o *MachineImage) SetName(v string)
- func (o *MachineImage) SetVersions(v []MachineImageVersion)
- func (o MachineImage) ToMap() (map[string]interface{}, error)
- type MachineImageVersion
- func (o *MachineImageVersion) GetCri() []CRI
- func (o *MachineImageVersion) GetCriOk() ([]CRI, bool)
- func (o *MachineImageVersion) GetExpirationDate() time.Time
- func (o *MachineImageVersion) GetExpirationDateOk() (*time.Time, bool)
- func (o *MachineImageVersion) GetState() string
- func (o *MachineImageVersion) GetStateOk() (*string, bool)
- func (o *MachineImageVersion) GetVersion() string
- func (o *MachineImageVersion) GetVersionOk() (*string, bool)
- func (o *MachineImageVersion) HasCri() bool
- func (o *MachineImageVersion) HasExpirationDate() bool
- func (o *MachineImageVersion) HasState() bool
- func (o *MachineImageVersion) HasVersion() bool
- func (o MachineImageVersion) MarshalJSON() ([]byte, error)
- func (o *MachineImageVersion) SetCri(v []CRI)
- func (o *MachineImageVersion) SetExpirationDate(v time.Time)
- func (o *MachineImageVersion) SetState(v string)
- func (o *MachineImageVersion) SetVersion(v string)
- func (o MachineImageVersion) ToMap() (map[string]interface{}, error)
- type MachineType
- func (o *MachineType) GetArchitecture() string
- func (o *MachineType) GetArchitectureOk() (*string, bool)
- func (o *MachineType) GetCpu() int32
- func (o *MachineType) GetCpuOk() (*int32, bool)
- func (o *MachineType) GetGpu() int32
- func (o *MachineType) GetGpuOk() (*int32, bool)
- func (o *MachineType) GetMemory() int32
- func (o *MachineType) GetMemoryOk() (*int32, bool)
- func (o *MachineType) GetName() string
- func (o *MachineType) GetNameOk() (*string, bool)
- func (o *MachineType) HasArchitecture() bool
- func (o *MachineType) HasCpu() bool
- func (o *MachineType) HasGpu() bool
- func (o *MachineType) HasMemory() bool
- func (o *MachineType) HasName() bool
- func (o MachineType) MarshalJSON() ([]byte, error)
- func (o *MachineType) SetArchitecture(v string)
- func (o *MachineType) SetCpu(v int32)
- func (o *MachineType) SetGpu(v int32)
- func (o *MachineType) SetMemory(v int32)
- func (o *MachineType) SetName(v string)
- func (o MachineType) ToMap() (map[string]interface{}, error)
- type Maintenance
- func (o *Maintenance) GetAutoUpdate() MaintenanceAutoUpdate
- func (o *Maintenance) GetAutoUpdateOk() (*MaintenanceAutoUpdate, bool)
- func (o *Maintenance) GetTimeWindow() TimeWindow
- func (o *Maintenance) GetTimeWindowOk() (*TimeWindow, bool)
- func (o Maintenance) MarshalJSON() ([]byte, error)
- func (o *Maintenance) SetAutoUpdate(v MaintenanceAutoUpdate)
- func (o *Maintenance) SetTimeWindow(v TimeWindow)
- func (o Maintenance) ToMap() (map[string]interface{}, error)
- func (o *Maintenance) UnmarshalJSON(data []byte) (err error)
- type MaintenanceAutoUpdate
- func (o *MaintenanceAutoUpdate) GetKubernetesVersion() bool
- func (o *MaintenanceAutoUpdate) GetKubernetesVersionOk() (*bool, bool)
- func (o *MaintenanceAutoUpdate) GetMachineImageVersion() bool
- func (o *MaintenanceAutoUpdate) GetMachineImageVersionOk() (*bool, bool)
- func (o *MaintenanceAutoUpdate) HasKubernetesVersion() bool
- func (o *MaintenanceAutoUpdate) HasMachineImageVersion() bool
- func (o MaintenanceAutoUpdate) MarshalJSON() ([]byte, error)
- func (o *MaintenanceAutoUpdate) SetKubernetesVersion(v bool)
- func (o *MaintenanceAutoUpdate) SetMachineImageVersion(v bool)
- func (o MaintenanceAutoUpdate) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type Network
- type Nodepool
- func (o *Nodepool) GetAllowSystemComponents() bool
- func (o *Nodepool) GetAllowSystemComponentsOk() (*bool, bool)
- func (o *Nodepool) GetAvailabilityZones() []string
- func (o *Nodepool) GetAvailabilityZonesOk() ([]string, bool)
- func (o *Nodepool) GetCri() CRI
- func (o *Nodepool) GetCriOk() (*CRI, bool)
- func (o *Nodepool) GetLabels() map[string]string
- func (o *Nodepool) GetLabelsOk() (*map[string]string, bool)
- func (o *Nodepool) GetMachine() Machine
- func (o *Nodepool) GetMachineOk() (*Machine, bool)
- func (o *Nodepool) GetMaxSurge() int32
- func (o *Nodepool) GetMaxSurgeOk() (*int32, bool)
- func (o *Nodepool) GetMaxUnavailable() int32
- func (o *Nodepool) GetMaxUnavailableOk() (*int32, bool)
- func (o *Nodepool) GetMaximum() int32
- func (o *Nodepool) GetMaximumOk() (*int32, bool)
- func (o *Nodepool) GetMinimum() int32
- func (o *Nodepool) GetMinimumOk() (*int32, bool)
- func (o *Nodepool) GetName() string
- func (o *Nodepool) GetNameOk() (*string, bool)
- func (o *Nodepool) GetTaints() []Taint
- func (o *Nodepool) GetTaintsOk() ([]Taint, bool)
- func (o *Nodepool) GetVolume() Volume
- func (o *Nodepool) GetVolumeOk() (*Volume, bool)
- func (o *Nodepool) HasAllowSystemComponents() bool
- func (o *Nodepool) HasCri() bool
- func (o *Nodepool) HasLabels() bool
- func (o *Nodepool) HasMaxSurge() bool
- func (o *Nodepool) HasMaxUnavailable() bool
- func (o *Nodepool) HasTaints() bool
- func (o Nodepool) MarshalJSON() ([]byte, error)
- func (o *Nodepool) SetAllowSystemComponents(v bool)
- func (o *Nodepool) SetAvailabilityZones(v []string)
- func (o *Nodepool) SetCri(v CRI)
- func (o *Nodepool) SetLabels(v map[string]string)
- func (o *Nodepool) SetMachine(v Machine)
- func (o *Nodepool) SetMaxSurge(v int32)
- func (o *Nodepool) SetMaxUnavailable(v int32)
- func (o *Nodepool) SetMaximum(v int32)
- func (o *Nodepool) SetMinimum(v int32)
- func (o *Nodepool) SetName(v string)
- func (o *Nodepool) SetTaints(v []Taint)
- func (o *Nodepool) SetVolume(v Volume)
- func (o Nodepool) ToMap() (map[string]interface{}, error)
- func (o *Nodepool) UnmarshalJSON(data []byte) (err error)
- type NullableACL
- type NullableArgus
- 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 NullableBool
- type NullableCRI
- type NullableCluster
- type NullableClusterError
- func (v NullableClusterError) Get() *ClusterError
- func (v NullableClusterError) IsSet() bool
- func (v NullableClusterError) MarshalJSON() ([]byte, error)
- func (v *NullableClusterError) Set(val *ClusterError)
- func (v *NullableClusterError) UnmarshalJSON(src []byte) error
- func (v *NullableClusterError) Unset()
- type NullableClusterStatus
- func (v NullableClusterStatus) Get() *ClusterStatus
- func (v NullableClusterStatus) IsSet() bool
- func (v NullableClusterStatus) MarshalJSON() ([]byte, error)
- func (v *NullableClusterStatus) Set(val *ClusterStatus)
- func (v *NullableClusterStatus) UnmarshalJSON(src []byte) error
- func (v *NullableClusterStatus) Unset()
- type NullableClusterStatusState
- func (v NullableClusterStatusState) Get() *ClusterStatusState
- func (v NullableClusterStatusState) IsSet() bool
- func (v NullableClusterStatusState) MarshalJSON() ([]byte, error)
- func (v *NullableClusterStatusState) Set(val *ClusterStatusState)
- func (v *NullableClusterStatusState) UnmarshalJSON(src []byte) error
- func (v *NullableClusterStatusState) Unset()
- type NullableCreateKubeconfigPayload
- func (v NullableCreateKubeconfigPayload) Get() *CreateKubeconfigPayload
- func (v NullableCreateKubeconfigPayload) IsSet() bool
- func (v NullableCreateKubeconfigPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateKubeconfigPayload) Set(val *CreateKubeconfigPayload)
- func (v *NullableCreateKubeconfigPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateKubeconfigPayload) Unset()
- type NullableCreateOrUpdateClusterPayload
- func (v NullableCreateOrUpdateClusterPayload) Get() *CreateOrUpdateClusterPayload
- func (v NullableCreateOrUpdateClusterPayload) IsSet() bool
- func (v NullableCreateOrUpdateClusterPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateOrUpdateClusterPayload) Set(val *CreateOrUpdateClusterPayload)
- func (v *NullableCreateOrUpdateClusterPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateOrUpdateClusterPayload) Unset()
- type NullableCredentialsRotationState
- func (v NullableCredentialsRotationState) Get() *CredentialsRotationState
- func (v NullableCredentialsRotationState) IsSet() bool
- func (v NullableCredentialsRotationState) MarshalJSON() ([]byte, error)
- func (v *NullableCredentialsRotationState) Set(val *CredentialsRotationState)
- func (v *NullableCredentialsRotationState) UnmarshalJSON(src []byte) error
- func (v *NullableCredentialsRotationState) Unset()
- type NullableDNS
- type NullableExtension
- type NullableFloat32
- type NullableFloat64
- type NullableHibernation
- func (v NullableHibernation) Get() *Hibernation
- func (v NullableHibernation) IsSet() bool
- func (v NullableHibernation) MarshalJSON() ([]byte, error)
- func (v *NullableHibernation) Set(val *Hibernation)
- func (v *NullableHibernation) UnmarshalJSON(src []byte) error
- func (v *NullableHibernation) Unset()
- type NullableHibernationSchedule
- func (v NullableHibernationSchedule) Get() *HibernationSchedule
- func (v NullableHibernationSchedule) IsSet() bool
- func (v NullableHibernationSchedule) MarshalJSON() ([]byte, error)
- func (v *NullableHibernationSchedule) Set(val *HibernationSchedule)
- func (v *NullableHibernationSchedule) UnmarshalJSON(src []byte) error
- func (v *NullableHibernationSchedule) Unset()
- type NullableImage
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKubeconfig
- type NullableKubernetes
- type NullableKubernetesVersion
- func (v NullableKubernetesVersion) Get() *KubernetesVersion
- func (v NullableKubernetesVersion) IsSet() bool
- func (v NullableKubernetesVersion) MarshalJSON() ([]byte, error)
- func (v *NullableKubernetesVersion) Set(val *KubernetesVersion)
- func (v *NullableKubernetesVersion) UnmarshalJSON(src []byte) error
- func (v *NullableKubernetesVersion) Unset()
- type NullableListClustersResponse
- func (v NullableListClustersResponse) Get() *ListClustersResponse
- func (v NullableListClustersResponse) IsSet() bool
- func (v NullableListClustersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListClustersResponse) Set(val *ListClustersResponse)
- func (v *NullableListClustersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListClustersResponse) Unset()
- type NullableLoginKubeconfig
- func (v NullableLoginKubeconfig) Get() *LoginKubeconfig
- func (v NullableLoginKubeconfig) IsSet() bool
- func (v NullableLoginKubeconfig) MarshalJSON() ([]byte, error)
- func (v *NullableLoginKubeconfig) Set(val *LoginKubeconfig)
- func (v *NullableLoginKubeconfig) UnmarshalJSON(src []byte) error
- func (v *NullableLoginKubeconfig) Unset()
- type NullableMachine
- type NullableMachineImage
- func (v NullableMachineImage) Get() *MachineImage
- func (v NullableMachineImage) IsSet() bool
- func (v NullableMachineImage) MarshalJSON() ([]byte, error)
- func (v *NullableMachineImage) Set(val *MachineImage)
- func (v *NullableMachineImage) UnmarshalJSON(src []byte) error
- func (v *NullableMachineImage) Unset()
- type NullableMachineImageVersion
- func (v NullableMachineImageVersion) Get() *MachineImageVersion
- func (v NullableMachineImageVersion) IsSet() bool
- func (v NullableMachineImageVersion) MarshalJSON() ([]byte, error)
- func (v *NullableMachineImageVersion) Set(val *MachineImageVersion)
- func (v *NullableMachineImageVersion) UnmarshalJSON(src []byte) error
- func (v *NullableMachineImageVersion) Unset()
- type NullableMachineType
- func (v NullableMachineType) Get() *MachineType
- func (v NullableMachineType) IsSet() bool
- func (v NullableMachineType) MarshalJSON() ([]byte, error)
- func (v *NullableMachineType) Set(val *MachineType)
- func (v *NullableMachineType) UnmarshalJSON(src []byte) error
- func (v *NullableMachineType) Unset()
- type NullableMaintenance
- func (v NullableMaintenance) Get() *Maintenance
- func (v NullableMaintenance) IsSet() bool
- func (v NullableMaintenance) MarshalJSON() ([]byte, error)
- func (v *NullableMaintenance) Set(val *Maintenance)
- func (v *NullableMaintenance) UnmarshalJSON(src []byte) error
- func (v *NullableMaintenance) Unset()
- type NullableMaintenanceAutoUpdate
- func (v NullableMaintenanceAutoUpdate) Get() *MaintenanceAutoUpdate
- func (v NullableMaintenanceAutoUpdate) IsSet() bool
- func (v NullableMaintenanceAutoUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableMaintenanceAutoUpdate) Set(val *MaintenanceAutoUpdate)
- func (v *NullableMaintenanceAutoUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableMaintenanceAutoUpdate) Unset()
- type NullableNetwork
- type NullableNodepool
- type NullableProviderOptions
- func (v NullableProviderOptions) Get() *ProviderOptions
- func (v NullableProviderOptions) IsSet() bool
- func (v NullableProviderOptions) MarshalJSON() ([]byte, error)
- func (v *NullableProviderOptions) Set(val *ProviderOptions)
- func (v *NullableProviderOptions) UnmarshalJSON(src []byte) error
- func (v *NullableProviderOptions) Unset()
- type NullableRuntimeError
- func (v NullableRuntimeError) Get() *RuntimeError
- func (v NullableRuntimeError) IsSet() bool
- func (v NullableRuntimeError) MarshalJSON() ([]byte, error)
- func (v *NullableRuntimeError) Set(val *RuntimeError)
- func (v *NullableRuntimeError) UnmarshalJSON(src []byte) error
- func (v *NullableRuntimeError) Unset()
- type NullableString
- type NullableTaint
- type NullableTime
- type NullableTimeWindow
- type NullableVolume
- type NullableVolumeType
- type ProviderOptions
- func (o *ProviderOptions) GetAvailabilityZones() []AvailabilityZone
- func (o *ProviderOptions) GetAvailabilityZonesOk() ([]AvailabilityZone, bool)
- func (o *ProviderOptions) GetKubernetesVersions() []KubernetesVersion
- func (o *ProviderOptions) GetKubernetesVersionsOk() ([]KubernetesVersion, bool)
- func (o *ProviderOptions) GetMachineImages() []MachineImage
- func (o *ProviderOptions) GetMachineImagesOk() ([]MachineImage, bool)
- func (o *ProviderOptions) GetMachineTypes() []MachineType
- func (o *ProviderOptions) GetMachineTypesOk() ([]MachineType, bool)
- func (o *ProviderOptions) GetVolumeTypes() []VolumeType
- func (o *ProviderOptions) GetVolumeTypesOk() ([]VolumeType, bool)
- func (o *ProviderOptions) HasAvailabilityZones() bool
- func (o *ProviderOptions) HasKubernetesVersions() bool
- func (o *ProviderOptions) HasMachineImages() bool
- func (o *ProviderOptions) HasMachineTypes() bool
- func (o *ProviderOptions) HasVolumeTypes() bool
- func (o ProviderOptions) MarshalJSON() ([]byte, error)
- func (o *ProviderOptions) SetAvailabilityZones(v []AvailabilityZone)
- func (o *ProviderOptions) SetKubernetesVersions(v []KubernetesVersion)
- func (o *ProviderOptions) SetMachineImages(v []MachineImage)
- func (o *ProviderOptions) SetMachineTypes(v []MachineType)
- func (o *ProviderOptions) SetVolumeTypes(v []VolumeType)
- func (o ProviderOptions) ToMap() (map[string]interface{}, error)
- type RuntimeError
- func (o *RuntimeError) GetCode() string
- func (o *RuntimeError) GetCodeOk() (*string, bool)
- func (o *RuntimeError) GetDetails() string
- func (o *RuntimeError) GetDetailsOk() (*string, bool)
- func (o *RuntimeError) GetMessage() string
- func (o *RuntimeError) GetMessageOk() (*string, bool)
- func (o *RuntimeError) HasCode() bool
- func (o *RuntimeError) HasDetails() bool
- func (o *RuntimeError) HasMessage() bool
- func (o RuntimeError) MarshalJSON() ([]byte, error)
- func (o *RuntimeError) SetCode(v string)
- func (o *RuntimeError) SetDetails(v string)
- func (o *RuntimeError) SetMessage(v string)
- func (o RuntimeError) ToMap() (map[string]interface{}, error)
- type Taint
- func (o *Taint) GetEffect() string
- func (o *Taint) GetEffectOk() (*string, bool)
- func (o *Taint) GetKey() string
- func (o *Taint) GetKeyOk() (*string, bool)
- func (o *Taint) GetValue() string
- func (o *Taint) GetValueOk() (*string, bool)
- func (o *Taint) HasValue() bool
- func (o Taint) MarshalJSON() ([]byte, error)
- func (o *Taint) SetEffect(v string)
- func (o *Taint) SetKey(v string)
- func (o *Taint) SetValue(v string)
- func (o Taint) ToMap() (map[string]interface{}, error)
- func (o *Taint) UnmarshalJSON(data []byte) (err error)
- type TimeWindow
- func (o *TimeWindow) GetEnd() time.Time
- func (o *TimeWindow) GetEndOk() (*time.Time, bool)
- func (o *TimeWindow) GetStart() time.Time
- func (o *TimeWindow) GetStartOk() (*time.Time, bool)
- func (o TimeWindow) MarshalJSON() ([]byte, error)
- func (o *TimeWindow) SetEnd(v time.Time)
- func (o *TimeWindow) SetStart(v time.Time)
- func (o TimeWindow) ToMap() (map[string]interface{}, error)
- func (o *TimeWindow) UnmarshalJSON(data []byte) (err error)
- type Volume
- func (o *Volume) GetSize() int32
- func (o *Volume) GetSizeOk() (*int32, bool)
- func (o *Volume) GetType() string
- func (o *Volume) GetTypeOk() (*string, bool)
- func (o *Volume) HasType() bool
- func (o Volume) MarshalJSON() ([]byte, error)
- func (o *Volume) SetSize(v int32)
- func (o *Volume) SetType(v string)
- func (o Volume) ToMap() (map[string]interface{}, error)
- func (o *Volume) UnmarshalJSON(data []byte) (err error)
- type VolumeType
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedClusterStatusStateEnumValues = []ClusterStatusState{
"STATE_HEALTHY",
"STATE_CREATING",
"STATE_DELETING",
"STATE_UNHEALTHY",
"STATE_RECONCILING",
"STATE_HIBERNATED",
"STATE_HIBERNATING",
"STATE_WAKINGUP",
}
All allowed values of ClusterStatusState enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type ACL ¶
type ACL struct {
// Array of CIDRs to allow access to the kubernetes API.
AllowedCidrs []string `json:"allowedCidrs"`
// Enables the acl extension.
Enabled bool `json:"enabled"`
}
ACL struct for ACL
func NewACL ¶
NewACL instantiates a new ACL 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 NewACLWithDefaults ¶
func NewACLWithDefaults() *ACL
NewACLWithDefaults instantiates a new ACL 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 (*ACL) GetAllowedCidrs ¶
GetAllowedCidrs returns the AllowedCidrs field value
func (*ACL) GetAllowedCidrsOk ¶
GetAllowedCidrsOk returns a tuple with the AllowedCidrs field value and a boolean to check if the value has been set.
func (*ACL) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (ACL) MarshalJSON ¶
func (*ACL) SetAllowedCidrs ¶
SetAllowedCidrs sets field value
func (*ACL) UnmarshalJSON ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Kubernetes Engine API API v1.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
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() *config.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 APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCompleteCredentialsRotationRequest ¶
type ApiCompleteCredentialsRotationRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCompleteCredentialsRotationRequest) Execute ¶
func (r ApiCompleteCredentialsRotationRequest) Execute() (map[string]interface{}, error)
type ApiCreateKubeconfigRequest ¶
type ApiCreateKubeconfigRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateKubeconfigRequest) CreateKubeconfigPayload ¶
func (r ApiCreateKubeconfigRequest) CreateKubeconfigPayload(createKubeconfigPayload CreateKubeconfigPayload) ApiCreateKubeconfigRequest
func (ApiCreateKubeconfigRequest) Execute ¶
func (r ApiCreateKubeconfigRequest) Execute() (*Kubeconfig, error)
type ApiCreateOrUpdateClusterRequest ¶
type ApiCreateOrUpdateClusterRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateOrUpdateClusterRequest) CreateOrUpdateClusterPayload ¶
func (r ApiCreateOrUpdateClusterRequest) CreateOrUpdateClusterPayload(createOrUpdateClusterPayload CreateOrUpdateClusterPayload) ApiCreateOrUpdateClusterRequest
func (ApiCreateOrUpdateClusterRequest) Execute ¶
func (r ApiCreateOrUpdateClusterRequest) Execute() (*Cluster, error)
type ApiDeleteClusterRequest ¶
type ApiDeleteClusterRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteClusterRequest) Execute ¶
func (r ApiDeleteClusterRequest) Execute() (map[string]interface{}, error)
type ApiGetClusterRequest ¶
type ApiGetClusterRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetClusterRequest) Execute ¶
func (r ApiGetClusterRequest) Execute() (*Cluster, error)
type ApiGetLoginKubeconfigRequest ¶
type ApiGetLoginKubeconfigRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetLoginKubeconfigRequest) Execute ¶
func (r ApiGetLoginKubeconfigRequest) Execute() (*LoginKubeconfig, error)
type ApiListClustersRequest ¶
type ApiListClustersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListClustersRequest) Execute ¶
func (r ApiListClustersRequest) Execute() (*ListClustersResponse, error)
type ApiListProviderOptionsRequest ¶
type ApiListProviderOptionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListProviderOptionsRequest) Execute ¶
func (r ApiListProviderOptionsRequest) Execute() (*ProviderOptions, error)
type ApiStartCredentialsRotationRequest ¶
type ApiStartCredentialsRotationRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiStartCredentialsRotationRequest) Execute ¶
func (r ApiStartCredentialsRotationRequest) Execute() (map[string]interface{}, error)
type ApiTriggerHibernateRequest ¶
type ApiTriggerHibernateRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiTriggerHibernateRequest) Execute ¶
func (r ApiTriggerHibernateRequest) Execute() (map[string]interface{}, error)
type ApiTriggerMaintenanceRequest ¶
type ApiTriggerMaintenanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiTriggerMaintenanceRequest) Execute ¶
func (r ApiTriggerMaintenanceRequest) Execute() (map[string]interface{}, error)
type ApiTriggerReconcileRequest ¶
type ApiTriggerReconcileRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiTriggerReconcileRequest) Execute ¶
func (r ApiTriggerReconcileRequest) Execute() (map[string]interface{}, error)
type ApiTriggerWakeupRequest ¶
type ApiTriggerWakeupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiTriggerWakeupRequest) Execute ¶
func (r ApiTriggerWakeupRequest) Execute() (map[string]interface{}, error)
type Argus ¶
type Argus struct {
// Argus instance ID to choose which Argus instance is used.
ArgusInstanceId string `json:"argusInstanceId"`
// Enables the argus extension.
Enabled bool `json:"enabled"`
}
Argus struct for Argus
func NewArgus ¶
NewArgus instantiates a new Argus 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 NewArgusWithDefaults ¶
func NewArgusWithDefaults() *Argus
NewArgusWithDefaults instantiates a new Argus 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 (*Argus) GetArgusInstanceId ¶
GetArgusInstanceId returns the ArgusInstanceId field value
func (*Argus) GetArgusInstanceIdOk ¶
GetArgusInstanceIdOk returns a tuple with the ArgusInstanceId field value and a boolean to check if the value has been set.
func (*Argus) GetEnabled ¶
GetEnabled returns the Enabled field value
func (*Argus) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (Argus) MarshalJSON ¶
func (*Argus) SetArgusInstanceId ¶
SetArgusInstanceId sets field value
func (*Argus) UnmarshalJSON ¶
type AvailabilityZone ¶
type AvailabilityZone struct {
Name *string `json:"name,omitempty"`
}
AvailabilityZone struct for AvailabilityZone
func NewAvailabilityZone ¶
func NewAvailabilityZone() *AvailabilityZone
NewAvailabilityZone instantiates a new AvailabilityZone 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 NewAvailabilityZoneWithDefaults ¶
func NewAvailabilityZoneWithDefaults() *AvailabilityZone
NewAvailabilityZoneWithDefaults instantiates a new AvailabilityZone 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 (*AvailabilityZone) GetName ¶
func (o *AvailabilityZone) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AvailabilityZone) GetNameOk ¶
func (o *AvailabilityZone) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AvailabilityZone) HasName ¶
func (o *AvailabilityZone) HasName() bool
HasName returns a boolean if a field has been set.
func (AvailabilityZone) MarshalJSON ¶
func (o AvailabilityZone) MarshalJSON() ([]byte, error)
func (*AvailabilityZone) SetName ¶
func (o *AvailabilityZone) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (AvailabilityZone) ToMap ¶
func (o AvailabilityZone) ToMap() (map[string]interface{}, error)
type CRI ¶
type CRI struct {
Name *string `json:"name,omitempty"`
}
CRI struct for CRI
func NewCRI ¶
func NewCRI() *CRI
NewCRI instantiates a new CRI 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 NewCRIWithDefaults ¶
func NewCRIWithDefaults() *CRI
NewCRIWithDefaults instantiates a new CRI 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 (*CRI) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (CRI) MarshalJSON ¶
type Cluster ¶
type Cluster struct {
Extensions *Extension `json:"extensions,omitempty"`
Hibernation *Hibernation `json:"hibernation,omitempty"`
Kubernetes Kubernetes `json:"kubernetes"`
Maintenance *Maintenance `json:"maintenance,omitempty"`
Name *string `json:"name,omitempty"`
Network *Network `json:"network,omitempty"`
Nodepools []Nodepool `json:"nodepools"`
Status *ClusterStatus `json:"status,omitempty"`
}
Cluster struct for Cluster
func NewCluster ¶
func NewCluster(kubernetes Kubernetes, nodepools []Nodepool) *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) GetExtensions ¶
GetExtensions returns the Extensions field value if set, zero value otherwise.
func (*Cluster) GetExtensionsOk ¶
GetExtensionsOk returns a tuple with the Extensions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetHibernation ¶
func (o *Cluster) GetHibernation() Hibernation
GetHibernation returns the Hibernation field value if set, zero value otherwise.
func (*Cluster) GetHibernationOk ¶
func (o *Cluster) GetHibernationOk() (*Hibernation, bool)
GetHibernationOk returns a tuple with the Hibernation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetKubernetes ¶
func (o *Cluster) GetKubernetes() Kubernetes
GetKubernetes returns the Kubernetes field value
func (*Cluster) GetKubernetesOk ¶
func (o *Cluster) GetKubernetesOk() (*Kubernetes, bool)
GetKubernetesOk returns a tuple with the Kubernetes field value and a boolean to check if the value has been set.
func (*Cluster) GetMaintenance ¶
func (o *Cluster) GetMaintenance() Maintenance
GetMaintenance returns the Maintenance field value if set, zero value otherwise.
func (*Cluster) GetMaintenanceOk ¶
func (o *Cluster) GetMaintenanceOk() (*Maintenance, bool)
GetMaintenanceOk returns a tuple with the Maintenance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetNetwork ¶
GetNetwork returns the Network field value if set, zero value otherwise.
func (*Cluster) GetNetworkOk ¶
GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetNodepools ¶
GetNodepools returns the Nodepools field value
func (*Cluster) GetNodepoolsOk ¶
GetNodepoolsOk returns a tuple with the Nodepools field value and a boolean to check if the value has been set.
func (*Cluster) GetStatus ¶
func (o *Cluster) GetStatus() ClusterStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*Cluster) GetStatusOk ¶
func (o *Cluster) GetStatusOk() (*ClusterStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) HasExtensions ¶
HasExtensions returns a boolean if a field has been set.
func (*Cluster) HasHibernation ¶
HasHibernation returns a boolean if a field has been set.
func (*Cluster) HasMaintenance ¶
HasMaintenance returns a boolean if a field has been set.
func (*Cluster) HasNetwork ¶
HasNetwork returns a boolean if a field has been set.
func (Cluster) MarshalJSON ¶
func (*Cluster) SetExtensions ¶
SetExtensions gets a reference to the given Extension and assigns it to the Extensions field.
func (*Cluster) SetHibernation ¶
func (o *Cluster) SetHibernation(v Hibernation)
SetHibernation gets a reference to the given Hibernation and assigns it to the Hibernation field.
func (*Cluster) SetKubernetes ¶
func (o *Cluster) SetKubernetes(v Kubernetes)
SetKubernetes sets field value
func (*Cluster) SetMaintenance ¶
func (o *Cluster) SetMaintenance(v Maintenance)
SetMaintenance gets a reference to the given Maintenance and assigns it to the Maintenance field.
func (*Cluster) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Cluster) SetNetwork ¶
SetNetwork gets a reference to the given Network and assigns it to the Network field.
func (*Cluster) SetNodepools ¶
SetNodepools sets field value
func (*Cluster) SetStatus ¶
func (o *Cluster) SetStatus(v ClusterStatus)
SetStatus gets a reference to the given ClusterStatus and assigns it to the Status field.
func (*Cluster) UnmarshalJSON ¶
type ClusterError ¶
type ClusterError struct {
// Possible values: `\"SKE_OBSERVABILITY_INSTANCE_NOT_FOUND\"`, `\"SKE_DNS_ZONE_NOT_FOUND\"`, `\"SKE_NODE_NO_VALID_HOST_FOUND\"`, `\"SKE_NODE_MISCONFIGURED_PDB\"`, `\"SKE_NODE_MACHINE_TYPE_NOT_FOUND\"`, `\"SKE_INFRA_SNA_NETWORK_NOT_FOUND\"`, `\"SKE_FETCHING_ERRORS_NOT_POSSIBLE\"`
Code *string `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
}
ClusterError struct for ClusterError
func NewClusterError ¶
func NewClusterError() *ClusterError
NewClusterError instantiates a new ClusterError 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 NewClusterErrorWithDefaults ¶
func NewClusterErrorWithDefaults() *ClusterError
NewClusterErrorWithDefaults instantiates a new ClusterError 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 (*ClusterError) GetCode ¶
func (o *ClusterError) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*ClusterError) GetCodeOk ¶
func (o *ClusterError) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterError) GetMessage ¶
func (o *ClusterError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ClusterError) GetMessageOk ¶
func (o *ClusterError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterError) HasCode ¶
func (o *ClusterError) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ClusterError) HasMessage ¶
func (o *ClusterError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ClusterError) MarshalJSON ¶
func (o ClusterError) MarshalJSON() ([]byte, error)
func (*ClusterError) SetCode ¶
func (o *ClusterError) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*ClusterError) SetMessage ¶
func (o *ClusterError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ClusterError) ToMap ¶
func (o ClusterError) ToMap() (map[string]interface{}, error)
type ClusterStatus ¶
type ClusterStatus struct {
Aggregated *ClusterStatusState `json:"aggregated,omitempty"`
// Format: `2024-02-15T11:06:29Z`
CreationTime *time.Time `json:"creationTime,omitempty"`
CredentialsRotation *CredentialsRotationState `json:"credentialsRotation,omitempty"`
// The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster.
EgressAddressRanges []string `json:"egressAddressRanges,omitempty"`
Error *RuntimeError `json:"error,omitempty"`
Errors []ClusterError `json:"errors,omitempty"`
Hibernated *bool `json:"hibernated,omitempty"`
// The network ranges (in CIDR notation) used by pods of the cluster.
PodAddressRanges []string `json:"podAddressRanges,omitempty"`
}
ClusterStatus struct for ClusterStatus
func NewClusterStatus ¶
func NewClusterStatus() *ClusterStatus
NewClusterStatus instantiates a new ClusterStatus 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 NewClusterStatusWithDefaults ¶
func NewClusterStatusWithDefaults() *ClusterStatus
NewClusterStatusWithDefaults instantiates a new ClusterStatus 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 (*ClusterStatus) GetAggregated ¶
func (o *ClusterStatus) GetAggregated() ClusterStatusState
GetAggregated returns the Aggregated field value if set, zero value otherwise.
func (*ClusterStatus) GetAggregatedOk ¶
func (o *ClusterStatus) GetAggregatedOk() (*ClusterStatusState, bool)
GetAggregatedOk returns a tuple with the Aggregated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterStatus) GetCreationTime ¶
func (o *ClusterStatus) GetCreationTime() time.Time
GetCreationTime returns the CreationTime field value if set, zero value otherwise.
func (*ClusterStatus) GetCreationTimeOk ¶
func (o *ClusterStatus) GetCreationTimeOk() (*time.Time, bool)
GetCreationTimeOk returns a tuple with the CreationTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterStatus) GetCredentialsRotation ¶
func (o *ClusterStatus) GetCredentialsRotation() CredentialsRotationState
GetCredentialsRotation returns the CredentialsRotation field value if set, zero value otherwise.
func (*ClusterStatus) GetCredentialsRotationOk ¶
func (o *ClusterStatus) GetCredentialsRotationOk() (*CredentialsRotationState, bool)
GetCredentialsRotationOk returns a tuple with the CredentialsRotation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterStatus) GetEgressAddressRanges ¶
func (o *ClusterStatus) GetEgressAddressRanges() []string
GetEgressAddressRanges returns the EgressAddressRanges field value if set, zero value otherwise.
func (*ClusterStatus) GetEgressAddressRangesOk ¶
func (o *ClusterStatus) GetEgressAddressRangesOk() ([]string, bool)
GetEgressAddressRangesOk returns a tuple with the EgressAddressRanges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterStatus) GetError ¶
func (o *ClusterStatus) GetError() RuntimeError
GetError returns the Error field value if set, zero value otherwise.
func (*ClusterStatus) GetErrorOk ¶
func (o *ClusterStatus) GetErrorOk() (*RuntimeError, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterStatus) GetErrors ¶
func (o *ClusterStatus) GetErrors() []ClusterError
GetErrors returns the Errors field value if set, zero value otherwise.
func (*ClusterStatus) GetErrorsOk ¶
func (o *ClusterStatus) GetErrorsOk() ([]ClusterError, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterStatus) GetHibernated ¶
func (o *ClusterStatus) GetHibernated() bool
GetHibernated returns the Hibernated field value if set, zero value otherwise.
func (*ClusterStatus) GetHibernatedOk ¶
func (o *ClusterStatus) GetHibernatedOk() (*bool, bool)
GetHibernatedOk returns a tuple with the Hibernated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterStatus) GetPodAddressRanges ¶
func (o *ClusterStatus) GetPodAddressRanges() []string
GetPodAddressRanges returns the PodAddressRanges field value if set, zero value otherwise.
func (*ClusterStatus) GetPodAddressRangesOk ¶
func (o *ClusterStatus) GetPodAddressRangesOk() ([]string, bool)
GetPodAddressRangesOk returns a tuple with the PodAddressRanges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterStatus) HasAggregated ¶
func (o *ClusterStatus) HasAggregated() bool
HasAggregated returns a boolean if a field has been set.
func (*ClusterStatus) HasCreationTime ¶
func (o *ClusterStatus) HasCreationTime() bool
HasCreationTime returns a boolean if a field has been set.
func (*ClusterStatus) HasCredentialsRotation ¶
func (o *ClusterStatus) HasCredentialsRotation() bool
HasCredentialsRotation returns a boolean if a field has been set.
func (*ClusterStatus) HasEgressAddressRanges ¶
func (o *ClusterStatus) HasEgressAddressRanges() bool
HasEgressAddressRanges returns a boolean if a field has been set.
func (*ClusterStatus) HasError ¶
func (o *ClusterStatus) HasError() bool
HasError returns a boolean if a field has been set.
func (*ClusterStatus) HasErrors ¶
func (o *ClusterStatus) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*ClusterStatus) HasHibernated ¶
func (o *ClusterStatus) HasHibernated() bool
HasHibernated returns a boolean if a field has been set.
func (*ClusterStatus) HasPodAddressRanges ¶
func (o *ClusterStatus) HasPodAddressRanges() bool
HasPodAddressRanges returns a boolean if a field has been set.
func (ClusterStatus) MarshalJSON ¶
func (o ClusterStatus) MarshalJSON() ([]byte, error)
func (*ClusterStatus) SetAggregated ¶
func (o *ClusterStatus) SetAggregated(v ClusterStatusState)
SetAggregated gets a reference to the given ClusterStatusState and assigns it to the Aggregated field.
func (*ClusterStatus) SetCreationTime ¶
func (o *ClusterStatus) SetCreationTime(v time.Time)
SetCreationTime gets a reference to the given time.Time and assigns it to the CreationTime field.
func (*ClusterStatus) SetCredentialsRotation ¶
func (o *ClusterStatus) SetCredentialsRotation(v CredentialsRotationState)
SetCredentialsRotation gets a reference to the given CredentialsRotationState and assigns it to the CredentialsRotation field.
func (*ClusterStatus) SetEgressAddressRanges ¶
func (o *ClusterStatus) SetEgressAddressRanges(v []string)
SetEgressAddressRanges gets a reference to the given []string and assigns it to the EgressAddressRanges field.
func (*ClusterStatus) SetError ¶
func (o *ClusterStatus) SetError(v RuntimeError)
SetError gets a reference to the given RuntimeError and assigns it to the Error field.
func (*ClusterStatus) SetErrors ¶
func (o *ClusterStatus) SetErrors(v []ClusterError)
SetErrors gets a reference to the given []ClusterError and assigns it to the Errors field.
func (*ClusterStatus) SetHibernated ¶
func (o *ClusterStatus) SetHibernated(v bool)
SetHibernated gets a reference to the given bool and assigns it to the Hibernated field.
func (*ClusterStatus) SetPodAddressRanges ¶
func (o *ClusterStatus) SetPodAddressRanges(v []string)
SetPodAddressRanges gets a reference to the given []string and assigns it to the PodAddressRanges field.
func (ClusterStatus) ToMap ¶
func (o ClusterStatus) ToMap() (map[string]interface{}, error)
type ClusterStatusState ¶
type ClusterStatusState string
ClusterStatusState the model 'ClusterStatusState'
const ( CLUSTERSTATUSSTATE_STATE_HEALTHY ClusterStatusState = "STATE_HEALTHY" CLUSTERSTATUSSTATE_STATE_CREATING ClusterStatusState = "STATE_CREATING" CLUSTERSTATUSSTATE_STATE_DELETING ClusterStatusState = "STATE_DELETING" CLUSTERSTATUSSTATE_STATE_UNHEALTHY ClusterStatusState = "STATE_UNHEALTHY" CLUSTERSTATUSSTATE_STATE_RECONCILING ClusterStatusState = "STATE_RECONCILING" CLUSTERSTATUSSTATE_STATE_HIBERNATED ClusterStatusState = "STATE_HIBERNATED" CLUSTERSTATUSSTATE_STATE_HIBERNATING ClusterStatusState = "STATE_HIBERNATING" CLUSTERSTATUSSTATE_STATE_WAKINGUP ClusterStatusState = "STATE_WAKINGUP" )
List of ClusterStatusState
func NewClusterStatusStateFromValue ¶
func NewClusterStatusStateFromValue(v string) (*ClusterStatusState, error)
NewClusterStatusStateFromValue returns a pointer to a valid ClusterStatusState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ClusterStatusState) IsValid ¶
func (v ClusterStatusState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ClusterStatusState) Ptr ¶
func (v ClusterStatusState) Ptr() *ClusterStatusState
Ptr returns reference to ClusterStatusState value
func (*ClusterStatusState) UnmarshalJSON ¶
func (v *ClusterStatusState) UnmarshalJSON(src []byte) error
type CreateKubeconfigPayload ¶
type CreateKubeconfigPayload struct {
ExpirationSeconds *string `json:"expirationSeconds,omitempty"`
}
CreateKubeconfigPayload struct for CreateKubeconfigPayload
func NewCreateKubeconfigPayload ¶
func NewCreateKubeconfigPayload() *CreateKubeconfigPayload
NewCreateKubeconfigPayload instantiates a new CreateKubeconfigPayload 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 NewCreateKubeconfigPayloadWithDefaults ¶
func NewCreateKubeconfigPayloadWithDefaults() *CreateKubeconfigPayload
NewCreateKubeconfigPayloadWithDefaults instantiates a new CreateKubeconfigPayload 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 (*CreateKubeconfigPayload) GetExpirationSeconds ¶
func (o *CreateKubeconfigPayload) GetExpirationSeconds() string
GetExpirationSeconds returns the ExpirationSeconds field value if set, zero value otherwise.
func (*CreateKubeconfigPayload) GetExpirationSecondsOk ¶
func (o *CreateKubeconfigPayload) GetExpirationSecondsOk() (*string, bool)
GetExpirationSecondsOk returns a tuple with the ExpirationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateKubeconfigPayload) HasExpirationSeconds ¶
func (o *CreateKubeconfigPayload) HasExpirationSeconds() bool
HasExpirationSeconds returns a boolean if a field has been set.
func (CreateKubeconfigPayload) MarshalJSON ¶
func (o CreateKubeconfigPayload) MarshalJSON() ([]byte, error)
func (*CreateKubeconfigPayload) SetExpirationSeconds ¶
func (o *CreateKubeconfigPayload) SetExpirationSeconds(v string)
SetExpirationSeconds gets a reference to the given string and assigns it to the ExpirationSeconds field.
func (CreateKubeconfigPayload) ToMap ¶
func (o CreateKubeconfigPayload) ToMap() (map[string]interface{}, error)
type CreateOrUpdateClusterPayload ¶
type CreateOrUpdateClusterPayload struct {
Extensions *Extension `json:"extensions,omitempty"`
Hibernation *Hibernation `json:"hibernation,omitempty"`
Kubernetes Kubernetes `json:"kubernetes"`
Maintenance *Maintenance `json:"maintenance,omitempty"`
Network *Network `json:"network,omitempty"`
Nodepools []Nodepool `json:"nodepools"`
Status *ClusterStatus `json:"status,omitempty"`
}
CreateOrUpdateClusterPayload struct for CreateOrUpdateClusterPayload
func NewCreateOrUpdateClusterPayload ¶
func NewCreateOrUpdateClusterPayload(kubernetes Kubernetes, nodepools []Nodepool) *CreateOrUpdateClusterPayload
NewCreateOrUpdateClusterPayload instantiates a new CreateOrUpdateClusterPayload 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 NewCreateOrUpdateClusterPayloadWithDefaults ¶
func NewCreateOrUpdateClusterPayloadWithDefaults() *CreateOrUpdateClusterPayload
NewCreateOrUpdateClusterPayloadWithDefaults instantiates a new CreateOrUpdateClusterPayload 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 (*CreateOrUpdateClusterPayload) GetExtensions ¶
func (o *CreateOrUpdateClusterPayload) GetExtensions() Extension
GetExtensions returns the Extensions field value if set, zero value otherwise.
func (*CreateOrUpdateClusterPayload) GetExtensionsOk ¶
func (o *CreateOrUpdateClusterPayload) GetExtensionsOk() (*Extension, bool)
GetExtensionsOk returns a tuple with the Extensions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateOrUpdateClusterPayload) GetHibernation ¶
func (o *CreateOrUpdateClusterPayload) GetHibernation() Hibernation
GetHibernation returns the Hibernation field value if set, zero value otherwise.
func (*CreateOrUpdateClusterPayload) GetHibernationOk ¶
func (o *CreateOrUpdateClusterPayload) GetHibernationOk() (*Hibernation, bool)
GetHibernationOk returns a tuple with the Hibernation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateOrUpdateClusterPayload) GetKubernetes ¶
func (o *CreateOrUpdateClusterPayload) GetKubernetes() Kubernetes
GetKubernetes returns the Kubernetes field value
func (*CreateOrUpdateClusterPayload) GetKubernetesOk ¶
func (o *CreateOrUpdateClusterPayload) GetKubernetesOk() (*Kubernetes, bool)
GetKubernetesOk returns a tuple with the Kubernetes field value and a boolean to check if the value has been set.
func (*CreateOrUpdateClusterPayload) GetMaintenance ¶
func (o *CreateOrUpdateClusterPayload) GetMaintenance() Maintenance
GetMaintenance returns the Maintenance field value if set, zero value otherwise.
func (*CreateOrUpdateClusterPayload) GetMaintenanceOk ¶
func (o *CreateOrUpdateClusterPayload) GetMaintenanceOk() (*Maintenance, bool)
GetMaintenanceOk returns a tuple with the Maintenance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateOrUpdateClusterPayload) GetNetwork ¶
func (o *CreateOrUpdateClusterPayload) GetNetwork() Network
GetNetwork returns the Network field value if set, zero value otherwise.
func (*CreateOrUpdateClusterPayload) GetNetworkOk ¶
func (o *CreateOrUpdateClusterPayload) GetNetworkOk() (*Network, bool)
GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateOrUpdateClusterPayload) GetNodepools ¶
func (o *CreateOrUpdateClusterPayload) GetNodepools() []Nodepool
GetNodepools returns the Nodepools field value
func (*CreateOrUpdateClusterPayload) GetNodepoolsOk ¶
func (o *CreateOrUpdateClusterPayload) GetNodepoolsOk() ([]Nodepool, bool)
GetNodepoolsOk returns a tuple with the Nodepools field value and a boolean to check if the value has been set.
func (*CreateOrUpdateClusterPayload) GetStatus ¶
func (o *CreateOrUpdateClusterPayload) GetStatus() ClusterStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*CreateOrUpdateClusterPayload) GetStatusOk ¶
func (o *CreateOrUpdateClusterPayload) GetStatusOk() (*ClusterStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateOrUpdateClusterPayload) HasExtensions ¶
func (o *CreateOrUpdateClusterPayload) HasExtensions() bool
HasExtensions returns a boolean if a field has been set.
func (*CreateOrUpdateClusterPayload) HasHibernation ¶
func (o *CreateOrUpdateClusterPayload) HasHibernation() bool
HasHibernation returns a boolean if a field has been set.
func (*CreateOrUpdateClusterPayload) HasMaintenance ¶
func (o *CreateOrUpdateClusterPayload) HasMaintenance() bool
HasMaintenance returns a boolean if a field has been set.
func (*CreateOrUpdateClusterPayload) HasNetwork ¶
func (o *CreateOrUpdateClusterPayload) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (*CreateOrUpdateClusterPayload) HasStatus ¶
func (o *CreateOrUpdateClusterPayload) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (CreateOrUpdateClusterPayload) MarshalJSON ¶
func (o CreateOrUpdateClusterPayload) MarshalJSON() ([]byte, error)
func (*CreateOrUpdateClusterPayload) SetExtensions ¶
func (o *CreateOrUpdateClusterPayload) SetExtensions(v Extension)
SetExtensions gets a reference to the given Extension and assigns it to the Extensions field.
func (*CreateOrUpdateClusterPayload) SetHibernation ¶
func (o *CreateOrUpdateClusterPayload) SetHibernation(v Hibernation)
SetHibernation gets a reference to the given Hibernation and assigns it to the Hibernation field.
func (*CreateOrUpdateClusterPayload) SetKubernetes ¶
func (o *CreateOrUpdateClusterPayload) SetKubernetes(v Kubernetes)
SetKubernetes sets field value
func (*CreateOrUpdateClusterPayload) SetMaintenance ¶
func (o *CreateOrUpdateClusterPayload) SetMaintenance(v Maintenance)
SetMaintenance gets a reference to the given Maintenance and assigns it to the Maintenance field.
func (*CreateOrUpdateClusterPayload) SetNetwork ¶
func (o *CreateOrUpdateClusterPayload) SetNetwork(v Network)
SetNetwork gets a reference to the given Network and assigns it to the Network field.
func (*CreateOrUpdateClusterPayload) SetNodepools ¶
func (o *CreateOrUpdateClusterPayload) SetNodepools(v []Nodepool)
SetNodepools sets field value
func (*CreateOrUpdateClusterPayload) SetStatus ¶
func (o *CreateOrUpdateClusterPayload) SetStatus(v ClusterStatus)
SetStatus gets a reference to the given ClusterStatus and assigns it to the Status field.
func (CreateOrUpdateClusterPayload) ToMap ¶
func (o CreateOrUpdateClusterPayload) ToMap() (map[string]interface{}, error)
func (*CreateOrUpdateClusterPayload) UnmarshalJSON ¶
func (o *CreateOrUpdateClusterPayload) UnmarshalJSON(data []byte) (err error)
type CredentialsRotationState ¶
type CredentialsRotationState struct {
// Format: `2024-02-15T11:06:29Z`
LastCompletionTime *time.Time `json:"lastCompletionTime,omitempty"`
// Format: `2024-02-15T11:06:29Z`
LastInitiationTime *time.Time `json:"lastInitiationTime,omitempty"`
// Phase of the credentials rotation. `NEVER` indicates that no credentials rotation has been performed using the new credentials rotation endpoints yet.
Phase *string `json:"phase,omitempty"`
}
CredentialsRotationState struct for CredentialsRotationState
func NewCredentialsRotationState ¶
func NewCredentialsRotationState() *CredentialsRotationState
NewCredentialsRotationState instantiates a new CredentialsRotationState 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 NewCredentialsRotationStateWithDefaults ¶
func NewCredentialsRotationStateWithDefaults() *CredentialsRotationState
NewCredentialsRotationStateWithDefaults instantiates a new CredentialsRotationState 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 (*CredentialsRotationState) GetLastCompletionTime ¶
func (o *CredentialsRotationState) GetLastCompletionTime() time.Time
GetLastCompletionTime returns the LastCompletionTime field value if set, zero value otherwise.
func (*CredentialsRotationState) GetLastCompletionTimeOk ¶
func (o *CredentialsRotationState) GetLastCompletionTimeOk() (*time.Time, bool)
GetLastCompletionTimeOk returns a tuple with the LastCompletionTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CredentialsRotationState) GetLastInitiationTime ¶
func (o *CredentialsRotationState) GetLastInitiationTime() time.Time
GetLastInitiationTime returns the LastInitiationTime field value if set, zero value otherwise.
func (*CredentialsRotationState) GetLastInitiationTimeOk ¶
func (o *CredentialsRotationState) GetLastInitiationTimeOk() (*time.Time, bool)
GetLastInitiationTimeOk returns a tuple with the LastInitiationTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CredentialsRotationState) GetPhase ¶
func (o *CredentialsRotationState) GetPhase() string
GetPhase returns the Phase field value if set, zero value otherwise.
func (*CredentialsRotationState) GetPhaseOk ¶
func (o *CredentialsRotationState) GetPhaseOk() (*string, bool)
GetPhaseOk returns a tuple with the Phase field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CredentialsRotationState) HasLastCompletionTime ¶
func (o *CredentialsRotationState) HasLastCompletionTime() bool
HasLastCompletionTime returns a boolean if a field has been set.
func (*CredentialsRotationState) HasLastInitiationTime ¶
func (o *CredentialsRotationState) HasLastInitiationTime() bool
HasLastInitiationTime returns a boolean if a field has been set.
func (*CredentialsRotationState) HasPhase ¶
func (o *CredentialsRotationState) HasPhase() bool
HasPhase returns a boolean if a field has been set.
func (CredentialsRotationState) MarshalJSON ¶
func (o CredentialsRotationState) MarshalJSON() ([]byte, error)
func (*CredentialsRotationState) SetLastCompletionTime ¶
func (o *CredentialsRotationState) SetLastCompletionTime(v time.Time)
SetLastCompletionTime gets a reference to the given time.Time and assigns it to the LastCompletionTime field.
func (*CredentialsRotationState) SetLastInitiationTime ¶
func (o *CredentialsRotationState) SetLastInitiationTime(v time.Time)
SetLastInitiationTime gets a reference to the given time.Time and assigns it to the LastInitiationTime field.
func (*CredentialsRotationState) SetPhase ¶
func (o *CredentialsRotationState) SetPhase(v string)
SetPhase gets a reference to the given string and assigns it to the Phase field.
func (CredentialsRotationState) ToMap ¶
func (o CredentialsRotationState) ToMap() (map[string]interface{}, error)
type DNS ¶
type DNS struct {
// Enables the dns extension.
Enabled bool `json:"enabled"`
// Array of domain filters for externalDNS, e.g., *.runs.onstackit.cloud.
Zones []string `json:"zones,omitempty"`
}
DNS struct for DNS
func NewDNS ¶
NewDNS instantiates a new DNS 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 NewDNSWithDefaults ¶
func NewDNSWithDefaults() *DNS
NewDNSWithDefaults instantiates a new DNS 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 (*DNS) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*DNS) GetZonesOk ¶
GetZonesOk returns a tuple with the Zones field value if set, nil otherwise and a boolean to check if the value has been set.
func (DNS) MarshalJSON ¶
func (*DNS) SetZones ¶
SetZones gets a reference to the given []string and assigns it to the Zones field.
func (*DNS) UnmarshalJSON ¶
type DefaultAPI ¶
type DefaultAPI interface {
/*
CompleteCredentialsRotation Complete cluster credentials rotation
Complete cluster credentials rotation. This is step 2 of a two-step process. Start the rotation using [start-credentials-rotation](#tag/Credentials/operation/SkeService_StartClusterCredentialsRotation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param clusterName
@return ApiCompleteCredentialsRotationRequest
*/
CompleteCredentialsRotation(ctx context.Context, projectId string, clusterName string) ApiCompleteCredentialsRotationRequest
// CompleteCredentialsRotationExecute executes the request
// @return map[string]interface{}
CompleteCredentialsRotationExecute(r ApiCompleteCredentialsRotationRequest) (map[string]interface{}, error)
/*
CreateKubeconfig Create a kubeconfig
Create a new kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param clusterName
@return ApiCreateKubeconfigRequest
*/
CreateKubeconfig(ctx context.Context, projectId string, clusterName string) ApiCreateKubeconfigRequest
// CreateKubeconfigExecute executes the request
// @return Kubeconfig
CreateKubeconfigExecute(r ApiCreateKubeconfigRequest) (*Kubeconfig, error)
/*
CreateOrUpdateCluster Create or update a cluster
Create a new cluster in your project or modify an existing one. To get valid values for certain properties please check the [provider-options](#tag/ProviderOptions/operation/SkeService_GetProviderOptions) endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param clusterName
@return ApiCreateOrUpdateClusterRequest
*/
CreateOrUpdateCluster(ctx context.Context, projectId string, clusterName string) ApiCreateOrUpdateClusterRequest
// CreateOrUpdateClusterExecute executes the request
// @return Cluster
CreateOrUpdateClusterExecute(r ApiCreateOrUpdateClusterRequest) (*Cluster, error)
/*
DeleteCluster Delete a cluster
Delete Kubernetes cluster specified by the identifier, belonging to the project specified by `projectId`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param clusterName
@return ApiDeleteClusterRequest
*/
DeleteCluster(ctx context.Context, projectId string, clusterName string) ApiDeleteClusterRequest
// DeleteClusterExecute executes the request
// @return map[string]interface{}
DeleteClusterExecute(r ApiDeleteClusterRequest) (map[string]interface{}, error)
/*
GetCluster Get a cluster
Get Kubernetes cluster for the specified identifier, belonging to the project specified by `projectId`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param clusterName
@return ApiGetClusterRequest
*/
GetCluster(ctx context.Context, projectId string, clusterName string) ApiGetClusterRequest
// GetClusterExecute executes the request
// @return Cluster
GetClusterExecute(r ApiGetClusterRequest) (*Cluster, error)
/*
GetLoginKubeconfig Get a kubeconfig for use with the STACKIT CLI
A kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param clusterName
@return ApiGetLoginKubeconfigRequest
*/
GetLoginKubeconfig(ctx context.Context, projectId string, clusterName string) ApiGetLoginKubeconfigRequest
// GetLoginKubeconfigExecute executes the request
// @return LoginKubeconfig
GetLoginKubeconfigExecute(r ApiGetLoginKubeconfigRequest) (*LoginKubeconfig, error)
/*
ListClusters List all clusters
Return a list of Kubernetes clusters in the project specified by `projectId`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@return ApiListClustersRequest
*/
ListClusters(ctx context.Context, projectId string) ApiListClustersRequest
// ListClustersExecute executes the request
// @return ListClustersResponse
ListClustersExecute(r ApiListClustersRequest) (*ListClustersResponse, error)
/*
ListProviderOptions List provider options
Returns a list of supported Kubernetes versions and a list of supported machine types for the cluster nodes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListProviderOptionsRequest
*/
ListProviderOptions(ctx context.Context) ApiListProviderOptionsRequest
// ListProviderOptionsExecute executes the request
// @return ProviderOptions
ListProviderOptionsExecute(r ApiListProviderOptionsRequest) (*ProviderOptions, error)
/*
StartCredentialsRotation Start cluster credentials rotation
Start cluster credentials rotation. This is step 1 of a two-step process. Complete the rotation using [complete-credentials-rotation](#tag/Credentials/operation/SkeService_CompleteClusterCredentialsRotation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param clusterName
@return ApiStartCredentialsRotationRequest
*/
StartCredentialsRotation(ctx context.Context, projectId string, clusterName string) ApiStartCredentialsRotationRequest
// StartCredentialsRotationExecute executes the request
// @return map[string]interface{}
StartCredentialsRotationExecute(r ApiStartCredentialsRotationRequest) (map[string]interface{}, error)
/*
TriggerHibernate Trigger cluster hibernation
Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, the method does nothing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param clusterName
@return ApiTriggerHibernateRequest
*/
TriggerHibernate(ctx context.Context, projectId string, clusterName string) ApiTriggerHibernateRequest
// TriggerHibernateExecute executes the request
// @return map[string]interface{}
TriggerHibernateExecute(r ApiTriggerHibernateRequest) (map[string]interface{}, error)
/*
TriggerMaintenance Trigger cluster maintenance
Trigger immediate maintenance of the cluster. The autoUpdate configuration specified in the Maintenance object of the cluster spec defines what is updated during the immediate maintenance operation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param clusterName
@return ApiTriggerMaintenanceRequest
*/
TriggerMaintenance(ctx context.Context, projectId string, clusterName string) ApiTriggerMaintenanceRequest
// TriggerMaintenanceExecute executes the request
// @return map[string]interface{}
TriggerMaintenanceExecute(r ApiTriggerMaintenanceRequest) (map[string]interface{}, error)
/*
TriggerReconcile Trigger cluster reconciliation
Trigger immediate reconciliation of the complete cluster without changing the cluster specification.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param clusterName
@return ApiTriggerReconcileRequest
*/
TriggerReconcile(ctx context.Context, projectId string, clusterName string) ApiTriggerReconcileRequest
// TriggerReconcileExecute executes the request
// @return map[string]interface{}
TriggerReconcileExecute(r ApiTriggerReconcileRequest) (map[string]interface{}, error)
/*
TriggerWakeup Trigger cluster wakeup
Trigger immediate wake up of the cluster. If the cluster is already in running state, the method does nothing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param clusterName
@return ApiTriggerWakeupRequest
*/
TriggerWakeup(ctx context.Context, projectId string, clusterName string) ApiTriggerWakeupRequest
// TriggerWakeupExecute executes the request
// @return map[string]interface{}
TriggerWakeupExecute(r ApiTriggerWakeupRequest) (map[string]interface{}, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CompleteCredentialsRotation ¶
func (a *DefaultAPIService) CompleteCredentialsRotation(ctx context.Context, projectId string, clusterName string) ApiCompleteCredentialsRotationRequest
CompleteCredentialsRotation Complete cluster credentials rotation
Complete cluster credentials rotation. This is step 2 of a two-step process. Start the rotation using [start-credentials-rotation](#tag/Credentials/operation/SkeService_StartClusterCredentialsRotation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param clusterName @return ApiCompleteCredentialsRotationRequest
func (*DefaultAPIService) CompleteCredentialsRotationExecute ¶
func (a *DefaultAPIService) CompleteCredentialsRotationExecute(r ApiCompleteCredentialsRotationRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) CreateKubeconfig ¶
func (a *DefaultAPIService) CreateKubeconfig(ctx context.Context, projectId string, clusterName string) ApiCreateKubeconfigRequest
CreateKubeconfig Create a kubeconfig
Create a new kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param clusterName @return ApiCreateKubeconfigRequest
func (*DefaultAPIService) CreateKubeconfigExecute ¶
func (a *DefaultAPIService) CreateKubeconfigExecute(r ApiCreateKubeconfigRequest) (*Kubeconfig, error)
Execute executes the request
@return Kubeconfig
func (*DefaultAPIService) CreateOrUpdateCluster ¶
func (a *DefaultAPIService) CreateOrUpdateCluster(ctx context.Context, projectId string, clusterName string) ApiCreateOrUpdateClusterRequest
CreateOrUpdateCluster Create or update a cluster
Create a new cluster in your project or modify an existing one. To get valid values for certain properties please check the [provider-options](#tag/ProviderOptions/operation/SkeService_GetProviderOptions) endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param clusterName @return ApiCreateOrUpdateClusterRequest
func (*DefaultAPIService) CreateOrUpdateClusterExecute ¶
func (a *DefaultAPIService) CreateOrUpdateClusterExecute(r ApiCreateOrUpdateClusterRequest) (*Cluster, error)
Execute executes the request
@return Cluster
func (*DefaultAPIService) DeleteCluster ¶
func (a *DefaultAPIService) DeleteCluster(ctx context.Context, projectId string, clusterName string) ApiDeleteClusterRequest
DeleteCluster Delete a cluster
Delete Kubernetes cluster specified by the identifier, belonging to the project specified by `projectId`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param clusterName @return ApiDeleteClusterRequest
func (*DefaultAPIService) DeleteClusterExecute ¶
func (a *DefaultAPIService) DeleteClusterExecute(r ApiDeleteClusterRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) GetCluster ¶
func (a *DefaultAPIService) GetCluster(ctx context.Context, projectId string, clusterName string) ApiGetClusterRequest
GetCluster Get a cluster
Get Kubernetes cluster for the specified identifier, belonging to the project specified by `projectId`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param clusterName @return ApiGetClusterRequest
func (*DefaultAPIService) GetClusterExecute ¶
func (a *DefaultAPIService) GetClusterExecute(r ApiGetClusterRequest) (*Cluster, error)
Execute executes the request
@return Cluster
func (*DefaultAPIService) GetLoginKubeconfig ¶
func (a *DefaultAPIService) GetLoginKubeconfig(ctx context.Context, projectId string, clusterName string) ApiGetLoginKubeconfigRequest
GetLoginKubeconfig Get a kubeconfig for use with the STACKIT CLI
A kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param clusterName @return ApiGetLoginKubeconfigRequest
func (*DefaultAPIService) GetLoginKubeconfigExecute ¶
func (a *DefaultAPIService) GetLoginKubeconfigExecute(r ApiGetLoginKubeconfigRequest) (*LoginKubeconfig, error)
Execute executes the request
@return LoginKubeconfig
func (*DefaultAPIService) ListClusters ¶
func (a *DefaultAPIService) ListClusters(ctx context.Context, projectId string) ApiListClustersRequest
ListClusters List all clusters
Return a list of Kubernetes clusters in the project specified by `projectId`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @return ApiListClustersRequest
func (*DefaultAPIService) ListClustersExecute ¶
func (a *DefaultAPIService) ListClustersExecute(r ApiListClustersRequest) (*ListClustersResponse, error)
Execute executes the request
@return ListClustersResponse
func (*DefaultAPIService) ListProviderOptions ¶
func (a *DefaultAPIService) ListProviderOptions(ctx context.Context) ApiListProviderOptionsRequest
ListProviderOptions List provider options
Returns a list of supported Kubernetes versions and a list of supported machine types for the cluster nodes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListProviderOptionsRequest
func (*DefaultAPIService) ListProviderOptionsExecute ¶
func (a *DefaultAPIService) ListProviderOptionsExecute(r ApiListProviderOptionsRequest) (*ProviderOptions, error)
Execute executes the request
@return ProviderOptions
func (*DefaultAPIService) StartCredentialsRotation ¶
func (a *DefaultAPIService) StartCredentialsRotation(ctx context.Context, projectId string, clusterName string) ApiStartCredentialsRotationRequest
StartCredentialsRotation Start cluster credentials rotation
Start cluster credentials rotation. This is step 1 of a two-step process. Complete the rotation using [complete-credentials-rotation](#tag/Credentials/operation/SkeService_CompleteClusterCredentialsRotation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param clusterName @return ApiStartCredentialsRotationRequest
func (*DefaultAPIService) StartCredentialsRotationExecute ¶
func (a *DefaultAPIService) StartCredentialsRotationExecute(r ApiStartCredentialsRotationRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) TriggerHibernate ¶
func (a *DefaultAPIService) TriggerHibernate(ctx context.Context, projectId string, clusterName string) ApiTriggerHibernateRequest
TriggerHibernate Trigger cluster hibernation
Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, the method does nothing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param clusterName @return ApiTriggerHibernateRequest
func (*DefaultAPIService) TriggerHibernateExecute ¶
func (a *DefaultAPIService) TriggerHibernateExecute(r ApiTriggerHibernateRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) TriggerMaintenance ¶
func (a *DefaultAPIService) TriggerMaintenance(ctx context.Context, projectId string, clusterName string) ApiTriggerMaintenanceRequest
TriggerMaintenance Trigger cluster maintenance
Trigger immediate maintenance of the cluster. The autoUpdate configuration specified in the Maintenance object of the cluster spec defines what is updated during the immediate maintenance operation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param clusterName @return ApiTriggerMaintenanceRequest
func (*DefaultAPIService) TriggerMaintenanceExecute ¶
func (a *DefaultAPIService) TriggerMaintenanceExecute(r ApiTriggerMaintenanceRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) TriggerReconcile ¶
func (a *DefaultAPIService) TriggerReconcile(ctx context.Context, projectId string, clusterName string) ApiTriggerReconcileRequest
TriggerReconcile Trigger cluster reconciliation
Trigger immediate reconciliation of the complete cluster without changing the cluster specification.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param clusterName @return ApiTriggerReconcileRequest
func (*DefaultAPIService) TriggerReconcileExecute ¶
func (a *DefaultAPIService) TriggerReconcileExecute(r ApiTriggerReconcileRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) TriggerWakeup ¶
func (a *DefaultAPIService) TriggerWakeup(ctx context.Context, projectId string, clusterName string) ApiTriggerWakeupRequest
TriggerWakeup Trigger cluster wakeup
Trigger immediate wake up of the cluster. If the cluster is already in running state, the method does nothing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param clusterName @return ApiTriggerWakeupRequest
func (*DefaultAPIService) TriggerWakeupExecute ¶
func (a *DefaultAPIService) TriggerWakeupExecute(r ApiTriggerWakeupRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CompleteCredentialsRotationExecuteMock can be populated to implement the behavior of the CompleteCredentialsRotationExecute function of this mock
CompleteCredentialsRotationExecuteMock *func(r ApiCompleteCredentialsRotationRequest) (map[string]interface{}, error)
// CreateKubeconfigExecuteMock can be populated to implement the behavior of the CreateKubeconfigExecute function of this mock
CreateKubeconfigExecuteMock *func(r ApiCreateKubeconfigRequest) (*Kubeconfig, error)
// CreateOrUpdateClusterExecuteMock can be populated to implement the behavior of the CreateOrUpdateClusterExecute function of this mock
CreateOrUpdateClusterExecuteMock *func(r ApiCreateOrUpdateClusterRequest) (*Cluster, error)
// DeleteClusterExecuteMock can be populated to implement the behavior of the DeleteClusterExecute function of this mock
DeleteClusterExecuteMock *func(r ApiDeleteClusterRequest) (map[string]interface{}, error)
// GetClusterExecuteMock can be populated to implement the behavior of the GetClusterExecute function of this mock
GetClusterExecuteMock *func(r ApiGetClusterRequest) (*Cluster, error)
// GetLoginKubeconfigExecuteMock can be populated to implement the behavior of the GetLoginKubeconfigExecute function of this mock
GetLoginKubeconfigExecuteMock *func(r ApiGetLoginKubeconfigRequest) (*LoginKubeconfig, error)
// ListClustersExecuteMock can be populated to implement the behavior of the ListClustersExecute function of this mock
ListClustersExecuteMock *func(r ApiListClustersRequest) (*ListClustersResponse, error)
// ListProviderOptionsExecuteMock can be populated to implement the behavior of the ListProviderOptionsExecute function of this mock
ListProviderOptionsExecuteMock *func(r ApiListProviderOptionsRequest) (*ProviderOptions, error)
// StartCredentialsRotationExecuteMock can be populated to implement the behavior of the StartCredentialsRotationExecute function of this mock
StartCredentialsRotationExecuteMock *func(r ApiStartCredentialsRotationRequest) (map[string]interface{}, error)
// TriggerHibernateExecuteMock can be populated to implement the behavior of the TriggerHibernateExecute function of this mock
TriggerHibernateExecuteMock *func(r ApiTriggerHibernateRequest) (map[string]interface{}, error)
// TriggerMaintenanceExecuteMock can be populated to implement the behavior of the TriggerMaintenanceExecute function of this mock
TriggerMaintenanceExecuteMock *func(r ApiTriggerMaintenanceRequest) (map[string]interface{}, error)
// TriggerReconcileExecuteMock can be populated to implement the behavior of the TriggerReconcileExecute function of this mock
TriggerReconcileExecuteMock *func(r ApiTriggerReconcileRequest) (map[string]interface{}, error)
// TriggerWakeupExecuteMock can be populated to implement the behavior of the TriggerWakeupExecute function of this mock
TriggerWakeupExecuteMock *func(r ApiTriggerWakeupRequest) (map[string]interface{}, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CompleteCredentialsRotation ¶
func (a DefaultAPIServiceMock) CompleteCredentialsRotation(ctx context.Context, projectId string, clusterName string) ApiCompleteCredentialsRotationRequest
func (DefaultAPIServiceMock) CompleteCredentialsRotationExecute ¶
func (a DefaultAPIServiceMock) CompleteCredentialsRotationExecute(r ApiCompleteCredentialsRotationRequest) (map[string]interface{}, error)
CompleteCredentialsRotationExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CompleteCredentialsRotationExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateKubeconfig ¶
func (a DefaultAPIServiceMock) CreateKubeconfig(ctx context.Context, projectId string, clusterName string) ApiCreateKubeconfigRequest
func (DefaultAPIServiceMock) CreateKubeconfigExecute ¶
func (a DefaultAPIServiceMock) CreateKubeconfigExecute(r ApiCreateKubeconfigRequest) (*Kubeconfig, error)
CreateKubeconfigExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateKubeconfigExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateOrUpdateCluster ¶
func (a DefaultAPIServiceMock) CreateOrUpdateCluster(ctx context.Context, projectId string, clusterName string) ApiCreateOrUpdateClusterRequest
func (DefaultAPIServiceMock) CreateOrUpdateClusterExecute ¶
func (a DefaultAPIServiceMock) CreateOrUpdateClusterExecute(r ApiCreateOrUpdateClusterRequest) (*Cluster, error)
CreateOrUpdateClusterExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateOrUpdateClusterExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteCluster ¶
func (a DefaultAPIServiceMock) DeleteCluster(ctx context.Context, projectId string, clusterName string) ApiDeleteClusterRequest
func (DefaultAPIServiceMock) DeleteClusterExecute ¶
func (a DefaultAPIServiceMock) DeleteClusterExecute(r ApiDeleteClusterRequest) (map[string]interface{}, error)
DeleteClusterExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteClusterExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetCluster ¶
func (a DefaultAPIServiceMock) GetCluster(ctx context.Context, projectId string, clusterName string) ApiGetClusterRequest
func (DefaultAPIServiceMock) GetClusterExecute ¶
func (a DefaultAPIServiceMock) GetClusterExecute(r ApiGetClusterRequest) (*Cluster, error)
GetClusterExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetClusterExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetLoginKubeconfig ¶
func (a DefaultAPIServiceMock) GetLoginKubeconfig(ctx context.Context, projectId string, clusterName string) ApiGetLoginKubeconfigRequest
func (DefaultAPIServiceMock) GetLoginKubeconfigExecute ¶
func (a DefaultAPIServiceMock) GetLoginKubeconfigExecute(r ApiGetLoginKubeconfigRequest) (*LoginKubeconfig, error)
GetLoginKubeconfigExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetLoginKubeconfigExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListClusters ¶
func (a DefaultAPIServiceMock) ListClusters(ctx context.Context, projectId string) ApiListClustersRequest
func (DefaultAPIServiceMock) ListClustersExecute ¶
func (a DefaultAPIServiceMock) ListClustersExecute(r ApiListClustersRequest) (*ListClustersResponse, error)
ListClustersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListClustersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListProviderOptions ¶
func (a DefaultAPIServiceMock) ListProviderOptions(ctx context.Context) ApiListProviderOptionsRequest
func (DefaultAPIServiceMock) ListProviderOptionsExecute ¶
func (a DefaultAPIServiceMock) ListProviderOptionsExecute(r ApiListProviderOptionsRequest) (*ProviderOptions, error)
ListProviderOptionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListProviderOptionsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) StartCredentialsRotation ¶
func (a DefaultAPIServiceMock) StartCredentialsRotation(ctx context.Context, projectId string, clusterName string) ApiStartCredentialsRotationRequest
func (DefaultAPIServiceMock) StartCredentialsRotationExecute ¶
func (a DefaultAPIServiceMock) StartCredentialsRotationExecute(r ApiStartCredentialsRotationRequest) (map[string]interface{}, error)
StartCredentialsRotationExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the StartCredentialsRotationExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) TriggerHibernate ¶
func (a DefaultAPIServiceMock) TriggerHibernate(ctx context.Context, projectId string, clusterName string) ApiTriggerHibernateRequest
func (DefaultAPIServiceMock) TriggerHibernateExecute ¶
func (a DefaultAPIServiceMock) TriggerHibernateExecute(r ApiTriggerHibernateRequest) (map[string]interface{}, error)
TriggerHibernateExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the TriggerHibernateExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) TriggerMaintenance ¶
func (a DefaultAPIServiceMock) TriggerMaintenance(ctx context.Context, projectId string, clusterName string) ApiTriggerMaintenanceRequest
func (DefaultAPIServiceMock) TriggerMaintenanceExecute ¶
func (a DefaultAPIServiceMock) TriggerMaintenanceExecute(r ApiTriggerMaintenanceRequest) (map[string]interface{}, error)
TriggerMaintenanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the TriggerMaintenanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) TriggerReconcile ¶
func (a DefaultAPIServiceMock) TriggerReconcile(ctx context.Context, projectId string, clusterName string) ApiTriggerReconcileRequest
func (DefaultAPIServiceMock) TriggerReconcileExecute ¶
func (a DefaultAPIServiceMock) TriggerReconcileExecute(r ApiTriggerReconcileRequest) (map[string]interface{}, error)
TriggerReconcileExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the TriggerReconcileExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) TriggerWakeup ¶
func (a DefaultAPIServiceMock) TriggerWakeup(ctx context.Context, projectId string, clusterName string) ApiTriggerWakeupRequest
func (DefaultAPIServiceMock) TriggerWakeupExecute ¶
func (a DefaultAPIServiceMock) TriggerWakeupExecute(r ApiTriggerWakeupRequest) (map[string]interface{}, error)
TriggerWakeupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the TriggerWakeupExecuteMock field in the DefaultAPIServiceMock struct.
type Extension ¶
type Extension struct {
Acl *ACL `json:"acl,omitempty"`
Argus *Argus `json:"argus,omitempty"`
Dns *DNS `json:"dns,omitempty"`
}
Extension struct for Extension
func NewExtension ¶
func NewExtension() *Extension
NewExtension instantiates a new Extension 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 NewExtensionWithDefaults ¶
func NewExtensionWithDefaults() *Extension
NewExtensionWithDefaults instantiates a new Extension 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 (*Extension) GetAclOk ¶
GetAclOk returns a tuple with the Acl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Extension) GetArgusOk ¶
GetArgusOk returns a tuple with the Argus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Extension) GetDnsOk ¶
GetDnsOk returns a tuple with the Dns field value if set, nil otherwise and a boolean to check if the value has been set.
func (Extension) MarshalJSON ¶
func (*Extension) SetAcl ¶
SetAcl gets a reference to the given ACL and assigns it to the Acl field.
func (*Extension) SetArgus ¶
SetArgus gets a reference to the given Argus and assigns it to the Argus field.
type Hibernation ¶
type Hibernation struct {
Schedules []HibernationSchedule `json:"schedules"`
}
Hibernation struct for Hibernation
func NewHibernation ¶
func NewHibernation(schedules []HibernationSchedule) *Hibernation
NewHibernation instantiates a new Hibernation 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 NewHibernationWithDefaults ¶
func NewHibernationWithDefaults() *Hibernation
NewHibernationWithDefaults instantiates a new Hibernation 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 (*Hibernation) GetSchedules ¶
func (o *Hibernation) GetSchedules() []HibernationSchedule
GetSchedules returns the Schedules field value
func (*Hibernation) GetSchedulesOk ¶
func (o *Hibernation) GetSchedulesOk() ([]HibernationSchedule, bool)
GetSchedulesOk returns a tuple with the Schedules field value and a boolean to check if the value has been set.
func (Hibernation) MarshalJSON ¶
func (o Hibernation) MarshalJSON() ([]byte, error)
func (*Hibernation) SetSchedules ¶
func (o *Hibernation) SetSchedules(v []HibernationSchedule)
SetSchedules sets field value
func (Hibernation) ToMap ¶
func (o Hibernation) ToMap() (map[string]interface{}, error)
func (*Hibernation) UnmarshalJSON ¶
func (o *Hibernation) UnmarshalJSON(data []byte) (err error)
type HibernationSchedule ¶
type HibernationSchedule struct {
End string `` /* 220-byte string literal not displayed */
Start string `` /* 222-byte string literal not displayed */
Timezone *string `json:"timezone,omitempty"`
}
HibernationSchedule struct for HibernationSchedule
func NewHibernationSchedule ¶
func NewHibernationSchedule(end string, start string) *HibernationSchedule
NewHibernationSchedule instantiates a new HibernationSchedule 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 NewHibernationScheduleWithDefaults ¶
func NewHibernationScheduleWithDefaults() *HibernationSchedule
NewHibernationScheduleWithDefaults instantiates a new HibernationSchedule 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 (*HibernationSchedule) GetEnd ¶
func (o *HibernationSchedule) GetEnd() string
GetEnd returns the End field value
func (*HibernationSchedule) GetEndOk ¶
func (o *HibernationSchedule) GetEndOk() (*string, bool)
GetEndOk returns a tuple with the End field value and a boolean to check if the value has been set.
func (*HibernationSchedule) GetStart ¶
func (o *HibernationSchedule) GetStart() string
GetStart returns the Start field value
func (*HibernationSchedule) GetStartOk ¶
func (o *HibernationSchedule) GetStartOk() (*string, bool)
GetStartOk returns a tuple with the Start field value and a boolean to check if the value has been set.
func (*HibernationSchedule) GetTimezone ¶
func (o *HibernationSchedule) GetTimezone() string
GetTimezone returns the Timezone field value if set, zero value otherwise.
func (*HibernationSchedule) GetTimezoneOk ¶
func (o *HibernationSchedule) GetTimezoneOk() (*string, bool)
GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HibernationSchedule) HasTimezone ¶
func (o *HibernationSchedule) HasTimezone() bool
HasTimezone returns a boolean if a field has been set.
func (HibernationSchedule) MarshalJSON ¶
func (o HibernationSchedule) MarshalJSON() ([]byte, error)
func (*HibernationSchedule) SetEnd ¶
func (o *HibernationSchedule) SetEnd(v string)
SetEnd sets field value
func (*HibernationSchedule) SetStart ¶
func (o *HibernationSchedule) SetStart(v string)
SetStart sets field value
func (*HibernationSchedule) SetTimezone ¶
func (o *HibernationSchedule) SetTimezone(v string)
SetTimezone gets a reference to the given string and assigns it to the Timezone field.
func (HibernationSchedule) ToMap ¶
func (o HibernationSchedule) ToMap() (map[string]interface{}, error)
func (*HibernationSchedule) UnmarshalJSON ¶
func (o *HibernationSchedule) UnmarshalJSON(data []byte) (err error)
type Image ¶
Image For valid names and versions please take a look at [provider-options](#tag/ProviderOptions/operation/SkeService_GetProviderOptions) `machineImages`.
func NewImage ¶
NewImage instantiates a new Image 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 NewImageWithDefaults ¶
func NewImageWithDefaults() *Image
NewImageWithDefaults instantiates a new Image 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 (*Image) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Image) GetVersion ¶
GetVersion returns the Version field value
func (*Image) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (Image) MarshalJSON ¶
func (*Image) UnmarshalJSON ¶
type Kubeconfig ¶
type Kubeconfig struct {
ExpirationTimestamp *time.Time `json:"expirationTimestamp,omitempty"`
Kubeconfig *string `json:"kubeconfig,omitempty"`
}
Kubeconfig struct for Kubeconfig
func NewKubeconfig ¶
func NewKubeconfig() *Kubeconfig
NewKubeconfig instantiates a new Kubeconfig 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 NewKubeconfigWithDefaults ¶
func NewKubeconfigWithDefaults() *Kubeconfig
NewKubeconfigWithDefaults instantiates a new Kubeconfig 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 (*Kubeconfig) GetExpirationTimestamp ¶
func (o *Kubeconfig) GetExpirationTimestamp() time.Time
GetExpirationTimestamp returns the ExpirationTimestamp field value if set, zero value otherwise.
func (*Kubeconfig) GetExpirationTimestampOk ¶
func (o *Kubeconfig) GetExpirationTimestampOk() (*time.Time, bool)
GetExpirationTimestampOk returns a tuple with the ExpirationTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kubeconfig) GetKubeconfig ¶
func (o *Kubeconfig) GetKubeconfig() string
GetKubeconfig returns the Kubeconfig field value if set, zero value otherwise.
func (*Kubeconfig) GetKubeconfigOk ¶
func (o *Kubeconfig) GetKubeconfigOk() (*string, bool)
GetKubeconfigOk returns a tuple with the Kubeconfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kubeconfig) HasExpirationTimestamp ¶
func (o *Kubeconfig) HasExpirationTimestamp() bool
HasExpirationTimestamp returns a boolean if a field has been set.
func (*Kubeconfig) HasKubeconfig ¶
func (o *Kubeconfig) HasKubeconfig() bool
HasKubeconfig returns a boolean if a field has been set.
func (Kubeconfig) MarshalJSON ¶
func (o Kubeconfig) MarshalJSON() ([]byte, error)
func (*Kubeconfig) SetExpirationTimestamp ¶
func (o *Kubeconfig) SetExpirationTimestamp(v time.Time)
SetExpirationTimestamp gets a reference to the given time.Time and assigns it to the ExpirationTimestamp field.
func (*Kubeconfig) SetKubeconfig ¶
func (o *Kubeconfig) SetKubeconfig(v string)
SetKubeconfig gets a reference to the given string and assigns it to the Kubeconfig field.
func (Kubeconfig) ToMap ¶
func (o Kubeconfig) ToMap() (map[string]interface{}, error)
type Kubernetes ¶
type Kubernetes struct {
// DEPRECATED as of Kubernetes 1.25+ Flag to specify if privileged mode for containers is enabled or not. This should be used with care since it also disables a couple of other features like the use of some volume type (e.g. PVCs). By default this is set to true.
AllowPrivilegedContainers *bool `json:"allowPrivilegedContainers,omitempty"`
Version string `json:"version" validate:"regexp=^\\\\d+\\\\.\\\\d+\\\\.\\\\d+$"`
}
Kubernetes For valid versions please take a look at [provider-options](#tag/ProviderOptions/operation/SkeService_GetProviderOptions) `kubernetesVersions`.
func NewKubernetes ¶
func NewKubernetes(version string) *Kubernetes
NewKubernetes instantiates a new Kubernetes 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 NewKubernetesWithDefaults ¶
func NewKubernetesWithDefaults() *Kubernetes
NewKubernetesWithDefaults instantiates a new Kubernetes 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 (*Kubernetes) GetAllowPrivilegedContainers ¶
func (o *Kubernetes) GetAllowPrivilegedContainers() bool
GetAllowPrivilegedContainers returns the AllowPrivilegedContainers field value if set, zero value otherwise.
func (*Kubernetes) GetAllowPrivilegedContainersOk ¶
func (o *Kubernetes) GetAllowPrivilegedContainersOk() (*bool, bool)
GetAllowPrivilegedContainersOk returns a tuple with the AllowPrivilegedContainers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Kubernetes) GetVersion ¶
func (o *Kubernetes) GetVersion() string
GetVersion returns the Version field value
func (*Kubernetes) GetVersionOk ¶
func (o *Kubernetes) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*Kubernetes) HasAllowPrivilegedContainers ¶
func (o *Kubernetes) HasAllowPrivilegedContainers() bool
HasAllowPrivilegedContainers returns a boolean if a field has been set.
func (Kubernetes) MarshalJSON ¶
func (o Kubernetes) MarshalJSON() ([]byte, error)
func (*Kubernetes) SetAllowPrivilegedContainers ¶
func (o *Kubernetes) SetAllowPrivilegedContainers(v bool)
SetAllowPrivilegedContainers gets a reference to the given bool and assigns it to the AllowPrivilegedContainers field.
func (*Kubernetes) SetVersion ¶
func (o *Kubernetes) SetVersion(v string)
SetVersion sets field value
func (Kubernetes) ToMap ¶
func (o Kubernetes) ToMap() (map[string]interface{}, error)
func (*Kubernetes) UnmarshalJSON ¶
func (o *Kubernetes) UnmarshalJSON(data []byte) (err error)
type KubernetesVersion ¶
type KubernetesVersion struct {
ExpirationDate *time.Time `json:"expirationDate,omitempty"`
FeatureGates *map[string]string `json:"featureGates,omitempty"`
State *string `json:"state,omitempty"`
Version *string `json:"version,omitempty" validate:"regexp=^\\\\d+\\\\.\\\\d+\\\\.\\\\d+$"`
}
KubernetesVersion struct for KubernetesVersion
func NewKubernetesVersion ¶
func NewKubernetesVersion() *KubernetesVersion
NewKubernetesVersion instantiates a new KubernetesVersion 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 NewKubernetesVersionWithDefaults ¶
func NewKubernetesVersionWithDefaults() *KubernetesVersion
NewKubernetesVersionWithDefaults instantiates a new KubernetesVersion 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 (*KubernetesVersion) GetExpirationDate ¶
func (o *KubernetesVersion) GetExpirationDate() time.Time
GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.
func (*KubernetesVersion) GetExpirationDateOk ¶
func (o *KubernetesVersion) GetExpirationDateOk() (*time.Time, bool)
GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesVersion) GetFeatureGates ¶
func (o *KubernetesVersion) GetFeatureGates() map[string]string
GetFeatureGates returns the FeatureGates field value if set, zero value otherwise.
func (*KubernetesVersion) GetFeatureGatesOk ¶
func (o *KubernetesVersion) GetFeatureGatesOk() (*map[string]string, bool)
GetFeatureGatesOk returns a tuple with the FeatureGates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesVersion) GetState ¶
func (o *KubernetesVersion) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*KubernetesVersion) GetStateOk ¶
func (o *KubernetesVersion) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesVersion) GetVersion ¶
func (o *KubernetesVersion) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*KubernetesVersion) GetVersionOk ¶
func (o *KubernetesVersion) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesVersion) HasExpirationDate ¶
func (o *KubernetesVersion) HasExpirationDate() bool
HasExpirationDate returns a boolean if a field has been set.
func (*KubernetesVersion) HasFeatureGates ¶
func (o *KubernetesVersion) HasFeatureGates() bool
HasFeatureGates returns a boolean if a field has been set.
func (*KubernetesVersion) HasState ¶
func (o *KubernetesVersion) HasState() bool
HasState returns a boolean if a field has been set.
func (*KubernetesVersion) HasVersion ¶
func (o *KubernetesVersion) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (KubernetesVersion) MarshalJSON ¶
func (o KubernetesVersion) MarshalJSON() ([]byte, error)
func (*KubernetesVersion) SetExpirationDate ¶
func (o *KubernetesVersion) SetExpirationDate(v time.Time)
SetExpirationDate gets a reference to the given time.Time and assigns it to the ExpirationDate field.
func (*KubernetesVersion) SetFeatureGates ¶
func (o *KubernetesVersion) SetFeatureGates(v map[string]string)
SetFeatureGates gets a reference to the given map[string]string and assigns it to the FeatureGates field.
func (*KubernetesVersion) SetState ¶
func (o *KubernetesVersion) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*KubernetesVersion) SetVersion ¶
func (o *KubernetesVersion) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (KubernetesVersion) ToMap ¶
func (o KubernetesVersion) ToMap() (map[string]interface{}, error)
type ListClustersResponse ¶
type ListClustersResponse struct {
Items []Cluster `json:"items,omitempty"`
}
ListClustersResponse struct for ListClustersResponse
func NewListClustersResponse ¶
func NewListClustersResponse() *ListClustersResponse
NewListClustersResponse instantiates a new ListClustersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListClustersResponseWithDefaults ¶
func NewListClustersResponseWithDefaults() *ListClustersResponse
NewListClustersResponseWithDefaults instantiates a new ListClustersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListClustersResponse) GetItems ¶
func (o *ListClustersResponse) GetItems() []Cluster
GetItems returns the Items field value if set, zero value otherwise.
func (*ListClustersResponse) GetItemsOk ¶
func (o *ListClustersResponse) GetItemsOk() ([]Cluster, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListClustersResponse) HasItems ¶
func (o *ListClustersResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (ListClustersResponse) MarshalJSON ¶
func (o ListClustersResponse) MarshalJSON() ([]byte, error)
func (*ListClustersResponse) SetItems ¶
func (o *ListClustersResponse) SetItems(v []Cluster)
SetItems gets a reference to the given []Cluster and assigns it to the Items field.
func (ListClustersResponse) ToMap ¶
func (o ListClustersResponse) ToMap() (map[string]interface{}, error)
type LoginKubeconfig ¶
type LoginKubeconfig struct {
Kubeconfig *string `json:"kubeconfig,omitempty"`
}
LoginKubeconfig struct for LoginKubeconfig
func NewLoginKubeconfig ¶
func NewLoginKubeconfig() *LoginKubeconfig
NewLoginKubeconfig instantiates a new LoginKubeconfig 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 NewLoginKubeconfigWithDefaults ¶
func NewLoginKubeconfigWithDefaults() *LoginKubeconfig
NewLoginKubeconfigWithDefaults instantiates a new LoginKubeconfig 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 (*LoginKubeconfig) GetKubeconfig ¶
func (o *LoginKubeconfig) GetKubeconfig() string
GetKubeconfig returns the Kubeconfig field value if set, zero value otherwise.
func (*LoginKubeconfig) GetKubeconfigOk ¶
func (o *LoginKubeconfig) GetKubeconfigOk() (*string, bool)
GetKubeconfigOk returns a tuple with the Kubeconfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginKubeconfig) HasKubeconfig ¶
func (o *LoginKubeconfig) HasKubeconfig() bool
HasKubeconfig returns a boolean if a field has been set.
func (LoginKubeconfig) MarshalJSON ¶
func (o LoginKubeconfig) MarshalJSON() ([]byte, error)
func (*LoginKubeconfig) SetKubeconfig ¶
func (o *LoginKubeconfig) SetKubeconfig(v string)
SetKubeconfig gets a reference to the given string and assigns it to the Kubeconfig field.
func (LoginKubeconfig) ToMap ¶
func (o LoginKubeconfig) ToMap() (map[string]interface{}, error)
type Machine ¶
type Machine struct {
Image Image `json:"image"`
// For valid types please take a look at [provider-options](#tag/ProviderOptions/operation/SkeService_GetProviderOptions) `machineTypes`.
Type string `json:"type"`
}
Machine struct for Machine
func NewMachine ¶
NewMachine instantiates a new Machine 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 NewMachineWithDefaults ¶
func NewMachineWithDefaults() *Machine
NewMachineWithDefaults instantiates a new Machine 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 (*Machine) GetImageOk ¶
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*Machine) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Machine) MarshalJSON ¶
func (*Machine) UnmarshalJSON ¶
type MachineImage ¶
type MachineImage struct {
Name *string `json:"name,omitempty"`
Versions []MachineImageVersion `json:"versions,omitempty"`
}
MachineImage struct for MachineImage
func NewMachineImage ¶
func NewMachineImage() *MachineImage
NewMachineImage instantiates a new MachineImage 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 NewMachineImageWithDefaults ¶
func NewMachineImageWithDefaults() *MachineImage
NewMachineImageWithDefaults instantiates a new MachineImage 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 (*MachineImage) GetName ¶
func (o *MachineImage) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*MachineImage) GetNameOk ¶
func (o *MachineImage) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineImage) GetVersions ¶
func (o *MachineImage) GetVersions() []MachineImageVersion
GetVersions returns the Versions field value if set, zero value otherwise.
func (*MachineImage) GetVersionsOk ¶
func (o *MachineImage) GetVersionsOk() ([]MachineImageVersion, bool)
GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineImage) HasName ¶
func (o *MachineImage) HasName() bool
HasName returns a boolean if a field has been set.
func (*MachineImage) HasVersions ¶
func (o *MachineImage) HasVersions() bool
HasVersions returns a boolean if a field has been set.
func (MachineImage) MarshalJSON ¶
func (o MachineImage) MarshalJSON() ([]byte, error)
func (*MachineImage) SetName ¶
func (o *MachineImage) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*MachineImage) SetVersions ¶
func (o *MachineImage) SetVersions(v []MachineImageVersion)
SetVersions gets a reference to the given []MachineImageVersion and assigns it to the Versions field.
func (MachineImage) ToMap ¶
func (o MachineImage) ToMap() (map[string]interface{}, error)
type MachineImageVersion ¶
type MachineImageVersion struct {
Cri []CRI `json:"cri,omitempty"`
ExpirationDate *time.Time `json:"expirationDate,omitempty"`
State *string `json:"state,omitempty"`
Version *string `json:"version,omitempty" validate:"regexp=^\\\\d+\\\\.\\\\d+\\\\.\\\\d+$"`
}
MachineImageVersion struct for MachineImageVersion
func NewMachineImageVersion ¶
func NewMachineImageVersion() *MachineImageVersion
NewMachineImageVersion instantiates a new MachineImageVersion 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 NewMachineImageVersionWithDefaults ¶
func NewMachineImageVersionWithDefaults() *MachineImageVersion
NewMachineImageVersionWithDefaults instantiates a new MachineImageVersion 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 (*MachineImageVersion) GetCri ¶
func (o *MachineImageVersion) GetCri() []CRI
GetCri returns the Cri field value if set, zero value otherwise.
func (*MachineImageVersion) GetCriOk ¶
func (o *MachineImageVersion) GetCriOk() ([]CRI, bool)
GetCriOk returns a tuple with the Cri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineImageVersion) GetExpirationDate ¶
func (o *MachineImageVersion) GetExpirationDate() time.Time
GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.
func (*MachineImageVersion) GetExpirationDateOk ¶
func (o *MachineImageVersion) GetExpirationDateOk() (*time.Time, bool)
GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineImageVersion) GetState ¶
func (o *MachineImageVersion) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*MachineImageVersion) GetStateOk ¶
func (o *MachineImageVersion) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineImageVersion) GetVersion ¶
func (o *MachineImageVersion) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*MachineImageVersion) GetVersionOk ¶
func (o *MachineImageVersion) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineImageVersion) HasCri ¶
func (o *MachineImageVersion) HasCri() bool
HasCri returns a boolean if a field has been set.
func (*MachineImageVersion) HasExpirationDate ¶
func (o *MachineImageVersion) HasExpirationDate() bool
HasExpirationDate returns a boolean if a field has been set.
func (*MachineImageVersion) HasState ¶
func (o *MachineImageVersion) HasState() bool
HasState returns a boolean if a field has been set.
func (*MachineImageVersion) HasVersion ¶
func (o *MachineImageVersion) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (MachineImageVersion) MarshalJSON ¶
func (o MachineImageVersion) MarshalJSON() ([]byte, error)
func (*MachineImageVersion) SetCri ¶
func (o *MachineImageVersion) SetCri(v []CRI)
SetCri gets a reference to the given []CRI and assigns it to the Cri field.
func (*MachineImageVersion) SetExpirationDate ¶
func (o *MachineImageVersion) SetExpirationDate(v time.Time)
SetExpirationDate gets a reference to the given time.Time and assigns it to the ExpirationDate field.
func (*MachineImageVersion) SetState ¶
func (o *MachineImageVersion) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*MachineImageVersion) SetVersion ¶
func (o *MachineImageVersion) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (MachineImageVersion) ToMap ¶
func (o MachineImageVersion) ToMap() (map[string]interface{}, error)
type MachineType ¶
type MachineType struct {
Architecture *string `json:"architecture,omitempty"`
Cpu *int32 `json:"cpu,omitempty"`
Gpu *int32 `json:"gpu,omitempty"`
Memory *int32 `json:"memory,omitempty"`
Name *string `json:"name,omitempty"`
}
MachineType struct for MachineType
func NewMachineType ¶
func NewMachineType() *MachineType
NewMachineType instantiates a new MachineType 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 NewMachineTypeWithDefaults ¶
func NewMachineTypeWithDefaults() *MachineType
NewMachineTypeWithDefaults instantiates a new MachineType 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 (*MachineType) GetArchitecture ¶
func (o *MachineType) GetArchitecture() string
GetArchitecture returns the Architecture field value if set, zero value otherwise.
func (*MachineType) GetArchitectureOk ¶
func (o *MachineType) GetArchitectureOk() (*string, bool)
GetArchitectureOk returns a tuple with the Architecture field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineType) GetCpu ¶
func (o *MachineType) GetCpu() int32
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*MachineType) GetCpuOk ¶
func (o *MachineType) GetCpuOk() (*int32, bool)
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineType) GetGpu ¶
func (o *MachineType) GetGpu() int32
GetGpu returns the Gpu field value if set, zero value otherwise.
func (*MachineType) GetGpuOk ¶
func (o *MachineType) GetGpuOk() (*int32, bool)
GetGpuOk returns a tuple with the Gpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineType) GetMemory ¶
func (o *MachineType) GetMemory() int32
GetMemory returns the Memory field value if set, zero value otherwise.
func (*MachineType) GetMemoryOk ¶
func (o *MachineType) GetMemoryOk() (*int32, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineType) GetName ¶
func (o *MachineType) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*MachineType) GetNameOk ¶
func (o *MachineType) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MachineType) HasArchitecture ¶
func (o *MachineType) HasArchitecture() bool
HasArchitecture returns a boolean if a field has been set.
func (*MachineType) HasCpu ¶
func (o *MachineType) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*MachineType) HasGpu ¶
func (o *MachineType) HasGpu() bool
HasGpu returns a boolean if a field has been set.
func (*MachineType) HasMemory ¶
func (o *MachineType) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*MachineType) HasName ¶
func (o *MachineType) HasName() bool
HasName returns a boolean if a field has been set.
func (MachineType) MarshalJSON ¶
func (o MachineType) MarshalJSON() ([]byte, error)
func (*MachineType) SetArchitecture ¶
func (o *MachineType) SetArchitecture(v string)
SetArchitecture gets a reference to the given string and assigns it to the Architecture field.
func (*MachineType) SetCpu ¶
func (o *MachineType) SetCpu(v int32)
SetCpu gets a reference to the given int32 and assigns it to the Cpu field.
func (*MachineType) SetGpu ¶
func (o *MachineType) SetGpu(v int32)
SetGpu gets a reference to the given int32 and assigns it to the Gpu field.
func (*MachineType) SetMemory ¶
func (o *MachineType) SetMemory(v int32)
SetMemory gets a reference to the given int32 and assigns it to the Memory field.
func (*MachineType) SetName ¶
func (o *MachineType) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (MachineType) ToMap ¶
func (o MachineType) ToMap() (map[string]interface{}, error)
type Maintenance ¶
type Maintenance struct {
AutoUpdate MaintenanceAutoUpdate `json:"autoUpdate"`
TimeWindow TimeWindow `json:"timeWindow"`
}
Maintenance struct for Maintenance
func NewMaintenance ¶
func NewMaintenance(autoUpdate MaintenanceAutoUpdate, timeWindow TimeWindow) *Maintenance
NewMaintenance instantiates a new Maintenance 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 NewMaintenanceWithDefaults ¶
func NewMaintenanceWithDefaults() *Maintenance
NewMaintenanceWithDefaults instantiates a new Maintenance 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 (*Maintenance) GetAutoUpdate ¶
func (o *Maintenance) GetAutoUpdate() MaintenanceAutoUpdate
GetAutoUpdate returns the AutoUpdate field value
func (*Maintenance) GetAutoUpdateOk ¶
func (o *Maintenance) GetAutoUpdateOk() (*MaintenanceAutoUpdate, bool)
GetAutoUpdateOk returns a tuple with the AutoUpdate field value and a boolean to check if the value has been set.
func (*Maintenance) GetTimeWindow ¶
func (o *Maintenance) GetTimeWindow() TimeWindow
GetTimeWindow returns the TimeWindow field value
func (*Maintenance) GetTimeWindowOk ¶
func (o *Maintenance) GetTimeWindowOk() (*TimeWindow, bool)
GetTimeWindowOk returns a tuple with the TimeWindow field value and a boolean to check if the value has been set.
func (Maintenance) MarshalJSON ¶
func (o Maintenance) MarshalJSON() ([]byte, error)
func (*Maintenance) SetAutoUpdate ¶
func (o *Maintenance) SetAutoUpdate(v MaintenanceAutoUpdate)
SetAutoUpdate sets field value
func (*Maintenance) SetTimeWindow ¶
func (o *Maintenance) SetTimeWindow(v TimeWindow)
SetTimeWindow sets field value
func (Maintenance) ToMap ¶
func (o Maintenance) ToMap() (map[string]interface{}, error)
func (*Maintenance) UnmarshalJSON ¶
func (o *Maintenance) UnmarshalJSON(data []byte) (err error)
type MaintenanceAutoUpdate ¶
type MaintenanceAutoUpdate struct {
KubernetesVersion *bool `json:"kubernetesVersion,omitempty"`
MachineImageVersion *bool `json:"machineImageVersion,omitempty"`
}
MaintenanceAutoUpdate struct for MaintenanceAutoUpdate
func NewMaintenanceAutoUpdate ¶
func NewMaintenanceAutoUpdate() *MaintenanceAutoUpdate
NewMaintenanceAutoUpdate instantiates a new MaintenanceAutoUpdate 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 NewMaintenanceAutoUpdateWithDefaults ¶
func NewMaintenanceAutoUpdateWithDefaults() *MaintenanceAutoUpdate
NewMaintenanceAutoUpdateWithDefaults instantiates a new MaintenanceAutoUpdate 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 (*MaintenanceAutoUpdate) GetKubernetesVersion ¶
func (o *MaintenanceAutoUpdate) GetKubernetesVersion() bool
GetKubernetesVersion returns the KubernetesVersion field value if set, zero value otherwise.
func (*MaintenanceAutoUpdate) GetKubernetesVersionOk ¶
func (o *MaintenanceAutoUpdate) GetKubernetesVersionOk() (*bool, bool)
GetKubernetesVersionOk returns a tuple with the KubernetesVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MaintenanceAutoUpdate) GetMachineImageVersion ¶
func (o *MaintenanceAutoUpdate) GetMachineImageVersion() bool
GetMachineImageVersion returns the MachineImageVersion field value if set, zero value otherwise.
func (*MaintenanceAutoUpdate) GetMachineImageVersionOk ¶
func (o *MaintenanceAutoUpdate) GetMachineImageVersionOk() (*bool, bool)
GetMachineImageVersionOk returns a tuple with the MachineImageVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MaintenanceAutoUpdate) HasKubernetesVersion ¶
func (o *MaintenanceAutoUpdate) HasKubernetesVersion() bool
HasKubernetesVersion returns a boolean if a field has been set.
func (*MaintenanceAutoUpdate) HasMachineImageVersion ¶
func (o *MaintenanceAutoUpdate) HasMachineImageVersion() bool
HasMachineImageVersion returns a boolean if a field has been set.
func (MaintenanceAutoUpdate) MarshalJSON ¶
func (o MaintenanceAutoUpdate) MarshalJSON() ([]byte, error)
func (*MaintenanceAutoUpdate) SetKubernetesVersion ¶
func (o *MaintenanceAutoUpdate) SetKubernetesVersion(v bool)
SetKubernetesVersion gets a reference to the given bool and assigns it to the KubernetesVersion field.
func (*MaintenanceAutoUpdate) SetMachineImageVersion ¶
func (o *MaintenanceAutoUpdate) SetMachineImageVersion(v bool)
SetMachineImageVersion gets a reference to the given bool and assigns it to the MachineImageVersion field.
func (MaintenanceAutoUpdate) ToMap ¶
func (o MaintenanceAutoUpdate) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type Network ¶
type Network struct {
Id *string `json:"id,omitempty"`
}
Network struct for Network
func NewNetwork ¶
func NewNetwork() *Network
NewNetwork instantiates a new Network 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 NewNetworkWithDefaults ¶
func NewNetworkWithDefaults() *Network
NewNetworkWithDefaults instantiates a new Network 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 (*Network) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (Network) MarshalJSON ¶
type Nodepool ¶
type Nodepool struct {
// This needs to be true for at least one node pool.
AllowSystemComponents *bool `json:"allowSystemComponents,omitempty"`
AvailabilityZones []string `json:"availabilityZones"`
Cri *CRI `json:"cri,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
Machine Machine `json:"machine"`
MaxSurge *int32 `json:"maxSurge,omitempty"`
// Maximum number of nodes in the pool. During runtime, the cluster will never scale beyond 1000 nodes, even if the total maximum would allow for a larger cluster.
Maximum int32 `json:"maximum"`
// Minimum number of nodes in the pool. The sum of all minima must not exceed 1000.
Minimum int32 `json:"minimum"`
// Maximum 15 chars
Name string `json:"name"`
Taints []Taint `json:"taints,omitempty"`
Volume Volume `json:"volume"`
}
Nodepool struct for Nodepool
func NewNodepool ¶
func NewNodepool(availabilityZones []string, machine Machine, maximum int32, minimum int32, name string, volume Volume) *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) GetAllowSystemComponents ¶
GetAllowSystemComponents returns the AllowSystemComponents field value if set, zero value otherwise.
func (*Nodepool) GetAllowSystemComponentsOk ¶
GetAllowSystemComponentsOk returns a tuple with the AllowSystemComponents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Nodepool) GetAvailabilityZones ¶
GetAvailabilityZones returns the AvailabilityZones field value
func (*Nodepool) GetAvailabilityZonesOk ¶
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.
func (*Nodepool) GetCriOk ¶
GetCriOk returns a tuple with the Cri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Nodepool) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Nodepool) GetMachine ¶
GetMachine returns the Machine field value
func (*Nodepool) GetMachineOk ¶
GetMachineOk returns a tuple with the Machine field value and a boolean to check if the value has been set.
func (*Nodepool) GetMaxSurge ¶
GetMaxSurge returns the MaxSurge field value if set, zero value otherwise.
func (*Nodepool) GetMaxSurgeOk ¶
GetMaxSurgeOk returns a tuple with the MaxSurge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Nodepool) GetMaxUnavailable ¶
GetMaxUnavailable returns the MaxUnavailable field value if set, zero value otherwise.
func (*Nodepool) GetMaxUnavailableOk ¶
GetMaxUnavailableOk returns a tuple with the MaxUnavailable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Nodepool) GetMaximum ¶
GetMaximum returns the Maximum field value
func (*Nodepool) GetMaximumOk ¶
GetMaximumOk returns a tuple with the Maximum field value and a boolean to check if the value has been set.
func (*Nodepool) GetMinimum ¶
GetMinimum returns the Minimum field value
func (*Nodepool) GetMinimumOk ¶
GetMinimumOk returns a tuple with the Minimum field value and a boolean to check if the value has been set.
func (*Nodepool) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Nodepool) GetTaintsOk ¶
GetTaintsOk returns a tuple with the Taints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Nodepool) GetVolumeOk ¶
GetVolumeOk returns a tuple with the Volume field value and a boolean to check if the value has been set.
func (*Nodepool) HasAllowSystemComponents ¶
HasAllowSystemComponents returns a boolean if a field has been set.
func (*Nodepool) HasMaxSurge ¶
HasMaxSurge returns a boolean if a field has been set.
func (*Nodepool) HasMaxUnavailable ¶
HasMaxUnavailable returns a boolean if a field has been set.
func (Nodepool) MarshalJSON ¶
func (*Nodepool) SetAllowSystemComponents ¶
SetAllowSystemComponents gets a reference to the given bool and assigns it to the AllowSystemComponents field.
func (*Nodepool) SetAvailabilityZones ¶
SetAvailabilityZones sets field value
func (*Nodepool) SetLabels ¶
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*Nodepool) SetMaxSurge ¶
SetMaxSurge gets a reference to the given int32 and assigns it to the MaxSurge field.
func (*Nodepool) SetMaxUnavailable ¶
SetMaxUnavailable gets a reference to the given int32 and assigns it to the MaxUnavailable field.
func (*Nodepool) SetTaints ¶
SetTaints gets a reference to the given []Taint and assigns it to the Taints field.
func (*Nodepool) UnmarshalJSON ¶
type NullableACL ¶
type NullableACL struct {
// contains filtered or unexported fields
}
func NewNullableACL ¶
func NewNullableACL(val *ACL) *NullableACL
func (NullableACL) Get ¶
func (v NullableACL) Get() *ACL
func (NullableACL) IsSet ¶
func (v NullableACL) IsSet() bool
func (NullableACL) MarshalJSON ¶
func (v NullableACL) MarshalJSON() ([]byte, error)
func (*NullableACL) Set ¶
func (v *NullableACL) Set(val *ACL)
func (*NullableACL) UnmarshalJSON ¶
func (v *NullableACL) UnmarshalJSON(src []byte) error
func (*NullableACL) Unset ¶
func (v *NullableACL) Unset()
type NullableArgus ¶
type NullableArgus struct {
// contains filtered or unexported fields
}
func NewNullableArgus ¶
func NewNullableArgus(val *Argus) *NullableArgus
func (NullableArgus) Get ¶
func (v NullableArgus) Get() *Argus
func (NullableArgus) IsSet ¶
func (v NullableArgus) IsSet() bool
func (NullableArgus) MarshalJSON ¶
func (v NullableArgus) MarshalJSON() ([]byte, error)
func (*NullableArgus) Set ¶
func (v *NullableArgus) Set(val *Argus)
func (*NullableArgus) UnmarshalJSON ¶
func (v *NullableArgus) UnmarshalJSON(src []byte) error
func (*NullableArgus) Unset ¶
func (v *NullableArgus) Unset()
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 NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCRI ¶
type NullableCRI struct {
// contains filtered or unexported fields
}
func NewNullableCRI ¶
func NewNullableCRI(val *CRI) *NullableCRI
func (NullableCRI) Get ¶
func (v NullableCRI) Get() *CRI
func (NullableCRI) IsSet ¶
func (v NullableCRI) IsSet() bool
func (NullableCRI) MarshalJSON ¶
func (v NullableCRI) MarshalJSON() ([]byte, error)
func (*NullableCRI) Set ¶
func (v *NullableCRI) Set(val *CRI)
func (*NullableCRI) UnmarshalJSON ¶
func (v *NullableCRI) UnmarshalJSON(src []byte) error
func (*NullableCRI) Unset ¶
func (v *NullableCRI) 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 NullableClusterError ¶
type NullableClusterError struct {
// contains filtered or unexported fields
}
func NewNullableClusterError ¶
func NewNullableClusterError(val *ClusterError) *NullableClusterError
func (NullableClusterError) Get ¶
func (v NullableClusterError) Get() *ClusterError
func (NullableClusterError) IsSet ¶
func (v NullableClusterError) IsSet() bool
func (NullableClusterError) MarshalJSON ¶
func (v NullableClusterError) MarshalJSON() ([]byte, error)
func (*NullableClusterError) Set ¶
func (v *NullableClusterError) Set(val *ClusterError)
func (*NullableClusterError) UnmarshalJSON ¶
func (v *NullableClusterError) UnmarshalJSON(src []byte) error
func (*NullableClusterError) Unset ¶
func (v *NullableClusterError) Unset()
type NullableClusterStatus ¶
type NullableClusterStatus struct {
// contains filtered or unexported fields
}
func NewNullableClusterStatus ¶
func NewNullableClusterStatus(val *ClusterStatus) *NullableClusterStatus
func (NullableClusterStatus) Get ¶
func (v NullableClusterStatus) Get() *ClusterStatus
func (NullableClusterStatus) IsSet ¶
func (v NullableClusterStatus) IsSet() bool
func (NullableClusterStatus) MarshalJSON ¶
func (v NullableClusterStatus) MarshalJSON() ([]byte, error)
func (*NullableClusterStatus) Set ¶
func (v *NullableClusterStatus) Set(val *ClusterStatus)
func (*NullableClusterStatus) UnmarshalJSON ¶
func (v *NullableClusterStatus) UnmarshalJSON(src []byte) error
func (*NullableClusterStatus) Unset ¶
func (v *NullableClusterStatus) Unset()
type NullableClusterStatusState ¶
type NullableClusterStatusState struct {
// contains filtered or unexported fields
}
func NewNullableClusterStatusState ¶
func NewNullableClusterStatusState(val *ClusterStatusState) *NullableClusterStatusState
func (NullableClusterStatusState) Get ¶
func (v NullableClusterStatusState) Get() *ClusterStatusState
func (NullableClusterStatusState) IsSet ¶
func (v NullableClusterStatusState) IsSet() bool
func (NullableClusterStatusState) MarshalJSON ¶
func (v NullableClusterStatusState) MarshalJSON() ([]byte, error)
func (*NullableClusterStatusState) Set ¶
func (v *NullableClusterStatusState) Set(val *ClusterStatusState)
func (*NullableClusterStatusState) UnmarshalJSON ¶
func (v *NullableClusterStatusState) UnmarshalJSON(src []byte) error
func (*NullableClusterStatusState) Unset ¶
func (v *NullableClusterStatusState) Unset()
type NullableCreateKubeconfigPayload ¶
type NullableCreateKubeconfigPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateKubeconfigPayload ¶
func NewNullableCreateKubeconfigPayload(val *CreateKubeconfigPayload) *NullableCreateKubeconfigPayload
func (NullableCreateKubeconfigPayload) Get ¶
func (v NullableCreateKubeconfigPayload) Get() *CreateKubeconfigPayload
func (NullableCreateKubeconfigPayload) IsSet ¶
func (v NullableCreateKubeconfigPayload) IsSet() bool
func (NullableCreateKubeconfigPayload) MarshalJSON ¶
func (v NullableCreateKubeconfigPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateKubeconfigPayload) Set ¶
func (v *NullableCreateKubeconfigPayload) Set(val *CreateKubeconfigPayload)
func (*NullableCreateKubeconfigPayload) UnmarshalJSON ¶
func (v *NullableCreateKubeconfigPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateKubeconfigPayload) Unset ¶
func (v *NullableCreateKubeconfigPayload) Unset()
type NullableCreateOrUpdateClusterPayload ¶
type NullableCreateOrUpdateClusterPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateOrUpdateClusterPayload ¶
func NewNullableCreateOrUpdateClusterPayload(val *CreateOrUpdateClusterPayload) *NullableCreateOrUpdateClusterPayload
func (NullableCreateOrUpdateClusterPayload) Get ¶
func (v NullableCreateOrUpdateClusterPayload) Get() *CreateOrUpdateClusterPayload
func (NullableCreateOrUpdateClusterPayload) IsSet ¶
func (v NullableCreateOrUpdateClusterPayload) IsSet() bool
func (NullableCreateOrUpdateClusterPayload) MarshalJSON ¶
func (v NullableCreateOrUpdateClusterPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateOrUpdateClusterPayload) Set ¶
func (v *NullableCreateOrUpdateClusterPayload) Set(val *CreateOrUpdateClusterPayload)
func (*NullableCreateOrUpdateClusterPayload) UnmarshalJSON ¶
func (v *NullableCreateOrUpdateClusterPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateOrUpdateClusterPayload) Unset ¶
func (v *NullableCreateOrUpdateClusterPayload) Unset()
type NullableCredentialsRotationState ¶
type NullableCredentialsRotationState struct {
// contains filtered or unexported fields
}
func NewNullableCredentialsRotationState ¶
func NewNullableCredentialsRotationState(val *CredentialsRotationState) *NullableCredentialsRotationState
func (NullableCredentialsRotationState) Get ¶
func (v NullableCredentialsRotationState) Get() *CredentialsRotationState
func (NullableCredentialsRotationState) IsSet ¶
func (v NullableCredentialsRotationState) IsSet() bool
func (NullableCredentialsRotationState) MarshalJSON ¶
func (v NullableCredentialsRotationState) MarshalJSON() ([]byte, error)
func (*NullableCredentialsRotationState) Set ¶
func (v *NullableCredentialsRotationState) Set(val *CredentialsRotationState)
func (*NullableCredentialsRotationState) UnmarshalJSON ¶
func (v *NullableCredentialsRotationState) UnmarshalJSON(src []byte) error
func (*NullableCredentialsRotationState) Unset ¶
func (v *NullableCredentialsRotationState) Unset()
type NullableDNS ¶
type NullableDNS struct {
// contains filtered or unexported fields
}
func NewNullableDNS ¶
func NewNullableDNS(val *DNS) *NullableDNS
func (NullableDNS) Get ¶
func (v NullableDNS) Get() *DNS
func (NullableDNS) IsSet ¶
func (v NullableDNS) IsSet() bool
func (NullableDNS) MarshalJSON ¶
func (v NullableDNS) MarshalJSON() ([]byte, error)
func (*NullableDNS) Set ¶
func (v *NullableDNS) Set(val *DNS)
func (*NullableDNS) UnmarshalJSON ¶
func (v *NullableDNS) UnmarshalJSON(src []byte) error
func (*NullableDNS) Unset ¶
func (v *NullableDNS) Unset()
type NullableExtension ¶
type NullableExtension struct {
// contains filtered or unexported fields
}
func NewNullableExtension ¶
func NewNullableExtension(val *Extension) *NullableExtension
func (NullableExtension) Get ¶
func (v NullableExtension) Get() *Extension
func (NullableExtension) IsSet ¶
func (v NullableExtension) IsSet() bool
func (NullableExtension) MarshalJSON ¶
func (v NullableExtension) MarshalJSON() ([]byte, error)
func (*NullableExtension) Set ¶
func (v *NullableExtension) Set(val *Extension)
func (*NullableExtension) UnmarshalJSON ¶
func (v *NullableExtension) UnmarshalJSON(src []byte) error
func (*NullableExtension) Unset ¶
func (v *NullableExtension) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableHibernation ¶
type NullableHibernation struct {
// contains filtered or unexported fields
}
func NewNullableHibernation ¶
func NewNullableHibernation(val *Hibernation) *NullableHibernation
func (NullableHibernation) Get ¶
func (v NullableHibernation) Get() *Hibernation
func (NullableHibernation) IsSet ¶
func (v NullableHibernation) IsSet() bool
func (NullableHibernation) MarshalJSON ¶
func (v NullableHibernation) MarshalJSON() ([]byte, error)
func (*NullableHibernation) Set ¶
func (v *NullableHibernation) Set(val *Hibernation)
func (*NullableHibernation) UnmarshalJSON ¶
func (v *NullableHibernation) UnmarshalJSON(src []byte) error
func (*NullableHibernation) Unset ¶
func (v *NullableHibernation) Unset()
type NullableHibernationSchedule ¶
type NullableHibernationSchedule struct {
// contains filtered or unexported fields
}
func NewNullableHibernationSchedule ¶
func NewNullableHibernationSchedule(val *HibernationSchedule) *NullableHibernationSchedule
func (NullableHibernationSchedule) Get ¶
func (v NullableHibernationSchedule) Get() *HibernationSchedule
func (NullableHibernationSchedule) IsSet ¶
func (v NullableHibernationSchedule) IsSet() bool
func (NullableHibernationSchedule) MarshalJSON ¶
func (v NullableHibernationSchedule) MarshalJSON() ([]byte, error)
func (*NullableHibernationSchedule) Set ¶
func (v *NullableHibernationSchedule) Set(val *HibernationSchedule)
func (*NullableHibernationSchedule) UnmarshalJSON ¶
func (v *NullableHibernationSchedule) UnmarshalJSON(src []byte) error
func (*NullableHibernationSchedule) Unset ¶
func (v *NullableHibernationSchedule) Unset()
type NullableImage ¶
type NullableImage struct {
// contains filtered or unexported fields
}
func NewNullableImage ¶
func NewNullableImage(val *Image) *NullableImage
func (NullableImage) Get ¶
func (v NullableImage) Get() *Image
func (NullableImage) IsSet ¶
func (v NullableImage) IsSet() bool
func (NullableImage) MarshalJSON ¶
func (v NullableImage) MarshalJSON() ([]byte, error)
func (*NullableImage) Set ¶
func (v *NullableImage) Set(val *Image)
func (*NullableImage) UnmarshalJSON ¶
func (v *NullableImage) UnmarshalJSON(src []byte) error
func (*NullableImage) Unset ¶
func (v *NullableImage) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableKubeconfig ¶
type NullableKubeconfig struct {
// contains filtered or unexported fields
}
func NewNullableKubeconfig ¶
func NewNullableKubeconfig(val *Kubeconfig) *NullableKubeconfig
func (NullableKubeconfig) Get ¶
func (v NullableKubeconfig) Get() *Kubeconfig
func (NullableKubeconfig) IsSet ¶
func (v NullableKubeconfig) IsSet() bool
func (NullableKubeconfig) MarshalJSON ¶
func (v NullableKubeconfig) MarshalJSON() ([]byte, error)
func (*NullableKubeconfig) Set ¶
func (v *NullableKubeconfig) Set(val *Kubeconfig)
func (*NullableKubeconfig) UnmarshalJSON ¶
func (v *NullableKubeconfig) UnmarshalJSON(src []byte) error
func (*NullableKubeconfig) Unset ¶
func (v *NullableKubeconfig) Unset()
type NullableKubernetes ¶
type NullableKubernetes struct {
// contains filtered or unexported fields
}
func NewNullableKubernetes ¶
func NewNullableKubernetes(val *Kubernetes) *NullableKubernetes
func (NullableKubernetes) Get ¶
func (v NullableKubernetes) Get() *Kubernetes
func (NullableKubernetes) IsSet ¶
func (v NullableKubernetes) IsSet() bool
func (NullableKubernetes) MarshalJSON ¶
func (v NullableKubernetes) MarshalJSON() ([]byte, error)
func (*NullableKubernetes) Set ¶
func (v *NullableKubernetes) Set(val *Kubernetes)
func (*NullableKubernetes) UnmarshalJSON ¶
func (v *NullableKubernetes) UnmarshalJSON(src []byte) error
func (*NullableKubernetes) Unset ¶
func (v *NullableKubernetes) Unset()
type NullableKubernetesVersion ¶
type NullableKubernetesVersion struct {
// contains filtered or unexported fields
}
func NewNullableKubernetesVersion ¶
func NewNullableKubernetesVersion(val *KubernetesVersion) *NullableKubernetesVersion
func (NullableKubernetesVersion) Get ¶
func (v NullableKubernetesVersion) Get() *KubernetesVersion
func (NullableKubernetesVersion) IsSet ¶
func (v NullableKubernetesVersion) IsSet() bool
func (NullableKubernetesVersion) MarshalJSON ¶
func (v NullableKubernetesVersion) MarshalJSON() ([]byte, error)
func (*NullableKubernetesVersion) Set ¶
func (v *NullableKubernetesVersion) Set(val *KubernetesVersion)
func (*NullableKubernetesVersion) UnmarshalJSON ¶
func (v *NullableKubernetesVersion) UnmarshalJSON(src []byte) error
func (*NullableKubernetesVersion) Unset ¶
func (v *NullableKubernetesVersion) Unset()
type NullableListClustersResponse ¶
type NullableListClustersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListClustersResponse ¶
func NewNullableListClustersResponse(val *ListClustersResponse) *NullableListClustersResponse
func (NullableListClustersResponse) Get ¶
func (v NullableListClustersResponse) Get() *ListClustersResponse
func (NullableListClustersResponse) IsSet ¶
func (v NullableListClustersResponse) IsSet() bool
func (NullableListClustersResponse) MarshalJSON ¶
func (v NullableListClustersResponse) MarshalJSON() ([]byte, error)
func (*NullableListClustersResponse) Set ¶
func (v *NullableListClustersResponse) Set(val *ListClustersResponse)
func (*NullableListClustersResponse) UnmarshalJSON ¶
func (v *NullableListClustersResponse) UnmarshalJSON(src []byte) error
func (*NullableListClustersResponse) Unset ¶
func (v *NullableListClustersResponse) Unset()
type NullableLoginKubeconfig ¶
type NullableLoginKubeconfig struct {
// contains filtered or unexported fields
}
func NewNullableLoginKubeconfig ¶
func NewNullableLoginKubeconfig(val *LoginKubeconfig) *NullableLoginKubeconfig
func (NullableLoginKubeconfig) Get ¶
func (v NullableLoginKubeconfig) Get() *LoginKubeconfig
func (NullableLoginKubeconfig) IsSet ¶
func (v NullableLoginKubeconfig) IsSet() bool
func (NullableLoginKubeconfig) MarshalJSON ¶
func (v NullableLoginKubeconfig) MarshalJSON() ([]byte, error)
func (*NullableLoginKubeconfig) Set ¶
func (v *NullableLoginKubeconfig) Set(val *LoginKubeconfig)
func (*NullableLoginKubeconfig) UnmarshalJSON ¶
func (v *NullableLoginKubeconfig) UnmarshalJSON(src []byte) error
func (*NullableLoginKubeconfig) Unset ¶
func (v *NullableLoginKubeconfig) Unset()
type NullableMachine ¶
type NullableMachine struct {
// contains filtered or unexported fields
}
func NewNullableMachine ¶
func NewNullableMachine(val *Machine) *NullableMachine
func (NullableMachine) Get ¶
func (v NullableMachine) Get() *Machine
func (NullableMachine) IsSet ¶
func (v NullableMachine) IsSet() bool
func (NullableMachine) MarshalJSON ¶
func (v NullableMachine) MarshalJSON() ([]byte, error)
func (*NullableMachine) Set ¶
func (v *NullableMachine) Set(val *Machine)
func (*NullableMachine) UnmarshalJSON ¶
func (v *NullableMachine) UnmarshalJSON(src []byte) error
func (*NullableMachine) Unset ¶
func (v *NullableMachine) Unset()
type NullableMachineImage ¶
type NullableMachineImage struct {
// contains filtered or unexported fields
}
func NewNullableMachineImage ¶
func NewNullableMachineImage(val *MachineImage) *NullableMachineImage
func (NullableMachineImage) Get ¶
func (v NullableMachineImage) Get() *MachineImage
func (NullableMachineImage) IsSet ¶
func (v NullableMachineImage) IsSet() bool
func (NullableMachineImage) MarshalJSON ¶
func (v NullableMachineImage) MarshalJSON() ([]byte, error)
func (*NullableMachineImage) Set ¶
func (v *NullableMachineImage) Set(val *MachineImage)
func (*NullableMachineImage) UnmarshalJSON ¶
func (v *NullableMachineImage) UnmarshalJSON(src []byte) error
func (*NullableMachineImage) Unset ¶
func (v *NullableMachineImage) Unset()
type NullableMachineImageVersion ¶
type NullableMachineImageVersion struct {
// contains filtered or unexported fields
}
func NewNullableMachineImageVersion ¶
func NewNullableMachineImageVersion(val *MachineImageVersion) *NullableMachineImageVersion
func (NullableMachineImageVersion) Get ¶
func (v NullableMachineImageVersion) Get() *MachineImageVersion
func (NullableMachineImageVersion) IsSet ¶
func (v NullableMachineImageVersion) IsSet() bool
func (NullableMachineImageVersion) MarshalJSON ¶
func (v NullableMachineImageVersion) MarshalJSON() ([]byte, error)
func (*NullableMachineImageVersion) Set ¶
func (v *NullableMachineImageVersion) Set(val *MachineImageVersion)
func (*NullableMachineImageVersion) UnmarshalJSON ¶
func (v *NullableMachineImageVersion) UnmarshalJSON(src []byte) error
func (*NullableMachineImageVersion) Unset ¶
func (v *NullableMachineImageVersion) Unset()
type NullableMachineType ¶
type NullableMachineType struct {
// contains filtered or unexported fields
}
func NewNullableMachineType ¶
func NewNullableMachineType(val *MachineType) *NullableMachineType
func (NullableMachineType) Get ¶
func (v NullableMachineType) Get() *MachineType
func (NullableMachineType) IsSet ¶
func (v NullableMachineType) IsSet() bool
func (NullableMachineType) MarshalJSON ¶
func (v NullableMachineType) MarshalJSON() ([]byte, error)
func (*NullableMachineType) Set ¶
func (v *NullableMachineType) Set(val *MachineType)
func (*NullableMachineType) UnmarshalJSON ¶
func (v *NullableMachineType) UnmarshalJSON(src []byte) error
func (*NullableMachineType) Unset ¶
func (v *NullableMachineType) Unset()
type NullableMaintenance ¶
type NullableMaintenance struct {
// contains filtered or unexported fields
}
func NewNullableMaintenance ¶
func NewNullableMaintenance(val *Maintenance) *NullableMaintenance
func (NullableMaintenance) Get ¶
func (v NullableMaintenance) Get() *Maintenance
func (NullableMaintenance) IsSet ¶
func (v NullableMaintenance) IsSet() bool
func (NullableMaintenance) MarshalJSON ¶
func (v NullableMaintenance) MarshalJSON() ([]byte, error)
func (*NullableMaintenance) Set ¶
func (v *NullableMaintenance) Set(val *Maintenance)
func (*NullableMaintenance) UnmarshalJSON ¶
func (v *NullableMaintenance) UnmarshalJSON(src []byte) error
func (*NullableMaintenance) Unset ¶
func (v *NullableMaintenance) Unset()
type NullableMaintenanceAutoUpdate ¶
type NullableMaintenanceAutoUpdate struct {
// contains filtered or unexported fields
}
func NewNullableMaintenanceAutoUpdate ¶
func NewNullableMaintenanceAutoUpdate(val *MaintenanceAutoUpdate) *NullableMaintenanceAutoUpdate
func (NullableMaintenanceAutoUpdate) Get ¶
func (v NullableMaintenanceAutoUpdate) Get() *MaintenanceAutoUpdate
func (NullableMaintenanceAutoUpdate) IsSet ¶
func (v NullableMaintenanceAutoUpdate) IsSet() bool
func (NullableMaintenanceAutoUpdate) MarshalJSON ¶
func (v NullableMaintenanceAutoUpdate) MarshalJSON() ([]byte, error)
func (*NullableMaintenanceAutoUpdate) Set ¶
func (v *NullableMaintenanceAutoUpdate) Set(val *MaintenanceAutoUpdate)
func (*NullableMaintenanceAutoUpdate) UnmarshalJSON ¶
func (v *NullableMaintenanceAutoUpdate) UnmarshalJSON(src []byte) error
func (*NullableMaintenanceAutoUpdate) Unset ¶
func (v *NullableMaintenanceAutoUpdate) Unset()
type NullableNetwork ¶
type NullableNetwork struct {
// contains filtered or unexported fields
}
func NewNullableNetwork ¶
func NewNullableNetwork(val *Network) *NullableNetwork
func (NullableNetwork) Get ¶
func (v NullableNetwork) Get() *Network
func (NullableNetwork) IsSet ¶
func (v NullableNetwork) IsSet() bool
func (NullableNetwork) MarshalJSON ¶
func (v NullableNetwork) MarshalJSON() ([]byte, error)
func (*NullableNetwork) Set ¶
func (v *NullableNetwork) Set(val *Network)
func (*NullableNetwork) UnmarshalJSON ¶
func (v *NullableNetwork) UnmarshalJSON(src []byte) error
func (*NullableNetwork) Unset ¶
func (v *NullableNetwork) 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 NullableProviderOptions ¶
type NullableProviderOptions struct {
// contains filtered or unexported fields
}
func NewNullableProviderOptions ¶
func NewNullableProviderOptions(val *ProviderOptions) *NullableProviderOptions
func (NullableProviderOptions) Get ¶
func (v NullableProviderOptions) Get() *ProviderOptions
func (NullableProviderOptions) IsSet ¶
func (v NullableProviderOptions) IsSet() bool
func (NullableProviderOptions) MarshalJSON ¶
func (v NullableProviderOptions) MarshalJSON() ([]byte, error)
func (*NullableProviderOptions) Set ¶
func (v *NullableProviderOptions) Set(val *ProviderOptions)
func (*NullableProviderOptions) UnmarshalJSON ¶
func (v *NullableProviderOptions) UnmarshalJSON(src []byte) error
func (*NullableProviderOptions) Unset ¶
func (v *NullableProviderOptions) Unset()
type NullableRuntimeError ¶
type NullableRuntimeError struct {
// contains filtered or unexported fields
}
func NewNullableRuntimeError ¶
func NewNullableRuntimeError(val *RuntimeError) *NullableRuntimeError
func (NullableRuntimeError) Get ¶
func (v NullableRuntimeError) Get() *RuntimeError
func (NullableRuntimeError) IsSet ¶
func (v NullableRuntimeError) IsSet() bool
func (NullableRuntimeError) MarshalJSON ¶
func (v NullableRuntimeError) MarshalJSON() ([]byte, error)
func (*NullableRuntimeError) Set ¶
func (v *NullableRuntimeError) Set(val *RuntimeError)
func (*NullableRuntimeError) UnmarshalJSON ¶
func (v *NullableRuntimeError) UnmarshalJSON(src []byte) error
func (*NullableRuntimeError) Unset ¶
func (v *NullableRuntimeError) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTaint ¶
type NullableTaint struct {
// contains filtered or unexported fields
}
func NewNullableTaint ¶
func NewNullableTaint(val *Taint) *NullableTaint
func (NullableTaint) Get ¶
func (v NullableTaint) Get() *Taint
func (NullableTaint) IsSet ¶
func (v NullableTaint) IsSet() bool
func (NullableTaint) MarshalJSON ¶
func (v NullableTaint) MarshalJSON() ([]byte, error)
func (*NullableTaint) Set ¶
func (v *NullableTaint) Set(val *Taint)
func (*NullableTaint) UnmarshalJSON ¶
func (v *NullableTaint) UnmarshalJSON(src []byte) error
func (*NullableTaint) Unset ¶
func (v *NullableTaint) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTimeWindow ¶
type NullableTimeWindow struct {
// contains filtered or unexported fields
}
func NewNullableTimeWindow ¶
func NewNullableTimeWindow(val *TimeWindow) *NullableTimeWindow
func (NullableTimeWindow) Get ¶
func (v NullableTimeWindow) Get() *TimeWindow
func (NullableTimeWindow) IsSet ¶
func (v NullableTimeWindow) IsSet() bool
func (NullableTimeWindow) MarshalJSON ¶
func (v NullableTimeWindow) MarshalJSON() ([]byte, error)
func (*NullableTimeWindow) Set ¶
func (v *NullableTimeWindow) Set(val *TimeWindow)
func (*NullableTimeWindow) UnmarshalJSON ¶
func (v *NullableTimeWindow) UnmarshalJSON(src []byte) error
func (*NullableTimeWindow) Unset ¶
func (v *NullableTimeWindow) Unset()
type NullableVolume ¶
type NullableVolume struct {
// contains filtered or unexported fields
}
func NewNullableVolume ¶
func NewNullableVolume(val *Volume) *NullableVolume
func (NullableVolume) Get ¶
func (v NullableVolume) Get() *Volume
func (NullableVolume) IsSet ¶
func (v NullableVolume) IsSet() bool
func (NullableVolume) MarshalJSON ¶
func (v NullableVolume) MarshalJSON() ([]byte, error)
func (*NullableVolume) Set ¶
func (v *NullableVolume) Set(val *Volume)
func (*NullableVolume) UnmarshalJSON ¶
func (v *NullableVolume) UnmarshalJSON(src []byte) error
func (*NullableVolume) Unset ¶
func (v *NullableVolume) Unset()
type NullableVolumeType ¶
type NullableVolumeType struct {
// contains filtered or unexported fields
}
func NewNullableVolumeType ¶
func NewNullableVolumeType(val *VolumeType) *NullableVolumeType
func (NullableVolumeType) Get ¶
func (v NullableVolumeType) Get() *VolumeType
func (NullableVolumeType) IsSet ¶
func (v NullableVolumeType) IsSet() bool
func (NullableVolumeType) MarshalJSON ¶
func (v NullableVolumeType) MarshalJSON() ([]byte, error)
func (*NullableVolumeType) Set ¶
func (v *NullableVolumeType) Set(val *VolumeType)
func (*NullableVolumeType) UnmarshalJSON ¶
func (v *NullableVolumeType) UnmarshalJSON(src []byte) error
func (*NullableVolumeType) Unset ¶
func (v *NullableVolumeType) Unset()
type ProviderOptions ¶
type ProviderOptions struct {
AvailabilityZones []AvailabilityZone `json:"availabilityZones,omitempty"`
KubernetesVersions []KubernetesVersion `json:"kubernetesVersions,omitempty"`
MachineImages []MachineImage `json:"machineImages,omitempty"`
MachineTypes []MachineType `json:"machineTypes,omitempty"`
VolumeTypes []VolumeType `json:"volumeTypes,omitempty"`
}
ProviderOptions struct for ProviderOptions
func NewProviderOptions ¶
func NewProviderOptions() *ProviderOptions
NewProviderOptions instantiates a new ProviderOptions 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 NewProviderOptionsWithDefaults ¶
func NewProviderOptionsWithDefaults() *ProviderOptions
NewProviderOptionsWithDefaults instantiates a new ProviderOptions 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 (*ProviderOptions) GetAvailabilityZones ¶
func (o *ProviderOptions) GetAvailabilityZones() []AvailabilityZone
GetAvailabilityZones returns the AvailabilityZones field value if set, zero value otherwise.
func (*ProviderOptions) GetAvailabilityZonesOk ¶
func (o *ProviderOptions) GetAvailabilityZonesOk() ([]AvailabilityZone, bool)
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderOptions) GetKubernetesVersions ¶
func (o *ProviderOptions) GetKubernetesVersions() []KubernetesVersion
GetKubernetesVersions returns the KubernetesVersions field value if set, zero value otherwise.
func (*ProviderOptions) GetKubernetesVersionsOk ¶
func (o *ProviderOptions) GetKubernetesVersionsOk() ([]KubernetesVersion, bool)
GetKubernetesVersionsOk returns a tuple with the KubernetesVersions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderOptions) GetMachineImages ¶
func (o *ProviderOptions) GetMachineImages() []MachineImage
GetMachineImages returns the MachineImages field value if set, zero value otherwise.
func (*ProviderOptions) GetMachineImagesOk ¶
func (o *ProviderOptions) GetMachineImagesOk() ([]MachineImage, bool)
GetMachineImagesOk returns a tuple with the MachineImages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderOptions) GetMachineTypes ¶
func (o *ProviderOptions) GetMachineTypes() []MachineType
GetMachineTypes returns the MachineTypes field value if set, zero value otherwise.
func (*ProviderOptions) GetMachineTypesOk ¶
func (o *ProviderOptions) GetMachineTypesOk() ([]MachineType, bool)
GetMachineTypesOk returns a tuple with the MachineTypes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderOptions) GetVolumeTypes ¶
func (o *ProviderOptions) GetVolumeTypes() []VolumeType
GetVolumeTypes returns the VolumeTypes field value if set, zero value otherwise.
func (*ProviderOptions) GetVolumeTypesOk ¶
func (o *ProviderOptions) GetVolumeTypesOk() ([]VolumeType, bool)
GetVolumeTypesOk returns a tuple with the VolumeTypes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderOptions) HasAvailabilityZones ¶
func (o *ProviderOptions) HasAvailabilityZones() bool
HasAvailabilityZones returns a boolean if a field has been set.
func (*ProviderOptions) HasKubernetesVersions ¶
func (o *ProviderOptions) HasKubernetesVersions() bool
HasKubernetesVersions returns a boolean if a field has been set.
func (*ProviderOptions) HasMachineImages ¶
func (o *ProviderOptions) HasMachineImages() bool
HasMachineImages returns a boolean if a field has been set.
func (*ProviderOptions) HasMachineTypes ¶
func (o *ProviderOptions) HasMachineTypes() bool
HasMachineTypes returns a boolean if a field has been set.
func (*ProviderOptions) HasVolumeTypes ¶
func (o *ProviderOptions) HasVolumeTypes() bool
HasVolumeTypes returns a boolean if a field has been set.
func (ProviderOptions) MarshalJSON ¶
func (o ProviderOptions) MarshalJSON() ([]byte, error)
func (*ProviderOptions) SetAvailabilityZones ¶
func (o *ProviderOptions) SetAvailabilityZones(v []AvailabilityZone)
SetAvailabilityZones gets a reference to the given []AvailabilityZone and assigns it to the AvailabilityZones field.
func (*ProviderOptions) SetKubernetesVersions ¶
func (o *ProviderOptions) SetKubernetesVersions(v []KubernetesVersion)
SetKubernetesVersions gets a reference to the given []KubernetesVersion and assigns it to the KubernetesVersions field.
func (*ProviderOptions) SetMachineImages ¶
func (o *ProviderOptions) SetMachineImages(v []MachineImage)
SetMachineImages gets a reference to the given []MachineImage and assigns it to the MachineImages field.
func (*ProviderOptions) SetMachineTypes ¶
func (o *ProviderOptions) SetMachineTypes(v []MachineType)
SetMachineTypes gets a reference to the given []MachineType and assigns it to the MachineTypes field.
func (*ProviderOptions) SetVolumeTypes ¶
func (o *ProviderOptions) SetVolumeTypes(v []VolumeType)
SetVolumeTypes gets a reference to the given []VolumeType and assigns it to the VolumeTypes field.
func (ProviderOptions) ToMap ¶
func (o ProviderOptions) ToMap() (map[string]interface{}, error)
type RuntimeError ¶
type RuntimeError struct {
// - Code: `SKE_UNSPECIFIED` Message: \"An error occurred. Please open a support ticket if this error persists.\" - Code: `SKE_TMP_AUTH_ERROR` Message: \"Authentication failed. This is a temporary error. Please wait while the system recovers.\" - Code: `SKE_QUOTA_EXCEEDED` Message: \"Your project's resource quotas are exhausted. Please make sure your quota is sufficient for the ordered cluster.\" - Code: `SKE_ARGUS_INSTANCE_NOT_FOUND` Message: \"The provided Argus instance could not be found.\" - Code: `SKE_RATE_LIMITS` Message: \"While provisioning your cluster, request rate limits where incurred. Please wait while the system recovers.\" - Code: `SKE_INFRA_ERROR` Message: \"An error occurred with the underlying infrastructure. Please open a support ticket if this error persists.\" - Code: `SKE_REMAINING_RESOURCES` Message: \"There are remaining Kubernetes resources in your cluster that prevent deletion. Please make sure to remove them.\" - Code: `SKE_CONFIGURATION_PROBLEM` Message: \"A configuration error occurred. Please open a support ticket if this error persists.\" - Code: `SKE_UNREADY_NODES` Message: \"Not all worker nodes are ready. Please open a support ticket if this error persists.\" - Code: `SKE_API_SERVER_ERROR` Message: \"The Kubernetes API server is not reporting readiness. Please open a support ticket if this error persists.\" - Code: `SKE_DNS_ZONE_NOT_FOUND` Message: \"The provided DNS zone for the STACKIT DNS extension could not be found. Please ensure you defined a valid domain that belongs to a STACKIT DNS zone.\"
Code *string `json:"code,omitempty"`
Details *string `json:"details,omitempty"`
Message *string `json:"message,omitempty"`
}
RuntimeError struct for RuntimeError
func NewRuntimeError ¶
func NewRuntimeError() *RuntimeError
NewRuntimeError instantiates a new RuntimeError 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 NewRuntimeErrorWithDefaults ¶
func NewRuntimeErrorWithDefaults() *RuntimeError
NewRuntimeErrorWithDefaults instantiates a new RuntimeError 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 (*RuntimeError) GetCode ¶
func (o *RuntimeError) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*RuntimeError) GetCodeOk ¶
func (o *RuntimeError) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuntimeError) GetDetails ¶
func (o *RuntimeError) GetDetails() string
GetDetails returns the Details field value if set, zero value otherwise.
func (*RuntimeError) GetDetailsOk ¶
func (o *RuntimeError) GetDetailsOk() (*string, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuntimeError) GetMessage ¶
func (o *RuntimeError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*RuntimeError) GetMessageOk ¶
func (o *RuntimeError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuntimeError) HasCode ¶
func (o *RuntimeError) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*RuntimeError) HasDetails ¶
func (o *RuntimeError) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (*RuntimeError) HasMessage ¶
func (o *RuntimeError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (RuntimeError) MarshalJSON ¶
func (o RuntimeError) MarshalJSON() ([]byte, error)
func (*RuntimeError) SetCode ¶
func (o *RuntimeError) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*RuntimeError) SetDetails ¶
func (o *RuntimeError) SetDetails(v string)
SetDetails gets a reference to the given string and assigns it to the Details field.
func (*RuntimeError) SetMessage ¶
func (o *RuntimeError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (RuntimeError) ToMap ¶
func (o RuntimeError) ToMap() (map[string]interface{}, error)
type Taint ¶
type Taint struct {
Effect string `json:"effect"`
Key string `json:"key"`
Value *string `json:"value,omitempty"`
}
Taint struct for Taint
func NewTaint ¶
NewTaint instantiates a new Taint 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 NewTaintWithDefaults ¶
func NewTaintWithDefaults() *Taint
NewTaintWithDefaults instantiates a new Taint 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 (*Taint) GetEffectOk ¶
GetEffectOk returns a tuple with the Effect field value and a boolean to check if the value has been set.
func (*Taint) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*Taint) GetValueOk ¶
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (Taint) MarshalJSON ¶
func (*Taint) SetValue ¶
SetValue gets a reference to the given string and assigns it to the Value field.
func (*Taint) UnmarshalJSON ¶
type TimeWindow ¶
TimeWindow struct for TimeWindow
func NewTimeWindow ¶
func NewTimeWindow(end time.Time, start time.Time) *TimeWindow
NewTimeWindow instantiates a new TimeWindow 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 NewTimeWindowWithDefaults ¶
func NewTimeWindowWithDefaults() *TimeWindow
NewTimeWindowWithDefaults instantiates a new TimeWindow 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 (*TimeWindow) GetEnd ¶
func (o *TimeWindow) GetEnd() time.Time
GetEnd returns the End field value
func (*TimeWindow) GetEndOk ¶
func (o *TimeWindow) GetEndOk() (*time.Time, bool)
GetEndOk returns a tuple with the End field value and a boolean to check if the value has been set.
func (*TimeWindow) GetStart ¶
func (o *TimeWindow) GetStart() time.Time
GetStart returns the Start field value
func (*TimeWindow) GetStartOk ¶
func (o *TimeWindow) GetStartOk() (*time.Time, bool)
GetStartOk returns a tuple with the Start field value and a boolean to check if the value has been set.
func (TimeWindow) MarshalJSON ¶
func (o TimeWindow) MarshalJSON() ([]byte, error)
func (TimeWindow) ToMap ¶
func (o TimeWindow) ToMap() (map[string]interface{}, error)
func (*TimeWindow) UnmarshalJSON ¶
func (o *TimeWindow) UnmarshalJSON(data []byte) (err error)
type Volume ¶
type Volume struct {
Size int32 `json:"size"`
// For valid values please take a look at [provider-options](#tag/ProviderOptions/operation/SkeService_GetProviderOptions) `volumeTypes`.
Type *string `json:"type,omitempty"`
}
Volume struct for Volume
func NewVolume ¶
NewVolume instantiates a new Volume 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 NewVolumeWithDefaults ¶
func NewVolumeWithDefaults() *Volume
NewVolumeWithDefaults instantiates a new Volume 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 (*Volume) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*Volume) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (Volume) MarshalJSON ¶
func (*Volume) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Volume) UnmarshalJSON ¶
type VolumeType ¶
type VolumeType struct {
Name *string `json:"name,omitempty"`
}
VolumeType struct for VolumeType
func NewVolumeType ¶
func NewVolumeType() *VolumeType
NewVolumeType instantiates a new VolumeType 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 NewVolumeTypeWithDefaults ¶
func NewVolumeTypeWithDefaults() *VolumeType
NewVolumeTypeWithDefaults instantiates a new VolumeType 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 (*VolumeType) GetName ¶
func (o *VolumeType) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VolumeType) GetNameOk ¶
func (o *VolumeType) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeType) HasName ¶
func (o *VolumeType) HasName() bool
HasName returns a boolean if a field has been set.
func (VolumeType) MarshalJSON ¶
func (o VolumeType) MarshalJSON() ([]byte, error)
func (*VolumeType) SetName ¶
func (o *VolumeType) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (VolumeType) ToMap ¶
func (o VolumeType) ToMap() (map[string]interface{}, error)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_acl.go
- model_argus.go
- model_availability_zone.go
- model_cluster.go
- model_cluster_error.go
- model_cluster_status.go
- model_cluster_status_state.go
- model_create_kubeconfig_payload.go
- model_create_or_update_cluster_payload.go
- model_credentials_rotation_state.go
- model_cri.go
- model_dns.go
- model_extension.go
- model_hibernation.go
- model_hibernation_schedule.go
- model_image.go
- model_kubeconfig.go
- model_kubernetes.go
- model_kubernetes_version.go
- model_list_clusters_response.go
- model_login_kubeconfig.go
- model_machine.go
- model_machine_image.go
- model_machine_image_version.go
- model_machine_type.go
- model_maintenance.go
- model_maintenance_auto_update.go
- model_network.go
- model_nodepool.go
- model_provider_options.go
- model_runtime_error.go
- model_taint.go
- model_time_window.go
- model_volume.go
- model_volume_type.go
- response.go
- utils.go