v1alpha1

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=oceangke.spot.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "oceangke.spot.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	OceanGke_Kind             = "OceanGke"
	OceanGke_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: OceanGke_Kind}.String()
	OceanGke_KindAPIVersion   = OceanGke_Kind + "." + CRDGroupVersion.String()
	OceanGke_GroupVersionKind = CRDGroupVersion.WithKind(OceanGke_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AutoscalerInitParameters

type AutoscalerInitParameters struct {

	// Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
	AutoHeadroomPercentage *float64 `json:"autoHeadroomPercentage,omitempty" tf:"auto_headroom_percentage,omitempty"`

	// Cooldown period between scaling actions.
	Cooldown *float64 `json:"cooldown,omitempty" tf:"cooldown,omitempty"`

	// Auto Scaling scale down operations.
	Down []DownInitParameters `json:"down,omitempty" tf:"down,omitempty"`

	// enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
	EnableAutomaticAndManualHeadroom *bool `json:"enableAutomaticAndManualHeadroom,omitempty" tf:"enable_automatic_and_manual_headroom,omitempty"`

	// Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
	Headroom []HeadroomInitParameters `json:"headroom,omitempty" tf:"headroom,omitempty"`

	// Automatically configure and optimize headroom resources.
	IsAutoConfig *bool `json:"isAutoConfig,omitempty" tf:"is_auto_config,omitempty"`

	// Flag to enable / disable the shutdown hours.
	// Example: true
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"`

	// Optionally set upper and lower bounds on the resource usage of the cluster.
	ResourceLimits []ResourceLimitsInitParameters `json:"resourceLimits,omitempty" tf:"resource_limits,omitempty"`
}

func (*AutoscalerInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscalerInitParameters.

func (*AutoscalerInitParameters) DeepCopyInto

func (in *AutoscalerInitParameters) DeepCopyInto(out *AutoscalerInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutoscalerObservation

type AutoscalerObservation struct {

	// Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
	AutoHeadroomPercentage *float64 `json:"autoHeadroomPercentage,omitempty" tf:"auto_headroom_percentage,omitempty"`

	// Cooldown period between scaling actions.
	Cooldown *float64 `json:"cooldown,omitempty" tf:"cooldown,omitempty"`

	// Auto Scaling scale down operations.
	Down []DownObservation `json:"down,omitempty" tf:"down,omitempty"`

	// enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
	EnableAutomaticAndManualHeadroom *bool `json:"enableAutomaticAndManualHeadroom,omitempty" tf:"enable_automatic_and_manual_headroom,omitempty"`

	// Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
	Headroom []HeadroomObservation `json:"headroom,omitempty" tf:"headroom,omitempty"`

	// Automatically configure and optimize headroom resources.
	IsAutoConfig *bool `json:"isAutoConfig,omitempty" tf:"is_auto_config,omitempty"`

	// Flag to enable / disable the shutdown hours.
	// Example: true
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"`

	// Optionally set upper and lower bounds on the resource usage of the cluster.
	ResourceLimits []ResourceLimitsObservation `json:"resourceLimits,omitempty" tf:"resource_limits,omitempty"`
}

func (*AutoscalerObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscalerObservation.

func (*AutoscalerObservation) DeepCopyInto

func (in *AutoscalerObservation) DeepCopyInto(out *AutoscalerObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutoscalerParameters

type AutoscalerParameters struct {

	// Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
	// +kubebuilder:validation:Optional
	AutoHeadroomPercentage *float64 `json:"autoHeadroomPercentage,omitempty" tf:"auto_headroom_percentage,omitempty"`

	// Cooldown period between scaling actions.
	// +kubebuilder:validation:Optional
	Cooldown *float64 `json:"cooldown,omitempty" tf:"cooldown,omitempty"`

	// Auto Scaling scale down operations.
	// +kubebuilder:validation:Optional
	Down []DownParameters `json:"down,omitempty" tf:"down,omitempty"`

	// enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
	// +kubebuilder:validation:Optional
	EnableAutomaticAndManualHeadroom *bool `json:"enableAutomaticAndManualHeadroom,omitempty" tf:"enable_automatic_and_manual_headroom,omitempty"`

	// Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
	// +kubebuilder:validation:Optional
	Headroom []HeadroomParameters `json:"headroom,omitempty" tf:"headroom,omitempty"`

	// Automatically configure and optimize headroom resources.
	// +kubebuilder:validation:Optional
	IsAutoConfig *bool `json:"isAutoConfig,omitempty" tf:"is_auto_config,omitempty"`

	// Flag to enable / disable the shutdown hours.
	// Example: true
	// +kubebuilder:validation:Optional
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"`

	// Optionally set upper and lower bounds on the resource usage of the cluster.
	// +kubebuilder:validation:Optional
	ResourceLimits []ResourceLimitsParameters `json:"resourceLimits,omitempty" tf:"resource_limits,omitempty"`
}

func (*AutoscalerParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscalerParameters.

func (*AutoscalerParameters) DeepCopyInto

func (in *AutoscalerParameters) DeepCopyInto(out *AutoscalerParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackendServicesInitParameters

type BackendServicesInitParameters struct {

	// Sets which location the backend services will be active. Valid values: regional, global.
	LocationType *string `json:"locationType,omitempty" tf:"location_type,omitempty"`

	// A list of ports.
	NamedPorts []NamedPortsInitParameters `json:"namedPorts,omitempty" tf:"named_ports,omitempty"`

	// Use when location_type is regional. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: INTERNAL, EXTERNAL.
	Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"`

	// The name of the backend service.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*BackendServicesInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendServicesInitParameters.

func (*BackendServicesInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackendServicesObservation

type BackendServicesObservation struct {

	// Sets which location the backend services will be active. Valid values: regional, global.
	LocationType *string `json:"locationType,omitempty" tf:"location_type,omitempty"`

	// A list of ports.
	NamedPorts []NamedPortsObservation `json:"namedPorts,omitempty" tf:"named_ports,omitempty"`

	// Use when location_type is regional. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: INTERNAL, EXTERNAL.
	Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"`

	// The name of the backend service.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*BackendServicesObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendServicesObservation.

func (*BackendServicesObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackendServicesParameters

type BackendServicesParameters struct {

	// Sets which location the backend services will be active. Valid values: regional, global.
	// +kubebuilder:validation:Optional
	LocationType *string `json:"locationType,omitempty" tf:"location_type,omitempty"`

	// A list of ports.
	// +kubebuilder:validation:Optional
	NamedPorts []NamedPortsParameters `json:"namedPorts,omitempty" tf:"named_ports,omitempty"`

	// Use when location_type is regional. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: INTERNAL, EXTERNAL.
	// +kubebuilder:validation:Optional
	Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"`

	// The name of the backend service.
	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName" tf:"service_name,omitempty"`
}

func (*BackendServicesParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendServicesParameters.

func (*BackendServicesParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterRollInitParameters

type ClusterRollInitParameters struct {

	// Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
	BatchMinHealthyPercentage *float64 `json:"batchMinHealthyPercentage,omitempty" tf:"batch_min_healthy_percentage,omitempty"`

	// Value in % to set size of batch in roll. Valid values are 0-100
	// Example: 20.
	BatchSizePercentage *float64 `json:"batchSizePercentage,omitempty" tf:"batch_size_percentage,omitempty"`

	// Add a comment description for the roll. The comment is limited to 256 chars.
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// During the roll, if the parameter is set to true we honor PDB during the instance replacement.
	RespectPdb *bool `json:"respectPdb,omitempty" tf:"respect_pdb,omitempty"`
}

func (*ClusterRollInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRollInitParameters.

func (*ClusterRollInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterRollObservation

type ClusterRollObservation struct {

	// Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
	BatchMinHealthyPercentage *float64 `json:"batchMinHealthyPercentage,omitempty" tf:"batch_min_healthy_percentage,omitempty"`

	// Value in % to set size of batch in roll. Valid values are 0-100
	// Example: 20.
	BatchSizePercentage *float64 `json:"batchSizePercentage,omitempty" tf:"batch_size_percentage,omitempty"`

	// Add a comment description for the roll. The comment is limited to 256 chars.
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// During the roll, if the parameter is set to true we honor PDB during the instance replacement.
	RespectPdb *bool `json:"respectPdb,omitempty" tf:"respect_pdb,omitempty"`
}

func (*ClusterRollObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRollObservation.

func (*ClusterRollObservation) DeepCopyInto

func (in *ClusterRollObservation) DeepCopyInto(out *ClusterRollObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterRollParameters

type ClusterRollParameters struct {

	// Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
	// +kubebuilder:validation:Optional
	BatchMinHealthyPercentage *float64 `json:"batchMinHealthyPercentage,omitempty" tf:"batch_min_healthy_percentage,omitempty"`

	// Value in % to set size of batch in roll. Valid values are 0-100
	// Example: 20.
	// +kubebuilder:validation:Optional
	BatchSizePercentage *float64 `json:"batchSizePercentage,omitempty" tf:"batch_size_percentage,omitempty"`

	// Add a comment description for the roll. The comment is limited to 256 chars.
	// +kubebuilder:validation:Optional
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// During the roll, if the parameter is set to true we honor PDB during the instance replacement.
	// +kubebuilder:validation:Optional
	RespectPdb *bool `json:"respectPdb,omitempty" tf:"respect_pdb,omitempty"`
}

func (*ClusterRollParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRollParameters.

func (*ClusterRollParameters) DeepCopyInto

func (in *ClusterRollParameters) DeepCopyInto(out *ClusterRollParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DownInitParameters

type DownInitParameters struct {

	// The number of evaluation periods that should accumulate before a scale down action takes place.
	EvaluationPeriods *float64 `json:"evaluationPeriods,omitempty" tf:"evaluation_periods,omitempty"`

	// When set to 'true', the Aggressive Scale Down feature is enabled.
	IsAggressiveScaleDownEnabled *bool `json:"isAggressiveScaleDownEnabled,omitempty" tf:"is_aggressive_scale_down_enabled,omitempty"`

	// Would represent the maximum % to scale-down. Number between 1-100.
	MaxScaleDownPercentage *float64 `json:"maxScaleDownPercentage,omitempty" tf:"max_scale_down_percentage,omitempty"`
}

func (*DownInitParameters) DeepCopy

func (in *DownInitParameters) DeepCopy() *DownInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownInitParameters.

func (*DownInitParameters) DeepCopyInto

func (in *DownInitParameters) DeepCopyInto(out *DownInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DownObservation

type DownObservation struct {

	// The number of evaluation periods that should accumulate before a scale down action takes place.
	EvaluationPeriods *float64 `json:"evaluationPeriods,omitempty" tf:"evaluation_periods,omitempty"`

	// When set to 'true', the Aggressive Scale Down feature is enabled.
	IsAggressiveScaleDownEnabled *bool `json:"isAggressiveScaleDownEnabled,omitempty" tf:"is_aggressive_scale_down_enabled,omitempty"`

	// Would represent the maximum % to scale-down. Number between 1-100.
	MaxScaleDownPercentage *float64 `json:"maxScaleDownPercentage,omitempty" tf:"max_scale_down_percentage,omitempty"`
}

func (*DownObservation) DeepCopy

func (in *DownObservation) DeepCopy() *DownObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownObservation.

func (*DownObservation) DeepCopyInto

func (in *DownObservation) DeepCopyInto(out *DownObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DownParameters

type DownParameters struct {

	// The number of evaluation periods that should accumulate before a scale down action takes place.
	// +kubebuilder:validation:Optional
	EvaluationPeriods *float64 `json:"evaluationPeriods,omitempty" tf:"evaluation_periods,omitempty"`

	// When set to 'true', the Aggressive Scale Down feature is enabled.
	// +kubebuilder:validation:Optional
	IsAggressiveScaleDownEnabled *bool `json:"isAggressiveScaleDownEnabled,omitempty" tf:"is_aggressive_scale_down_enabled,omitempty"`

	// Would represent the maximum % to scale-down. Number between 1-100.
	// +kubebuilder:validation:Optional
	MaxScaleDownPercentage *float64 `json:"maxScaleDownPercentage,omitempty" tf:"max_scale_down_percentage,omitempty"`
}

func (*DownParameters) DeepCopy

func (in *DownParameters) DeepCopy() *DownParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownParameters.

func (*DownParameters) DeepCopyInto

func (in *DownParameters) DeepCopyInto(out *DownParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FiltersInitParameters

type FiltersInitParameters struct {

	// Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
	// +listType=set
	ExcludeFamilies []*string `json:"excludeFamilies,omitempty" tf:"exclude_families,omitempty"`

	// Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
	// +listType=set
	IncludeFamilies []*string `json:"includeFamilies,omitempty" tf:"include_families,omitempty"`

	// Maximum amount of Memory (GiB).
	MaxMemoryGib *float64 `json:"maxMemoryGib,omitempty" tf:"max_memory_gib,omitempty"`

	// Maximum number of vcpus available.
	MaxVcpu *float64 `json:"maxVcpu,omitempty" tf:"max_vcpu,omitempty"`

	// Minimum amount of Memory (GiB).
	MinMemoryGib *float64 `json:"minMemoryGib,omitempty" tf:"min_memory_gib,omitempty"`

	// Minimum number of vcpus available.
	MinVcpu *float64 `json:"minVcpu,omitempty" tf:"min_vcpu,omitempty"`
}

func (*FiltersInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FiltersInitParameters.

func (*FiltersInitParameters) DeepCopyInto

func (in *FiltersInitParameters) DeepCopyInto(out *FiltersInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FiltersObservation

type FiltersObservation struct {

	// Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
	// +listType=set
	ExcludeFamilies []*string `json:"excludeFamilies,omitempty" tf:"exclude_families,omitempty"`

	// Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
	// +listType=set
	IncludeFamilies []*string `json:"includeFamilies,omitempty" tf:"include_families,omitempty"`

	// Maximum amount of Memory (GiB).
	MaxMemoryGib *float64 `json:"maxMemoryGib,omitempty" tf:"max_memory_gib,omitempty"`

	// Maximum number of vcpus available.
	MaxVcpu *float64 `json:"maxVcpu,omitempty" tf:"max_vcpu,omitempty"`

	// Minimum amount of Memory (GiB).
	MinMemoryGib *float64 `json:"minMemoryGib,omitempty" tf:"min_memory_gib,omitempty"`

	// Minimum number of vcpus available.
	MinVcpu *float64 `json:"minVcpu,omitempty" tf:"min_vcpu,omitempty"`
}

func (*FiltersObservation) DeepCopy

func (in *FiltersObservation) DeepCopy() *FiltersObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FiltersObservation.

func (*FiltersObservation) DeepCopyInto

func (in *FiltersObservation) DeepCopyInto(out *FiltersObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FiltersParameters

type FiltersParameters struct {

	// Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
	// +kubebuilder:validation:Optional
	// +listType=set
	ExcludeFamilies []*string `json:"excludeFamilies,omitempty" tf:"exclude_families,omitempty"`

	// Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
	// +kubebuilder:validation:Optional
	// +listType=set
	IncludeFamilies []*string `json:"includeFamilies,omitempty" tf:"include_families,omitempty"`

	// Maximum amount of Memory (GiB).
	// +kubebuilder:validation:Optional
	MaxMemoryGib *float64 `json:"maxMemoryGib,omitempty" tf:"max_memory_gib,omitempty"`

	// Maximum number of vcpus available.
	// +kubebuilder:validation:Optional
	MaxVcpu *float64 `json:"maxVcpu,omitempty" tf:"max_vcpu,omitempty"`

	// Minimum amount of Memory (GiB).
	// +kubebuilder:validation:Optional
	MinMemoryGib *float64 `json:"minMemoryGib,omitempty" tf:"min_memory_gib,omitempty"`

	// Minimum number of vcpus available.
	// +kubebuilder:validation:Optional
	MinVcpu *float64 `json:"minVcpu,omitempty" tf:"min_vcpu,omitempty"`
}

func (*FiltersParameters) DeepCopy

func (in *FiltersParameters) DeepCopy() *FiltersParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FiltersParameters.

func (*FiltersParameters) DeepCopyInto

func (in *FiltersParameters) DeepCopyInto(out *FiltersParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HeadroomInitParameters

type HeadroomInitParameters struct {

	// Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
	CPUPerUnit *float64 `json:"cpuPerUnit,omitempty" tf:"cpu_per_unit,omitempty"`

	// How much GPU allocate for headroom unit.
	GpuPerUnit *float64 `json:"gpuPerUnit,omitempty" tf:"gpu_per_unit,omitempty"`

	// Optionally configure the amount of memory (MiB) to allocate the headroom.
	MemoryPerUnit *float64 `json:"memoryPerUnit,omitempty" tf:"memory_per_unit,omitempty"`

	// The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
	NumOfUnits *float64 `json:"numOfUnits,omitempty" tf:"num_of_units,omitempty"`
}

func (*HeadroomInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadroomInitParameters.

func (*HeadroomInitParameters) DeepCopyInto

func (in *HeadroomInitParameters) DeepCopyInto(out *HeadroomInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HeadroomObservation

type HeadroomObservation struct {

	// Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
	CPUPerUnit *float64 `json:"cpuPerUnit,omitempty" tf:"cpu_per_unit,omitempty"`

	// How much GPU allocate for headroom unit.
	GpuPerUnit *float64 `json:"gpuPerUnit,omitempty" tf:"gpu_per_unit,omitempty"`

	// Optionally configure the amount of memory (MiB) to allocate the headroom.
	MemoryPerUnit *float64 `json:"memoryPerUnit,omitempty" tf:"memory_per_unit,omitempty"`

	// The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
	NumOfUnits *float64 `json:"numOfUnits,omitempty" tf:"num_of_units,omitempty"`
}

func (*HeadroomObservation) DeepCopy

func (in *HeadroomObservation) DeepCopy() *HeadroomObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadroomObservation.

func (*HeadroomObservation) DeepCopyInto

func (in *HeadroomObservation) DeepCopyInto(out *HeadroomObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HeadroomParameters

type HeadroomParameters struct {

	// Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
	// +kubebuilder:validation:Optional
	CPUPerUnit *float64 `json:"cpuPerUnit,omitempty" tf:"cpu_per_unit,omitempty"`

	// How much GPU allocate for headroom unit.
	// +kubebuilder:validation:Optional
	GpuPerUnit *float64 `json:"gpuPerUnit,omitempty" tf:"gpu_per_unit,omitempty"`

	// Optionally configure the amount of memory (MiB) to allocate the headroom.
	// +kubebuilder:validation:Optional
	MemoryPerUnit *float64 `json:"memoryPerUnit,omitempty" tf:"memory_per_unit,omitempty"`

	// The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
	// +kubebuilder:validation:Optional
	NumOfUnits *float64 `json:"numOfUnits,omitempty" tf:"num_of_units,omitempty"`
}

func (*HeadroomParameters) DeepCopy

func (in *HeadroomParameters) DeepCopy() *HeadroomParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadroomParameters.

func (*HeadroomParameters) DeepCopyInto

func (in *HeadroomParameters) DeepCopyInto(out *HeadroomParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NamedPortsInitParameters

type NamedPortsInitParameters struct {
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A list of ports.
	Ports []*string `json:"ports,omitempty" tf:"ports,omitempty"`
}

func (*NamedPortsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedPortsInitParameters.

func (*NamedPortsInitParameters) DeepCopyInto

func (in *NamedPortsInitParameters) DeepCopyInto(out *NamedPortsInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NamedPortsObservation

type NamedPortsObservation struct {
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A list of ports.
	Ports []*string `json:"ports,omitempty" tf:"ports,omitempty"`
}

func (*NamedPortsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedPortsObservation.

func (*NamedPortsObservation) DeepCopyInto

func (in *NamedPortsObservation) DeepCopyInto(out *NamedPortsObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NamedPortsParameters

type NamedPortsParameters struct {

	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// A list of ports.
	// +kubebuilder:validation:Optional
	Ports []*string `json:"ports" tf:"ports,omitempty"`
}

func (*NamedPortsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedPortsParameters.

func (*NamedPortsParameters) DeepCopyInto

func (in *NamedPortsParameters) DeepCopyInto(out *NamedPortsParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OceanGke

type OceanGke struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.clusterName) || (has(self.initProvider) && has(self.initProvider.clusterName))",message="spec.forProvider.clusterName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	Spec   OceanGkeSpec   `json:"spec"`
	Status OceanGkeStatus `json:"status,omitempty"`
}

OceanGke is the Schema for the OceanGkes API. Provides a Spotinst Ocean resource using gke. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,spot}

func (*OceanGke) DeepCopy

func (in *OceanGke) DeepCopy() *OceanGke

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OceanGke.

func (*OceanGke) DeepCopyInto

func (in *OceanGke) DeepCopyInto(out *OceanGke)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OceanGke) DeepCopyObject

func (in *OceanGke) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OceanGke) GetCondition

func (mg *OceanGke) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this OceanGke.

func (*OceanGke) GetConnectionDetailsMapping

func (tr *OceanGke) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this OceanGke

func (*OceanGke) GetDeletionPolicy

func (mg *OceanGke) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this OceanGke.

func (*OceanGke) GetID

func (tr *OceanGke) GetID() string

GetID returns ID of underlying Terraform resource of this OceanGke

func (*OceanGke) GetInitParameters

func (tr *OceanGke) GetInitParameters() (map[string]any, error)

GetInitParameters of this OceanGke

func (*OceanGke) GetManagementPolicies

func (mg *OceanGke) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this OceanGke.

func (*OceanGke) GetMergedParameters

func (tr *OceanGke) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this OceanGke

func (*OceanGke) GetObservation

func (tr *OceanGke) GetObservation() (map[string]any, error)

GetObservation of this OceanGke

func (*OceanGke) GetParameters

func (tr *OceanGke) GetParameters() (map[string]any, error)

GetParameters of this OceanGke

func (*OceanGke) GetProviderConfigReference

func (mg *OceanGke) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this OceanGke.

func (*OceanGke) GetPublishConnectionDetailsTo

func (mg *OceanGke) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this OceanGke.

func (*OceanGke) GetTerraformResourceType

func (mg *OceanGke) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this OceanGke

func (*OceanGke) GetTerraformSchemaVersion

func (tr *OceanGke) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*OceanGke) GetWriteConnectionSecretToReference

func (mg *OceanGke) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this OceanGke.

func (*OceanGke) Hub

func (tr *OceanGke) Hub()

Hub marks this type as a conversion hub.

func (*OceanGke) LateInitialize

func (tr *OceanGke) LateInitialize(attrs []byte) (bool, error)

LateInitialize this OceanGke using its observed tfState. returns True if there are any spec changes for the resource.

func (*OceanGke) SetConditions

func (mg *OceanGke) SetConditions(c ...xpv1.Condition)

SetConditions of this OceanGke.

func (*OceanGke) SetDeletionPolicy

func (mg *OceanGke) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this OceanGke.

func (*OceanGke) SetManagementPolicies

func (mg *OceanGke) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this OceanGke.

func (*OceanGke) SetObservation

func (tr *OceanGke) SetObservation(obs map[string]any) error

SetObservation for this OceanGke

func (*OceanGke) SetParameters

func (tr *OceanGke) SetParameters(params map[string]any) error

SetParameters for this OceanGke

func (*OceanGke) SetProviderConfigReference

func (mg *OceanGke) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this OceanGke.

func (*OceanGke) SetPublishConnectionDetailsTo

func (mg *OceanGke) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this OceanGke.

func (*OceanGke) SetWriteConnectionSecretToReference

func (mg *OceanGke) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this OceanGke.

type OceanGkeInitParameters

type OceanGkeInitParameters struct {

	// The Ocean Kubernetes Autoscaler object.
	Autoscaler []AutoscalerInitParameters `json:"autoscaler,omitempty" tf:"autoscaler,omitempty"`

	// Describes the backend service configurations.
	BackendServices []BackendServicesInitParameters `json:"backendServices,omitempty" tf:"backend_services,omitempty"`

	// Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
	Blacklist []*string `json:"blacklist,omitempty" tf:"blacklist,omitempty"`

	// The GKE cluster name.
	ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"`

	// A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
	ControllerClusterID *string `json:"controllerClusterId,omitempty" tf:"controller_cluster_id,omitempty"`

	// The number of instances to launch and maintain in the cluster.
	DesiredCapacity *float64 `json:"desiredCapacity,omitempty" tf:"desired_capacity,omitempty"`

	// List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with whitelist/blacklist.
	Filters []FiltersInitParameters `json:"filters,omitempty" tf:"filters,omitempty"`

	// The zone the master cluster is located in.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The upper limit of instances the cluster can scale up to.
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// The lower limit of instances the cluster can scale down to.
	MinSize *float64 `json:"minSize,omitempty" tf:"min_size,omitempty"`

	// The root volume disk type.
	RootVolumeType *string `json:"rootVolumeType,omitempty" tf:"root_volume_type,omitempty"`

	// Set scheduling object.
	ScheduledTask []ScheduledTaskInitParameters `json:"scheduledTask,omitempty" tf:"scheduled_task,omitempty"`

	// The Ocean shielded instance configuration object.
	ShieldedInstanceConfig []ShieldedInstanceConfigInitParameters `json:"shieldedInstanceConfig,omitempty" tf:"shielded_instance_config,omitempty"`

	// Strategy object.
	Strategy []StrategyInitParameters `json:"strategy,omitempty" tf:"strategy,omitempty"`

	UpdatePolicy []UpdatePolicyInitParameters `json:"updatePolicy,omitempty" tf:"update_policy,omitempty"`

	// launch specification defined on the Ocean object will function only as a template for virtual node groups.
	UseAsTemplateOnly *bool `json:"useAsTemplateOnly,omitempty" tf:"use_as_template_only,omitempty"`

	// Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
	Whitelist []*string `json:"whitelist,omitempty" tf:"whitelist,omitempty"`
}

func (*OceanGkeInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OceanGkeInitParameters.

func (*OceanGkeInitParameters) DeepCopyInto

func (in *OceanGkeInitParameters) DeepCopyInto(out *OceanGkeInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OceanGkeList

type OceanGkeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OceanGke `json:"items"`
}

OceanGkeList contains a list of OceanGkes

func (*OceanGkeList) DeepCopy

func (in *OceanGkeList) DeepCopy() *OceanGkeList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OceanGkeList.

func (*OceanGkeList) DeepCopyInto

func (in *OceanGkeList) DeepCopyInto(out *OceanGkeList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OceanGkeList) DeepCopyObject

func (in *OceanGkeList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OceanGkeList) GetItems

func (l *OceanGkeList) GetItems() []resource.Managed

GetItems of this OceanGkeList.

type OceanGkeObservation

type OceanGkeObservation struct {

	// The Ocean Kubernetes Autoscaler object.
	Autoscaler []AutoscalerObservation `json:"autoscaler,omitempty" tf:"autoscaler,omitempty"`

	// Describes the backend service configurations.
	BackendServices []BackendServicesObservation `json:"backendServices,omitempty" tf:"backend_services,omitempty"`

	// Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
	Blacklist []*string `json:"blacklist,omitempty" tf:"blacklist,omitempty"`

	// The Spotinst Ocean ID.
	ClusterControllerID *string `json:"clusterControllerId,omitempty" tf:"cluster_controller_id,omitempty"`

	// The GKE cluster name.
	ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"`

	// A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
	ControllerClusterID *string `json:"controllerClusterId,omitempty" tf:"controller_cluster_id,omitempty"`

	// The number of instances to launch and maintain in the cluster.
	DesiredCapacity *float64 `json:"desiredCapacity,omitempty" tf:"desired_capacity,omitempty"`

	// List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with whitelist/blacklist.
	Filters []FiltersObservation `json:"filters,omitempty" tf:"filters,omitempty"`

	// The Spotinst Ocean ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The zone the master cluster is located in.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The upper limit of instances the cluster can scale up to.
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// The lower limit of instances the cluster can scale down to.
	MinSize *float64 `json:"minSize,omitempty" tf:"min_size,omitempty"`

	// The root volume disk type.
	RootVolumeType *string `json:"rootVolumeType,omitempty" tf:"root_volume_type,omitempty"`

	// Set scheduling object.
	ScheduledTask []ScheduledTaskObservation `json:"scheduledTask,omitempty" tf:"scheduled_task,omitempty"`

	// The Ocean shielded instance configuration object.
	ShieldedInstanceConfig []ShieldedInstanceConfigObservation `json:"shieldedInstanceConfig,omitempty" tf:"shielded_instance_config,omitempty"`

	// Strategy object.
	Strategy []StrategyObservation `json:"strategy,omitempty" tf:"strategy,omitempty"`

	UpdatePolicy []UpdatePolicyObservation `json:"updatePolicy,omitempty" tf:"update_policy,omitempty"`

	// launch specification defined on the Ocean object will function only as a template for virtual node groups.
	UseAsTemplateOnly *bool `json:"useAsTemplateOnly,omitempty" tf:"use_as_template_only,omitempty"`

	// Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
	Whitelist []*string `json:"whitelist,omitempty" tf:"whitelist,omitempty"`
}

func (*OceanGkeObservation) DeepCopy

func (in *OceanGkeObservation) DeepCopy() *OceanGkeObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OceanGkeObservation.

func (*OceanGkeObservation) DeepCopyInto

func (in *OceanGkeObservation) DeepCopyInto(out *OceanGkeObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OceanGkeParameters

type OceanGkeParameters struct {

	// The Ocean Kubernetes Autoscaler object.
	// +kubebuilder:validation:Optional
	Autoscaler []AutoscalerParameters `json:"autoscaler,omitempty" tf:"autoscaler,omitempty"`

	// Describes the backend service configurations.
	// +kubebuilder:validation:Optional
	BackendServices []BackendServicesParameters `json:"backendServices,omitempty" tf:"backend_services,omitempty"`

	// Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
	// +kubebuilder:validation:Optional
	Blacklist []*string `json:"blacklist,omitempty" tf:"blacklist,omitempty"`

	// The GKE cluster name.
	// +kubebuilder:validation:Optional
	ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"`

	// A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
	// +kubebuilder:validation:Optional
	ControllerClusterID *string `json:"controllerClusterId,omitempty" tf:"controller_cluster_id,omitempty"`

	// The number of instances to launch and maintain in the cluster.
	// +kubebuilder:validation:Optional
	DesiredCapacity *float64 `json:"desiredCapacity,omitempty" tf:"desired_capacity,omitempty"`

	// List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with whitelist/blacklist.
	// +kubebuilder:validation:Optional
	Filters []FiltersParameters `json:"filters,omitempty" tf:"filters,omitempty"`

	// The zone the master cluster is located in.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The upper limit of instances the cluster can scale up to.
	// +kubebuilder:validation:Optional
	MaxSize *float64 `json:"maxSize,omitempty" tf:"max_size,omitempty"`

	// The lower limit of instances the cluster can scale down to.
	// +kubebuilder:validation:Optional
	MinSize *float64 `json:"minSize,omitempty" tf:"min_size,omitempty"`

	// The root volume disk type.
	// +kubebuilder:validation:Optional
	RootVolumeType *string `json:"rootVolumeType,omitempty" tf:"root_volume_type,omitempty"`

	// Set scheduling object.
	// +kubebuilder:validation:Optional
	ScheduledTask []ScheduledTaskParameters `json:"scheduledTask,omitempty" tf:"scheduled_task,omitempty"`

	// The Ocean shielded instance configuration object.
	// +kubebuilder:validation:Optional
	ShieldedInstanceConfig []ShieldedInstanceConfigParameters `json:"shieldedInstanceConfig,omitempty" tf:"shielded_instance_config,omitempty"`

	// Strategy object.
	// +kubebuilder:validation:Optional
	Strategy []StrategyParameters `json:"strategy,omitempty" tf:"strategy,omitempty"`

	// +kubebuilder:validation:Optional
	UpdatePolicy []UpdatePolicyParameters `json:"updatePolicy,omitempty" tf:"update_policy,omitempty"`

	// launch specification defined on the Ocean object will function only as a template for virtual node groups.
	// +kubebuilder:validation:Optional
	UseAsTemplateOnly *bool `json:"useAsTemplateOnly,omitempty" tf:"use_as_template_only,omitempty"`

	// Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
	// +kubebuilder:validation:Optional
	Whitelist []*string `json:"whitelist,omitempty" tf:"whitelist,omitempty"`
}

func (*OceanGkeParameters) DeepCopy

func (in *OceanGkeParameters) DeepCopy() *OceanGkeParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OceanGkeParameters.

func (*OceanGkeParameters) DeepCopyInto

func (in *OceanGkeParameters) DeepCopyInto(out *OceanGkeParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OceanGkeSpec

type OceanGkeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     OceanGkeParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider OceanGkeInitParameters `json:"initProvider,omitempty"`
}

OceanGkeSpec defines the desired state of OceanGke

func (*OceanGkeSpec) DeepCopy

func (in *OceanGkeSpec) DeepCopy() *OceanGkeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OceanGkeSpec.

func (*OceanGkeSpec) DeepCopyInto

func (in *OceanGkeSpec) DeepCopyInto(out *OceanGkeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OceanGkeStatus

type OceanGkeStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        OceanGkeObservation `json:"atProvider,omitempty"`
}

OceanGkeStatus defines the observed state of OceanGke.

func (*OceanGkeStatus) DeepCopy

func (in *OceanGkeStatus) DeepCopy() *OceanGkeStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OceanGkeStatus.

func (*OceanGkeStatus) DeepCopyInto

func (in *OceanGkeStatus) DeepCopyInto(out *OceanGkeStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceLimitsInitParameters

type ResourceLimitsInitParameters struct {

	// Maximum amount of Memory (GiB).
	MaxMemoryGib *float64 `json:"maxMemoryGib,omitempty" tf:"max_memory_gib,omitempty"`

	// Maximum number of vcpus available.
	MaxVcpu *float64 `json:"maxVcpu,omitempty" tf:"max_vcpu,omitempty"`
}

func (*ResourceLimitsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceLimitsInitParameters.

func (*ResourceLimitsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceLimitsObservation

type ResourceLimitsObservation struct {

	// Maximum amount of Memory (GiB).
	MaxMemoryGib *float64 `json:"maxMemoryGib,omitempty" tf:"max_memory_gib,omitempty"`

	// Maximum number of vcpus available.
	MaxVcpu *float64 `json:"maxVcpu,omitempty" tf:"max_vcpu,omitempty"`
}

func (*ResourceLimitsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceLimitsObservation.

func (*ResourceLimitsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceLimitsParameters

type ResourceLimitsParameters struct {

	// Maximum amount of Memory (GiB).
	// +kubebuilder:validation:Optional
	MaxMemoryGib *float64 `json:"maxMemoryGib,omitempty" tf:"max_memory_gib,omitempty"`

	// Maximum number of vcpus available.
	// +kubebuilder:validation:Optional
	MaxVcpu *float64 `json:"maxVcpu,omitempty" tf:"max_vcpu,omitempty"`
}

func (*ResourceLimitsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceLimitsParameters.

func (*ResourceLimitsParameters) DeepCopyInto

func (in *ResourceLimitsParameters) DeepCopyInto(out *ResourceLimitsParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RollConfigInitParameters

type RollConfigInitParameters struct {

	// Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
	BatchMinHealthyPercentage *float64 `json:"batchMinHealthyPercentage,omitempty" tf:"batch_min_healthy_percentage,omitempty"`

	// Value in % to set size of batch in roll. Valid values are 0-100
	// Example: 20.
	BatchSizePercentage *float64 `json:"batchSizePercentage,omitempty" tf:"batch_size_percentage,omitempty"`

	// List of Virtual Node Group identifiers to be rolled.
	LaunchSpecIds []*string `json:"launchSpecIds,omitempty" tf:"launch_spec_ids,omitempty"`

	// During the roll, if the parameter is set to true we honor PDB during the instance replacement.
	RespectPdb *bool `json:"respectPdb,omitempty" tf:"respect_pdb,omitempty"`
}

func (*RollConfigInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollConfigInitParameters.

func (*RollConfigInitParameters) DeepCopyInto

func (in *RollConfigInitParameters) DeepCopyInto(out *RollConfigInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RollConfigObservation

type RollConfigObservation struct {

	// Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
	BatchMinHealthyPercentage *float64 `json:"batchMinHealthyPercentage,omitempty" tf:"batch_min_healthy_percentage,omitempty"`

	// Value in % to set size of batch in roll. Valid values are 0-100
	// Example: 20.
	BatchSizePercentage *float64 `json:"batchSizePercentage,omitempty" tf:"batch_size_percentage,omitempty"`

	// List of Virtual Node Group identifiers to be rolled.
	LaunchSpecIds []*string `json:"launchSpecIds,omitempty" tf:"launch_spec_ids,omitempty"`

	// During the roll, if the parameter is set to true we honor PDB during the instance replacement.
	RespectPdb *bool `json:"respectPdb,omitempty" tf:"respect_pdb,omitempty"`
}

func (*RollConfigObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollConfigObservation.

func (*RollConfigObservation) DeepCopyInto

func (in *RollConfigObservation) DeepCopyInto(out *RollConfigObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RollConfigParameters

type RollConfigParameters struct {

	// Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
	// +kubebuilder:validation:Optional
	BatchMinHealthyPercentage *float64 `json:"batchMinHealthyPercentage,omitempty" tf:"batch_min_healthy_percentage,omitempty"`

	// Value in % to set size of batch in roll. Valid values are 0-100
	// Example: 20.
	// +kubebuilder:validation:Optional
	BatchSizePercentage *float64 `json:"batchSizePercentage" tf:"batch_size_percentage,omitempty"`

	// List of Virtual Node Group identifiers to be rolled.
	// +kubebuilder:validation:Optional
	LaunchSpecIds []*string `json:"launchSpecIds,omitempty" tf:"launch_spec_ids,omitempty"`

	// During the roll, if the parameter is set to true we honor PDB during the instance replacement.
	// +kubebuilder:validation:Optional
	RespectPdb *bool `json:"respectPdb,omitempty" tf:"respect_pdb,omitempty"`
}

func (*RollConfigParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollConfigParameters.

func (*RollConfigParameters) DeepCopyInto

func (in *RollConfigParameters) DeepCopyInto(out *RollConfigParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ScheduledTaskInitParameters

type ScheduledTaskInitParameters struct {

	// Set shutdown hours for cluster object.
	ShutdownHours []ShutdownHoursInitParameters `json:"shutdownHours,omitempty" tf:"shutdown_hours,omitempty"`

	// The scheduling tasks for the cluster.
	Tasks []TasksInitParameters `json:"tasks,omitempty" tf:"tasks,omitempty"`
}

func (*ScheduledTaskInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskInitParameters.

func (*ScheduledTaskInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ScheduledTaskObservation

type ScheduledTaskObservation struct {

	// Set shutdown hours for cluster object.
	ShutdownHours []ShutdownHoursObservation `json:"shutdownHours,omitempty" tf:"shutdown_hours,omitempty"`

	// The scheduling tasks for the cluster.
	Tasks []TasksObservation `json:"tasks,omitempty" tf:"tasks,omitempty"`
}

func (*ScheduledTaskObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskObservation.

func (*ScheduledTaskObservation) DeepCopyInto

func (in *ScheduledTaskObservation) DeepCopyInto(out *ScheduledTaskObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ScheduledTaskParameters

type ScheduledTaskParameters struct {

	// Set shutdown hours for cluster object.
	// +kubebuilder:validation:Optional
	ShutdownHours []ShutdownHoursParameters `json:"shutdownHours,omitempty" tf:"shutdown_hours,omitempty"`

	// The scheduling tasks for the cluster.
	// +kubebuilder:validation:Optional
	Tasks []TasksParameters `json:"tasks,omitempty" tf:"tasks,omitempty"`
}

func (*ScheduledTaskParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTaskParameters.

func (*ScheduledTaskParameters) DeepCopyInto

func (in *ScheduledTaskParameters) DeepCopyInto(out *ScheduledTaskParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShieldedInstanceConfigInitParameters

type ShieldedInstanceConfigInitParameters struct {

	// Boolean. Enable the integrity monitoring parameter on the GCP instances.
	EnableIntegrityMonitoring *bool `json:"enableIntegrityMonitoring,omitempty" tf:"enable_integrity_monitoring,omitempty"`

	// Boolean. Enable the secure boot parameter on the GCP instances.
	EnableSecureBoot *bool `json:"enableSecureBoot,omitempty" tf:"enable_secure_boot,omitempty"`
}

func (*ShieldedInstanceConfigInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShieldedInstanceConfigInitParameters.

func (*ShieldedInstanceConfigInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShieldedInstanceConfigObservation

type ShieldedInstanceConfigObservation struct {

	// Boolean. Enable the integrity monitoring parameter on the GCP instances.
	EnableIntegrityMonitoring *bool `json:"enableIntegrityMonitoring,omitempty" tf:"enable_integrity_monitoring,omitempty"`

	// Boolean. Enable the secure boot parameter on the GCP instances.
	EnableSecureBoot *bool `json:"enableSecureBoot,omitempty" tf:"enable_secure_boot,omitempty"`
}

func (*ShieldedInstanceConfigObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShieldedInstanceConfigObservation.

func (*ShieldedInstanceConfigObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShieldedInstanceConfigParameters

type ShieldedInstanceConfigParameters struct {

	// Boolean. Enable the integrity monitoring parameter on the GCP instances.
	// +kubebuilder:validation:Optional
	EnableIntegrityMonitoring *bool `json:"enableIntegrityMonitoring,omitempty" tf:"enable_integrity_monitoring,omitempty"`

	// Boolean. Enable the secure boot parameter on the GCP instances.
	// +kubebuilder:validation:Optional
	EnableSecureBoot *bool `json:"enableSecureBoot,omitempty" tf:"enable_secure_boot,omitempty"`
}

func (*ShieldedInstanceConfigParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShieldedInstanceConfigParameters.

func (*ShieldedInstanceConfigParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShutdownHoursInitParameters

type ShutdownHoursInitParameters struct {

	// Flag to enable / disable the shutdown hours.
	// Example: true
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"`

	// Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = true. API Times are in UTC
	// Example: Fri:15:30-Wed:14:30
	TimeWindows []*string `json:"timeWindows,omitempty" tf:"time_windows,omitempty"`
}

func (*ShutdownHoursInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShutdownHoursInitParameters.

func (*ShutdownHoursInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShutdownHoursObservation

type ShutdownHoursObservation struct {

	// Flag to enable / disable the shutdown hours.
	// Example: true
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"`

	// Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = true. API Times are in UTC
	// Example: Fri:15:30-Wed:14:30
	TimeWindows []*string `json:"timeWindows,omitempty" tf:"time_windows,omitempty"`
}

func (*ShutdownHoursObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShutdownHoursObservation.

func (*ShutdownHoursObservation) DeepCopyInto

func (in *ShutdownHoursObservation) DeepCopyInto(out *ShutdownHoursObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShutdownHoursParameters

type ShutdownHoursParameters struct {

	// Flag to enable / disable the shutdown hours.
	// Example: true
	// +kubebuilder:validation:Optional
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"`

	// Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = true. API Times are in UTC
	// Example: Fri:15:30-Wed:14:30
	// +kubebuilder:validation:Optional
	TimeWindows []*string `json:"timeWindows" tf:"time_windows,omitempty"`
}

func (*ShutdownHoursParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShutdownHoursParameters.

func (*ShutdownHoursParameters) DeepCopyInto

func (in *ShutdownHoursParameters) DeepCopyInto(out *ShutdownHoursParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StrategyInitParameters

type StrategyInitParameters struct {

	// The draining timeout (in seconds) before terminating the instance.
	DrainingTimeout *float64 `json:"drainingTimeout,omitempty" tf:"draining_timeout,omitempty"`

	// Defines the desired preemptible percentage for the cluster.
	PreemptiblePercentage *float64 `json:"preemptiblePercentage,omitempty" tf:"preemptible_percentage,omitempty"`

	// Define the provisioning model of the launched instances. Valid values: SPOT, PREEMPTIBLE.
	ProvisioningModel *string `json:"provisioningModel,omitempty" tf:"provisioning_model,omitempty"`

	// Enable committed use discounts utilization.
	ShouldUtilizeCommitments *bool `json:"shouldUtilizeCommitments,omitempty" tf:"should_utilize_commitments,omitempty"`
}

func (*StrategyInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyInitParameters.

func (*StrategyInitParameters) DeepCopyInto

func (in *StrategyInitParameters) DeepCopyInto(out *StrategyInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StrategyObservation

type StrategyObservation struct {

	// The draining timeout (in seconds) before terminating the instance.
	DrainingTimeout *float64 `json:"drainingTimeout,omitempty" tf:"draining_timeout,omitempty"`

	// Defines the desired preemptible percentage for the cluster.
	PreemptiblePercentage *float64 `json:"preemptiblePercentage,omitempty" tf:"preemptible_percentage,omitempty"`

	// Define the provisioning model of the launched instances. Valid values: SPOT, PREEMPTIBLE.
	ProvisioningModel *string `json:"provisioningModel,omitempty" tf:"provisioning_model,omitempty"`

	// Enable committed use discounts utilization.
	ShouldUtilizeCommitments *bool `json:"shouldUtilizeCommitments,omitempty" tf:"should_utilize_commitments,omitempty"`
}

func (*StrategyObservation) DeepCopy

func (in *StrategyObservation) DeepCopy() *StrategyObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyObservation.

func (*StrategyObservation) DeepCopyInto

func (in *StrategyObservation) DeepCopyInto(out *StrategyObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StrategyParameters

type StrategyParameters struct {

	// The draining timeout (in seconds) before terminating the instance.
	// +kubebuilder:validation:Optional
	DrainingTimeout *float64 `json:"drainingTimeout,omitempty" tf:"draining_timeout,omitempty"`

	// Defines the desired preemptible percentage for the cluster.
	// +kubebuilder:validation:Optional
	PreemptiblePercentage *float64 `json:"preemptiblePercentage,omitempty" tf:"preemptible_percentage,omitempty"`

	// Define the provisioning model of the launched instances. Valid values: SPOT, PREEMPTIBLE.
	// +kubebuilder:validation:Optional
	ProvisioningModel *string `json:"provisioningModel,omitempty" tf:"provisioning_model,omitempty"`

	// Enable committed use discounts utilization.
	// +kubebuilder:validation:Optional
	ShouldUtilizeCommitments *bool `json:"shouldUtilizeCommitments,omitempty" tf:"should_utilize_commitments,omitempty"`
}

func (*StrategyParameters) DeepCopy

func (in *StrategyParameters) DeepCopy() *StrategyParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyParameters.

func (*StrategyParameters) DeepCopyInto

func (in *StrategyParameters) DeepCopyInto(out *StrategyParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskParametersInitParameters

type TaskParametersInitParameters struct {

	// The cluster roll parameters for the cluster.
	ClusterRoll []ClusterRollInitParameters `json:"clusterRoll,omitempty" tf:"cluster_roll,omitempty"`
}

func (*TaskParametersInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskParametersInitParameters.

func (*TaskParametersInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskParametersObservation

type TaskParametersObservation struct {

	// The cluster roll parameters for the cluster.
	ClusterRoll []ClusterRollObservation `json:"clusterRoll,omitempty" tf:"cluster_roll,omitempty"`
}

func (*TaskParametersObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskParametersObservation.

func (*TaskParametersObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskParametersParameters

type TaskParametersParameters struct {

	// The cluster roll parameters for the cluster.
	// +kubebuilder:validation:Optional
	ClusterRoll []ClusterRollParameters `json:"clusterRoll,omitempty" tf:"cluster_roll,omitempty"`
}

func (*TaskParametersParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskParametersParameters.

func (*TaskParametersParameters) DeepCopyInto

func (in *TaskParametersParameters) DeepCopyInto(out *TaskParametersParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TasksInitParameters

type TasksInitParameters struct {

	// A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
	// Example: 0 1 * * *
	CronExpression *string `json:"cronExpression,omitempty" tf:"cron_expression,omitempty"`

	// Flag to enable / disable the shutdown hours.
	// Example: true
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"`

	// The scheduling parameters for the cluster.
	TaskParameters []TaskParametersInitParameters `json:"taskParameters,omitempty" tf:"task_parameters,omitempty"`

	// Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
	TaskType *string `json:"taskType,omitempty" tf:"task_type,omitempty"`
}

func (*TasksInitParameters) DeepCopy

func (in *TasksInitParameters) DeepCopy() *TasksInitParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TasksInitParameters.

func (*TasksInitParameters) DeepCopyInto

func (in *TasksInitParameters) DeepCopyInto(out *TasksInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TasksObservation

type TasksObservation struct {

	// A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
	// Example: 0 1 * * *
	CronExpression *string `json:"cronExpression,omitempty" tf:"cron_expression,omitempty"`

	// Flag to enable / disable the shutdown hours.
	// Example: true
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"`

	// The scheduling parameters for the cluster.
	TaskParameters []TaskParametersObservation `json:"taskParameters,omitempty" tf:"task_parameters,omitempty"`

	// Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
	TaskType *string `json:"taskType,omitempty" tf:"task_type,omitempty"`
}

func (*TasksObservation) DeepCopy

func (in *TasksObservation) DeepCopy() *TasksObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TasksObservation.

func (*TasksObservation) DeepCopyInto

func (in *TasksObservation) DeepCopyInto(out *TasksObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TasksParameters

type TasksParameters struct {

	// A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
	// Example: 0 1 * * *
	// +kubebuilder:validation:Optional
	CronExpression *string `json:"cronExpression" tf:"cron_expression,omitempty"`

	// Flag to enable / disable the shutdown hours.
	// Example: true
	// +kubebuilder:validation:Optional
	IsEnabled *bool `json:"isEnabled" tf:"is_enabled,omitempty"`

	// The scheduling parameters for the cluster.
	// +kubebuilder:validation:Optional
	TaskParameters []TaskParametersParameters `json:"taskParameters,omitempty" tf:"task_parameters,omitempty"`

	// Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
	// +kubebuilder:validation:Optional
	TaskType *string `json:"taskType" tf:"task_type,omitempty"`
}

func (*TasksParameters) DeepCopy

func (in *TasksParameters) DeepCopy() *TasksParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TasksParameters.

func (*TasksParameters) DeepCopyInto

func (in *TasksParameters) DeepCopyInto(out *TasksParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UpdatePolicyInitParameters

type UpdatePolicyInitParameters struct {

	// Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
	ConditionedRoll *bool `json:"conditionedRoll,omitempty" tf:"conditioned_roll,omitempty"`

	// Holds the roll configuration.
	RollConfig []RollConfigInitParameters `json:"rollConfig,omitempty" tf:"roll_config,omitempty"`

	// Enables the roll.
	ShouldRoll *bool `json:"shouldRoll,omitempty" tf:"should_roll,omitempty"`
}

func (*UpdatePolicyInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdatePolicyInitParameters.

func (*UpdatePolicyInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UpdatePolicyObservation

type UpdatePolicyObservation struct {

	// Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
	ConditionedRoll *bool `json:"conditionedRoll,omitempty" tf:"conditioned_roll,omitempty"`

	// Holds the roll configuration.
	RollConfig []RollConfigObservation `json:"rollConfig,omitempty" tf:"roll_config,omitempty"`

	// Enables the roll.
	ShouldRoll *bool `json:"shouldRoll,omitempty" tf:"should_roll,omitempty"`
}

func (*UpdatePolicyObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdatePolicyObservation.

func (*UpdatePolicyObservation) DeepCopyInto

func (in *UpdatePolicyObservation) DeepCopyInto(out *UpdatePolicyObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UpdatePolicyParameters

type UpdatePolicyParameters struct {

	// Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
	// +kubebuilder:validation:Optional
	ConditionedRoll *bool `json:"conditionedRoll,omitempty" tf:"conditioned_roll,omitempty"`

	// Holds the roll configuration.
	// +kubebuilder:validation:Optional
	RollConfig []RollConfigParameters `json:"rollConfig,omitempty" tf:"roll_config,omitempty"`

	// Enables the roll.
	// +kubebuilder:validation:Optional
	ShouldRoll *bool `json:"shouldRoll" tf:"should_roll,omitempty"`
}

func (*UpdatePolicyParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdatePolicyParameters.

func (*UpdatePolicyParameters) DeepCopyInto

func (in *UpdatePolicyParameters) DeepCopyInto(out *UpdatePolicyParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL