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=oceanrightsizingrule.spot.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "oceanrightsizingrule.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 (
	OceanRightsizingRule_Kind             = "OceanRightsizingRule"
	OceanRightsizingRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: OceanRightsizingRule_Kind}.String()
	OceanRightsizingRule_KindAPIVersion   = OceanRightsizingRule_Kind + "." + CRDGroupVersion.String()
	OceanRightsizingRule_GroupVersionKind = CRDGroupVersion.WithKind(OceanRightsizingRule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AttachWorkloadsInitParameters

type AttachWorkloadsInitParameters struct {
	Namespaces []NamespacesInitParameters `json:"namespaces,omitempty" tf:"namespaces,omitempty"`
}

func (*AttachWorkloadsInitParameters) DeepCopy

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

func (*AttachWorkloadsInitParameters) DeepCopyInto

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

type AttachWorkloadsObservation

type AttachWorkloadsObservation struct {
	Namespaces []NamespacesObservation `json:"namespaces,omitempty" tf:"namespaces,omitempty"`
}

func (*AttachWorkloadsObservation) DeepCopy

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

func (*AttachWorkloadsObservation) DeepCopyInto

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

type AttachWorkloadsParameters

type AttachWorkloadsParameters struct {

	// +kubebuilder:validation:Optional
	Namespaces []NamespacesParameters `json:"namespaces" tf:"namespaces,omitempty"`
}

func (*AttachWorkloadsParameters) DeepCopy

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

func (*AttachWorkloadsParameters) DeepCopyInto

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

type DetachWorkloadsInitParameters

type DetachWorkloadsInitParameters struct {
	Namespaces []DetachWorkloadsNamespacesInitParameters `json:"namespaces,omitempty" tf:"namespaces,omitempty"`
}

func (*DetachWorkloadsInitParameters) DeepCopy

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

func (*DetachWorkloadsInitParameters) DeepCopyInto

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

type DetachWorkloadsNamespacesInitParameters

type DetachWorkloadsNamespacesInitParameters struct {

	// .
	Labels []NamespacesLabelsInitParameters `json:"labels,omitempty" tf:"labels,omitempty"`

	// List of namespaces.
	NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"`

	// List of workloads.
	Workloads []NamespacesWorkloadsInitParameters `json:"workloads,omitempty" tf:"workloads,omitempty"`
}

func (*DetachWorkloadsNamespacesInitParameters) DeepCopy

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

func (*DetachWorkloadsNamespacesInitParameters) DeepCopyInto

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

type DetachWorkloadsNamespacesObservation

type DetachWorkloadsNamespacesObservation struct {

	// .
	Labels []NamespacesLabelsObservation `json:"labels,omitempty" tf:"labels,omitempty"`

	// List of namespaces.
	NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"`

	// List of workloads.
	Workloads []NamespacesWorkloadsObservation `json:"workloads,omitempty" tf:"workloads,omitempty"`
}

func (*DetachWorkloadsNamespacesObservation) DeepCopy

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

func (*DetachWorkloadsNamespacesObservation) DeepCopyInto

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

type DetachWorkloadsNamespacesParameters

type DetachWorkloadsNamespacesParameters struct {

	// .
	// +kubebuilder:validation:Optional
	Labels []NamespacesLabelsParameters `json:"labels,omitempty" tf:"labels,omitempty"`

	// List of namespaces.
	// +kubebuilder:validation:Optional
	NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"`

	// List of workloads.
	// +kubebuilder:validation:Optional
	Workloads []NamespacesWorkloadsParameters `json:"workloads,omitempty" tf:"workloads,omitempty"`
}

func (*DetachWorkloadsNamespacesParameters) DeepCopy

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

func (*DetachWorkloadsNamespacesParameters) DeepCopyInto

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

type DetachWorkloadsObservation

type DetachWorkloadsObservation struct {
	Namespaces []DetachWorkloadsNamespacesObservation `json:"namespaces,omitempty" tf:"namespaces,omitempty"`
}

func (*DetachWorkloadsObservation) DeepCopy

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

func (*DetachWorkloadsObservation) DeepCopyInto

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

type DetachWorkloadsParameters

type DetachWorkloadsParameters struct {

	// +kubebuilder:validation:Optional
	Namespaces []DetachWorkloadsNamespacesParameters `json:"namespaces" tf:"namespaces,omitempty"`
}

func (*DetachWorkloadsParameters) DeepCopy

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

func (*DetachWorkloadsParameters) DeepCopyInto

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

type LabelsInitParameters

type LabelsInitParameters struct {

	// .
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// .
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*LabelsInitParameters) DeepCopy

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

func (*LabelsInitParameters) DeepCopyInto

func (in *LabelsInitParameters) DeepCopyInto(out *LabelsInitParameters)

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

type LabelsObservation

type LabelsObservation struct {

	// .
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// .
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*LabelsObservation) DeepCopy

func (in *LabelsObservation) DeepCopy() *LabelsObservation

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

func (*LabelsObservation) DeepCopyInto

func (in *LabelsObservation) DeepCopyInto(out *LabelsObservation)

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

type LabelsParameters

type LabelsParameters struct {

	// .
	// +kubebuilder:validation:Optional
	Key *string `json:"key" tf:"key,omitempty"`

	// .
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*LabelsParameters) DeepCopy

func (in *LabelsParameters) DeepCopy() *LabelsParameters

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

func (*LabelsParameters) DeepCopyInto

func (in *LabelsParameters) DeepCopyInto(out *LabelsParameters)

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

type MonthlyRepetitionBasisInitParameters

type MonthlyRepetitionBasisInitParameters struct {

	// Array of the months (in number), when we want to trigger the apply recommendations.
	IntervalMonths []*float64 `json:"intervalMonths,omitempty" tf:"interval_months,omitempty"`

	// Valid values: "FIRST" "SECOND" "THIRD" "FOURTH" "LAST". Array of the weeks in the month, when we want to trigger the apply recommendations.
	WeekOfTheMonth []*string `json:"weekOfTheMonth,omitempty" tf:"week_of_the_month,omitempty"`

	// Determines the Ocean Rightsizing rule weekly repetition basis.
	WeeklyRepetitionBasis []WeeklyRepetitionBasisInitParameters `json:"weeklyRepetitionBasis,omitempty" tf:"weekly_repetition_basis,omitempty"`
}

func (*MonthlyRepetitionBasisInitParameters) DeepCopy

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

func (*MonthlyRepetitionBasisInitParameters) DeepCopyInto

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

type MonthlyRepetitionBasisObservation

type MonthlyRepetitionBasisObservation struct {

	// Array of the months (in number), when we want to trigger the apply recommendations.
	IntervalMonths []*float64 `json:"intervalMonths,omitempty" tf:"interval_months,omitempty"`

	// Valid values: "FIRST" "SECOND" "THIRD" "FOURTH" "LAST". Array of the weeks in the month, when we want to trigger the apply recommendations.
	WeekOfTheMonth []*string `json:"weekOfTheMonth,omitempty" tf:"week_of_the_month,omitempty"`

	// Determines the Ocean Rightsizing rule weekly repetition basis.
	WeeklyRepetitionBasis []WeeklyRepetitionBasisObservation `json:"weeklyRepetitionBasis,omitempty" tf:"weekly_repetition_basis,omitempty"`
}

func (*MonthlyRepetitionBasisObservation) DeepCopy

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

func (*MonthlyRepetitionBasisObservation) DeepCopyInto

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

type MonthlyRepetitionBasisParameters

type MonthlyRepetitionBasisParameters struct {

	// Array of the months (in number), when we want to trigger the apply recommendations.
	// +kubebuilder:validation:Optional
	IntervalMonths []*float64 `json:"intervalMonths" tf:"interval_months,omitempty"`

	// Valid values: "FIRST" "SECOND" "THIRD" "FOURTH" "LAST". Array of the weeks in the month, when we want to trigger the apply recommendations.
	// +kubebuilder:validation:Optional
	WeekOfTheMonth []*string `json:"weekOfTheMonth" tf:"week_of_the_month,omitempty"`

	// Determines the Ocean Rightsizing rule weekly repetition basis.
	// +kubebuilder:validation:Optional
	WeeklyRepetitionBasis []WeeklyRepetitionBasisParameters `json:"weeklyRepetitionBasis,omitempty" tf:"weekly_repetition_basis,omitempty"`
}

func (*MonthlyRepetitionBasisParameters) DeepCopy

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

func (*MonthlyRepetitionBasisParameters) DeepCopyInto

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

type NamespacesInitParameters

type NamespacesInitParameters struct {

	// .
	Labels []LabelsInitParameters `json:"labels,omitempty" tf:"labels,omitempty"`

	// List of namespaces.
	NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"`

	// List of workloads.
	Workloads []WorkloadsInitParameters `json:"workloads,omitempty" tf:"workloads,omitempty"`
}

func (*NamespacesInitParameters) DeepCopy

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

func (*NamespacesInitParameters) DeepCopyInto

func (in *NamespacesInitParameters) DeepCopyInto(out *NamespacesInitParameters)

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

type NamespacesLabelsInitParameters

type NamespacesLabelsInitParameters struct {

	// .
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// .
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*NamespacesLabelsInitParameters) DeepCopy

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

func (*NamespacesLabelsInitParameters) DeepCopyInto

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

type NamespacesLabelsObservation

type NamespacesLabelsObservation struct {

	// .
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// .
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*NamespacesLabelsObservation) DeepCopy

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

func (*NamespacesLabelsObservation) DeepCopyInto

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

type NamespacesLabelsParameters

type NamespacesLabelsParameters struct {

	// .
	// +kubebuilder:validation:Optional
	Key *string `json:"key" tf:"key,omitempty"`

	// .
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*NamespacesLabelsParameters) DeepCopy

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

func (*NamespacesLabelsParameters) DeepCopyInto

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

type NamespacesObservation

type NamespacesObservation struct {

	// .
	Labels []LabelsObservation `json:"labels,omitempty" tf:"labels,omitempty"`

	// List of namespaces.
	NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"`

	// List of workloads.
	Workloads []WorkloadsObservation `json:"workloads,omitempty" tf:"workloads,omitempty"`
}

func (*NamespacesObservation) DeepCopy

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

func (*NamespacesObservation) DeepCopyInto

func (in *NamespacesObservation) DeepCopyInto(out *NamespacesObservation)

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

type NamespacesParameters

type NamespacesParameters struct {

	// .
	// +kubebuilder:validation:Optional
	Labels []LabelsParameters `json:"labels,omitempty" tf:"labels,omitempty"`

	// List of namespaces.
	// +kubebuilder:validation:Optional
	NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"`

	// List of workloads.
	// +kubebuilder:validation:Optional
	Workloads []WorkloadsParameters `json:"workloads,omitempty" tf:"workloads,omitempty"`
}

func (*NamespacesParameters) DeepCopy

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

func (*NamespacesParameters) DeepCopyInto

func (in *NamespacesParameters) DeepCopyInto(out *NamespacesParameters)

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

type NamespacesWorkloadsInitParameters

type NamespacesWorkloadsInitParameters struct {

	// . The regex for the workload name. Not allowed when using workload_name.
	RegexName *string `json:"regexName,omitempty" tf:"regex_name,omitempty"`

	// . The name of the workload.
	WorkloadName *string `json:"workloadName,omitempty" tf:"workload_name,omitempty"`

	// . The type of the workload.
	WorkloadType *string `json:"workloadType,omitempty" tf:"workload_type,omitempty"`
}

func (*NamespacesWorkloadsInitParameters) DeepCopy

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

func (*NamespacesWorkloadsInitParameters) DeepCopyInto

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

type NamespacesWorkloadsObservation

type NamespacesWorkloadsObservation struct {

	// . The regex for the workload name. Not allowed when using workload_name.
	RegexName *string `json:"regexName,omitempty" tf:"regex_name,omitempty"`

	// . The name of the workload.
	WorkloadName *string `json:"workloadName,omitempty" tf:"workload_name,omitempty"`

	// . The type of the workload.
	WorkloadType *string `json:"workloadType,omitempty" tf:"workload_type,omitempty"`
}

func (*NamespacesWorkloadsObservation) DeepCopy

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

func (*NamespacesWorkloadsObservation) DeepCopyInto

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

type NamespacesWorkloadsParameters

type NamespacesWorkloadsParameters struct {

	// . The regex for the workload name. Not allowed when using workload_name.
	// +kubebuilder:validation:Optional
	RegexName *string `json:"regexName,omitempty" tf:"regex_name,omitempty"`

	// . The name of the workload.
	// +kubebuilder:validation:Optional
	WorkloadName *string `json:"workloadName,omitempty" tf:"workload_name,omitempty"`

	// . The type of the workload.
	// +kubebuilder:validation:Optional
	WorkloadType *string `json:"workloadType" tf:"workload_type,omitempty"`
}

func (*NamespacesWorkloadsParameters) DeepCopy

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

func (*NamespacesWorkloadsParameters) DeepCopyInto

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

type OceanRightsizingRule

type OceanRightsizingRule 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.recommendationApplicationIntervals) || (has(self.initProvider) && has(self.initProvider.recommendationApplicationIntervals))",message="spec.forProvider.recommendationApplicationIntervals is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleName) || (has(self.initProvider) && has(self.initProvider.ruleName))",message="spec.forProvider.ruleName is a required parameter"
	Spec   OceanRightsizingRuleSpec   `json:"spec"`
	Status OceanRightsizingRuleStatus `json:"status,omitempty"`
}

OceanRightsizingRule is the Schema for the OceanRightsizingRules API. Provides a Spotinst Ocean Right Sizing resource. +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 (*OceanRightsizingRule) DeepCopy

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

func (*OceanRightsizingRule) DeepCopyInto

func (in *OceanRightsizingRule) DeepCopyInto(out *OceanRightsizingRule)

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

func (*OceanRightsizingRule) DeepCopyObject

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

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

func (*OceanRightsizingRule) GetCondition

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

GetCondition of this OceanRightsizingRule.

func (*OceanRightsizingRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this OceanRightsizingRule

func (*OceanRightsizingRule) GetDeletionPolicy

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

GetDeletionPolicy of this OceanRightsizingRule.

func (*OceanRightsizingRule) GetID

func (tr *OceanRightsizingRule) GetID() string

GetID returns ID of underlying Terraform resource of this OceanRightsizingRule

func (*OceanRightsizingRule) GetInitParameters

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

GetInitParameters of this OceanRightsizingRule

func (*OceanRightsizingRule) GetManagementPolicies

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

GetManagementPolicies of this OceanRightsizingRule.

func (*OceanRightsizingRule) GetMergedParameters

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

GetInitParameters of this OceanRightsizingRule

func (*OceanRightsizingRule) GetObservation

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

GetObservation of this OceanRightsizingRule

func (*OceanRightsizingRule) GetParameters

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

GetParameters of this OceanRightsizingRule

func (*OceanRightsizingRule) GetProviderConfigReference

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

GetProviderConfigReference of this OceanRightsizingRule.

func (*OceanRightsizingRule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this OceanRightsizingRule.

func (*OceanRightsizingRule) GetTerraformResourceType

func (mg *OceanRightsizingRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this OceanRightsizingRule

func (*OceanRightsizingRule) GetTerraformSchemaVersion

func (tr *OceanRightsizingRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*OceanRightsizingRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this OceanRightsizingRule.

func (*OceanRightsizingRule) Hub

func (tr *OceanRightsizingRule) Hub()

Hub marks this type as a conversion hub.

func (*OceanRightsizingRule) LateInitialize

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

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

func (*OceanRightsizingRule) SetConditions

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

SetConditions of this OceanRightsizingRule.

func (*OceanRightsizingRule) SetDeletionPolicy

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

SetDeletionPolicy of this OceanRightsizingRule.

func (*OceanRightsizingRule) SetManagementPolicies

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

SetManagementPolicies of this OceanRightsizingRule.

func (*OceanRightsizingRule) SetObservation

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

SetObservation for this OceanRightsizingRule

func (*OceanRightsizingRule) SetParameters

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

SetParameters for this OceanRightsizingRule

func (*OceanRightsizingRule) SetProviderConfigReference

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

SetProviderConfigReference of this OceanRightsizingRule.

func (*OceanRightsizingRule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this OceanRightsizingRule.

func (*OceanRightsizingRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this OceanRightsizingRule.

type OceanRightsizingRuleInitParameters

type OceanRightsizingRuleInitParameters struct {
	AttachWorkloads []AttachWorkloadsInitParameters `json:"attachWorkloads,omitempty" tf:"attach_workloads,omitempty"`

	DetachWorkloads []DetachWorkloadsInitParameters `json:"detachWorkloads,omitempty" tf:"detach_workloads,omitempty"`

	// Exclude preliminary recommendations (recommendations based on less than 4 full days of data).
	ExcludePreliminaryRecommendations *bool `json:"excludePreliminaryRecommendations,omitempty" tf:"exclude_preliminary_recommendations,omitempty"`

	// Identifier of the Ocean cluster.
	OceanID *string `json:"oceanId,omitempty" tf:"ocean_id,omitempty"`

	// Determines the Ocean Rightsizing rule recommendation application boundaries.
	RecommendationApplicationBoundaries []RecommendationApplicationBoundariesInitParameters `json:"recommendationApplicationBoundaries,omitempty" tf:"recommendation_application_boundaries,omitempty"`

	// HPA Rightsizing Rule Recommendation Configuration
	RecommendationApplicationHpa []RecommendationApplicationHpaInitParameters `json:"recommendationApplicationHpa,omitempty" tf:"recommendation_application_hpa,omitempty"`

	// Determines the Ocean Rightsizing rule recommendation application intervals.
	RecommendationApplicationIntervals []RecommendationApplicationIntervalsInitParameters `json:"recommendationApplicationIntervals,omitempty" tf:"recommendation_application_intervals,omitempty"`

	// Determines the extent of difference between current request and recommendation to trigger a change in percentage.
	RecommendationApplicationMinThreshold []RecommendationApplicationMinThresholdInitParameters `json:"recommendationApplicationMinThreshold,omitempty" tf:"recommendation_application_min_threshold,omitempty"`

	// Determines the Ocean Rightsizing rule recommendation application overhead values.
	RecommendationApplicationOverheadValues []RecommendationApplicationOverheadValuesInitParameters `json:"recommendationApplicationOverheadValues,omitempty" tf:"recommendation_application_overhead_values,omitempty"`

	// Valid values: "MORE_THAN_ONE_REPLICA" "ALL_MANIFEST" "NO_RESTART". Enable to sequentially restart pod batches according to recommendations, for all pods, only more than 1 replica, or not any pod.
	RestartReplicas *string `json:"restartReplicas,omitempty" tf:"restart_replicas,omitempty"`

	// The unique name of the rule.
	RuleName *string `json:"ruleName,omitempty" tf:"rule_name,omitempty"`
}

func (*OceanRightsizingRuleInitParameters) DeepCopy

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

func (*OceanRightsizingRuleInitParameters) DeepCopyInto

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

type OceanRightsizingRuleList

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

OceanRightsizingRuleList contains a list of OceanRightsizingRules

func (*OceanRightsizingRuleList) DeepCopy

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

func (*OceanRightsizingRuleList) DeepCopyInto

func (in *OceanRightsizingRuleList) DeepCopyInto(out *OceanRightsizingRuleList)

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

func (*OceanRightsizingRuleList) DeepCopyObject

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

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

func (*OceanRightsizingRuleList) GetItems

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

GetItems of this OceanRightsizingRuleList.

type OceanRightsizingRuleObservation

type OceanRightsizingRuleObservation struct {
	AttachWorkloads []AttachWorkloadsObservation `json:"attachWorkloads,omitempty" tf:"attach_workloads,omitempty"`

	DetachWorkloads []DetachWorkloadsObservation `json:"detachWorkloads,omitempty" tf:"detach_workloads,omitempty"`

	// Exclude preliminary recommendations (recommendations based on less than 4 full days of data).
	ExcludePreliminaryRecommendations *bool `json:"excludePreliminaryRecommendations,omitempty" tf:"exclude_preliminary_recommendations,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Identifier of the Ocean cluster.
	OceanID *string `json:"oceanId,omitempty" tf:"ocean_id,omitempty"`

	// Determines the Ocean Rightsizing rule recommendation application boundaries.
	RecommendationApplicationBoundaries []RecommendationApplicationBoundariesObservation `json:"recommendationApplicationBoundaries,omitempty" tf:"recommendation_application_boundaries,omitempty"`

	// HPA Rightsizing Rule Recommendation Configuration
	RecommendationApplicationHpa []RecommendationApplicationHpaObservation `json:"recommendationApplicationHpa,omitempty" tf:"recommendation_application_hpa,omitempty"`

	// Determines the Ocean Rightsizing rule recommendation application intervals.
	RecommendationApplicationIntervals []RecommendationApplicationIntervalsObservation `json:"recommendationApplicationIntervals,omitempty" tf:"recommendation_application_intervals,omitempty"`

	// Determines the extent of difference between current request and recommendation to trigger a change in percentage.
	RecommendationApplicationMinThreshold []RecommendationApplicationMinThresholdObservation `json:"recommendationApplicationMinThreshold,omitempty" tf:"recommendation_application_min_threshold,omitempty"`

	// Determines the Ocean Rightsizing rule recommendation application overhead values.
	RecommendationApplicationOverheadValues []RecommendationApplicationOverheadValuesObservation `json:"recommendationApplicationOverheadValues,omitempty" tf:"recommendation_application_overhead_values,omitempty"`

	// Valid values: "MORE_THAN_ONE_REPLICA" "ALL_MANIFEST" "NO_RESTART". Enable to sequentially restart pod batches according to recommendations, for all pods, only more than 1 replica, or not any pod.
	RestartReplicas *string `json:"restartReplicas,omitempty" tf:"restart_replicas,omitempty"`

	// The unique name of the rule.
	RuleName *string `json:"ruleName,omitempty" tf:"rule_name,omitempty"`
}

func (*OceanRightsizingRuleObservation) DeepCopy

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

func (*OceanRightsizingRuleObservation) DeepCopyInto

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

type OceanRightsizingRuleParameters

type OceanRightsizingRuleParameters struct {

	// +kubebuilder:validation:Optional
	AttachWorkloads []AttachWorkloadsParameters `json:"attachWorkloads,omitempty" tf:"attach_workloads,omitempty"`

	// +kubebuilder:validation:Optional
	DetachWorkloads []DetachWorkloadsParameters `json:"detachWorkloads,omitempty" tf:"detach_workloads,omitempty"`

	// Exclude preliminary recommendations (recommendations based on less than 4 full days of data).
	// +kubebuilder:validation:Optional
	ExcludePreliminaryRecommendations *bool `json:"excludePreliminaryRecommendations,omitempty" tf:"exclude_preliminary_recommendations,omitempty"`

	// Identifier of the Ocean cluster.
	// +kubebuilder:validation:Optional
	OceanID *string `json:"oceanId,omitempty" tf:"ocean_id,omitempty"`

	// Determines the Ocean Rightsizing rule recommendation application boundaries.
	// +kubebuilder:validation:Optional
	RecommendationApplicationBoundaries []RecommendationApplicationBoundariesParameters `json:"recommendationApplicationBoundaries,omitempty" tf:"recommendation_application_boundaries,omitempty"`

	// HPA Rightsizing Rule Recommendation Configuration
	// +kubebuilder:validation:Optional
	RecommendationApplicationHpa []RecommendationApplicationHpaParameters `json:"recommendationApplicationHpa,omitempty" tf:"recommendation_application_hpa,omitempty"`

	// Determines the Ocean Rightsizing rule recommendation application intervals.
	// +kubebuilder:validation:Optional
	RecommendationApplicationIntervals []RecommendationApplicationIntervalsParameters `json:"recommendationApplicationIntervals,omitempty" tf:"recommendation_application_intervals,omitempty"`

	// Determines the extent of difference between current request and recommendation to trigger a change in percentage.
	// +kubebuilder:validation:Optional
	RecommendationApplicationMinThreshold []RecommendationApplicationMinThresholdParameters `json:"recommendationApplicationMinThreshold,omitempty" tf:"recommendation_application_min_threshold,omitempty"`

	// Determines the Ocean Rightsizing rule recommendation application overhead values.
	// +kubebuilder:validation:Optional
	RecommendationApplicationOverheadValues []RecommendationApplicationOverheadValuesParameters `json:"recommendationApplicationOverheadValues,omitempty" tf:"recommendation_application_overhead_values,omitempty"`

	// Valid values: "MORE_THAN_ONE_REPLICA" "ALL_MANIFEST" "NO_RESTART". Enable to sequentially restart pod batches according to recommendations, for all pods, only more than 1 replica, or not any pod.
	// +kubebuilder:validation:Optional
	RestartReplicas *string `json:"restartReplicas,omitempty" tf:"restart_replicas,omitempty"`

	// The unique name of the rule.
	// +kubebuilder:validation:Optional
	RuleName *string `json:"ruleName,omitempty" tf:"rule_name,omitempty"`
}

func (*OceanRightsizingRuleParameters) DeepCopy

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

func (*OceanRightsizingRuleParameters) DeepCopyInto

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

type OceanRightsizingRuleSpec

type OceanRightsizingRuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     OceanRightsizingRuleParameters `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 OceanRightsizingRuleInitParameters `json:"initProvider,omitempty"`
}

OceanRightsizingRuleSpec defines the desired state of OceanRightsizingRule

func (*OceanRightsizingRuleSpec) DeepCopy

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

func (*OceanRightsizingRuleSpec) DeepCopyInto

func (in *OceanRightsizingRuleSpec) DeepCopyInto(out *OceanRightsizingRuleSpec)

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

type OceanRightsizingRuleStatus

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

OceanRightsizingRuleStatus defines the observed state of OceanRightsizingRule.

func (*OceanRightsizingRuleStatus) DeepCopy

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

func (*OceanRightsizingRuleStatus) DeepCopyInto

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

type RecommendationApplicationBoundariesInitParameters

type RecommendationApplicationBoundariesInitParameters struct {

	// the maximal value of cpu in vCpu.
	CPUMax *float64 `json:"cpuMax,omitempty" tf:"cpu_max,omitempty"`

	// the minimal value of cpu in vCpu.
	CPUMin *float64 `json:"cpuMin,omitempty" tf:"cpu_min,omitempty"`

	// the maximal value of memory in Gib.
	MemoryMax *float64 `json:"memoryMax,omitempty" tf:"memory_max,omitempty"`

	// the minimal value of memory in Gib.
	MemoryMin *float64 `json:"memoryMin,omitempty" tf:"memory_min,omitempty"`
}

func (*RecommendationApplicationBoundariesInitParameters) DeepCopy

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

func (*RecommendationApplicationBoundariesInitParameters) DeepCopyInto

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

type RecommendationApplicationBoundariesObservation

type RecommendationApplicationBoundariesObservation struct {

	// the maximal value of cpu in vCpu.
	CPUMax *float64 `json:"cpuMax,omitempty" tf:"cpu_max,omitempty"`

	// the minimal value of cpu in vCpu.
	CPUMin *float64 `json:"cpuMin,omitempty" tf:"cpu_min,omitempty"`

	// the maximal value of memory in Gib.
	MemoryMax *float64 `json:"memoryMax,omitempty" tf:"memory_max,omitempty"`

	// the minimal value of memory in Gib.
	MemoryMin *float64 `json:"memoryMin,omitempty" tf:"memory_min,omitempty"`
}

func (*RecommendationApplicationBoundariesObservation) DeepCopy

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

func (*RecommendationApplicationBoundariesObservation) DeepCopyInto

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

type RecommendationApplicationBoundariesParameters

type RecommendationApplicationBoundariesParameters struct {

	// the maximal value of cpu in vCpu.
	// +kubebuilder:validation:Optional
	CPUMax *float64 `json:"cpuMax,omitempty" tf:"cpu_max,omitempty"`

	// the minimal value of cpu in vCpu.
	// +kubebuilder:validation:Optional
	CPUMin *float64 `json:"cpuMin,omitempty" tf:"cpu_min,omitempty"`

	// the maximal value of memory in Gib.
	// +kubebuilder:validation:Optional
	MemoryMax *float64 `json:"memoryMax,omitempty" tf:"memory_max,omitempty"`

	// the minimal value of memory in Gib.
	// +kubebuilder:validation:Optional
	MemoryMin *float64 `json:"memoryMin,omitempty" tf:"memory_min,omitempty"`
}

func (*RecommendationApplicationBoundariesParameters) DeepCopy

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

func (*RecommendationApplicationBoundariesParameters) DeepCopyInto

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

type RecommendationApplicationHpaInitParameters

type RecommendationApplicationHpaInitParameters struct {

	// Determines by the rule if recommendation application is allowed for workloads with HPA definition.
	AllowHpaRecommendations *bool `json:"allowHpaRecommendations,omitempty" tf:"allow_hpa_recommendations,omitempty"`
}

func (*RecommendationApplicationHpaInitParameters) DeepCopy

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

func (*RecommendationApplicationHpaInitParameters) DeepCopyInto

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

type RecommendationApplicationHpaObservation

type RecommendationApplicationHpaObservation struct {

	// Determines by the rule if recommendation application is allowed for workloads with HPA definition.
	AllowHpaRecommendations *bool `json:"allowHpaRecommendations,omitempty" tf:"allow_hpa_recommendations,omitempty"`
}

func (*RecommendationApplicationHpaObservation) DeepCopy

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

func (*RecommendationApplicationHpaObservation) DeepCopyInto

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

type RecommendationApplicationHpaParameters

type RecommendationApplicationHpaParameters struct {

	// Determines by the rule if recommendation application is allowed for workloads with HPA definition.
	// +kubebuilder:validation:Optional
	AllowHpaRecommendations *bool `json:"allowHpaRecommendations,omitempty" tf:"allow_hpa_recommendations,omitempty"`
}

func (*RecommendationApplicationHpaParameters) DeepCopy

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

func (*RecommendationApplicationHpaParameters) DeepCopyInto

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

type RecommendationApplicationIntervalsInitParameters

type RecommendationApplicationIntervalsInitParameters struct {

	// Determines the Ocean Rightsizing rule monthly repetition basis.
	MonthlyRepetitionBasis []MonthlyRepetitionBasisInitParameters `json:"monthlyRepetitionBasis,omitempty" tf:"monthly_repetition_basis,omitempty"`

	// Valid values: "WEEKLY" "MONTHLY". The repetition basis.
	RepetitionBasis *string `json:"repetitionBasis,omitempty" tf:"repetition_basis,omitempty"`

	// Determines the Ocean Rightsizing rule weekly repetition basis.
	WeeklyRepetitionBasis []RecommendationApplicationIntervalsWeeklyRepetitionBasisInitParameters `json:"weeklyRepetitionBasis,omitempty" tf:"weekly_repetition_basis,omitempty"`
}

func (*RecommendationApplicationIntervalsInitParameters) DeepCopy

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

func (*RecommendationApplicationIntervalsInitParameters) DeepCopyInto

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

type RecommendationApplicationIntervalsObservation

type RecommendationApplicationIntervalsObservation struct {

	// Determines the Ocean Rightsizing rule monthly repetition basis.
	MonthlyRepetitionBasis []MonthlyRepetitionBasisObservation `json:"monthlyRepetitionBasis,omitempty" tf:"monthly_repetition_basis,omitempty"`

	// Valid values: "WEEKLY" "MONTHLY". The repetition basis.
	RepetitionBasis *string `json:"repetitionBasis,omitempty" tf:"repetition_basis,omitempty"`

	// Determines the Ocean Rightsizing rule weekly repetition basis.
	WeeklyRepetitionBasis []RecommendationApplicationIntervalsWeeklyRepetitionBasisObservation `json:"weeklyRepetitionBasis,omitempty" tf:"weekly_repetition_basis,omitempty"`
}

func (*RecommendationApplicationIntervalsObservation) DeepCopy

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

func (*RecommendationApplicationIntervalsObservation) DeepCopyInto

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

type RecommendationApplicationIntervalsParameters

type RecommendationApplicationIntervalsParameters struct {

	// Determines the Ocean Rightsizing rule monthly repetition basis.
	// +kubebuilder:validation:Optional
	MonthlyRepetitionBasis []MonthlyRepetitionBasisParameters `json:"monthlyRepetitionBasis,omitempty" tf:"monthly_repetition_basis,omitempty"`

	// Valid values: "WEEKLY" "MONTHLY". The repetition basis.
	// +kubebuilder:validation:Optional
	RepetitionBasis *string `json:"repetitionBasis" tf:"repetition_basis,omitempty"`

	// Determines the Ocean Rightsizing rule weekly repetition basis.
	// +kubebuilder:validation:Optional
	WeeklyRepetitionBasis []RecommendationApplicationIntervalsWeeklyRepetitionBasisParameters `json:"weeklyRepetitionBasis,omitempty" tf:"weekly_repetition_basis,omitempty"`
}

func (*RecommendationApplicationIntervalsParameters) DeepCopy

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

func (*RecommendationApplicationIntervalsParameters) DeepCopyInto

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

type RecommendationApplicationIntervalsWeeklyRepetitionBasisInitParameters

type RecommendationApplicationIntervalsWeeklyRepetitionBasisInitParameters struct {

	// Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
	IntervalDays []*string `json:"intervalDays,omitempty" tf:"interval_days,omitempty"`

	// End time.
	IntervalHoursEndTime *string `json:"intervalHoursEndTime,omitempty" tf:"interval_hours_end_time,omitempty"`

	// Start time.
	IntervalHoursStartTime *string `json:"intervalHoursStartTime,omitempty" tf:"interval_hours_start_time,omitempty"`
}

func (*RecommendationApplicationIntervalsWeeklyRepetitionBasisInitParameters) DeepCopy

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

func (*RecommendationApplicationIntervalsWeeklyRepetitionBasisInitParameters) DeepCopyInto

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

type RecommendationApplicationIntervalsWeeklyRepetitionBasisObservation

type RecommendationApplicationIntervalsWeeklyRepetitionBasisObservation struct {

	// Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
	IntervalDays []*string `json:"intervalDays,omitempty" tf:"interval_days,omitempty"`

	// End time.
	IntervalHoursEndTime *string `json:"intervalHoursEndTime,omitempty" tf:"interval_hours_end_time,omitempty"`

	// Start time.
	IntervalHoursStartTime *string `json:"intervalHoursStartTime,omitempty" tf:"interval_hours_start_time,omitempty"`
}

func (*RecommendationApplicationIntervalsWeeklyRepetitionBasisObservation) DeepCopy

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

func (*RecommendationApplicationIntervalsWeeklyRepetitionBasisObservation) DeepCopyInto

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

type RecommendationApplicationIntervalsWeeklyRepetitionBasisParameters

type RecommendationApplicationIntervalsWeeklyRepetitionBasisParameters struct {

	// Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
	// +kubebuilder:validation:Optional
	IntervalDays []*string `json:"intervalDays" tf:"interval_days,omitempty"`

	// End time.
	// +kubebuilder:validation:Optional
	IntervalHoursEndTime *string `json:"intervalHoursEndTime" tf:"interval_hours_end_time,omitempty"`

	// Start time.
	// +kubebuilder:validation:Optional
	IntervalHoursStartTime *string `json:"intervalHoursStartTime" tf:"interval_hours_start_time,omitempty"`
}

func (*RecommendationApplicationIntervalsWeeklyRepetitionBasisParameters) DeepCopy

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

func (*RecommendationApplicationIntervalsWeeklyRepetitionBasisParameters) DeepCopyInto

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

type RecommendationApplicationMinThresholdInitParameters

type RecommendationApplicationMinThresholdInitParameters struct {

	// .
	CPUPercentage *float64 `json:"cpuPercentage,omitempty" tf:"cpu_percentage,omitempty"`

	// .
	MemoryPercentage *float64 `json:"memoryPercentage,omitempty" tf:"memory_percentage,omitempty"`
}

func (*RecommendationApplicationMinThresholdInitParameters) DeepCopy

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

func (*RecommendationApplicationMinThresholdInitParameters) DeepCopyInto

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

type RecommendationApplicationMinThresholdObservation

type RecommendationApplicationMinThresholdObservation struct {

	// .
	CPUPercentage *float64 `json:"cpuPercentage,omitempty" tf:"cpu_percentage,omitempty"`

	// .
	MemoryPercentage *float64 `json:"memoryPercentage,omitempty" tf:"memory_percentage,omitempty"`
}

func (*RecommendationApplicationMinThresholdObservation) DeepCopy

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

func (*RecommendationApplicationMinThresholdObservation) DeepCopyInto

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

type RecommendationApplicationMinThresholdParameters

type RecommendationApplicationMinThresholdParameters struct {

	// .
	// +kubebuilder:validation:Optional
	CPUPercentage *float64 `json:"cpuPercentage,omitempty" tf:"cpu_percentage,omitempty"`

	// .
	// +kubebuilder:validation:Optional
	MemoryPercentage *float64 `json:"memoryPercentage,omitempty" tf:"memory_percentage,omitempty"`
}

func (*RecommendationApplicationMinThresholdParameters) DeepCopy

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

func (*RecommendationApplicationMinThresholdParameters) DeepCopyInto

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

type RecommendationApplicationOverheadValuesInitParameters

type RecommendationApplicationOverheadValuesInitParameters struct {

	// .
	CPUPercentage *float64 `json:"cpuPercentage,omitempty" tf:"cpu_percentage,omitempty"`

	// .
	MemoryPercentage *float64 `json:"memoryPercentage,omitempty" tf:"memory_percentage,omitempty"`
}

func (*RecommendationApplicationOverheadValuesInitParameters) DeepCopy

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

func (*RecommendationApplicationOverheadValuesInitParameters) DeepCopyInto

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

type RecommendationApplicationOverheadValuesObservation

type RecommendationApplicationOverheadValuesObservation struct {

	// .
	CPUPercentage *float64 `json:"cpuPercentage,omitempty" tf:"cpu_percentage,omitempty"`

	// .
	MemoryPercentage *float64 `json:"memoryPercentage,omitempty" tf:"memory_percentage,omitempty"`
}

func (*RecommendationApplicationOverheadValuesObservation) DeepCopy

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

func (*RecommendationApplicationOverheadValuesObservation) DeepCopyInto

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

type RecommendationApplicationOverheadValuesParameters

type RecommendationApplicationOverheadValuesParameters struct {

	// .
	// +kubebuilder:validation:Optional
	CPUPercentage *float64 `json:"cpuPercentage,omitempty" tf:"cpu_percentage,omitempty"`

	// .
	// +kubebuilder:validation:Optional
	MemoryPercentage *float64 `json:"memoryPercentage,omitempty" tf:"memory_percentage,omitempty"`
}

func (*RecommendationApplicationOverheadValuesParameters) DeepCopy

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

func (*RecommendationApplicationOverheadValuesParameters) DeepCopyInto

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

type WeeklyRepetitionBasisInitParameters

type WeeklyRepetitionBasisInitParameters struct {

	// Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
	IntervalDays []*string `json:"intervalDays,omitempty" tf:"interval_days,omitempty"`

	// End time.
	IntervalHoursEndTime *string `json:"intervalHoursEndTime,omitempty" tf:"interval_hours_end_time,omitempty"`

	// Start time.
	IntervalHoursStartTime *string `json:"intervalHoursStartTime,omitempty" tf:"interval_hours_start_time,omitempty"`
}

func (*WeeklyRepetitionBasisInitParameters) DeepCopy

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

func (*WeeklyRepetitionBasisInitParameters) DeepCopyInto

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

type WeeklyRepetitionBasisObservation

type WeeklyRepetitionBasisObservation struct {

	// Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
	IntervalDays []*string `json:"intervalDays,omitempty" tf:"interval_days,omitempty"`

	// End time.
	IntervalHoursEndTime *string `json:"intervalHoursEndTime,omitempty" tf:"interval_hours_end_time,omitempty"`

	// Start time.
	IntervalHoursStartTime *string `json:"intervalHoursStartTime,omitempty" tf:"interval_hours_start_time,omitempty"`
}

func (*WeeklyRepetitionBasisObservation) DeepCopy

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

func (*WeeklyRepetitionBasisObservation) DeepCopyInto

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

type WeeklyRepetitionBasisParameters

type WeeklyRepetitionBasisParameters struct {

	// Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
	// +kubebuilder:validation:Optional
	IntervalDays []*string `json:"intervalDays" tf:"interval_days,omitempty"`

	// End time.
	// +kubebuilder:validation:Optional
	IntervalHoursEndTime *string `json:"intervalHoursEndTime" tf:"interval_hours_end_time,omitempty"`

	// Start time.
	// +kubebuilder:validation:Optional
	IntervalHoursStartTime *string `json:"intervalHoursStartTime" tf:"interval_hours_start_time,omitempty"`
}

func (*WeeklyRepetitionBasisParameters) DeepCopy

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

func (*WeeklyRepetitionBasisParameters) DeepCopyInto

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

type WorkloadsInitParameters

type WorkloadsInitParameters struct {

	// . The regex for the workload name. Not allowed when using workload_name.
	RegexName *string `json:"regexName,omitempty" tf:"regex_name,omitempty"`

	// . The name of the workload.
	WorkloadName *string `json:"workloadName,omitempty" tf:"workload_name,omitempty"`

	// . The type of the workload.
	WorkloadType *string `json:"workloadType,omitempty" tf:"workload_type,omitempty"`
}

func (*WorkloadsInitParameters) DeepCopy

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

func (*WorkloadsInitParameters) DeepCopyInto

func (in *WorkloadsInitParameters) DeepCopyInto(out *WorkloadsInitParameters)

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

type WorkloadsObservation

type WorkloadsObservation struct {

	// . The regex for the workload name. Not allowed when using workload_name.
	RegexName *string `json:"regexName,omitempty" tf:"regex_name,omitempty"`

	// . The name of the workload.
	WorkloadName *string `json:"workloadName,omitempty" tf:"workload_name,omitempty"`

	// . The type of the workload.
	WorkloadType *string `json:"workloadType,omitempty" tf:"workload_type,omitempty"`
}

func (*WorkloadsObservation) DeepCopy

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

func (*WorkloadsObservation) DeepCopyInto

func (in *WorkloadsObservation) DeepCopyInto(out *WorkloadsObservation)

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

type WorkloadsParameters

type WorkloadsParameters struct {

	// . The regex for the workload name. Not allowed when using workload_name.
	// +kubebuilder:validation:Optional
	RegexName *string `json:"regexName,omitempty" tf:"regex_name,omitempty"`

	// . The name of the workload.
	// +kubebuilder:validation:Optional
	WorkloadName *string `json:"workloadName,omitempty" tf:"workload_name,omitempty"`

	// . The type of the workload.
	// +kubebuilder:validation:Optional
	WorkloadType *string `json:"workloadType" tf:"workload_type,omitempty"`
}

func (*WorkloadsParameters) DeepCopy

func (in *WorkloadsParameters) DeepCopy() *WorkloadsParameters

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

func (*WorkloadsParameters) DeepCopyInto

func (in *WorkloadsParameters) DeepCopyInto(out *WorkloadsParameters)

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