Documentation
¶
Overview ¶
Package v1alpha1 contains managed resources for AWS ECR services +kubebuilder:object:generate=true +groupName=ecr.aws.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AWSECRContainerImageDetails
- type AWSPrincipal
- type Condition
- type ConditionPair
- type CustomLifecyclePolicyObservation
- type CustomLifecyclePolicyParameters
- type EncryptionType
- type EnhancedImageScanFinding
- type FindingSeverity
- type ImageActionType
- type ImageFailureCode
- type ImageReplicationStatus
- type ImageScanningConfiguration
- type ImageTagMutability
- type LayerAvailability
- type LayerFailureCode
- type LifecyclePolicy
- func (in *LifecyclePolicy) DeepCopy() *LifecyclePolicy
- func (in *LifecyclePolicy) DeepCopyInto(out *LifecyclePolicy)
- func (in *LifecyclePolicy) DeepCopyObject() runtime.Object
- func (mg *LifecyclePolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *LifecyclePolicy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *LifecyclePolicy) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *LifecyclePolicy) GetProviderConfigReference() *xpv1.Reference
- func (mg *LifecyclePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *LifecyclePolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *LifecyclePolicy) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *LifecyclePolicy) SetConditions(c ...xpv1.Condition)
- func (mg *LifecyclePolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *LifecyclePolicy) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *LifecyclePolicy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *LifecyclePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *LifecyclePolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LifecyclePolicyList
- type LifecyclePolicyObservation
- type LifecyclePolicyParameters
- type LifecyclePolicyPreviewStatus
- type LifecyclePolicySpec
- type LifecyclePolicyStatus
- type PullThroughCacheRule
- type ReplicationStatus
- 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) 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) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Repository) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RepositoryFilterType
- 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) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *RepositoryPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- 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) 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 RepositoryScanningConfiguration
- type RepositoryScanningConfigurationFailure
- type RepositorySpec
- type RepositoryStatus
- type ScanFrequency
- type ScanStatus
- type ScanType
- type ScanningConfigurationFailureCode
- type ScanningRepositoryFilterType
- type Tag
- type TagStatus
Constants ¶
const ( CRDGroup = "ecr.aws.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( RepositoryKind = reflect.TypeOf(Repository{}).Name() RepositoryGroupKind = schema.GroupKind{Group: CRDGroup, Kind: RepositoryKind}.String() RepositoryKindAPIVersion = RepositoryKind + "." + GroupVersion.String() RepositoryGroupVersionKind = GroupVersion.WithKind(RepositoryKind) )
Repository type metadata.
var ( RepositoryPolicyKind = reflect.TypeOf(RepositoryPolicy{}).Name() RepositoryPolicyGroupKind = schema.GroupKind{Group: CRDGroup, Kind: RepositoryPolicyKind}.String() RepositoryPolicyKindAPIVersion = RepositoryPolicyKind + "." + GroupVersion.String() RepositoryPolicyGroupVersionKind = GroupVersion.WithKind(RepositoryPolicyKind) )
RepositoryPolicy type metadata.
var ( // GroupVersion is the API Group Version used to register the objects GroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( LifecyclePolicyKind = "LifecyclePolicy" LifecyclePolicyGroupKind = schema.GroupKind{Group: CRDGroup, Kind: LifecyclePolicyKind}.String() LifecyclePolicyKindAPIVersion = LifecyclePolicyKind + "." + GroupVersion.String() LifecyclePolicyGroupVersionKind = GroupVersion.WithKind(LifecyclePolicyKind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AWSECRContainerImageDetails ¶ added in v0.34.0
type AWSECRContainerImageDetails struct {
Registry *string `json:"registry,omitempty"`
RepositoryName *string `json:"repositoryName,omitempty"`
}
+kubebuilder:skipversion
func (*AWSECRContainerImageDetails) DeepCopy ¶ added in v0.34.0
func (in *AWSECRContainerImageDetails) DeepCopy() *AWSECRContainerImageDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSECRContainerImageDetails.
func (*AWSECRContainerImageDetails) DeepCopyInto ¶ added in v0.34.0
func (in *AWSECRContainerImageDetails) DeepCopyInto(out *AWSECRContainerImageDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 CustomLifecyclePolicyObservation ¶ added in v0.51.3
type CustomLifecyclePolicyObservation struct{}
CustomLifecyclePolicyObservation includes the custom status fields of LifecyclePolicy.
func (*CustomLifecyclePolicyObservation) DeepCopy ¶ added in v0.51.3
func (in *CustomLifecyclePolicyObservation) DeepCopy() *CustomLifecyclePolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomLifecyclePolicyObservation.
func (*CustomLifecyclePolicyObservation) DeepCopyInto ¶ added in v0.51.3
func (in *CustomLifecyclePolicyObservation) DeepCopyInto(out *CustomLifecyclePolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomLifecyclePolicyParameters ¶
type CustomLifecyclePolicyParameters struct {
// RepositoryName is the name of the Repository that the policy should attach to
// +immutable
// +crossplane:generate:reference:type=Repository
RepositoryName *string `json:"repositoryName,omitempty"`
// RepositoryNameRef is the name of the Repository that the policy should attach to
// +optional
RepositoryNameRef *xpv1.Reference `json:"repositoryNameRef,omitempty"`
// RepositoryNameSelector selects a references to the Repository the policy should attach to
// +optional
RepositoryNameSelector *xpv1.Selector `json:"repositoryNameSelector,omitempty"`
}
CustomLifecyclePolicyParameters are custom reference parameters for the LifecyclePolicy
func (*CustomLifecyclePolicyParameters) DeepCopy ¶
func (in *CustomLifecyclePolicyParameters) DeepCopy() *CustomLifecyclePolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomLifecyclePolicyParameters.
func (*CustomLifecyclePolicyParameters) DeepCopyInto ¶
func (in *CustomLifecyclePolicyParameters) DeepCopyInto(out *CustomLifecyclePolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionType ¶
type EncryptionType string
const ( EncryptionType_AES256 EncryptionType = "AES256" EncryptionType_KMS EncryptionType = "KMS" )
type EnhancedImageScanFinding ¶ added in v0.34.0
type EnhancedImageScanFinding struct {
AWSAccountID *string `json:"awsAccountID,omitempty"`
}
+kubebuilder:skipversion
func (*EnhancedImageScanFinding) DeepCopy ¶ added in v0.34.0
func (in *EnhancedImageScanFinding) DeepCopy() *EnhancedImageScanFinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnhancedImageScanFinding.
func (*EnhancedImageScanFinding) DeepCopyInto ¶ added in v0.34.0
func (in *EnhancedImageScanFinding) DeepCopyInto(out *EnhancedImageScanFinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FindingSeverity ¶
type FindingSeverity string
const ( FindingSeverity_INFORMATIONAL FindingSeverity = "INFORMATIONAL" FindingSeverity_LOW FindingSeverity = "LOW" FindingSeverity_MEDIUM FindingSeverity = "MEDIUM" FindingSeverity_HIGH FindingSeverity = "HIGH" FindingSeverity_CRITICAL FindingSeverity = "CRITICAL" FindingSeverity_UNDEFINED FindingSeverity = "UNDEFINED" )
type ImageActionType ¶
type ImageActionType string
const (
ImageActionType_EXPIRE ImageActionType = "EXPIRE"
)
type ImageFailureCode ¶
type ImageFailureCode string
const ( ImageFailureCode_InvalidImageDigest ImageFailureCode = "InvalidImageDigest" ImageFailureCode_InvalidImageTag ImageFailureCode = "InvalidImageTag" ImageFailureCode_ImageTagDoesNotMatchDigest ImageFailureCode = "ImageTagDoesNotMatchDigest" ImageFailureCode_ImageNotFound ImageFailureCode = "ImageNotFound" ImageFailureCode_MissingDigestAndTag ImageFailureCode = "MissingDigestAndTag" ImageFailureCode_ImageReferencedByManifestList ImageFailureCode = "ImageReferencedByManifestList" ImageFailureCode_KmsError ImageFailureCode = "KmsError" )
type ImageReplicationStatus ¶
type ImageReplicationStatus struct {
RegistryID *string `json:"registryID,omitempty"`
}
+kubebuilder:skipversion
func (*ImageReplicationStatus) DeepCopy ¶
func (in *ImageReplicationStatus) DeepCopy() *ImageReplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReplicationStatus.
func (*ImageReplicationStatus) DeepCopyInto ¶
func (in *ImageReplicationStatus) DeepCopyInto(out *ImageReplicationStatus)
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 ImageTagMutability ¶
type ImageTagMutability string
const ( ImageTagMutability_MUTABLE ImageTagMutability = "MUTABLE" ImageTagMutability_IMMUTABLE ImageTagMutability = "IMMUTABLE" )
type LayerAvailability ¶
type LayerAvailability string
const ( LayerAvailability_AVAILABLE LayerAvailability = "AVAILABLE" LayerAvailability_UNAVAILABLE LayerAvailability = "UNAVAILABLE" )
type LayerFailureCode ¶
type LayerFailureCode string
const ( LayerFailureCode_InvalidLayerDigest LayerFailureCode = "InvalidLayerDigest" LayerFailureCode_MissingLayerDigest LayerFailureCode = "MissingLayerDigest" )
type LifecyclePolicy ¶
type LifecyclePolicy struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec LifecyclePolicySpec `json:"spec"`
Status LifecyclePolicyStatus `json:"status,omitempty"`
}
LifecyclePolicy is the Schema for the LifecyclePolicies API +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:storageversion +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) GetDeletionPolicy ¶
func (mg *LifecyclePolicy) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this LifecyclePolicy.
func (*LifecyclePolicy) GetManagementPolicies ¶ added in v0.43.0
func (mg *LifecyclePolicy) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this LifecyclePolicy.
func (*LifecyclePolicy) GetProviderConfigReference ¶
func (mg *LifecyclePolicy) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this LifecyclePolicy.
func (*LifecyclePolicy) GetPublishConnectionDetailsTo ¶
func (mg *LifecyclePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this LifecyclePolicy.
func (*LifecyclePolicy) GetWriteConnectionSecretToReference ¶
func (mg *LifecyclePolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this LifecyclePolicy.
func (*LifecyclePolicy) ResolveReferences ¶
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.43.0
func (mg *LifecyclePolicy) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this LifecyclePolicy.
func (*LifecyclePolicy) SetProviderConfigReference ¶
func (mg *LifecyclePolicy) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this LifecyclePolicy.
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 LifecyclePolicyList ¶
type LifecyclePolicyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []LifecyclePolicy `json:"items"`
}
LifecyclePolicyList contains a list of LifecyclePolicies
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 {
// The repository name associated with the request.
RepositoryName *string `json:"repositoryName,omitempty"`
CustomLifecyclePolicyObservation `json:",inline"`
}
LifecyclePolicyObservation defines the observed state of LifecyclePolicy
func (*LifecyclePolicyObservation) DeepCopy ¶
func (in *LifecyclePolicyObservation) DeepCopy() *LifecyclePolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecyclePolicyObservation.
func (*LifecyclePolicyObservation) DeepCopyInto ¶
func (in *LifecyclePolicyObservation) DeepCopyInto(out *LifecyclePolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LifecyclePolicyParameters ¶
type LifecyclePolicyParameters struct {
// Region is which region the LifecyclePolicy will be created.
// +kubebuilder:validation:Required
Region string `json:"region"`
// The JSON repository policy text to apply to the repository.
// +kubebuilder:validation:Required
LifecyclePolicyText *string `json:"lifecyclePolicyText"`
// The Amazon Web Services account ID associated with the registry that contains
// the repository. If you do not specify a registry, the default registry is
// assumed.
RegistryID *string `json:"registryID,omitempty"`
CustomLifecyclePolicyParameters `json:",inline"`
}
LifecyclePolicyParameters defines the desired state of LifecyclePolicy
func (*LifecyclePolicyParameters) DeepCopy ¶
func (in *LifecyclePolicyParameters) DeepCopy() *LifecyclePolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecyclePolicyParameters.
func (*LifecyclePolicyParameters) DeepCopyInto ¶
func (in *LifecyclePolicyParameters) DeepCopyInto(out *LifecyclePolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LifecyclePolicyPreviewStatus ¶
type LifecyclePolicyPreviewStatus string
const ( LifecyclePolicyPreviewStatus_IN_PROGRESS LifecyclePolicyPreviewStatus = "IN_PROGRESS" LifecyclePolicyPreviewStatus_COMPLETE LifecyclePolicyPreviewStatus = "COMPLETE" LifecyclePolicyPreviewStatus_EXPIRED LifecyclePolicyPreviewStatus = "EXPIRED" LifecyclePolicyPreviewStatus_FAILED LifecyclePolicyPreviewStatus = "FAILED" )
type LifecyclePolicySpec ¶
type LifecyclePolicySpec struct {
xpv1.ResourceSpec `json:",inline"`
ForProvider LifecyclePolicyParameters `json:"forProvider"`
}
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 {
xpv1.ResourceStatus `json:",inline"`
AtProvider LifecyclePolicyObservation `json:"atProvider,omitempty"`
}
LifecyclePolicyStatus defines the observed state of LifecyclePolicy.
func (*LifecyclePolicyStatus) DeepCopy ¶
func (in *LifecyclePolicyStatus) DeepCopy() *LifecyclePolicyStatus
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 ¶ added in v0.34.0
type PullThroughCacheRule struct {
RegistryID *string `json:"registryID,omitempty"`
}
+kubebuilder:skipversion
func (*PullThroughCacheRule) DeepCopy ¶ added in v0.34.0
func (in *PullThroughCacheRule) DeepCopy() *PullThroughCacheRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullThroughCacheRule.
func (*PullThroughCacheRule) DeepCopyInto ¶ added in v0.34.0
func (in *PullThroughCacheRule) DeepCopyInto(out *PullThroughCacheRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationStatus ¶
type ReplicationStatus string
const ( ReplicationStatus_IN_PROGRESS ReplicationStatus = "IN_PROGRESS" ReplicationStatus_COMPLETE ReplicationStatus = "COMPLETE" ReplicationStatus_FAILED ReplicationStatus = "FAILED" )
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} +kubebuilder:deprecatedversion:warning="Please use v1beta1 version of this resource that has identical schema." Deprecated: Please use v1beta1 version of this resource.
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) 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) 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 RepositoryFilterType ¶
type RepositoryFilterType string
const (
RepositoryFilterType_PREFIX_MATCH RepositoryFilterType = "PREFIX_MATCH"
)
type RepositoryList ¶
type RepositoryList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Repository `json:"items"`
}
RepositoryList contains a list of ECRs +kubebuilder:deprecatedversion:warning="Please use v1beta1 version of this resource that has identical schema." Deprecated: Please use v1beta1 version of this resource.
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} +kubebuilder:deprecatedversion:warning="Please use v1beta1 version of this resource that has identical schema." Deprecated: Please use v1beta1 version of this resource.
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) 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) 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) 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 +kubebuilder:deprecatedversion:warning="Please use v1beta1 version of this resource that has identical schema." Deprecated: Please use v1beta1 version of this resource.
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 RepositoryScanningConfiguration ¶ added in v0.34.0
type RepositoryScanningConfiguration struct {
RepositoryName *string `json:"repositoryName,omitempty"`
}
+kubebuilder:skipversion
func (*RepositoryScanningConfiguration) DeepCopy ¶ added in v0.34.0
func (in *RepositoryScanningConfiguration) DeepCopy() *RepositoryScanningConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryScanningConfiguration.
func (*RepositoryScanningConfiguration) DeepCopyInto ¶ added in v0.34.0
func (in *RepositoryScanningConfiguration) DeepCopyInto(out *RepositoryScanningConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryScanningConfigurationFailure ¶ added in v0.34.0
type RepositoryScanningConfigurationFailure struct {
RepositoryName *string `json:"repositoryName,omitempty"`
}
+kubebuilder:skipversion
func (*RepositoryScanningConfigurationFailure) DeepCopy ¶ added in v0.34.0
func (in *RepositoryScanningConfigurationFailure) DeepCopy() *RepositoryScanningConfigurationFailure
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryScanningConfigurationFailure.
func (*RepositoryScanningConfigurationFailure) DeepCopyInto ¶ added in v0.34.0
func (in *RepositoryScanningConfigurationFailure) DeepCopyInto(out *RepositoryScanningConfigurationFailure)
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 ScanFrequency ¶ added in v0.34.0
type ScanFrequency string
const ( ScanFrequency_SCAN_ON_PUSH ScanFrequency = "SCAN_ON_PUSH" ScanFrequency_CONTINUOUS_SCAN ScanFrequency = "CONTINUOUS_SCAN" ScanFrequency_MANUAL ScanFrequency = "MANUAL" )
type ScanStatus ¶
type ScanStatus string
const ( ScanStatus_IN_PROGRESS ScanStatus = "IN_PROGRESS" ScanStatus_COMPLETE ScanStatus = "COMPLETE" ScanStatus_FAILED ScanStatus = "FAILED" ScanStatus_UNSUPPORTED_IMAGE ScanStatus = "UNSUPPORTED_IMAGE" ScanStatus_ACTIVE ScanStatus = "ACTIVE" ScanStatus_PENDING ScanStatus = "PENDING" ScanStatus_SCAN_ELIGIBILITY_EXPIRED ScanStatus = "SCAN_ELIGIBILITY_EXPIRED" ScanStatus_FINDINGS_UNAVAILABLE ScanStatus = "FINDINGS_UNAVAILABLE" )
type ScanningConfigurationFailureCode ¶ added in v0.34.0
type ScanningConfigurationFailureCode string
const (
ScanningConfigurationFailureCode_REPOSITORY_NOT_FOUND ScanningConfigurationFailureCode = "REPOSITORY_NOT_FOUND"
)
type ScanningRepositoryFilterType ¶ added in v0.34.0
type ScanningRepositoryFilterType string
const (
ScanningRepositoryFilterType_WILDCARD ScanningRepositoryFilterType = "WILDCARD"
)
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.