v1alpha1

package
v0.0.0-...-bf43ebf Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Group   = "ecr-lifecycle-policy.terraform-provider-aws.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Kind                  = "EcrLifecyclePolicy"
	GroupKind             = schema.GroupKind{Group: Group, Kind: Kind}.String()
	KindAPIVersion        = Kind + "." + SchemeGroupVersion.String()
	GroupVersionKind      = SchemeGroupVersion.WithKind(Kind)
	TerraformResourceName = "aws_ecr_lifecycle_policy"
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}
)

Functions

func DecodeEcrLifecyclePolicy

func DecodeEcrLifecyclePolicy(prev *EcrLifecyclePolicy, ctyValue cty.Value) (resource.Managed, error)

func DecodeEcrLifecyclePolicy_Policy

func DecodeEcrLifecyclePolicy_Policy(p *EcrLifecyclePolicyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEcrLifecyclePolicy_RegistryId

func DecodeEcrLifecyclePolicy_RegistryId(p *EcrLifecyclePolicyObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeEcrLifecyclePolicy_Repository

func DecodeEcrLifecyclePolicy_Repository(p *EcrLifecyclePolicyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeEcrLifecyclePolicy

func EncodeEcrLifecyclePolicy(r EcrLifecyclePolicy) cty.Value

func EncodeEcrLifecyclePolicy_Policy

func EncodeEcrLifecyclePolicy_Policy(p EcrLifecyclePolicyParameters, vals map[string]cty.Value)

func EncodeEcrLifecyclePolicy_RegistryId

func EncodeEcrLifecyclePolicy_RegistryId(p EcrLifecyclePolicyObservation, vals map[string]cty.Value)

func EncodeEcrLifecyclePolicy_Repository

func EncodeEcrLifecyclePolicy_Repository(p EcrLifecyclePolicyParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeEcrLifecyclePolicy_Policy

func MergeEcrLifecyclePolicy_Policy(k *EcrLifecyclePolicyParameters, p *EcrLifecyclePolicyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeEcrLifecyclePolicy_RegistryId

func MergeEcrLifecyclePolicy_RegistryId(k *EcrLifecyclePolicyObservation, p *EcrLifecyclePolicyObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeEcrLifecyclePolicy_Repository

func MergeEcrLifecyclePolicy_Repository(k *EcrLifecyclePolicyParameters, p *EcrLifecyclePolicyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

Types

type EcrLifecyclePolicy

type EcrLifecyclePolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EcrLifecyclePolicySpec   `json:"spec"`
	Status EcrLifecyclePolicyStatus `json:"status,omitempty"`
}

EcrLifecyclePolicy is a managed resource representing a resource mirrored in the cloud +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*EcrLifecyclePolicy) DeepCopy

func (in *EcrLifecyclePolicy) DeepCopy() *EcrLifecyclePolicy

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

func (*EcrLifecyclePolicy) DeepCopyInto

func (in *EcrLifecyclePolicy) DeepCopyInto(out *EcrLifecyclePolicy)

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

func (*EcrLifecyclePolicy) DeepCopyObject

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

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

func (*EcrLifecyclePolicy) GetCondition

GetCondition of this EcrLifecyclePolicy.

func (*EcrLifecyclePolicy) GetDeletionPolicy

func (mg *EcrLifecyclePolicy) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this EcrLifecyclePolicy.

func (*EcrLifecyclePolicy) GetProviderConfigReference

func (mg *EcrLifecyclePolicy) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this EcrLifecyclePolicy.

func (*EcrLifecyclePolicy) GetProviderReference

func (mg *EcrLifecyclePolicy) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this EcrLifecyclePolicy. Deprecated: Use GetProviderConfigReference.

func (*EcrLifecyclePolicy) GetWriteConnectionSecretToReference

func (mg *EcrLifecyclePolicy) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this EcrLifecyclePolicy.

func (*EcrLifecyclePolicy) SetConditions

func (mg *EcrLifecyclePolicy) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this EcrLifecyclePolicy.

func (*EcrLifecyclePolicy) SetDeletionPolicy

func (mg *EcrLifecyclePolicy) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this EcrLifecyclePolicy.

func (*EcrLifecyclePolicy) SetProviderConfigReference

func (mg *EcrLifecyclePolicy) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this EcrLifecyclePolicy.

func (*EcrLifecyclePolicy) SetProviderReference

func (mg *EcrLifecyclePolicy) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this EcrLifecyclePolicy. Deprecated: Use SetProviderConfigReference.

func (*EcrLifecyclePolicy) SetWriteConnectionSecretToReference

func (mg *EcrLifecyclePolicy) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this EcrLifecyclePolicy.

type EcrLifecyclePolicyList

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

EcrLifecyclePolicy contains a list of EcrLifecyclePolicyList

func (*EcrLifecyclePolicyList) DeepCopy

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

func (*EcrLifecyclePolicyList) DeepCopyInto

func (in *EcrLifecyclePolicyList) DeepCopyInto(out *EcrLifecyclePolicyList)

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

func (*EcrLifecyclePolicyList) DeepCopyObject

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

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

func (*EcrLifecyclePolicyList) GetItems

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

GetItems of this EcrLifecyclePolicyList.

type EcrLifecyclePolicyObservation

type EcrLifecyclePolicyObservation struct {
	RegistryId string `json:"registry_id"`
}

A EcrLifecyclePolicyObservation records the observed state of a EcrLifecyclePolicy

func (*EcrLifecyclePolicyObservation) DeepCopy

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

func (*EcrLifecyclePolicyObservation) DeepCopyInto

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

type EcrLifecyclePolicyParameters

type EcrLifecyclePolicyParameters struct {
	Policy     string `json:"policy"`
	Repository string `json:"repository"`
}

A EcrLifecyclePolicyParameters defines the desired state of a EcrLifecyclePolicy

func (*EcrLifecyclePolicyParameters) DeepCopy

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

func (*EcrLifecyclePolicyParameters) DeepCopyInto

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

type EcrLifecyclePolicySpec

type EcrLifecyclePolicySpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  EcrLifecyclePolicyParameters `json:"forProvider"`
}

A EcrLifecyclePolicySpec defines the desired state of a EcrLifecyclePolicy

func (*EcrLifecyclePolicySpec) DeepCopy

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

func (*EcrLifecyclePolicySpec) DeepCopyInto

func (in *EcrLifecyclePolicySpec) DeepCopyInto(out *EcrLifecyclePolicySpec)

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

type EcrLifecyclePolicyStatus

type EcrLifecyclePolicyStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     EcrLifecyclePolicyObservation `json:"atProvider"`
}

A EcrLifecyclePolicyStatus defines the observed state of a EcrLifecyclePolicy

func (*EcrLifecyclePolicyStatus) DeepCopy

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

func (*EcrLifecyclePolicyStatus) DeepCopyInto

func (in *EcrLifecyclePolicyStatus) DeepCopyInto(out *EcrLifecyclePolicyStatus)

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