Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package Package v1alpha1 is the v1alpha1 version of the ecr.services.k8s.aws API. +groupName=ecr.services.k8s.aws
Index ¶
- Variables
- type EncryptionConfiguration
- type EncryptionType
- type FindingSeverity
- type Image
- type ImageActionType
- type ImageDetail
- type ImageFailureCode
- type ImageReplicationStatus
- type ImageScanFinding
- type ImageScanningConfiguration
- type ImageTagMutability
- type LayerAvailability
- type LayerFailureCode
- type LifecyclePolicyPreviewStatus
- type ReplicationDestination
- type ReplicationStatus
- type Repository
- type RepositoryFilterType
- type RepositoryList
- type RepositorySpec
- type RepositoryStatus
- type Repository_SDK
- type ScanStatus
- type Tag
- type TagStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is the API Group Version used to register the objects GroupVersion = schema.GroupVersion{Group: "ecr.services.k8s.aws", Version: "v1alpha1"} // 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 )
Functions ¶
This section is empty.
Types ¶
type EncryptionConfiguration ¶
type EncryptionConfiguration struct { EncryptionType *string `json:"encryptionType,omitempty"` KMSKey *string `json:"kmsKey,omitempty"` }
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
By default, when no encryption configuration is set or the AES256 encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES-256 encryption algorithm. This does not require any action on your part.
For more control over the encryption of the contents of your repository, you can use server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your images. For more information, see Amazon ECR encryption at rest (https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html) in the Amazon Elastic Container Registry User Guide.
func (*EncryptionConfiguration) DeepCopy ¶
func (in *EncryptionConfiguration) DeepCopy() *EncryptionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfiguration.
func (*EncryptionConfiguration) DeepCopyInto ¶
func (in *EncryptionConfiguration) DeepCopyInto(out *EncryptionConfiguration)
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 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 Image ¶
type Image struct { RegistryID *string `json:"registryID,omitempty"` RepositoryName *string `json:"repositoryName,omitempty"` }
An object representing an Amazon ECR image.
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageActionType ¶
type ImageActionType string
const (
ImageActionType_EXPIRE ImageActionType = "EXPIRE"
)
type ImageDetail ¶
type ImageDetail struct { RegistryID *string `json:"registryID,omitempty"` RepositoryName *string `json:"repositoryName,omitempty"` }
An object that describes an image returned by a DescribeImages operation.
func (*ImageDetail) DeepCopy ¶
func (in *ImageDetail) DeepCopy() *ImageDetail
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageDetail.
func (*ImageDetail) DeepCopyInto ¶
func (in *ImageDetail) DeepCopyInto(out *ImageDetail)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶ added in v0.0.11
type ImageReplicationStatus struct {
RegistryID *string `json:"registryID,omitempty"`
}
The status of the replication process for an image.
func (*ImageReplicationStatus) DeepCopy ¶ added in v0.0.11
func (in *ImageReplicationStatus) DeepCopy() *ImageReplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReplicationStatus.
func (*ImageReplicationStatus) DeepCopyInto ¶ added in v0.0.11
func (in *ImageReplicationStatus) DeepCopyInto(out *ImageReplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageScanFinding ¶
type ImageScanFinding struct {
URI *string `json:"uri,omitempty"`
}
Contains information about an image scan finding.
func (*ImageScanFinding) DeepCopy ¶
func (in *ImageScanFinding) DeepCopy() *ImageScanFinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageScanFinding.
func (*ImageScanFinding) DeepCopyInto ¶
func (in *ImageScanFinding) DeepCopyInto(out *ImageScanFinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageScanningConfiguration ¶
type ImageScanningConfiguration struct {
ScanOnPush *bool `json:"scanOnPush,omitempty"`
}
The image scanning configuration for a repository.
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 LifecyclePolicyPreviewStatus ¶
type LifecyclePolicyPreviewStatus string
const ( LifecyclePolicyPreviewStatus_IN_PROGRESS LifecyclePolicyPreviewStatus = "IN_PROGRESS" LifecyclePolicyPreviewStatus_COMPLETE LifecyclePolicyPreviewStatus = "COMPLETE" LifecyclePolicyPreviewStatus_EXPIRED LifecyclePolicyPreviewStatus = "EXPIRED" LifecyclePolicyPreviewStatus_FAILED LifecyclePolicyPreviewStatus = "FAILED" )
type ReplicationDestination ¶
type ReplicationDestination struct {
RegistryID *string `json:"registryID,omitempty"`
}
An array of objects representing the destination for a replication rule.
func (*ReplicationDestination) DeepCopy ¶
func (in *ReplicationDestination) DeepCopy() *ReplicationDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationDestination.
func (*ReplicationDestination) DeepCopyInto ¶
func (in *ReplicationDestination) DeepCopyInto(out *ReplicationDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationStatus ¶ added in v0.0.11
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,omitempty"` Status RepositoryStatus `json:"status,omitempty"` }
Repository is the Schema for the Repositories API +kubebuilder:object:root=true +kubebuilder:subresource:status
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.
type RepositoryFilterType ¶ added in v0.0.11
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 Repository +kubebuilder:object:root=true
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.
type RepositorySpec ¶
type RepositorySpec struct { // The encryption configuration for the repository. This determines how the // contents of your repository are encrypted at rest. EncryptionConfiguration *EncryptionConfiguration `json:"encryptionConfiguration,omitempty"` // The image scanning configuration for the repository. This determines whether // images are scanned for known vulnerabilities after being pushed to the repository. 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. ImageTagMutability *string `json:"imageTagMutability,omitempty"` // The JSON repository policy text to apply to the repository. LifecyclePolicy *string `json:"lifecyclePolicy,omitempty"` // The name to use for the repository. The repository name may be specified // on its own (such as nginx-web-app) or it can be prepended with a namespace // to group the repository into a category (such as project-a/nginx-web-app). // +kubebuilder:validation:Required Name *string `json:"name"` // The AWS account ID associated with the registry to create the repository. // If you do not specify a registry, the default registry is assumed. RegistryID *string `json:"registryID,omitempty"` // The metadata that you apply to the repository to help you categorize and // organize them. Each tag consists of a key and an optional value, both of // which you define. Tag keys can have a maximum character length of 128 characters, // and tag values can have a maximum length of 256 characters. Tags []*Tag `json:"tags,omitempty"` }
RepositorySpec defines the desired state of Repository.
An object representing a 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 { // All CRs managed by ACK have a common `Status.ACKResourceMetadata` member // that is used to contain resource sync state, account ownership, // constructed ARN for the resource // +kubebuilder:validation:Optional ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"` // All CRS managed by ACK have a common `Status.Conditions` member that // contains a collection of `ackv1alpha1.Condition` objects that describe // the various terminal states of the CR and its backend AWS service API // resource // +kubebuilder:validation:Optional Conditions []*ackv1alpha1.Condition `json:"conditions"` // The date and time, in JavaScript date format, when the repository was created. // +kubebuilder:validation:Optional CreatedAt *metav1.Time `json:"createdAt,omitempty"` // The URI for the repository. You can use this URI for container image push // and pull operations. // +kubebuilder:validation:Optional RepositoryURI *string `json:"repositoryURI,omitempty"` }
RepositoryStatus defines the observed state of Repository
func (*RepositoryStatus) DeepCopy ¶
func (in *RepositoryStatus) DeepCopy() *RepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryStatus.
func (*RepositoryStatus) DeepCopyInto ¶
func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repository_SDK ¶
type Repository_SDK struct { CreatedAt *metav1.Time `json:"createdAt,omitempty"` // The encryption configuration for the repository. This determines how the // contents of your repository are encrypted at rest. // // By default, when no encryption configuration is set or the AES256 encryption // type is used, Amazon ECR uses server-side encryption with Amazon S3-managed // encryption keys which encrypts your data at rest using an AES-256 encryption // algorithm. This does not require any action on your part. // // For more control over the encryption of the contents of your repository, // you can use server-side encryption with Key Management Service key stored // in Key Management Service (KMS) to encrypt your images. For more information, // see Amazon ECR encryption at rest (https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html) // in the Amazon Elastic Container Registry User Guide. EncryptionConfiguration *EncryptionConfiguration `json:"encryptionConfiguration,omitempty"` // The image scanning configuration for a repository. ImageScanningConfiguration *ImageScanningConfiguration `json:"imageScanningConfiguration,omitempty"` ImageTagMutability *string `json:"imageTagMutability,omitempty"` RegistryID *string `json:"registryID,omitempty"` RepositoryARN *string `json:"repositoryARN,omitempty"` RepositoryName *string `json:"repositoryName,omitempty"` RepositoryURI *string `json:"repositoryURI,omitempty"` }
An object representing a repository.
func (*Repository_SDK) DeepCopy ¶
func (in *Repository_SDK) DeepCopy() *Repository_SDK
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_SDK.
func (*Repository_SDK) DeepCopyInto ¶
func (in *Repository_SDK) DeepCopyInto(out *Repository_SDK)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScanStatus ¶
type ScanStatus string
const ( ScanStatus_IN_PROGRESS ScanStatus = "IN_PROGRESS" ScanStatus_COMPLETE ScanStatus = "COMPLETE" ScanStatus_FAILED ScanStatus = "FAILED" )
type Tag ¶
The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
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.