v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=appautoscaling.aws.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: appautoscaling.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Policy

type Policy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicySpec   `json:"spec,omitempty"`
	Status            PolicyStatus `json:"status,omitempty"`
}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) SetupWebhookWithManager

func (r *Policy) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Policy) ValidateCreate

func (r *Policy) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Policy) ValidateDelete

func (r *Policy) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Policy) ValidateUpdate

func (r *Policy) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PolicyList

type PolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Policy CRD objects
	Items []Policy `json:"items,omitempty"`
}

PolicyList is a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

type PolicySpec

type PolicySpec struct {
	State *PolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource PolicySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

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

type PolicySpecResource

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

	// +optional
	Arn  *string `json:"arn,omitempty" tf:"arn"`
	Name *string `json:"name" tf:"name"`
	// +optional
	PolicyType        *string `json:"policyType,omitempty" tf:"policy_type"`
	ResourceID        *string `json:"resourceID" tf:"resource_id"`
	ScalableDimension *string `json:"scalableDimension" tf:"scalable_dimension"`
	ServiceNamespace  *string `json:"serviceNamespace" tf:"service_namespace"`
	// +optional
	StepScalingPolicyConfiguration *PolicySpecStepScalingPolicyConfiguration `json:"stepScalingPolicyConfiguration,omitempty" tf:"step_scaling_policy_configuration"`
	// +optional
	TargetTrackingScalingPolicyConfiguration *PolicySpecTargetTrackingScalingPolicyConfiguration `json:"targetTrackingScalingPolicyConfiguration,omitempty" tf:"target_tracking_scaling_policy_configuration"`
}

func (*PolicySpecResource) DeepCopy

func (in *PolicySpecResource) DeepCopy() *PolicySpecResource

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

func (*PolicySpecResource) DeepCopyInto

func (in *PolicySpecResource) DeepCopyInto(out *PolicySpecResource)

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

type PolicySpecStepScalingPolicyConfiguration

type PolicySpecStepScalingPolicyConfiguration struct {
	// +optional
	AdjustmentType *string `json:"adjustmentType,omitempty" tf:"adjustment_type"`
	// +optional
	Cooldown *int64 `json:"cooldown,omitempty" tf:"cooldown"`
	// +optional
	MetricAggregationType *string `json:"metricAggregationType,omitempty" tf:"metric_aggregation_type"`
	// +optional
	MinAdjustmentMagnitude *int64 `json:"minAdjustmentMagnitude,omitempty" tf:"min_adjustment_magnitude"`
	// +optional
	StepAdjustment []PolicySpecStepScalingPolicyConfigurationStepAdjustment `json:"stepAdjustment,omitempty" tf:"step_adjustment"`
}

func (*PolicySpecStepScalingPolicyConfiguration) DeepCopy

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

func (*PolicySpecStepScalingPolicyConfiguration) DeepCopyInto

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

type PolicySpecStepScalingPolicyConfigurationCodec

type PolicySpecStepScalingPolicyConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicySpecStepScalingPolicyConfigurationCodec) Decode

func (PolicySpecStepScalingPolicyConfigurationCodec) Encode

func (PolicySpecStepScalingPolicyConfigurationCodec) IsEmpty

type PolicySpecStepScalingPolicyConfigurationStepAdjustment

type PolicySpecStepScalingPolicyConfigurationStepAdjustment struct {
	// +optional
	MetricIntervalLowerBound *string `json:"metricIntervalLowerBound,omitempty" tf:"metric_interval_lower_bound"`
	// +optional
	MetricIntervalUpperBound *string `json:"metricIntervalUpperBound,omitempty" tf:"metric_interval_upper_bound"`
	ScalingAdjustment        *int64  `json:"scalingAdjustment" tf:"scaling_adjustment"`
}

func (*PolicySpecStepScalingPolicyConfigurationStepAdjustment) DeepCopy

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

func (*PolicySpecStepScalingPolicyConfigurationStepAdjustment) DeepCopyInto

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

type PolicySpecTargetTrackingScalingPolicyConfiguration

type PolicySpecTargetTrackingScalingPolicyConfiguration struct {
	// +optional
	CustomizedMetricSpecification *PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification `json:"customizedMetricSpecification,omitempty" tf:"customized_metric_specification"`
	// +optional
	DisableScaleIn *bool `json:"disableScaleIn,omitempty" tf:"disable_scale_in"`
	// +optional
	PredefinedMetricSpecification *PolicySpecTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification `json:"predefinedMetricSpecification,omitempty" tf:"predefined_metric_specification"`
	// +optional
	ScaleInCooldown *int64 `json:"scaleInCooldown,omitempty" tf:"scale_in_cooldown"`
	// +optional
	ScaleOutCooldown *int64   `json:"scaleOutCooldown,omitempty" tf:"scale_out_cooldown"`
	TargetValue      *float64 `json:"targetValue" tf:"target_value"`
}

func (*PolicySpecTargetTrackingScalingPolicyConfiguration) DeepCopy

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

func (*PolicySpecTargetTrackingScalingPolicyConfiguration) DeepCopyInto

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

type PolicySpecTargetTrackingScalingPolicyConfigurationCodec

type PolicySpecTargetTrackingScalingPolicyConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicySpecTargetTrackingScalingPolicyConfigurationCodec) Decode

func (PolicySpecTargetTrackingScalingPolicyConfigurationCodec) Encode

func (PolicySpecTargetTrackingScalingPolicyConfigurationCodec) IsEmpty

type PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification

type PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification struct {
	// +optional
	Dimensions []PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensions `json:"dimensions,omitempty" tf:"dimensions"`
	MetricName *string                                                                                     `json:"metricName" tf:"metric_name"`
	Namespace  *string                                                                                     `json:"namespace" tf:"namespace"`
	Statistic  *string                                                                                     `json:"statistic" tf:"statistic"`
	// +optional
	Unit *string `json:"unit,omitempty" tf:"unit"`
}

func (*PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification) DeepCopy

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

func (*PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification) DeepCopyInto

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

type PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationCodec

type PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationCodec) Decode

func (PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationCodec) Encode

func (PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationCodec) IsEmpty

type PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensions

type PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensions struct {
	Name  *string `json:"name" tf:"name"`
	Value *string `json:"value" tf:"value"`
}

func (*PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensions) DeepCopy

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

func (*PolicySpecTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensions) DeepCopyInto

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

type PolicySpecTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification

type PolicySpecTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification struct {
	PredefinedMetricType *string `json:"predefinedMetricType" tf:"predefined_metric_type"`
	// +optional
	ResourceLabel *string `json:"resourceLabel,omitempty" tf:"resource_label"`
}

func (*PolicySpecTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification) DeepCopy

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

func (*PolicySpecTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification) DeepCopyInto

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

type PolicySpecTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationCodec

type PolicySpecTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicySpecTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationCodec) Decode

func (PolicySpecTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationCodec) Encode

func (PolicySpecTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationCodec) IsEmpty

type PolicyStatus

type PolicyStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*PolicyStatus) DeepCopy

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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

type ScheduledAction

type ScheduledAction struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScheduledActionSpec   `json:"spec,omitempty"`
	Status            ScheduledActionStatus `json:"status,omitempty"`
}

func (*ScheduledAction) DeepCopy

func (in *ScheduledAction) DeepCopy() *ScheduledAction

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

func (*ScheduledAction) DeepCopyInto

func (in *ScheduledAction) DeepCopyInto(out *ScheduledAction)

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

func (*ScheduledAction) DeepCopyObject

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

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

func (*ScheduledAction) SetupWebhookWithManager

func (r *ScheduledAction) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ScheduledAction) ValidateCreate

func (r *ScheduledAction) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ScheduledAction) ValidateDelete

func (r *ScheduledAction) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ScheduledAction) ValidateUpdate

func (r *ScheduledAction) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ScheduledActionList

type ScheduledActionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ScheduledAction CRD objects
	Items []ScheduledAction `json:"items,omitempty"`
}

ScheduledActionList is a list of ScheduledActions

func (*ScheduledActionList) DeepCopy

func (in *ScheduledActionList) DeepCopy() *ScheduledActionList

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

func (*ScheduledActionList) DeepCopyInto

func (in *ScheduledActionList) DeepCopyInto(out *ScheduledActionList)

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

func (*ScheduledActionList) DeepCopyObject

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

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

type ScheduledActionSpec

type ScheduledActionSpec struct {
	State *ScheduledActionSpecResource `json:"state,omitempty" tf:"-"`

	Resource ScheduledActionSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ScheduledActionSpec) DeepCopy

func (in *ScheduledActionSpec) DeepCopy() *ScheduledActionSpec

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

func (*ScheduledActionSpec) DeepCopyInto

func (in *ScheduledActionSpec) DeepCopyInto(out *ScheduledActionSpec)

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

type ScheduledActionSpecResource

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

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	EndTime              *string                                  `json:"endTime,omitempty" tf:"end_time"`
	Name                 *string                                  `json:"name" tf:"name"`
	ResourceID           *string                                  `json:"resourceID" tf:"resource_id"`
	ScalableDimension    *string                                  `json:"scalableDimension" tf:"scalable_dimension"`
	ScalableTargetAction *ScheduledActionSpecScalableTargetAction `json:"scalableTargetAction" tf:"scalable_target_action"`
	Schedule             *string                                  `json:"schedule" tf:"schedule"`
	ServiceNamespace     *string                                  `json:"serviceNamespace" tf:"service_namespace"`
	// +optional
	StartTime *string `json:"startTime,omitempty" tf:"start_time"`
	// +optional
	Timezone *string `json:"timezone,omitempty" tf:"timezone"`
}

func (*ScheduledActionSpecResource) DeepCopy

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

func (*ScheduledActionSpecResource) DeepCopyInto

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

type ScheduledActionSpecScalableTargetAction

type ScheduledActionSpecScalableTargetAction struct {
	// +optional
	MaxCapacity *string `json:"maxCapacity,omitempty" tf:"max_capacity"`
	// +optional
	MinCapacity *string `json:"minCapacity,omitempty" tf:"min_capacity"`
}

func (*ScheduledActionSpecScalableTargetAction) DeepCopy

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

func (*ScheduledActionSpecScalableTargetAction) DeepCopyInto

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

type ScheduledActionSpecScalableTargetActionCodec

type ScheduledActionSpecScalableTargetActionCodec struct {
}

+k8s:deepcopy-gen=false

func (ScheduledActionSpecScalableTargetActionCodec) Decode

func (ScheduledActionSpecScalableTargetActionCodec) Encode

func (ScheduledActionSpecScalableTargetActionCodec) IsEmpty

type ScheduledActionStatus

type ScheduledActionStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ScheduledActionStatus) DeepCopy

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

func (*ScheduledActionStatus) DeepCopyInto

func (in *ScheduledActionStatus) DeepCopyInto(out *ScheduledActionStatus)

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

type Target

type Target struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TargetSpec   `json:"spec,omitempty"`
	Status            TargetStatus `json:"status,omitempty"`
}

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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

func (*Target) DeepCopyObject

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

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

func (*Target) SetupWebhookWithManager

func (r *Target) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Target) ValidateCreate

func (r *Target) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Target) ValidateDelete

func (r *Target) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Target) ValidateUpdate

func (r *Target) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type TargetList

type TargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Target CRD objects
	Items []Target `json:"items,omitempty"`
}

TargetList is a list of Targets

func (*TargetList) DeepCopy

func (in *TargetList) DeepCopy() *TargetList

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

func (*TargetList) DeepCopyInto

func (in *TargetList) DeepCopyInto(out *TargetList)

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

func (*TargetList) DeepCopyObject

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

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

type TargetSpec

type TargetSpec struct {
	State *TargetSpecResource `json:"state,omitempty" tf:"-"`

	Resource TargetSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*TargetSpec) DeepCopy

func (in *TargetSpec) DeepCopy() *TargetSpec

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

func (*TargetSpec) DeepCopyInto

func (in *TargetSpec) DeepCopyInto(out *TargetSpec)

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

type TargetSpecResource

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

	MaxCapacity *int64  `json:"maxCapacity" tf:"max_capacity"`
	MinCapacity *int64  `json:"minCapacity" tf:"min_capacity"`
	ResourceID  *string `json:"resourceID" tf:"resource_id"`
	// +optional
	RoleArn           *string `json:"roleArn,omitempty" tf:"role_arn"`
	ScalableDimension *string `json:"scalableDimension" tf:"scalable_dimension"`
	ServiceNamespace  *string `json:"serviceNamespace" tf:"service_namespace"`
}

func (*TargetSpecResource) DeepCopy

func (in *TargetSpecResource) DeepCopy() *TargetSpecResource

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

func (*TargetSpecResource) DeepCopyInto

func (in *TargetSpecResource) DeepCopyInto(out *TargetSpecResource)

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

type TargetStatus

type TargetStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*TargetStatus) DeepCopy

func (in *TargetStatus) DeepCopy() *TargetStatus

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

func (*TargetStatus) DeepCopyInto

func (in *TargetStatus) DeepCopyInto(out *TargetStatus)

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