v1alpha1

package
v0.4.0-preview Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=autoscalingplans.aws.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "autoscalingplans.aws.jet.crossplane.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 (
	ScalingPlan_Kind             = "ScalingPlan"
	ScalingPlan_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ScalingPlan_Kind}.String()
	ScalingPlan_KindAPIVersion   = ScalingPlan_Kind + "." + CRDGroupVersion.String()
	ScalingPlan_GroupVersionKind = CRDGroupVersion.WithKind(ScalingPlan_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ApplicationSourceObservation

type ApplicationSourceObservation struct {
}

func (*ApplicationSourceObservation) DeepCopy

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

func (*ApplicationSourceObservation) DeepCopyInto

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

type ApplicationSourceParameters

type ApplicationSourceParameters struct {

	// +kubebuilder:validation:Optional
	CloudFormationStackArn *string `json:"cloudformationStackArn,omitempty" tf:"cloudformation_stack_arn,omitempty"`

	// +kubebuilder:validation:Optional
	TagFilter []TagFilterParameters `json:"tagFilter,omitempty" tf:"tag_filter,omitempty"`
}

func (*ApplicationSourceParameters) DeepCopy

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

func (*ApplicationSourceParameters) DeepCopyInto

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

type CustomizedLoadMetricSpecificationObservation

type CustomizedLoadMetricSpecificationObservation struct {
}

func (*CustomizedLoadMetricSpecificationObservation) DeepCopy

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

func (*CustomizedLoadMetricSpecificationObservation) DeepCopyInto

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

type CustomizedLoadMetricSpecificationParameters

type CustomizedLoadMetricSpecificationParameters struct {

	// +kubebuilder:validation:Optional
	Dimensions map[string]*string `json:"dimensions,omitempty" tf:"dimensions,omitempty"`

	// +kubebuilder:validation:Required
	MetricName *string `json:"metricName" tf:"metric_name,omitempty"`

	// +kubebuilder:validation:Required
	Namespace *string `json:"namespace" tf:"namespace,omitempty"`

	// +kubebuilder:validation:Required
	Statistic *string `json:"statistic" tf:"statistic,omitempty"`

	// +kubebuilder:validation:Optional
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`
}

func (*CustomizedLoadMetricSpecificationParameters) DeepCopy

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

func (*CustomizedLoadMetricSpecificationParameters) DeepCopyInto

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

type CustomizedScalingMetricSpecificationObservation

type CustomizedScalingMetricSpecificationObservation struct {
}

func (*CustomizedScalingMetricSpecificationObservation) DeepCopy

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

func (*CustomizedScalingMetricSpecificationObservation) DeepCopyInto

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

type CustomizedScalingMetricSpecificationParameters

type CustomizedScalingMetricSpecificationParameters struct {

	// +kubebuilder:validation:Optional
	Dimensions map[string]*string `json:"dimensions,omitempty" tf:"dimensions,omitempty"`

	// +kubebuilder:validation:Required
	MetricName *string `json:"metricName" tf:"metric_name,omitempty"`

	// +kubebuilder:validation:Required
	Namespace *string `json:"namespace" tf:"namespace,omitempty"`

	// +kubebuilder:validation:Required
	Statistic *string `json:"statistic" tf:"statistic,omitempty"`

	// +kubebuilder:validation:Optional
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`
}

func (*CustomizedScalingMetricSpecificationParameters) DeepCopy

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

func (*CustomizedScalingMetricSpecificationParameters) DeepCopyInto

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

type PredefinedLoadMetricSpecificationObservation

type PredefinedLoadMetricSpecificationObservation struct {
}

func (*PredefinedLoadMetricSpecificationObservation) DeepCopy

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

func (*PredefinedLoadMetricSpecificationObservation) DeepCopyInto

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

type PredefinedLoadMetricSpecificationParameters

type PredefinedLoadMetricSpecificationParameters struct {

	// +kubebuilder:validation:Required
	PredefinedLoadMetricType *string `json:"predefinedLoadMetricType" tf:"predefined_load_metric_type,omitempty"`

	// +kubebuilder:validation:Optional
	ResourceLabel *string `json:"resourceLabel,omitempty" tf:"resource_label,omitempty"`
}

func (*PredefinedLoadMetricSpecificationParameters) DeepCopy

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

func (*PredefinedLoadMetricSpecificationParameters) DeepCopyInto

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

type PredefinedScalingMetricSpecificationObservation

type PredefinedScalingMetricSpecificationObservation struct {
}

func (*PredefinedScalingMetricSpecificationObservation) DeepCopy

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

func (*PredefinedScalingMetricSpecificationObservation) DeepCopyInto

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

type PredefinedScalingMetricSpecificationParameters

type PredefinedScalingMetricSpecificationParameters struct {

	// +kubebuilder:validation:Required
	PredefinedScalingMetricType *string `json:"predefinedScalingMetricType" tf:"predefined_scaling_metric_type,omitempty"`

	// +kubebuilder:validation:Optional
	ResourceLabel *string `json:"resourceLabel,omitempty" tf:"resource_label,omitempty"`
}

func (*PredefinedScalingMetricSpecificationParameters) DeepCopy

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

func (*PredefinedScalingMetricSpecificationParameters) DeepCopyInto

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

type ScalingInstructionObservation

type ScalingInstructionObservation struct {
}

func (*ScalingInstructionObservation) DeepCopy

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

func (*ScalingInstructionObservation) DeepCopyInto

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

type ScalingInstructionParameters

type ScalingInstructionParameters struct {

	// +kubebuilder:validation:Optional
	CustomizedLoadMetricSpecification []CustomizedLoadMetricSpecificationParameters `json:"customizedLoadMetricSpecification,omitempty" tf:"customized_load_metric_specification,omitempty"`

	// +kubebuilder:validation:Optional
	DisableDynamicScaling *bool `json:"disableDynamicScaling,omitempty" tf:"disable_dynamic_scaling,omitempty"`

	// +kubebuilder:validation:Required
	MaxCapacity *int64 `json:"maxCapacity" tf:"max_capacity,omitempty"`

	// +kubebuilder:validation:Required
	MinCapacity *int64 `json:"minCapacity" tf:"min_capacity,omitempty"`

	// +kubebuilder:validation:Optional
	PredefinedLoadMetricSpecification []PredefinedLoadMetricSpecificationParameters `json:"predefinedLoadMetricSpecification,omitempty" tf:"predefined_load_metric_specification,omitempty"`

	// +kubebuilder:validation:Optional
	PredictiveScalingMaxCapacityBehavior *string `json:"predictiveScalingMaxCapacityBehavior,omitempty" tf:"predictive_scaling_max_capacity_behavior,omitempty"`

	// +kubebuilder:validation:Optional
	PredictiveScalingMaxCapacityBuffer *int64 `json:"predictiveScalingMaxCapacityBuffer,omitempty" tf:"predictive_scaling_max_capacity_buffer,omitempty"`

	// +kubebuilder:validation:Optional
	PredictiveScalingMode *string `json:"predictiveScalingMode,omitempty" tf:"predictive_scaling_mode,omitempty"`

	// +kubebuilder:validation:Required
	ResourceID *string `json:"resourceId" tf:"resource_id,omitempty"`

	// +kubebuilder:validation:Required
	ScalableDimension *string `json:"scalableDimension" tf:"scalable_dimension,omitempty"`

	// +kubebuilder:validation:Optional
	ScalingPolicyUpdateBehavior *string `json:"scalingPolicyUpdateBehavior,omitempty" tf:"scaling_policy_update_behavior,omitempty"`

	// +kubebuilder:validation:Optional
	ScheduledActionBufferTime *int64 `json:"scheduledActionBufferTime,omitempty" tf:"scheduled_action_buffer_time,omitempty"`

	// +kubebuilder:validation:Required
	ServiceNamespace *string `json:"serviceNamespace" tf:"service_namespace,omitempty"`

	// +kubebuilder:validation:Required
	TargetTrackingConfiguration []TargetTrackingConfigurationParameters `json:"targetTrackingConfiguration" tf:"target_tracking_configuration,omitempty"`
}

func (*ScalingInstructionParameters) DeepCopy

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

func (*ScalingInstructionParameters) DeepCopyInto

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

type ScalingPlan

type ScalingPlan struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScalingPlanSpec   `json:"spec"`
	Status            ScalingPlanStatus `json:"status,omitempty"`
}

ScalingPlan is the Schema for the ScalingPlans API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,awsjet}

func (*ScalingPlan) DeepCopy

func (in *ScalingPlan) DeepCopy() *ScalingPlan

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

func (*ScalingPlan) DeepCopyInto

func (in *ScalingPlan) DeepCopyInto(out *ScalingPlan)

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

func (*ScalingPlan) DeepCopyObject

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

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

func (*ScalingPlan) GetCondition

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

GetCondition of this ScalingPlan.

func (*ScalingPlan) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ScalingPlan

func (*ScalingPlan) GetDeletionPolicy

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

GetDeletionPolicy of this ScalingPlan.

func (*ScalingPlan) GetID

func (tr *ScalingPlan) GetID() string

GetID returns ID of underlying Terraform resource of this ScalingPlan

func (*ScalingPlan) GetObservation

func (tr *ScalingPlan) GetObservation() (map[string]interface{}, error)

GetObservation of this ScalingPlan

func (*ScalingPlan) GetParameters

func (tr *ScalingPlan) GetParameters() (map[string]interface{}, error)

GetParameters of this ScalingPlan

func (*ScalingPlan) GetProviderConfigReference

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

GetProviderConfigReference of this ScalingPlan.

func (*ScalingPlan) GetProviderReference

func (mg *ScalingPlan) GetProviderReference() *xpv1.Reference

GetProviderReference of this ScalingPlan. Deprecated: Use GetProviderConfigReference.

func (*ScalingPlan) GetTerraformResourceType

func (mg *ScalingPlan) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ScalingPlan

func (*ScalingPlan) GetTerraformSchemaVersion

func (tr *ScalingPlan) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ScalingPlan) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ScalingPlan.

func (*ScalingPlan) LateInitialize

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

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

func (*ScalingPlan) SetConditions

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

SetConditions of this ScalingPlan.

func (*ScalingPlan) SetDeletionPolicy

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

SetDeletionPolicy of this ScalingPlan.

func (*ScalingPlan) SetObservation

func (tr *ScalingPlan) SetObservation(obs map[string]interface{}) error

SetObservation for this ScalingPlan

func (*ScalingPlan) SetParameters

func (tr *ScalingPlan) SetParameters(params map[string]interface{}) error

SetParameters for this ScalingPlan

func (*ScalingPlan) SetProviderConfigReference

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

SetProviderConfigReference of this ScalingPlan.

func (*ScalingPlan) SetProviderReference

func (mg *ScalingPlan) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ScalingPlan. Deprecated: Use SetProviderConfigReference.

func (*ScalingPlan) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ScalingPlan.

type ScalingPlanList

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

ScalingPlanList contains a list of ScalingPlans

func (*ScalingPlanList) DeepCopy

func (in *ScalingPlanList) DeepCopy() *ScalingPlanList

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

func (*ScalingPlanList) DeepCopyInto

func (in *ScalingPlanList) DeepCopyInto(out *ScalingPlanList)

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

func (*ScalingPlanList) DeepCopyObject

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

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

func (*ScalingPlanList) GetItems

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

GetItems of this ScalingPlanList.

type ScalingPlanObservation

type ScalingPlanObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	ScalingPlanVersion *int64 `json:"scalingPlanVersion,omitempty" tf:"scaling_plan_version,omitempty"`
}

func (*ScalingPlanObservation) DeepCopy

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

func (*ScalingPlanObservation) DeepCopyInto

func (in *ScalingPlanObservation) DeepCopyInto(out *ScalingPlanObservation)

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

type ScalingPlanParameters

type ScalingPlanParameters struct {

	// +kubebuilder:validation:Required
	ApplicationSource []ApplicationSourceParameters `json:"applicationSource" tf:"application_source,omitempty"`

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

	// Region is the region you'd like your resource to be created in.
	// +terrajet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// +kubebuilder:validation:Required
	ScalingInstruction []ScalingInstructionParameters `json:"scalingInstruction" tf:"scaling_instruction,omitempty"`
}

func (*ScalingPlanParameters) DeepCopy

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

func (*ScalingPlanParameters) DeepCopyInto

func (in *ScalingPlanParameters) DeepCopyInto(out *ScalingPlanParameters)

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

type ScalingPlanSpec

type ScalingPlanSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ScalingPlanParameters `json:"forProvider"`
}

ScalingPlanSpec defines the desired state of ScalingPlan

func (*ScalingPlanSpec) DeepCopy

func (in *ScalingPlanSpec) DeepCopy() *ScalingPlanSpec

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

func (*ScalingPlanSpec) DeepCopyInto

func (in *ScalingPlanSpec) DeepCopyInto(out *ScalingPlanSpec)

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

type ScalingPlanStatus

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

ScalingPlanStatus defines the observed state of ScalingPlan.

func (*ScalingPlanStatus) DeepCopy

func (in *ScalingPlanStatus) DeepCopy() *ScalingPlanStatus

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

func (*ScalingPlanStatus) DeepCopyInto

func (in *ScalingPlanStatus) DeepCopyInto(out *ScalingPlanStatus)

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

type TagFilterObservation

type TagFilterObservation struct {
}

func (*TagFilterObservation) DeepCopy

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

func (*TagFilterObservation) DeepCopyInto

func (in *TagFilterObservation) DeepCopyInto(out *TagFilterObservation)

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

type TagFilterParameters

type TagFilterParameters struct {

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

	// +kubebuilder:validation:Optional
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*TagFilterParameters) DeepCopy

func (in *TagFilterParameters) DeepCopy() *TagFilterParameters

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

func (*TagFilterParameters) DeepCopyInto

func (in *TagFilterParameters) DeepCopyInto(out *TagFilterParameters)

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

type TargetTrackingConfigurationObservation

type TargetTrackingConfigurationObservation struct {
}

func (*TargetTrackingConfigurationObservation) DeepCopy

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

func (*TargetTrackingConfigurationObservation) DeepCopyInto

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

type TargetTrackingConfigurationParameters

type TargetTrackingConfigurationParameters struct {

	// +kubebuilder:validation:Optional
	CustomizedScalingMetricSpecification []CustomizedScalingMetricSpecificationParameters `json:"customizedScalingMetricSpecification,omitempty" tf:"customized_scaling_metric_specification,omitempty"`

	// +kubebuilder:validation:Optional
	DisableScaleIn *bool `json:"disableScaleIn,omitempty" tf:"disable_scale_in,omitempty"`

	// +kubebuilder:validation:Optional
	EstimatedInstanceWarmup *int64 `json:"estimatedInstanceWarmup,omitempty" tf:"estimated_instance_warmup,omitempty"`

	// +kubebuilder:validation:Optional
	PredefinedScalingMetricSpecification []PredefinedScalingMetricSpecificationParameters `json:"predefinedScalingMetricSpecification,omitempty" tf:"predefined_scaling_metric_specification,omitempty"`

	// +kubebuilder:validation:Optional
	ScaleInCooldown *int64 `json:"scaleInCooldown,omitempty" tf:"scale_in_cooldown,omitempty"`

	// +kubebuilder:validation:Optional
	ScaleOutCooldown *int64 `json:"scaleOutCooldown,omitempty" tf:"scale_out_cooldown,omitempty"`

	// +kubebuilder:validation:Required
	TargetValue *float64 `json:"targetValue" tf:"target_value,omitempty"`
}

func (*TargetTrackingConfigurationParameters) DeepCopy

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

func (*TargetTrackingConfigurationParameters) DeepCopyInto

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