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=dlm.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: dlm.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 LifecyclePolicy

type LifecyclePolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LifecyclePolicySpec   `json:"spec,omitempty"`
	Status            LifecyclePolicyStatus `json:"status,omitempty"`
}

func (*LifecyclePolicy) DeepCopy

func (in *LifecyclePolicy) DeepCopy() *LifecyclePolicy

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

func (*LifecyclePolicy) DeepCopyInto

func (in *LifecyclePolicy) DeepCopyInto(out *LifecyclePolicy)

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

func (*LifecyclePolicy) DeepCopyObject

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

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

func (*LifecyclePolicy) SetupWebhookWithManager

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

func (*LifecyclePolicy) ValidateCreate

func (r *LifecyclePolicy) ValidateCreate() error

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

func (*LifecyclePolicy) ValidateDelete

func (r *LifecyclePolicy) ValidateDelete() error

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

func (*LifecyclePolicy) ValidateUpdate

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

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

type LifecyclePolicyList

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

LifecyclePolicyList is a list of LifecyclePolicys

func (*LifecyclePolicyList) DeepCopy

func (in *LifecyclePolicyList) DeepCopy() *LifecyclePolicyList

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

func (*LifecyclePolicyList) DeepCopyInto

func (in *LifecyclePolicyList) DeepCopyInto(out *LifecyclePolicyList)

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

func (*LifecyclePolicyList) DeepCopyObject

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

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

type LifecyclePolicySpec

type LifecyclePolicySpec struct {
	State *LifecyclePolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource LifecyclePolicySpecResource `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 (*LifecyclePolicySpec) DeepCopy

func (in *LifecyclePolicySpec) DeepCopy() *LifecyclePolicySpec

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

func (*LifecyclePolicySpec) DeepCopyInto

func (in *LifecyclePolicySpec) DeepCopyInto(out *LifecyclePolicySpec)

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

type LifecyclePolicySpecPolicyDetails

type LifecyclePolicySpecPolicyDetails struct {
	ResourceTypes []string                                   `json:"resourceTypes" tf:"resource_types"`
	Schedule      []LifecyclePolicySpecPolicyDetailsSchedule `json:"schedule" tf:"schedule"`
	TargetTags    *map[string]string                         `json:"targetTags" tf:"target_tags"`
}

func (*LifecyclePolicySpecPolicyDetails) DeepCopy

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

func (*LifecyclePolicySpecPolicyDetails) DeepCopyInto

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

type LifecyclePolicySpecPolicyDetailsCodec

type LifecyclePolicySpecPolicyDetailsCodec struct {
}

+k8s:deepcopy-gen=false

func (LifecyclePolicySpecPolicyDetailsCodec) Decode

func (LifecyclePolicySpecPolicyDetailsCodec) Encode

func (LifecyclePolicySpecPolicyDetailsCodec) IsEmpty

type LifecyclePolicySpecPolicyDetailsSchedule

type LifecyclePolicySpecPolicyDetailsSchedule struct {
	// +optional
	CopyTags   *bool                                               `json:"copyTags,omitempty" tf:"copy_tags"`
	CreateRule *LifecyclePolicySpecPolicyDetailsScheduleCreateRule `json:"createRule" tf:"create_rule"`
	// +optional
	// +kubebuilder:validation:MaxItems=3
	CrossRegionCopyRule []LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRule `json:"crossRegionCopyRule,omitempty" tf:"cross_region_copy_rule"`
	Name                *string                                                       `json:"name" tf:"name"`
	RetainRule          *LifecyclePolicySpecPolicyDetailsScheduleRetainRule           `json:"retainRule" tf:"retain_rule"`
	// +optional
	TagsToAdd *map[string]string `json:"tagsToAdd,omitempty" tf:"tags_to_add"`
}

func (*LifecyclePolicySpecPolicyDetailsSchedule) DeepCopy

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

func (*LifecyclePolicySpecPolicyDetailsSchedule) DeepCopyInto

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

type LifecyclePolicySpecPolicyDetailsScheduleCreateRule

type LifecyclePolicySpecPolicyDetailsScheduleCreateRule struct {
	Interval *int64 `json:"interval" tf:"interval"`
	// +optional
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit"`
	// +optional
	Times []string `json:"times,omitempty" tf:"times"`
}

func (*LifecyclePolicySpecPolicyDetailsScheduleCreateRule) DeepCopy

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

func (*LifecyclePolicySpecPolicyDetailsScheduleCreateRule) DeepCopyInto

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

type LifecyclePolicySpecPolicyDetailsScheduleCreateRuleCodec

type LifecyclePolicySpecPolicyDetailsScheduleCreateRuleCodec struct {
}

+k8s:deepcopy-gen=false

func (LifecyclePolicySpecPolicyDetailsScheduleCreateRuleCodec) Decode

func (LifecyclePolicySpecPolicyDetailsScheduleCreateRuleCodec) Encode

func (LifecyclePolicySpecPolicyDetailsScheduleCreateRuleCodec) IsEmpty

type LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRule added in v0.5.0

type LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRule struct {
	// +optional
	CmkArn *string `json:"cmkArn,omitempty" tf:"cmk_arn"`
	// +optional
	CopyTags *bool `json:"copyTags,omitempty" tf:"copy_tags"`
	// +optional
	DeprecateRule *LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule `json:"deprecateRule,omitempty" tf:"deprecate_rule"`
	Encrypted     *bool                                                                     `json:"encrypted" tf:"encrypted"`
	// +optional
	RetainRule *LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleRetainRule `json:"retainRule,omitempty" tf:"retain_rule"`
	Target     *string                                                                `json:"target" tf:"target"`
}

func (*LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRule) DeepCopy added in v0.5.0

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

func (*LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRule) DeepCopyInto added in v0.5.0

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

type LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule added in v0.5.0

type LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule struct {
	Interval     *int64  `json:"interval" tf:"interval"`
	IntervalUnit *string `json:"intervalUnit" tf:"interval_unit"`
}

func (*LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule) DeepCopy added in v0.5.0

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

func (*LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule) DeepCopyInto added in v0.5.0

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

type LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleCodec added in v0.5.0

type LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleCodec struct {
}

+k8s:deepcopy-gen=false

func (LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleCodec) Decode added in v0.5.0

func (LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleCodec) Encode added in v0.5.0

func (LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleCodec) IsEmpty added in v0.5.0

type LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleRetainRule added in v0.5.0

type LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleRetainRule struct {
	Interval     *int64  `json:"interval" tf:"interval"`
	IntervalUnit *string `json:"intervalUnit" tf:"interval_unit"`
}

func (*LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleRetainRule) DeepCopy added in v0.5.0

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

func (*LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleRetainRule) DeepCopyInto added in v0.5.0

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

type LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleRetainRuleCodec added in v0.5.0

type LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleRetainRuleCodec struct {
}

+k8s:deepcopy-gen=false

func (LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleRetainRuleCodec) Decode added in v0.5.0

func (LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleRetainRuleCodec) Encode added in v0.5.0

func (LifecyclePolicySpecPolicyDetailsScheduleCrossRegionCopyRuleRetainRuleCodec) IsEmpty added in v0.5.0

type LifecyclePolicySpecPolicyDetailsScheduleRetainRule

type LifecyclePolicySpecPolicyDetailsScheduleRetainRule struct {
	Count *int64 `json:"count" tf:"count"`
}

func (*LifecyclePolicySpecPolicyDetailsScheduleRetainRule) DeepCopy

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

func (*LifecyclePolicySpecPolicyDetailsScheduleRetainRule) DeepCopyInto

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

type LifecyclePolicySpecPolicyDetailsScheduleRetainRuleCodec

type LifecyclePolicySpecPolicyDetailsScheduleRetainRuleCodec struct {
}

+k8s:deepcopy-gen=false

func (LifecyclePolicySpecPolicyDetailsScheduleRetainRuleCodec) Decode

func (LifecyclePolicySpecPolicyDetailsScheduleRetainRuleCodec) Encode

func (LifecyclePolicySpecPolicyDetailsScheduleRetainRuleCodec) IsEmpty

type LifecyclePolicySpecResource

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

	// +optional
	Arn              *string                           `json:"arn,omitempty" tf:"arn"`
	Description      *string                           `json:"description" tf:"description"`
	ExecutionRoleArn *string                           `json:"executionRoleArn" tf:"execution_role_arn"`
	PolicyDetails    *LifecyclePolicySpecPolicyDetails `json:"policyDetails" tf:"policy_details"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*LifecyclePolicySpecResource) DeepCopy

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

func (*LifecyclePolicySpecResource) DeepCopyInto

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

type LifecyclePolicyStatus

type LifecyclePolicyStatus 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 (*LifecyclePolicyStatus) DeepCopy

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

func (*LifecyclePolicyStatus) DeepCopyInto

func (in *LifecyclePolicyStatus) DeepCopyInto(out *LifecyclePolicyStatus)

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