v1beta1

package
v0.46.0-rc.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "ecrpublic.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 (
	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 CatalogDataInitParameters added in v0.38.0

type CatalogDataInitParameters struct {

	// A detailed description of the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format.
	AboutText *string `json:"aboutText,omitempty" tf:"about_text,omitempty"`

	// The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures will appear as badges on the repository and are used as search filters: ARM, ARM 64, x86, x86-64
	Architectures []*string `json:"architectures,omitempty" tf:"architectures,omitempty"`

	// A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The base64-encoded repository logo payload. (Only visible for verified accounts) Note that drift detection is disabled for this attribute.
	LogoImageBlob *string `json:"logoImageBlob,omitempty" tf:"logo_image_blob,omitempty"`

	// The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems will appear as badges on the repository and are used as search filters: Linux, Windows
	OperatingSystems []*string `json:"operatingSystems,omitempty" tf:"operating_systems,omitempty"`

	// Detailed information on how to use the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format.
	UsageText *string `json:"usageText,omitempty" tf:"usage_text,omitempty"`
}

func (*CatalogDataInitParameters) DeepCopy added in v0.38.0

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

func (*CatalogDataInitParameters) DeepCopyInto added in v0.38.0

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

type CatalogDataObservation

type CatalogDataObservation struct {

	// A detailed description of the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format.
	AboutText *string `json:"aboutText,omitempty" tf:"about_text,omitempty"`

	// The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures will appear as badges on the repository and are used as search filters: ARM, ARM 64, x86, x86-64
	Architectures []*string `json:"architectures,omitempty" tf:"architectures,omitempty"`

	// A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The base64-encoded repository logo payload. (Only visible for verified accounts) Note that drift detection is disabled for this attribute.
	LogoImageBlob *string `json:"logoImageBlob,omitempty" tf:"logo_image_blob,omitempty"`

	// The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems will appear as badges on the repository and are used as search filters: Linux, Windows
	OperatingSystems []*string `json:"operatingSystems,omitempty" tf:"operating_systems,omitempty"`

	// Detailed information on how to use the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format.
	UsageText *string `json:"usageText,omitempty" tf:"usage_text,omitempty"`
}

func (*CatalogDataObservation) DeepCopy

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

func (*CatalogDataObservation) DeepCopyInto

func (in *CatalogDataObservation) DeepCopyInto(out *CatalogDataObservation)

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

type CatalogDataParameters

type CatalogDataParameters struct {

	// A detailed description of the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format.
	// +kubebuilder:validation:Optional
	AboutText *string `json:"aboutText,omitempty" tf:"about_text,omitempty"`

	// The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures will appear as badges on the repository and are used as search filters: ARM, ARM 64, x86, x86-64
	// +kubebuilder:validation:Optional
	Architectures []*string `json:"architectures,omitempty" tf:"architectures,omitempty"`

	// A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The base64-encoded repository logo payload. (Only visible for verified accounts) Note that drift detection is disabled for this attribute.
	// +kubebuilder:validation:Optional
	LogoImageBlob *string `json:"logoImageBlob,omitempty" tf:"logo_image_blob,omitempty"`

	// The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems will appear as badges on the repository and are used as search filters: Linux, Windows
	// +kubebuilder:validation:Optional
	OperatingSystems []*string `json:"operatingSystems,omitempty" tf:"operating_systems,omitempty"`

	// Detailed information on how to use the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format.
	// +kubebuilder:validation:Optional
	UsageText *string `json:"usageText,omitempty" tf:"usage_text,omitempty"`
}

func (*CatalogDataParameters) DeepCopy

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

func (*CatalogDataParameters) DeepCopyInto

func (in *CatalogDataParameters) DeepCopyInto(out *CatalogDataParameters)

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 a Public 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) GetMergedParameters added in v0.44.0

func (tr *Repository) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters 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) 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) 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) 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 RepositoryInitParameters added in v0.38.0

type RepositoryInitParameters struct {

	// Catalog data configuration for the repository. See below for schema.
	CatalogData []CatalogDataInitParameters `json:"catalogData,omitempty" tf:"catalog_data,omitempty"`

	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,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"`

	// Catalog data configuration for the repository. See below for schema.
	CatalogData []CatalogDataObservation `json:"catalogData,omitempty" tf:"catalog_data,omitempty"`

	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// The repository name.
	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 URI of the repository.
	RepositoryURI *string `json:"repositoryUri,omitempty" tf:"repository_uri,omitempty"`

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

	// 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 {

	// Catalog data configuration for the repository. See below for schema.
	// +kubebuilder:validation:Optional
	CatalogData []CatalogDataParameters `json:"catalogData,omitempty" tf:"catalog_data,omitempty"`

	// +kubebuilder:validation:Optional
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,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) && has(self.initProvider.policy))",message="spec.forProvider.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 Public 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) GetMergedParameters added in v0.44.0

func (tr *RepositoryPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters 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) 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) 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.
	RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,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/ecrpublic/v1beta1.Repository
	// +kubebuilder:validation:Optional
	RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`

	// Reference to a Repository in ecrpublic to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameRef *v1.Reference `json:"repositoryNameRef,omitempty" tf:"-"`

	// Selector for a Repository in ecrpublic to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameSelector *v1.Selector `json:"repositoryNameSelector,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 A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// 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 A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL