Documentation ¶
Overview ¶
Package v1beta1 contains managed resources for AWS ECR services +kubebuilder:object:generate=true +groupName=ecr.aws.crossplane.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- func ResolvePrincipal(ctx context.Context, r *reference.APIResolver, principal *RepositoryPrincipal, ...) error
- type AWSPrincipal
- type Condition
- type ConditionPair
- type ImageScanningConfiguration
- type Repository
- func (in *Repository) DeepCopy() *Repository
- func (in *Repository) DeepCopyInto(out *Repository)
- func (in *Repository) DeepCopyObject() runtime.Object
- func (mg *Repository) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Repository) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Repository) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Repository) GetProviderConfigReference() *xpv1.Reference
- func (mg *Repository) GetProviderReference() *xpv1.Reference
- func (mg *Repository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Repository) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Repository) SetConditions(c ...xpv1.Condition)
- func (mg *Repository) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Repository) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Repository) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Repository) SetProviderReference(r *xpv1.Reference)
- func (mg *Repository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Repository) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RepositoryList
- type RepositoryObservation
- type RepositoryParameters
- type RepositoryPolicy
- func (in *RepositoryPolicy) DeepCopy() *RepositoryPolicy
- func (in *RepositoryPolicy) DeepCopyInto(out *RepositoryPolicy)
- func (in *RepositoryPolicy) DeepCopyObject() runtime.Object
- func (mg *RepositoryPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *RepositoryPolicy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *RepositoryPolicy) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *RepositoryPolicy) GetProviderConfigReference() *xpv1.Reference
- func (mg *RepositoryPolicy) GetProviderReference() *xpv1.Reference
- func (mg *RepositoryPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *RepositoryPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *RepositoryPolicy) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *RepositoryPolicy) SetConditions(c ...xpv1.Condition)
- func (mg *RepositoryPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *RepositoryPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *RepositoryPolicy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *RepositoryPolicy) SetProviderReference(r *xpv1.Reference)
- func (mg *RepositoryPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *RepositoryPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RepositoryPolicyBody
- type RepositoryPolicyList
- type RepositoryPolicyObservation
- type RepositoryPolicyParameters
- type RepositoryPolicySpec
- type RepositoryPolicyStatement
- type RepositoryPolicyStatus
- type RepositoryPrincipal
- type RepositorySpec
- type RepositoryStatus
- type Tag
Constants ¶
const ( Group = "ecr.aws.crossplane.io" Version = "v1beta1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( RepositoryKind = reflect.TypeOf(Repository{}).Name() RepositoryGroupKind = schema.GroupKind{Group: Group, Kind: RepositoryKind}.String() RepositoryKindAPIVersion = RepositoryKind + "." + SchemeGroupVersion.String() RepositoryGroupVersionKind = SchemeGroupVersion.WithKind(RepositoryKind) )
Repository type metadata.
var ( RepositoryPolicyKind = reflect.TypeOf(RepositoryPolicy{}).Name() RepositoryPolicyGroupKind = schema.GroupKind{Group: Group, Kind: RepositoryPolicyKind}.String() RepositoryPolicyKindAPIVersion = RepositoryPolicyKind + "." + SchemeGroupVersion.String() RepositoryPolicyGroupVersionKind = SchemeGroupVersion.WithKind(RepositoryPolicyKind) )
RepositoryPolicy type metadata.
Functions ¶
func ResolvePrincipal ¶
func ResolvePrincipal(ctx context.Context, r *reference.APIResolver, principal *RepositoryPrincipal, statementIndex int) error
ResolvePrincipal resolves all the User and Role references in a RepositoryPrincipal
Types ¶
type AWSPrincipal ¶
type AWSPrincipal struct { // UserARN contains the ARN of an IAM user // +optional // +immutable UserARN *string `json:"iamUserArn,omitempty"` // UserARNRef contains the reference to an User // +optional UserARNRef *xpv1.Reference `json:"iamUserArnRef,omitempty"` // UserARNSelector queries for an User to retrieve its userName // +optional UserARNSelector *xpv1.Selector `json:"iamUserArnSelector,omitempty"` // AWSAccountID identifies an AWS account as the principal // +optional // +immutable AWSAccountID *string `json:"awsAccountId,omitempty"` // IAMRoleARN contains the ARN of an IAM role // +optional // +immutable IAMRoleARN *string `json:"iamRoleArn,omitempty"` // IAMRoleARNRef contains the reference to an IAMRole // +optional IAMRoleARNRef *xpv1.Reference `json:"iamRoleArnRef,omitempty"` // IAMRoleARNSelector queries for an IAM role to retrieve its userName // +optional IAMRoleARNSelector *xpv1.Selector `json:"iamRoleArnSelector,omitempty"` }
AWSPrincipal wraps the potential values a policy principal can take. Only one of the values should be set.
func (*AWSPrincipal) DeepCopy ¶
func (in *AWSPrincipal) DeepCopy() *AWSPrincipal
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSPrincipal.
func (*AWSPrincipal) DeepCopyInto ¶
func (in *AWSPrincipal) DeepCopyInto(out *AWSPrincipal)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { // OperatorKey matches the condition key and value in the policy against values in the request context OperatorKey string `json:"operatorKey"` // Conditions represents each of the key/value pairs for the operator key Conditions []ConditionPair `json:"conditions"` }
Condition represents a set of condition pairs for a Repository policy
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionPair ¶
type ConditionPair struct { // ConditionKey is the key condition being applied to the parent condition ConditionKey string `json:"key"` // ConditionStringValue is the expected string value of the key from the parent condition // +optional ConditionStringValue *string `json:"stringValue,omitempty"` // ConditionDateValue is the expected string value of the key from the parent condition. The // date value must be in ISO 8601 format. The time is always midnight UTC. // +optional ConditionDateValue *metav1.Time `json:"dateValue,omitempty"` // ConditionNumericValue is the expected string value of the key from the parent condition // +optional ConditionNumericValue *int64 `json:"numericValue,omitempty"` // ConditionBooleanValue is the expected boolean value of the key from the parent condition // +optional ConditionBooleanValue *bool `json:"booleanValue,omitempty"` // ConditionListValue is the list value of the key from the parent condition // +optional ConditionListValue []string `json:"listValue,omitempty"` }
ConditionPair represents one condition inside of the set of conditions for a Repository policy
func (*ConditionPair) DeepCopy ¶
func (in *ConditionPair) DeepCopy() *ConditionPair
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionPair.
func (*ConditionPair) DeepCopyInto ¶
func (in *ConditionPair) DeepCopyInto(out *ConditionPair)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageScanningConfiguration ¶
type ImageScanningConfiguration struct { // The setting that determines whether images are scanned after being pushed // to a repository. If set to true, images will be scanned after being pushed. // If this parameter is not specified, it will default to false and images will // not be scanned unless a scan is manually started with the StartImageScan // API. ScanOnPush bool `json:"scanOnPush"` }
ImageScanningConfiguration Scanning Configuration
func (*ImageScanningConfiguration) DeepCopy ¶
func (in *ImageScanningConfiguration) DeepCopy() *ImageScanningConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageScanningConfiguration.
func (*ImageScanningConfiguration) DeepCopyInto ¶
func (in *ImageScanningConfiguration) DeepCopyInto(out *ImageScanningConfiguration)
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"` }
A Repository is a managed resource that represents an Elastic Container 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="ID",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="URI",type="string",JSONPath=".status.atProvider.repositoryUri" +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) GetDeletionPolicy ¶
func (mg *Repository) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Repository.
func (*Repository) GetManagementPolicies ¶ added in v0.43.0
func (mg *Repository) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies 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) GetWriteConnectionSecretToReference ¶
func (mg *Repository) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference 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.43.0
func (mg *Repository) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of 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 RepositoryList ¶
type RepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Repository `json:"items"` }
RepositoryList contains a list of ECRs
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 { // The date and time, in JavaScript date format, when the repository was created. CreatedAt *metav1.Time `json:"createdAt,omitempty"` // The AWS account ID associated with the registry that contains the repository. RegistryID string `json:"registryId"` // The Amazon Resource Name (ARN) that identifies the repository. The ARN contains // the arn:aws:ecr namespace, followed by the region of the repository, AWS // account ID of the repository owner, repository namespace, and repository // name. For example, arn:aws:ecr:region:012345678910:repository/test. RepositoryArn string `json:"repositoryArn,omitempty"` // The name of the repository. RepositoryName string `json:"repositoryName,omitempty"` // The URI for the repository. You can use this URI for container image push // and pull operations. RepositoryURI string `json:"repositoryUri,omitempty"` }
RepositoryObservation keeps the state for the external resource
func (*RepositoryObservation) DeepCopy ¶
func (in *RepositoryObservation) DeepCopy() *RepositoryObservation
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 { // Region is the region you'd like your Repository to be created in. Region string `json:"region"` // The image scanning configuration for the repository. This determines whether // images are scanned for known vulnerabilities after being pushed to the repository. // +optional ImageScanningConfiguration *ImageScanningConfiguration `json:"imageScanningConfiguration,omitempty"` // The tag mutability setting for the repository. If this parameter is omitted, // the default setting of MUTABLE will be used which will allow image tags to // be overwritten. If IMMUTABLE is specified, all image tags within the repository // will be immutable which will prevent them from being overwritten. // +optional // +kubebuilder:validation:Enum=MUTABLE;IMMUTABLE ImageTagMutability *string `json:"imageTagMutability,omitempty"` // Metadata tagging key value pairs // +optional Tags []Tag `json:"tags,omitempty"` // If a repository contains images, forces the deletion. // +optional ForceDelete *bool `json:"forceDelete,omitempty"` }
RepositoryParameters define the desired state of an AWS Elastic Container Repository
func (*RepositoryParameters) DeepCopy ¶
func (in *RepositoryParameters) DeepCopy() *RepositoryParameters
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"` Spec RepositoryPolicySpec `json:"spec"` Status RepositoryPolicyStatus `json:"status,omitempty"` }
A RepositoryPolicy is a managed resource that represents an Elastic Container 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="ID",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +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) GetDeletionPolicy ¶
func (mg *RepositoryPolicy) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this RepositoryPolicy.
func (*RepositoryPolicy) GetManagementPolicies ¶ added in v0.43.0
func (mg *RepositoryPolicy) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies 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) GetWriteConnectionSecretToReference ¶
func (mg *RepositoryPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this RepositoryPolicy.
func (*RepositoryPolicy) ResolveReferences ¶
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.43.0
func (mg *RepositoryPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of 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 RepositoryPolicyBody ¶
type RepositoryPolicyBody struct { // Version is the current IAM policy version // +kubebuilder:validation:Enum="2012-10-17";"2008-10-17" // +kubebuilder:default:="2012-10-17" Version string `json:"version"` // ID is the policy's optional identifier // +immutable // +optional ID *string `json:"id,omitempty"` // Statements is the list of statement this policy applies // either jsonStatements or statements must be specified in the policy // +optional Statements []RepositoryPolicyStatement `json:"statements,omitempty"` }
RepositoryPolicyBody represents an ECR Repository policy in the manifest
func (*RepositoryPolicyBody) DeepCopy ¶
func (in *RepositoryPolicyBody) DeepCopy() *RepositoryPolicyBody
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPolicyBody.
func (*RepositoryPolicyBody) DeepCopyInto ¶
func (in *RepositoryPolicyBody) DeepCopyInto(out *RepositoryPolicyBody)
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 RepositoryPolicies
func (*RepositoryPolicyList) DeepCopy ¶
func (in *RepositoryPolicyList) DeepCopy() *RepositoryPolicyList
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{}
RepositoryPolicyObservation keeps the state for the external resource
func (*RepositoryPolicyObservation) DeepCopy ¶
func (in *RepositoryPolicyObservation) DeepCopy() *RepositoryPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPolicyObservation.
func (*RepositoryPolicyObservation) DeepCopyInto ¶
func (in *RepositoryPolicyObservation) DeepCopyInto(out *RepositoryPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryPolicyParameters ¶
type RepositoryPolicyParameters struct { // Region is the region you'd like your RepositoryPolicy to be created in. Region string `json:"region"` // If the policy you are attempting to set on a repository policy would prevent // you from setting another policy in the future, you must force the SetRepositoryPolicy // operation. This is intended to prevent accidental repository lock outs. // +optional Force *bool `json:"force,omitempty"` // Policy is a well defined type which can be parsed into an JSON Repository Policy // either policy or rawPolicy must be specified in the policy // +optional Policy *RepositoryPolicyBody `json:"policy,omitempty"` // Policy stringified version of JSON repository policy // either policy or rawPolicy must be specified in the policy // +optional RawPolicy *string `json:"rawPolicy,omitempty"` // The AWS account ID associated with the registry that contains the repository. // If you do not specify a registry, the default registry is assumed. // +optional // +immutable RegistryID *string `json:"registryId,omitempty"` // The name of the repository to receive the policy. // // One of RepositoryName, RepositoryNameRef, or RepositoryNameSelector is required. // +optional // +immutable RepositoryName *string `json:"repositoryName,omitempty"` // A referencer to retrieve the name of a repository // One of RepositoryName, RepositoryNameRef, or RepositoryNameSelector is required. // +immutable RepositoryNameRef *xpv1.Reference `json:"repositoryNameRef,omitempty"` // A selector to select a referencer to retrieve the name of a repository // One of RepositoryName, RepositoryNameRef, or RepositoryNameSelector is required. // +immutable RepositoryNameSelector *xpv1.Selector `json:"repositoryNameSelector,omitempty"` }
RepositoryPolicyParameters define the desired state of an AWS Elastic Container Repository
func (*RepositoryPolicyParameters) DeepCopy ¶
func (in *RepositoryPolicyParameters) DeepCopy() *RepositoryPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPolicyParameters.
func (*RepositoryPolicyParameters) DeepCopyInto ¶
func (in *RepositoryPolicyParameters) DeepCopyInto(out *RepositoryPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryPolicySpec ¶
type RepositoryPolicySpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider RepositoryPolicyParameters `json:"forProvider"` }
A RepositoryPolicySpec defines the desired state of a Elastic Container Repository.
func (*RepositoryPolicySpec) DeepCopy ¶
func (in *RepositoryPolicySpec) DeepCopy() *RepositoryPolicySpec
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 RepositoryPolicyStatement ¶
type RepositoryPolicyStatement struct { // Optional identifier for this statement, must be unique within the // policy if provided. // +optional SID *string `json:"sid,omitempty"` // The effect is required and specifies whether the statement results // in an allow or an explicit deny. Valid values for Effect are Allow and Deny. // +kubebuilder:validation:Enum=Allow;Deny Effect string `json:"effect"` // Used with the Repository policy to specify the principal that is allowed // or denied access to a resource. // +optional Principal *RepositoryPrincipal `json:"principal,omitempty"` // Used with the Repository policy to specify the users which are not included // in this policy // +optional NotPrincipal *RepositoryPrincipal `json:"notPrincipal,omitempty"` // Each element of the PolicyAction array describes the specific // action or actions that will be allowed or denied with this PolicyStatement. // +optional Action []string `json:"action,omitempty"` // Each element of the NotPolicyAction array will allow the property to match // all but the listed actions. // +optional NotAction []string `json:"notAction,omitempty"` // The paths on which this resource will apply // +optional Resource []string `json:"resource,omitempty"` // This will explicitly match all resource paths except the ones // specified in this array // +optional NotResource []string `json:"notResource,omitempty"` // Condition specifies where conditions for policy are in effect. // https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonelasticcontainerregistry.html#amazonelasticcontainerregistry-policy-keys // +optional Condition []Condition `json:"condition,omitempty"` }
RepositoryPolicyStatement defines an individual statement within the RepositoryPolicyBody
func (*RepositoryPolicyStatement) DeepCopy ¶
func (in *RepositoryPolicyStatement) DeepCopy() *RepositoryPolicyStatement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPolicyStatement.
func (*RepositoryPolicyStatement) DeepCopyInto ¶
func (in *RepositoryPolicyStatement) DeepCopyInto(out *RepositoryPolicyStatement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryPolicyStatus ¶
type RepositoryPolicyStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider RepositoryPolicyObservation `json:"atProvider,omitempty"` }
A RepositoryPolicyStatus represents the observed state of a repository policy
func (*RepositoryPolicyStatus) DeepCopy ¶
func (in *RepositoryPolicyStatus) DeepCopy() *RepositoryPolicyStatus
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 RepositoryPrincipal ¶
type RepositoryPrincipal struct { // This flag indicates if the policy should be made available // to all anonymous users. Principal: "*" // +optional AllowAnon *bool `json:"allowAnon,omitempty"` // This list contains the all of the AWS IAM users which are affected // by the policy statement. // +optional AWSPrincipals []AWSPrincipal `json:"awsPrincipals,omitempty"` // Service define the services which can have access to this bucket // +optional Service []string `json:"service,omitempty"` // Raw string input can be used for * // +optional Raw *string `json:"raw,omitempty"` }
RepositoryPrincipal defines the principal users affected by the RepositoryPolicyStatement Please see the AWS ECR docs for more information https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html
func (*RepositoryPrincipal) DeepCopy ¶
func (in *RepositoryPrincipal) DeepCopy() *RepositoryPrincipal
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPrincipal.
func (*RepositoryPrincipal) DeepCopyInto ¶
func (in *RepositoryPrincipal) DeepCopyInto(out *RepositoryPrincipal)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositorySpec ¶
type RepositorySpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider RepositoryParameters `json:"forProvider"` }
A RepositorySpec defines the desired state of a Elastic Container 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 { xpv1.ResourceStatus `json:",inline"` AtProvider RepositoryObservation `json:"atProvider,omitempty"` }
A RepositoryStatus represents the observed state of a Elastic Container 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 Tag ¶
type Tag struct { // Key is the name of the tag. Key string `json:"key"` // Value is the value of the tag. Value string `json:"value"` }
Tag defines a tag
func (*Tag) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tag.
func (*Tag) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.