v1beta1

package
v0.40.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=ecr.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "ecr.aws.upbound.io"
	CRDVersion = "v1beta1"
)

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 (
	LifecyclePolicy_Kind             = "LifecyclePolicy"
	LifecyclePolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LifecyclePolicy_Kind}.String()
	LifecyclePolicy_KindAPIVersion   = LifecyclePolicy_Kind + "." + CRDGroupVersion.String()
	LifecyclePolicy_GroupVersionKind = CRDGroupVersion.WithKind(LifecyclePolicy_Kind)
)

Repository type metadata.

View Source
var (
	PullThroughCacheRule_Kind             = "PullThroughCacheRule"
	PullThroughCacheRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PullThroughCacheRule_Kind}.String()
	PullThroughCacheRule_KindAPIVersion   = PullThroughCacheRule_Kind + "." + CRDGroupVersion.String()
	PullThroughCacheRule_GroupVersionKind = CRDGroupVersion.WithKind(PullThroughCacheRule_Kind)
)

Repository type metadata.

View Source
var (
	RegistryPolicy_Kind             = "RegistryPolicy"
	RegistryPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RegistryPolicy_Kind}.String()
	RegistryPolicy_KindAPIVersion   = RegistryPolicy_Kind + "." + CRDGroupVersion.String()
	RegistryPolicy_GroupVersionKind = CRDGroupVersion.WithKind(RegistryPolicy_Kind)
)

Repository type metadata.

View Source
var (
	RegistryScanningConfiguration_Kind             = "RegistryScanningConfiguration"
	RegistryScanningConfiguration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RegistryScanningConfiguration_Kind}.String()
	RegistryScanningConfiguration_KindAPIVersion   = RegistryScanningConfiguration_Kind + "." + CRDGroupVersion.String()
	RegistryScanningConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(RegistryScanningConfiguration_Kind)
)

Repository type metadata.

View Source
var (
	ReplicationConfiguration_Kind             = "ReplicationConfiguration"
	ReplicationConfiguration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ReplicationConfiguration_Kind}.String()
	ReplicationConfiguration_KindAPIVersion   = ReplicationConfiguration_Kind + "." + CRDGroupVersion.String()
	ReplicationConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(ReplicationConfiguration_Kind)
)

Repository type metadata.

View Source
var (
	Repository_Kind             = "Repository"
	Repository_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Repository_Kind}.String()
	Repository_KindAPIVersion   = Repository_Kind + "." + CRDGroupVersion.String()
	Repository_GroupVersionKind = CRDGroupVersion.WithKind(Repository_Kind)
)

Repository type metadata.

View Source
var (
	RepositoryPolicy_Kind             = "RepositoryPolicy"
	RepositoryPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RepositoryPolicy_Kind}.String()
	RepositoryPolicy_KindAPIVersion   = RepositoryPolicy_Kind + "." + CRDGroupVersion.String()
	RepositoryPolicy_GroupVersionKind = CRDGroupVersion.WithKind(RepositoryPolicy_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DestinationInitParameters added in v0.38.0

type DestinationInitParameters struct {

	// The account ID of the destination registry to replicate to.
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`
}

func (*DestinationInitParameters) DeepCopy added in v0.38.0

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

func (*DestinationInitParameters) DeepCopyInto added in v0.38.0

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

type DestinationObservation

type DestinationObservation struct {

	// A Region to replicate to.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The account ID of the destination registry to replicate to.
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`
}

func (*DestinationObservation) DeepCopy

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

func (*DestinationObservation) DeepCopyInto

func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation)

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

type DestinationParameters

type DestinationParameters struct {

	// A Region to replicate to.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// The account ID of the destination registry to replicate to.
	// +kubebuilder:validation:Optional
	RegistryID *string `json:"registryId" tf:"registry_id,omitempty"`
}

func (*DestinationParameters) DeepCopy

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

func (*DestinationParameters) DeepCopyInto

func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters)

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

type EncryptionConfigurationInitParameters added in v0.38.0

type EncryptionConfigurationInitParameters struct {

	// The encryption type to use for the repository. Valid values are AES256 or KMS. Defaults to AES256.
	EncryptionType *string `json:"encryptionType,omitempty" tf:"encryption_type,omitempty"`
}

func (*EncryptionConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*EncryptionConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type EncryptionConfigurationObservation

type EncryptionConfigurationObservation struct {

	// The encryption type to use for the repository. Valid values are AES256 or KMS. Defaults to AES256.
	EncryptionType *string `json:"encryptionType,omitempty" tf:"encryption_type,omitempty"`

	// The ARN of the KMS key to use when encryption_type is KMS. If not specified, uses the default AWS managed key for ECR.
	KMSKey *string `json:"kmsKey,omitempty" tf:"kms_key,omitempty"`
}

func (*EncryptionConfigurationObservation) DeepCopy

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

func (*EncryptionConfigurationObservation) DeepCopyInto

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

type EncryptionConfigurationParameters

type EncryptionConfigurationParameters struct {

	// The encryption type to use for the repository. Valid values are AES256 or KMS. Defaults to AES256.
	// +kubebuilder:validation:Optional
	EncryptionType *string `json:"encryptionType,omitempty" tf:"encryption_type,omitempty"`

	// The ARN of the KMS key to use when encryption_type is KMS. If not specified, uses the default AWS managed key for ECR.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	KMSKey *string `json:"kmsKey,omitempty" tf:"kms_key,omitempty"`

	// Reference to a Key in kms to populate kmsKey.
	// +kubebuilder:validation:Optional
	KMSKeyRef *v1.Reference `json:"kmsKeyRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate kmsKey.
	// +kubebuilder:validation:Optional
	KMSKeySelector *v1.Selector `json:"kmsKeySelector,omitempty" tf:"-"`
}

func (*EncryptionConfigurationParameters) DeepCopy

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

func (*EncryptionConfigurationParameters) DeepCopyInto

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

type ImageScanningConfigurationInitParameters added in v0.38.0

type ImageScanningConfigurationInitParameters struct {

	// Indicates whether images are scanned after being pushed to the repository (true) or not scanned (false).
	ScanOnPush *bool `json:"scanOnPush,omitempty" tf:"scan_on_push,omitempty"`
}

func (*ImageScanningConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*ImageScanningConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type ImageScanningConfigurationObservation

type ImageScanningConfigurationObservation struct {

	// Indicates whether images are scanned after being pushed to the repository (true) or not scanned (false).
	ScanOnPush *bool `json:"scanOnPush,omitempty" tf:"scan_on_push,omitempty"`
}

func (*ImageScanningConfigurationObservation) DeepCopy

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

func (*ImageScanningConfigurationObservation) DeepCopyInto

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

type ImageScanningConfigurationParameters

type ImageScanningConfigurationParameters struct {

	// Indicates whether images are scanned after being pushed to the repository (true) or not scanned (false).
	// +kubebuilder:validation:Optional
	ScanOnPush *bool `json:"scanOnPush" tf:"scan_on_push,omitempty"`
}

func (*ImageScanningConfigurationParameters) DeepCopy

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

func (*ImageScanningConfigurationParameters) DeepCopyInto

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

type LifecyclePolicy

type LifecyclePolicy 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.policy) || has(self.initProvider.policy)",message="policy is a required parameter"
	Spec   LifecyclePolicySpec   `json:"spec"`
	Status LifecyclePolicyStatus `json:"status,omitempty"`
}

LifecyclePolicy is the Schema for the LifecyclePolicys API. Manages an ECR repository lifecycle policy. +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,aws}

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) GetCondition

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

GetCondition of this LifecyclePolicy.

func (*LifecyclePolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LifecyclePolicy

func (*LifecyclePolicy) GetDeletionPolicy

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

GetDeletionPolicy of this LifecyclePolicy.

func (*LifecyclePolicy) GetID

func (tr *LifecyclePolicy) GetID() string

GetID returns ID of underlying Terraform resource of this LifecyclePolicy

func (*LifecyclePolicy) GetInitParameters added in v0.38.0

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

GetInitParameters of this LifecyclePolicy

func (*LifecyclePolicy) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this LifecyclePolicy.

func (*LifecyclePolicy) GetObservation

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

GetObservation of this LifecyclePolicy

func (*LifecyclePolicy) GetParameters

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

GetParameters of this LifecyclePolicy

func (*LifecyclePolicy) GetProviderConfigReference

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

GetProviderConfigReference of this LifecyclePolicy.

func (*LifecyclePolicy) GetProviderReference

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

GetProviderReference of this LifecyclePolicy. Deprecated: Use GetProviderConfigReference.

func (*LifecyclePolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LifecyclePolicy.

func (*LifecyclePolicy) GetTerraformResourceType

func (mg *LifecyclePolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LifecyclePolicy

func (*LifecyclePolicy) GetTerraformSchemaVersion

func (tr *LifecyclePolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LifecyclePolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LifecyclePolicy.

func (*LifecyclePolicy) LateInitialize

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

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

func (*LifecyclePolicy) ResolveReferences

func (mg *LifecyclePolicy) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this LifecyclePolicy.

func (*LifecyclePolicy) SetConditions

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

SetConditions of this LifecyclePolicy.

func (*LifecyclePolicy) SetDeletionPolicy

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

SetDeletionPolicy of this LifecyclePolicy.

func (*LifecyclePolicy) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this LifecyclePolicy.

func (*LifecyclePolicy) SetObservation

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

SetObservation for this LifecyclePolicy

func (*LifecyclePolicy) SetParameters

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

SetParameters for this LifecyclePolicy

func (*LifecyclePolicy) SetProviderConfigReference

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

SetProviderConfigReference of this LifecyclePolicy.

func (*LifecyclePolicy) SetProviderReference

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

SetProviderReference of this LifecyclePolicy. Deprecated: Use SetProviderConfigReference.

func (*LifecyclePolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LifecyclePolicy.

func (*LifecyclePolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LifecyclePolicy.

type LifecyclePolicyInitParameters added in v0.38.0

type LifecyclePolicyInitParameters struct {

	// The policy document. This is a JSON formatted string. See more details about Policy Parameters in the official AWS docs.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`
}

func (*LifecyclePolicyInitParameters) DeepCopy added in v0.38.0

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

func (*LifecyclePolicyInitParameters) DeepCopyInto added in v0.38.0

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

type LifecyclePolicyList

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

LifecyclePolicyList contains 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.

func (*LifecyclePolicyList) GetItems

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

GetItems of this LifecyclePolicyList.

type LifecyclePolicyObservation

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

	// The policy document. This is a JSON formatted string. See more details about Policy Parameters in the official AWS docs.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// The registry ID where the repository was created.
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`

	// Name of the repository to apply the policy.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*LifecyclePolicyObservation) DeepCopy

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

func (*LifecyclePolicyObservation) DeepCopyInto

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

type LifecyclePolicyParameters

type LifecyclePolicyParameters struct {

	// The policy document. This is a JSON formatted string. See more details about Policy Parameters in the official AWS docs.
	// +kubebuilder:validation:Optional
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

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

	// Name of the repository to apply the policy.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ecr/v1beta1.Repository
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Reference to a Repository in ecr to populate repository.
	// +kubebuilder:validation:Optional
	RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"`

	// Selector for a Repository in ecr to populate repository.
	// +kubebuilder:validation:Optional
	RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"`
}

func (*LifecyclePolicyParameters) DeepCopy

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

func (*LifecyclePolicyParameters) DeepCopyInto

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

type LifecyclePolicySpec

type LifecyclePolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LifecyclePolicyParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 LifecyclePolicyInitParameters `json:"initProvider,omitempty"`
}

LifecyclePolicySpec defines the desired state of LifecyclePolicy

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 LifecyclePolicyStatus

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

LifecyclePolicyStatus defines the observed state of LifecyclePolicy.

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.

type PullThroughCacheRule

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

PullThroughCacheRule is the Schema for the PullThroughCacheRules API. Provides an Elastic Container Registry Pull Through Cache Rule. +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,aws}

func (*PullThroughCacheRule) DeepCopy

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

func (*PullThroughCacheRule) DeepCopyInto

func (in *PullThroughCacheRule) DeepCopyInto(out *PullThroughCacheRule)

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

func (*PullThroughCacheRule) DeepCopyObject

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

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

func (*PullThroughCacheRule) GetCondition

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

GetCondition of this PullThroughCacheRule.

func (*PullThroughCacheRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PullThroughCacheRule

func (*PullThroughCacheRule) GetDeletionPolicy

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

GetDeletionPolicy of this PullThroughCacheRule.

func (*PullThroughCacheRule) GetID

func (tr *PullThroughCacheRule) GetID() string

GetID returns ID of underlying Terraform resource of this PullThroughCacheRule

func (*PullThroughCacheRule) GetInitParameters added in v0.38.0

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

GetInitParameters of this PullThroughCacheRule

func (*PullThroughCacheRule) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this PullThroughCacheRule.

func (*PullThroughCacheRule) GetObservation

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

GetObservation of this PullThroughCacheRule

func (*PullThroughCacheRule) GetParameters

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

GetParameters of this PullThroughCacheRule

func (*PullThroughCacheRule) GetProviderConfigReference

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

GetProviderConfigReference of this PullThroughCacheRule.

func (*PullThroughCacheRule) GetProviderReference

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

GetProviderReference of this PullThroughCacheRule. Deprecated: Use GetProviderConfigReference.

func (*PullThroughCacheRule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PullThroughCacheRule.

func (*PullThroughCacheRule) GetTerraformResourceType

func (mg *PullThroughCacheRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PullThroughCacheRule

func (*PullThroughCacheRule) GetTerraformSchemaVersion

func (tr *PullThroughCacheRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PullThroughCacheRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PullThroughCacheRule.

func (*PullThroughCacheRule) LateInitialize

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

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

func (*PullThroughCacheRule) SetConditions

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

SetConditions of this PullThroughCacheRule.

func (*PullThroughCacheRule) SetDeletionPolicy

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

SetDeletionPolicy of this PullThroughCacheRule.

func (*PullThroughCacheRule) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this PullThroughCacheRule.

func (*PullThroughCacheRule) SetObservation

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

SetObservation for this PullThroughCacheRule

func (*PullThroughCacheRule) SetParameters

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

SetParameters for this PullThroughCacheRule

func (*PullThroughCacheRule) SetProviderConfigReference

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

SetProviderConfigReference of this PullThroughCacheRule.

func (*PullThroughCacheRule) SetProviderReference

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

SetProviderReference of this PullThroughCacheRule. Deprecated: Use SetProviderConfigReference.

func (*PullThroughCacheRule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PullThroughCacheRule.

func (*PullThroughCacheRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PullThroughCacheRule.

type PullThroughCacheRuleInitParameters added in v0.38.0

type PullThroughCacheRuleInitParameters struct {

	// The repository name prefix to use when caching images from the source registry.
	EcrRepositoryPrefix *string `json:"ecrRepositoryPrefix,omitempty" tf:"ecr_repository_prefix,omitempty"`

	// The registry URL of the upstream public registry to use as the source.
	UpstreamRegistryURL *string `json:"upstreamRegistryUrl,omitempty" tf:"upstream_registry_url,omitempty"`
}

func (*PullThroughCacheRuleInitParameters) DeepCopy added in v0.38.0

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

func (*PullThroughCacheRuleInitParameters) DeepCopyInto added in v0.38.0

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

type PullThroughCacheRuleList

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

PullThroughCacheRuleList contains a list of PullThroughCacheRules

func (*PullThroughCacheRuleList) DeepCopy

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

func (*PullThroughCacheRuleList) DeepCopyInto

func (in *PullThroughCacheRuleList) DeepCopyInto(out *PullThroughCacheRuleList)

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

func (*PullThroughCacheRuleList) DeepCopyObject

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

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

func (*PullThroughCacheRuleList) GetItems

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

GetItems of this PullThroughCacheRuleList.

type PullThroughCacheRuleObservation

type PullThroughCacheRuleObservation struct {

	// The repository name prefix to use when caching images from the source registry.
	EcrRepositoryPrefix *string `json:"ecrRepositoryPrefix,omitempty" tf:"ecr_repository_prefix,omitempty"`

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

	// The registry ID where the repository was created.
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`

	// The registry URL of the upstream public registry to use as the source.
	UpstreamRegistryURL *string `json:"upstreamRegistryUrl,omitempty" tf:"upstream_registry_url,omitempty"`
}

func (*PullThroughCacheRuleObservation) DeepCopy

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

func (*PullThroughCacheRuleObservation) DeepCopyInto

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

type PullThroughCacheRuleParameters

type PullThroughCacheRuleParameters struct {

	// The repository name prefix to use when caching images from the source registry.
	// +kubebuilder:validation:Optional
	EcrRepositoryPrefix *string `json:"ecrRepositoryPrefix,omitempty" tf:"ecr_repository_prefix,omitempty"`

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

	// The registry URL of the upstream public registry to use as the source.
	// +kubebuilder:validation:Optional
	UpstreamRegistryURL *string `json:"upstreamRegistryUrl,omitempty" tf:"upstream_registry_url,omitempty"`
}

func (*PullThroughCacheRuleParameters) DeepCopy

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

func (*PullThroughCacheRuleParameters) DeepCopyInto

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

type PullThroughCacheRuleSpec

type PullThroughCacheRuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PullThroughCacheRuleParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 PullThroughCacheRuleInitParameters `json:"initProvider,omitempty"`
}

PullThroughCacheRuleSpec defines the desired state of PullThroughCacheRule

func (*PullThroughCacheRuleSpec) DeepCopy

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

func (*PullThroughCacheRuleSpec) DeepCopyInto

func (in *PullThroughCacheRuleSpec) DeepCopyInto(out *PullThroughCacheRuleSpec)

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

type PullThroughCacheRuleStatus

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

PullThroughCacheRuleStatus defines the observed state of PullThroughCacheRule.

func (*PullThroughCacheRuleStatus) DeepCopy

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

func (*PullThroughCacheRuleStatus) DeepCopyInto

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

type RegistryPolicy

type RegistryPolicy 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.policy) || has(self.initProvider.policy)",message="policy is a required parameter"
	Spec   RegistryPolicySpec   `json:"spec"`
	Status RegistryPolicyStatus `json:"status,omitempty"`
}

RegistryPolicy is the Schema for the RegistryPolicys API. Provides an Elastic Container Registry Policy. +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,aws}

func (*RegistryPolicy) DeepCopy

func (in *RegistryPolicy) DeepCopy() *RegistryPolicy

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

func (*RegistryPolicy) DeepCopyInto

func (in *RegistryPolicy) DeepCopyInto(out *RegistryPolicy)

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

func (*RegistryPolicy) DeepCopyObject

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

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

func (*RegistryPolicy) GetCondition

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

GetCondition of this RegistryPolicy.

func (*RegistryPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RegistryPolicy

func (*RegistryPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this RegistryPolicy.

func (*RegistryPolicy) GetID

func (tr *RegistryPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this RegistryPolicy

func (*RegistryPolicy) GetInitParameters added in v0.38.0

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

GetInitParameters of this RegistryPolicy

func (*RegistryPolicy) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this RegistryPolicy.

func (*RegistryPolicy) GetObservation

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

GetObservation of this RegistryPolicy

func (*RegistryPolicy) GetParameters

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

GetParameters of this RegistryPolicy

func (*RegistryPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this RegistryPolicy.

func (*RegistryPolicy) GetProviderReference

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

GetProviderReference of this RegistryPolicy. Deprecated: Use GetProviderConfigReference.

func (*RegistryPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RegistryPolicy.

func (*RegistryPolicy) GetTerraformResourceType

func (mg *RegistryPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RegistryPolicy

func (*RegistryPolicy) GetTerraformSchemaVersion

func (tr *RegistryPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RegistryPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RegistryPolicy.

func (*RegistryPolicy) LateInitialize

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

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

func (*RegistryPolicy) SetConditions

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

SetConditions of this RegistryPolicy.

func (*RegistryPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this RegistryPolicy.

func (*RegistryPolicy) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this RegistryPolicy.

func (*RegistryPolicy) SetObservation

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

SetObservation for this RegistryPolicy

func (*RegistryPolicy) SetParameters

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

SetParameters for this RegistryPolicy

func (*RegistryPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this RegistryPolicy.

func (*RegistryPolicy) SetProviderReference

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

SetProviderReference of this RegistryPolicy. Deprecated: Use SetProviderConfigReference.

func (*RegistryPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RegistryPolicy.

func (*RegistryPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RegistryPolicy.

type RegistryPolicyInitParameters added in v0.38.0

type RegistryPolicyInitParameters struct {

	// The policy document. This is a JSON formatted string
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`
}

func (*RegistryPolicyInitParameters) DeepCopy added in v0.38.0

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

func (*RegistryPolicyInitParameters) DeepCopyInto added in v0.38.0

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

type RegistryPolicyList

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

RegistryPolicyList contains a list of RegistryPolicys

func (*RegistryPolicyList) DeepCopy

func (in *RegistryPolicyList) DeepCopy() *RegistryPolicyList

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

func (*RegistryPolicyList) DeepCopyInto

func (in *RegistryPolicyList) DeepCopyInto(out *RegistryPolicyList)

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

func (*RegistryPolicyList) DeepCopyObject

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

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

func (*RegistryPolicyList) GetItems

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

GetItems of this RegistryPolicyList.

type RegistryPolicyObservation

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

	// The policy document. This is a JSON formatted string
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// The registry ID where the registry was created.
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`
}

func (*RegistryPolicyObservation) DeepCopy

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

func (*RegistryPolicyObservation) DeepCopyInto

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

type RegistryPolicyParameters

type RegistryPolicyParameters struct {

	// The policy document. This is a JSON formatted string
	// +kubebuilder:validation:Optional
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

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

func (*RegistryPolicyParameters) DeepCopy

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

func (*RegistryPolicyParameters) DeepCopyInto

func (in *RegistryPolicyParameters) DeepCopyInto(out *RegistryPolicyParameters)

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

type RegistryPolicySpec

type RegistryPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RegistryPolicyParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 RegistryPolicyInitParameters `json:"initProvider,omitempty"`
}

RegistryPolicySpec defines the desired state of RegistryPolicy

func (*RegistryPolicySpec) DeepCopy

func (in *RegistryPolicySpec) DeepCopy() *RegistryPolicySpec

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

func (*RegistryPolicySpec) DeepCopyInto

func (in *RegistryPolicySpec) DeepCopyInto(out *RegistryPolicySpec)

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

type RegistryPolicyStatus

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

RegistryPolicyStatus defines the observed state of RegistryPolicy.

func (*RegistryPolicyStatus) DeepCopy

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

func (*RegistryPolicyStatus) DeepCopyInto

func (in *RegistryPolicyStatus) DeepCopyInto(out *RegistryPolicyStatus)

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

type RegistryScanningConfiguration

type RegistryScanningConfiguration 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.scanType) || has(self.initProvider.scanType)",message="scanType is a required parameter"
	Spec   RegistryScanningConfigurationSpec   `json:"spec"`
	Status RegistryScanningConfigurationStatus `json:"status,omitempty"`
}

RegistryScanningConfiguration is the Schema for the RegistryScanningConfigurations API. Provides an Elastic Container Registry Scanning Configuration. +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,aws}

func (*RegistryScanningConfiguration) DeepCopy

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

func (*RegistryScanningConfiguration) DeepCopyInto

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

func (*RegistryScanningConfiguration) DeepCopyObject

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

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

func (*RegistryScanningConfiguration) GetCondition

GetCondition of this RegistryScanningConfiguration.

func (*RegistryScanningConfiguration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RegistryScanningConfiguration

func (*RegistryScanningConfiguration) GetDeletionPolicy

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

GetDeletionPolicy of this RegistryScanningConfiguration.

func (*RegistryScanningConfiguration) GetID

GetID returns ID of underlying Terraform resource of this RegistryScanningConfiguration

func (*RegistryScanningConfiguration) GetInitParameters added in v0.38.0

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

GetInitParameters of this RegistryScanningConfiguration

func (*RegistryScanningConfiguration) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this RegistryScanningConfiguration.

func (*RegistryScanningConfiguration) GetObservation

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

GetObservation of this RegistryScanningConfiguration

func (*RegistryScanningConfiguration) GetParameters

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

GetParameters of this RegistryScanningConfiguration

func (*RegistryScanningConfiguration) GetProviderConfigReference

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

GetProviderConfigReference of this RegistryScanningConfiguration.

func (*RegistryScanningConfiguration) GetProviderReference

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

GetProviderReference of this RegistryScanningConfiguration. Deprecated: Use GetProviderConfigReference.

func (*RegistryScanningConfiguration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RegistryScanningConfiguration.

func (*RegistryScanningConfiguration) GetTerraformResourceType

func (mg *RegistryScanningConfiguration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RegistryScanningConfiguration

func (*RegistryScanningConfiguration) GetTerraformSchemaVersion

func (tr *RegistryScanningConfiguration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RegistryScanningConfiguration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RegistryScanningConfiguration.

func (*RegistryScanningConfiguration) LateInitialize

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

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

func (*RegistryScanningConfiguration) SetConditions

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

SetConditions of this RegistryScanningConfiguration.

func (*RegistryScanningConfiguration) SetDeletionPolicy

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

SetDeletionPolicy of this RegistryScanningConfiguration.

func (*RegistryScanningConfiguration) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this RegistryScanningConfiguration.

func (*RegistryScanningConfiguration) SetObservation

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

SetObservation for this RegistryScanningConfiguration

func (*RegistryScanningConfiguration) SetParameters

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

SetParameters for this RegistryScanningConfiguration

func (*RegistryScanningConfiguration) SetProviderConfigReference

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

SetProviderConfigReference of this RegistryScanningConfiguration.

func (*RegistryScanningConfiguration) SetProviderReference

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

SetProviderReference of this RegistryScanningConfiguration. Deprecated: Use SetProviderConfigReference.

func (*RegistryScanningConfiguration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RegistryScanningConfiguration.

func (*RegistryScanningConfiguration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RegistryScanningConfiguration.

type RegistryScanningConfigurationInitParameters added in v0.38.0

type RegistryScanningConfigurationInitParameters struct {

	// One or multiple blocks specifying scanning rules to determine which repository filters are used and at what frequency scanning will occur. See below for schema.
	Rule []RuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"`

	// the scanning type to set for the registry. Can be either ENHANCED or BASIC.
	ScanType *string `json:"scanType,omitempty" tf:"scan_type,omitempty"`
}

func (*RegistryScanningConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*RegistryScanningConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type RegistryScanningConfigurationList

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

RegistryScanningConfigurationList contains a list of RegistryScanningConfigurations

func (*RegistryScanningConfigurationList) DeepCopy

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

func (*RegistryScanningConfigurationList) DeepCopyInto

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

func (*RegistryScanningConfigurationList) DeepCopyObject

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

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

func (*RegistryScanningConfigurationList) GetItems

GetItems of this RegistryScanningConfigurationList.

type RegistryScanningConfigurationObservation

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

	// The registry ID the scanning configuration applies to.
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`

	// One or multiple blocks specifying scanning rules to determine which repository filters are used and at what frequency scanning will occur. See below for schema.
	Rule []RuleObservation `json:"rule,omitempty" tf:"rule,omitempty"`

	// the scanning type to set for the registry. Can be either ENHANCED or BASIC.
	ScanType *string `json:"scanType,omitempty" tf:"scan_type,omitempty"`
}

func (*RegistryScanningConfigurationObservation) DeepCopy

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

func (*RegistryScanningConfigurationObservation) DeepCopyInto

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

type RegistryScanningConfigurationParameters

type RegistryScanningConfigurationParameters struct {

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

	// One or multiple blocks specifying scanning rules to determine which repository filters are used and at what frequency scanning will occur. See below for schema.
	// +kubebuilder:validation:Optional
	Rule []RuleParameters `json:"rule,omitempty" tf:"rule,omitempty"`

	// the scanning type to set for the registry. Can be either ENHANCED or BASIC.
	// +kubebuilder:validation:Optional
	ScanType *string `json:"scanType,omitempty" tf:"scan_type,omitempty"`
}

func (*RegistryScanningConfigurationParameters) DeepCopy

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

func (*RegistryScanningConfigurationParameters) DeepCopyInto

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

type RegistryScanningConfigurationSpec

type RegistryScanningConfigurationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RegistryScanningConfigurationParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 RegistryScanningConfigurationInitParameters `json:"initProvider,omitempty"`
}

RegistryScanningConfigurationSpec defines the desired state of RegistryScanningConfiguration

func (*RegistryScanningConfigurationSpec) DeepCopy

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

func (*RegistryScanningConfigurationSpec) DeepCopyInto

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

type RegistryScanningConfigurationStatus

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

RegistryScanningConfigurationStatus defines the observed state of RegistryScanningConfiguration.

func (*RegistryScanningConfigurationStatus) DeepCopy

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

func (*RegistryScanningConfigurationStatus) DeepCopyInto

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

type ReplicationConfiguration

type ReplicationConfiguration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReplicationConfigurationSpec   `json:"spec"`
	Status            ReplicationConfigurationStatus `json:"status,omitempty"`
}

ReplicationConfiguration is the Schema for the ReplicationConfigurations API. Provides an Elastic Container Registry Replication Configuration. +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,aws}

func (*ReplicationConfiguration) DeepCopy

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

func (*ReplicationConfiguration) DeepCopyInto

func (in *ReplicationConfiguration) DeepCopyInto(out *ReplicationConfiguration)

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

func (*ReplicationConfiguration) DeepCopyObject

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

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

func (*ReplicationConfiguration) GetCondition

GetCondition of this ReplicationConfiguration.

func (*ReplicationConfiguration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ReplicationConfiguration

func (*ReplicationConfiguration) GetDeletionPolicy

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

GetDeletionPolicy of this ReplicationConfiguration.

func (*ReplicationConfiguration) GetID

func (tr *ReplicationConfiguration) GetID() string

GetID returns ID of underlying Terraform resource of this ReplicationConfiguration

func (*ReplicationConfiguration) GetInitParameters added in v0.38.0

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

GetInitParameters of this ReplicationConfiguration

func (*ReplicationConfiguration) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this ReplicationConfiguration.

func (*ReplicationConfiguration) GetObservation

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

GetObservation of this ReplicationConfiguration

func (*ReplicationConfiguration) GetParameters

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

GetParameters of this ReplicationConfiguration

func (*ReplicationConfiguration) GetProviderConfigReference

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

GetProviderConfigReference of this ReplicationConfiguration.

func (*ReplicationConfiguration) GetProviderReference

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

GetProviderReference of this ReplicationConfiguration. Deprecated: Use GetProviderConfigReference.

func (*ReplicationConfiguration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ReplicationConfiguration.

func (*ReplicationConfiguration) GetTerraformResourceType

func (mg *ReplicationConfiguration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ReplicationConfiguration

func (*ReplicationConfiguration) GetTerraformSchemaVersion

func (tr *ReplicationConfiguration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ReplicationConfiguration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ReplicationConfiguration.

func (*ReplicationConfiguration) LateInitialize

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

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

func (*ReplicationConfiguration) SetConditions

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

SetConditions of this ReplicationConfiguration.

func (*ReplicationConfiguration) SetDeletionPolicy

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

SetDeletionPolicy of this ReplicationConfiguration.

func (*ReplicationConfiguration) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this ReplicationConfiguration.

func (*ReplicationConfiguration) SetObservation

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

SetObservation for this ReplicationConfiguration

func (*ReplicationConfiguration) SetParameters

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

SetParameters for this ReplicationConfiguration

func (*ReplicationConfiguration) SetProviderConfigReference

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

SetProviderConfigReference of this ReplicationConfiguration.

func (*ReplicationConfiguration) SetProviderReference

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

SetProviderReference of this ReplicationConfiguration. Deprecated: Use SetProviderConfigReference.

func (*ReplicationConfiguration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ReplicationConfiguration.

func (*ReplicationConfiguration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ReplicationConfiguration.

type ReplicationConfigurationInitParameters added in v0.38.0

type ReplicationConfigurationInitParameters struct {

	// Replication configuration for a registry. See Replication Configuration.
	ReplicationConfiguration []ReplicationConfigurationReplicationConfigurationInitParameters `json:"replicationConfiguration,omitempty" tf:"replication_configuration,omitempty"`
}

func (*ReplicationConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*ReplicationConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type ReplicationConfigurationList

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

ReplicationConfigurationList contains a list of ReplicationConfigurations

func (*ReplicationConfigurationList) DeepCopy

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

func (*ReplicationConfigurationList) DeepCopyInto

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

func (*ReplicationConfigurationList) DeepCopyObject

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

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

func (*ReplicationConfigurationList) GetItems

GetItems of this ReplicationConfigurationList.

type ReplicationConfigurationObservation

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

	// The account ID of the destination registry to replicate to.
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`

	// Replication configuration for a registry. See Replication Configuration.
	ReplicationConfiguration []ReplicationConfigurationReplicationConfigurationObservation `json:"replicationConfiguration,omitempty" tf:"replication_configuration,omitempty"`
}

func (*ReplicationConfigurationObservation) DeepCopy

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

func (*ReplicationConfigurationObservation) DeepCopyInto

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

type ReplicationConfigurationParameters

type ReplicationConfigurationParameters struct {

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

	// Replication configuration for a registry. See Replication Configuration.
	// +kubebuilder:validation:Optional
	ReplicationConfiguration []ReplicationConfigurationReplicationConfigurationParameters `json:"replicationConfiguration,omitempty" tf:"replication_configuration,omitempty"`
}

func (*ReplicationConfigurationParameters) DeepCopy

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

func (*ReplicationConfigurationParameters) DeepCopyInto

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

type ReplicationConfigurationReplicationConfigurationInitParameters added in v0.38.0

type ReplicationConfigurationReplicationConfigurationInitParameters struct {

	// The replication rules for a replication configuration. A maximum of 10 are allowed per replication_configuration. See Rule
	Rule []ReplicationConfigurationRuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"`
}

func (*ReplicationConfigurationReplicationConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*ReplicationConfigurationReplicationConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type ReplicationConfigurationReplicationConfigurationObservation

type ReplicationConfigurationReplicationConfigurationObservation struct {

	// The replication rules for a replication configuration. A maximum of 10 are allowed per replication_configuration. See Rule
	Rule []ReplicationConfigurationRuleObservation `json:"rule,omitempty" tf:"rule,omitempty"`
}

func (*ReplicationConfigurationReplicationConfigurationObservation) DeepCopy

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

func (*ReplicationConfigurationReplicationConfigurationObservation) DeepCopyInto

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

type ReplicationConfigurationReplicationConfigurationParameters

type ReplicationConfigurationReplicationConfigurationParameters struct {

	// The replication rules for a replication configuration. A maximum of 10 are allowed per replication_configuration. See Rule
	// +kubebuilder:validation:Optional
	Rule []ReplicationConfigurationRuleParameters `json:"rule" tf:"rule,omitempty"`
}

func (*ReplicationConfigurationReplicationConfigurationParameters) DeepCopy

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

func (*ReplicationConfigurationReplicationConfigurationParameters) DeepCopyInto

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

type ReplicationConfigurationRuleInitParameters added in v0.38.0

type ReplicationConfigurationRuleInitParameters struct {

	// the details of a replication destination. A maximum of 25 are allowed per rule. See Destination.
	Destination []DestinationInitParameters `json:"destination,omitempty" tf:"destination,omitempty"`

	// filters for a replication rule. See Repository Filter.
	RepositoryFilter []RuleRepositoryFilterInitParameters `json:"repositoryFilter,omitempty" tf:"repository_filter,omitempty"`
}

func (*ReplicationConfigurationRuleInitParameters) DeepCopy added in v0.38.0

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

func (*ReplicationConfigurationRuleInitParameters) DeepCopyInto added in v0.38.0

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

type ReplicationConfigurationRuleObservation

type ReplicationConfigurationRuleObservation struct {

	// the details of a replication destination. A maximum of 25 are allowed per rule. See Destination.
	Destination []DestinationObservation `json:"destination,omitempty" tf:"destination,omitempty"`

	// filters for a replication rule. See Repository Filter.
	RepositoryFilter []RuleRepositoryFilterObservation `json:"repositoryFilter,omitempty" tf:"repository_filter,omitempty"`
}

func (*ReplicationConfigurationRuleObservation) DeepCopy

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

func (*ReplicationConfigurationRuleObservation) DeepCopyInto

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

type ReplicationConfigurationRuleParameters

type ReplicationConfigurationRuleParameters struct {

	// the details of a replication destination. A maximum of 25 are allowed per rule. See Destination.
	// +kubebuilder:validation:Optional
	Destination []DestinationParameters `json:"destination" tf:"destination,omitempty"`

	// filters for a replication rule. See Repository Filter.
	// +kubebuilder:validation:Optional
	RepositoryFilter []RuleRepositoryFilterParameters `json:"repositoryFilter,omitempty" tf:"repository_filter,omitempty"`
}

func (*ReplicationConfigurationRuleParameters) DeepCopy

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

func (*ReplicationConfigurationRuleParameters) DeepCopyInto

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

type ReplicationConfigurationSpec

type ReplicationConfigurationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ReplicationConfigurationParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 ReplicationConfigurationInitParameters `json:"initProvider,omitempty"`
}

ReplicationConfigurationSpec defines the desired state of ReplicationConfiguration

func (*ReplicationConfigurationSpec) DeepCopy

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

func (*ReplicationConfigurationSpec) DeepCopyInto

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

type ReplicationConfigurationStatus

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

ReplicationConfigurationStatus defines the observed state of ReplicationConfiguration.

func (*ReplicationConfigurationStatus) DeepCopy

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

func (*ReplicationConfigurationStatus) DeepCopyInto

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

type Repository

type Repository struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RepositorySpec   `json:"spec"`
	Status            RepositoryStatus `json:"status,omitempty"`
}

Repository is the Schema for the Repositorys API. Provides an Elastic Container Registry Repository. +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,aws}

func (*Repository) DeepCopy

func (in *Repository) DeepCopy() *Repository

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

func (*Repository) DeepCopyInto

func (in *Repository) DeepCopyInto(out *Repository)

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

func (*Repository) DeepCopyObject

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

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

func (*Repository) GetCondition

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

GetCondition of this Repository.

func (*Repository) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Repository

func (*Repository) GetDeletionPolicy

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

GetDeletionPolicy of this Repository.

func (*Repository) GetID

func (tr *Repository) GetID() string

GetID returns ID of underlying Terraform resource of this Repository

func (*Repository) GetInitParameters added in v0.38.0

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

GetInitParameters of this Repository

func (*Repository) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Repository.

func (*Repository) GetObservation

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

GetObservation of this Repository

func (*Repository) GetParameters

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

GetParameters of this Repository

func (*Repository) GetProviderConfigReference

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

GetProviderConfigReference of this Repository.

func (*Repository) GetProviderReference

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

GetProviderReference of this Repository. Deprecated: Use GetProviderConfigReference.

func (*Repository) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Repository.

func (*Repository) GetTerraformResourceType

func (mg *Repository) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Repository

func (*Repository) GetTerraformSchemaVersion

func (tr *Repository) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Repository) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Repository.

func (*Repository) LateInitialize

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

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

func (*Repository) ResolveReferences

func (mg *Repository) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Repository.

func (*Repository) SetConditions

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

SetConditions of this Repository.

func (*Repository) SetDeletionPolicy

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

SetDeletionPolicy of this Repository.

func (*Repository) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Repository.

func (*Repository) SetObservation

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

SetObservation for this Repository

func (*Repository) SetParameters

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

SetParameters for this Repository

func (*Repository) SetProviderConfigReference

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

SetProviderConfigReference of this Repository.

func (*Repository) SetProviderReference

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

SetProviderReference of this Repository. Deprecated: Use SetProviderConfigReference.

func (*Repository) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Repository.

func (*Repository) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Repository.

type RepositoryFilterInitParameters added in v0.38.0

type RepositoryFilterInitParameters struct {
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	FilterType *string `json:"filterType,omitempty" tf:"filter_type,omitempty"`
}

func (*RepositoryFilterInitParameters) DeepCopy added in v0.38.0

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

func (*RepositoryFilterInitParameters) DeepCopyInto added in v0.38.0

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

type RepositoryFilterObservation

type RepositoryFilterObservation struct {
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	FilterType *string `json:"filterType,omitempty" tf:"filter_type,omitempty"`
}

func (*RepositoryFilterObservation) DeepCopy

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

func (*RepositoryFilterObservation) DeepCopyInto

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

type RepositoryFilterParameters

type RepositoryFilterParameters struct {

	// +kubebuilder:validation:Optional
	Filter *string `json:"filter" tf:"filter,omitempty"`

	// +kubebuilder:validation:Optional
	FilterType *string `json:"filterType" tf:"filter_type,omitempty"`
}

func (*RepositoryFilterParameters) DeepCopy

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

func (*RepositoryFilterParameters) DeepCopyInto

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

type RepositoryInitParameters added in v0.38.0

type RepositoryInitParameters struct {

	// Encryption configuration for the repository. See below for schema.
	EncryptionConfiguration []EncryptionConfigurationInitParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// If true, will delete the repository even if it contains images.
	// Defaults to false.
	ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"`

	// Configuration block that defines image scanning configuration for the repository. By default, image scanning must be manually triggered. See the ECR User Guide for more information about image scanning.
	ImageScanningConfiguration []ImageScanningConfigurationInitParameters `json:"imageScanningConfiguration,omitempty" tf:"image_scanning_configuration,omitempty"`

	// The tag mutability setting for the repository. Must be one of: MUTABLE or IMMUTABLE. Defaults to MUTABLE.
	ImageTagMutability *string `json:"imageTagMutability,omitempty" tf:"image_tag_mutability,omitempty"`

	// Key-value map of resource tags.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*RepositoryInitParameters) DeepCopy added in v0.38.0

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

func (*RepositoryInitParameters) DeepCopyInto added in v0.38.0

func (in *RepositoryInitParameters) DeepCopyInto(out *RepositoryInitParameters)

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

type RepositoryList

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

RepositoryList contains a list of Repositorys

func (*RepositoryList) DeepCopy

func (in *RepositoryList) DeepCopy() *RepositoryList

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

func (*RepositoryList) DeepCopyInto

func (in *RepositoryList) DeepCopyInto(out *RepositoryList)

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

func (*RepositoryList) DeepCopyObject

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

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

func (*RepositoryList) GetItems

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

GetItems of this RepositoryList.

type RepositoryObservation

type RepositoryObservation struct {

	// Full ARN of the repository.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Encryption configuration for the repository. See below for schema.
	EncryptionConfiguration []EncryptionConfigurationObservation `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// If true, will delete the repository even if it contains images.
	// Defaults to false.
	ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"`

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

	// Configuration block that defines image scanning configuration for the repository. By default, image scanning must be manually triggered. See the ECR User Guide for more information about image scanning.
	ImageScanningConfiguration []ImageScanningConfigurationObservation `json:"imageScanningConfiguration,omitempty" tf:"image_scanning_configuration,omitempty"`

	// The tag mutability setting for the repository. Must be one of: MUTABLE or IMMUTABLE. Defaults to MUTABLE.
	ImageTagMutability *string `json:"imageTagMutability,omitempty" tf:"image_tag_mutability,omitempty"`

	// The registry ID where the repository was created.
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`

	// The URL of the repository (in the form aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName).
	RepositoryURL *string `json:"repositoryUrl,omitempty" tf:"repository_url,omitempty"`

	// Key-value map of resource tags.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*RepositoryObservation) DeepCopy

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

func (*RepositoryObservation) DeepCopyInto

func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation)

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

type RepositoryParameters

type RepositoryParameters struct {

	// Encryption configuration for the repository. See below for schema.
	// +kubebuilder:validation:Optional
	EncryptionConfiguration []EncryptionConfigurationParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// If true, will delete the repository even if it contains images.
	// Defaults to false.
	// +kubebuilder:validation:Optional
	ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"`

	// Configuration block that defines image scanning configuration for the repository. By default, image scanning must be manually triggered. See the ECR User Guide for more information about image scanning.
	// +kubebuilder:validation:Optional
	ImageScanningConfiguration []ImageScanningConfigurationParameters `json:"imageScanningConfiguration,omitempty" tf:"image_scanning_configuration,omitempty"`

	// The tag mutability setting for the repository. Must be one of: MUTABLE or IMMUTABLE. Defaults to MUTABLE.
	// +kubebuilder:validation:Optional
	ImageTagMutability *string `json:"imageTagMutability,omitempty" tf:"image_tag_mutability,omitempty"`

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

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*RepositoryParameters) DeepCopy

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

func (*RepositoryParameters) DeepCopyInto

func (in *RepositoryParameters) DeepCopyInto(out *RepositoryParameters)

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

type RepositoryPolicy

type RepositoryPolicy 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.policy) || has(self.initProvider.policy)",message="policy is a required parameter"
	Spec   RepositoryPolicySpec   `json:"spec"`
	Status RepositoryPolicyStatus `json:"status,omitempty"`
}

RepositoryPolicy is the Schema for the RepositoryPolicys API. Provides an Elastic Container Registry Repository Policy. +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,aws}

func (*RepositoryPolicy) DeepCopy

func (in *RepositoryPolicy) DeepCopy() *RepositoryPolicy

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

func (*RepositoryPolicy) DeepCopyInto

func (in *RepositoryPolicy) DeepCopyInto(out *RepositoryPolicy)

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

func (*RepositoryPolicy) DeepCopyObject

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

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

func (*RepositoryPolicy) GetCondition

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

GetCondition of this RepositoryPolicy.

func (*RepositoryPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RepositoryPolicy

func (*RepositoryPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this RepositoryPolicy.

func (*RepositoryPolicy) GetID

func (tr *RepositoryPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this RepositoryPolicy

func (*RepositoryPolicy) GetInitParameters added in v0.38.0

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

GetInitParameters of this RepositoryPolicy

func (*RepositoryPolicy) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this RepositoryPolicy.

func (*RepositoryPolicy) GetObservation

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

GetObservation of this RepositoryPolicy

func (*RepositoryPolicy) GetParameters

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

GetParameters of this RepositoryPolicy

func (*RepositoryPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this RepositoryPolicy.

func (*RepositoryPolicy) GetProviderReference

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

GetProviderReference of this RepositoryPolicy. Deprecated: Use GetProviderConfigReference.

func (*RepositoryPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RepositoryPolicy.

func (*RepositoryPolicy) GetTerraformResourceType

func (mg *RepositoryPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RepositoryPolicy

func (*RepositoryPolicy) GetTerraformSchemaVersion

func (tr *RepositoryPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RepositoryPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RepositoryPolicy.

func (*RepositoryPolicy) LateInitialize

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

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

func (*RepositoryPolicy) ResolveReferences

func (mg *RepositoryPolicy) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this RepositoryPolicy.

func (*RepositoryPolicy) SetConditions

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

SetConditions of this RepositoryPolicy.

func (*RepositoryPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this RepositoryPolicy.

func (*RepositoryPolicy) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this RepositoryPolicy.

func (*RepositoryPolicy) SetObservation

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

SetObservation for this RepositoryPolicy

func (*RepositoryPolicy) SetParameters

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

SetParameters for this RepositoryPolicy

func (*RepositoryPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this RepositoryPolicy.

func (*RepositoryPolicy) SetProviderReference

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

SetProviderReference of this RepositoryPolicy. Deprecated: Use SetProviderConfigReference.

func (*RepositoryPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RepositoryPolicy.

func (*RepositoryPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RepositoryPolicy.

type RepositoryPolicyInitParameters added in v0.38.0

type RepositoryPolicyInitParameters struct {

	// The policy document. This is a JSON formatted string
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`
}

func (*RepositoryPolicyInitParameters) DeepCopy added in v0.38.0

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

func (*RepositoryPolicyInitParameters) DeepCopyInto added in v0.38.0

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

type RepositoryPolicyList

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

RepositoryPolicyList contains a list of RepositoryPolicys

func (*RepositoryPolicyList) DeepCopy

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

func (*RepositoryPolicyList) DeepCopyInto

func (in *RepositoryPolicyList) DeepCopyInto(out *RepositoryPolicyList)

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

func (*RepositoryPolicyList) DeepCopyObject

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

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

func (*RepositoryPolicyList) GetItems

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

GetItems of this RepositoryPolicyList.

type RepositoryPolicyObservation

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

	// The policy document. This is a JSON formatted string
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// The registry ID where the repository was created.
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`

	// Name of the repository to apply the policy.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*RepositoryPolicyObservation) DeepCopy

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

func (*RepositoryPolicyObservation) DeepCopyInto

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

type RepositoryPolicyParameters

type RepositoryPolicyParameters struct {

	// The policy document. This is a JSON formatted string
	// +kubebuilder:validation:Optional
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

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

	// Name of the repository to apply the policy.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ecr/v1beta1.Repository
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Reference to a Repository in ecr to populate repository.
	// +kubebuilder:validation:Optional
	RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"`

	// Selector for a Repository in ecr to populate repository.
	// +kubebuilder:validation:Optional
	RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"`
}

func (*RepositoryPolicyParameters) DeepCopy

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

func (*RepositoryPolicyParameters) DeepCopyInto

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

type RepositoryPolicySpec

type RepositoryPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RepositoryPolicyParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 RepositoryPolicyInitParameters `json:"initProvider,omitempty"`
}

RepositoryPolicySpec defines the desired state of RepositoryPolicy

func (*RepositoryPolicySpec) DeepCopy

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

func (*RepositoryPolicySpec) DeepCopyInto

func (in *RepositoryPolicySpec) DeepCopyInto(out *RepositoryPolicySpec)

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

type RepositoryPolicyStatus

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

RepositoryPolicyStatus defines the observed state of RepositoryPolicy.

func (*RepositoryPolicyStatus) DeepCopy

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

func (*RepositoryPolicyStatus) DeepCopyInto

func (in *RepositoryPolicyStatus) DeepCopyInto(out *RepositoryPolicyStatus)

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

type RepositorySpec

type RepositorySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RepositoryParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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 RepositoryInitParameters `json:"initProvider,omitempty"`
}

RepositorySpec defines the desired state of Repository

func (*RepositorySpec) DeepCopy

func (in *RepositorySpec) DeepCopy() *RepositorySpec

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

func (*RepositorySpec) DeepCopyInto

func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec)

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

type RepositoryStatus

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

RepositoryStatus defines the observed state of Repository.

func (*RepositoryStatus) DeepCopy

func (in *RepositoryStatus) DeepCopy() *RepositoryStatus

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

func (*RepositoryStatus) DeepCopyInto

func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus)

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

type RuleInitParameters added in v0.38.0

type RuleInitParameters struct {

	// One or more repository filter blocks, containing a filter  and a filter_type .
	RepositoryFilter []RepositoryFilterInitParameters `json:"repositoryFilter,omitempty" tf:"repository_filter,omitempty"`

	// The frequency that scans are performed at for a private registry. Can be SCAN_ON_PUSH, CONTINUOUS_SCAN, or MANUAL.
	ScanFrequency *string `json:"scanFrequency,omitempty" tf:"scan_frequency,omitempty"`
}

func (*RuleInitParameters) DeepCopy added in v0.38.0

func (in *RuleInitParameters) DeepCopy() *RuleInitParameters

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

func (*RuleInitParameters) DeepCopyInto added in v0.38.0

func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters)

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

type RuleObservation

type RuleObservation struct {

	// One or more repository filter blocks, containing a filter  and a filter_type .
	RepositoryFilter []RepositoryFilterObservation `json:"repositoryFilter,omitempty" tf:"repository_filter,omitempty"`

	// The frequency that scans are performed at for a private registry. Can be SCAN_ON_PUSH, CONTINUOUS_SCAN, or MANUAL.
	ScanFrequency *string `json:"scanFrequency,omitempty" tf:"scan_frequency,omitempty"`
}

func (*RuleObservation) DeepCopy

func (in *RuleObservation) DeepCopy() *RuleObservation

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

func (*RuleObservation) DeepCopyInto

func (in *RuleObservation) DeepCopyInto(out *RuleObservation)

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

type RuleParameters

type RuleParameters struct {

	// One or more repository filter blocks, containing a filter  and a filter_type .
	// +kubebuilder:validation:Optional
	RepositoryFilter []RepositoryFilterParameters `json:"repositoryFilter" tf:"repository_filter,omitempty"`

	// The frequency that scans are performed at for a private registry. Can be SCAN_ON_PUSH, CONTINUOUS_SCAN, or MANUAL.
	// +kubebuilder:validation:Optional
	ScanFrequency *string `json:"scanFrequency" tf:"scan_frequency,omitempty"`
}

func (*RuleParameters) DeepCopy

func (in *RuleParameters) DeepCopy() *RuleParameters

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

func (*RuleParameters) DeepCopyInto

func (in *RuleParameters) DeepCopyInto(out *RuleParameters)

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

type RuleRepositoryFilterInitParameters added in v0.38.0

type RuleRepositoryFilterInitParameters struct {

	// The repository filter details.
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name prefix specified with the filter parameter.
	FilterType *string `json:"filterType,omitempty" tf:"filter_type,omitempty"`
}

func (*RuleRepositoryFilterInitParameters) DeepCopy added in v0.38.0

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

func (*RuleRepositoryFilterInitParameters) DeepCopyInto added in v0.38.0

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

type RuleRepositoryFilterObservation

type RuleRepositoryFilterObservation struct {

	// The repository filter details.
	Filter *string `json:"filter,omitempty" tf:"filter,omitempty"`

	// The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name prefix specified with the filter parameter.
	FilterType *string `json:"filterType,omitempty" tf:"filter_type,omitempty"`
}

func (*RuleRepositoryFilterObservation) DeepCopy

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

func (*RuleRepositoryFilterObservation) DeepCopyInto

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

type RuleRepositoryFilterParameters

type RuleRepositoryFilterParameters struct {

	// The repository filter details.
	// +kubebuilder:validation:Optional
	Filter *string `json:"filter" tf:"filter,omitempty"`

	// The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name prefix specified with the filter parameter.
	// +kubebuilder:validation:Optional
	FilterType *string `json:"filterType" tf:"filter_type,omitempty"`
}

func (*RuleRepositoryFilterParameters) DeepCopy

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

func (*RuleRepositoryFilterParameters) 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