v1alpha1

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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 AWSECRContainerImageDetails added in v0.1.2

type AWSECRContainerImageDetails struct {
	Registry       *string `json:"registry,omitempty"`
	RepositoryName *string `json:"repositoryName,omitempty"`
}

The image details of the Amazon ECR container image.

func (*AWSECRContainerImageDetails) DeepCopy added in v0.1.2

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

func (*AWSECRContainerImageDetails) DeepCopyInto added in v0.1.2

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

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

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 EnhancedImageScanFinding added in v0.1.2

type EnhancedImageScanFinding struct {
	AWSAccountID *string `json:"awsAccountID,omitempty"`
}

The details of an enhanced image scan. This is returned when enhanced scanning is enabled for your private registry.

func (*EnhancedImageScanFinding) DeepCopy added in v0.1.2

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

func (*EnhancedImageScanFinding) DeepCopyInto added in v0.1.2

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 Image

type Image struct {
	RegistryID     *string `json:"registryID,omitempty"`
	RepositoryName *string `json:"repositoryName,omitempty"`
}

An object representing an Amazon ECR image.

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

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

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

func (*ImageScanningConfiguration) DeepCopyInto

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 PackageVulnerabilityDetails added in v0.1.2

type PackageVulnerabilityDetails struct {
	SourceURL *string `json:"sourceURL,omitempty"`
}

Information about a package vulnerability finding.

func (*PackageVulnerabilityDetails) DeepCopy added in v0.1.2

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

func (*PackageVulnerabilityDetails) DeepCopyInto added in v0.1.2

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

type PullThroughCacheRule added in v0.1.2

type PullThroughCacheRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PullThroughCacheRuleSpec   `json:"spec,omitempty"`
	Status            PullThroughCacheRuleStatus `json:"status,omitempty"`
}

PullThroughCacheRule is the Schema for the PullThroughCacheRules API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*PullThroughCacheRule) DeepCopy added in v0.1.2

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

func (*PullThroughCacheRule) DeepCopyInto added in v0.1.2

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

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

func (*PullThroughCacheRule) DeepCopyObject added in v0.1.2

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

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

type PullThroughCacheRuleList added in v0.1.2

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

PullThroughCacheRuleList contains a list of PullThroughCacheRule +kubebuilder:object:root=true

func (*PullThroughCacheRuleList) DeepCopy added in v0.1.2

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

func (*PullThroughCacheRuleList) DeepCopyInto added in v0.1.2

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

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

func (*PullThroughCacheRuleList) DeepCopyObject added in v0.1.2

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

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

type PullThroughCacheRuleSpec added in v0.1.2

type PullThroughCacheRuleSpec struct {

	// The repository name prefix to use when caching images from the source registry.
	// +kubebuilder:validation:Required
	ECRRepositoryPrefix *string `json:"ecrRepositoryPrefix"`
	// The Amazon Web Services account ID associated with the registry to create
	// the pull through cache rule for. If you do not specify a registry, the default
	// registry is assumed.
	RegistryID *string `json:"registryID,omitempty"`
	// The registry URL of the upstream public registry to use as the source for
	// the pull through cache rule.
	// +kubebuilder:validation:Required
	UpstreamRegistryURL *string `json:"upstreamRegistryURL"`
}

PullThroughCacheRuleSpec defines the desired state of PullThroughCacheRule.

The details of a pull through cache rule.

func (*PullThroughCacheRuleSpec) DeepCopy added in v0.1.2

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

func (*PullThroughCacheRuleSpec) DeepCopyInto added in v0.1.2

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

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

type PullThroughCacheRuleStatus added in v0.1.2

type PullThroughCacheRuleStatus 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 pull through cache
	// rule was created.
	// +kubebuilder:validation:Optional
	CreatedAt *metav1.Time `json:"createdAt,omitempty"`
}

PullThroughCacheRuleStatus defines the observed state of PullThroughCacheRule

func (*PullThroughCacheRuleStatus) DeepCopy added in v0.1.2

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

func (*PullThroughCacheRuleStatus) DeepCopyInto added in v0.1.2

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

type PullThroughCacheRule_SDK added in v0.1.2

type PullThroughCacheRule_SDK struct {
	CreatedAt           *metav1.Time `json:"createdAt,omitempty"`
	ECRRepositoryPrefix *string      `json:"ecrRepositoryPrefix,omitempty"`
	RegistryID          *string      `json:"registryID,omitempty"`
	UpstreamRegistryURL *string      `json:"upstreamRegistryURL,omitempty"`
}

The details of a pull through cache rule.

func (*PullThroughCacheRule_SDK) DeepCopy added in v0.1.2

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

func (*PullThroughCacheRule_SDK) DeepCopyInto added in v0.1.2

func (in *PullThroughCacheRule_SDK) DeepCopyInto(out *PullThroughCacheRule_SDK)

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

type Recommendation added in v0.1.2

type Recommendation struct {
	URL *string `json:"url,omitempty"`
}

Details about the recommended course of action to remediate the finding.

func (*Recommendation) DeepCopy added in v0.1.2

func (in *Recommendation) DeepCopy() *Recommendation

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

func (*Recommendation) DeepCopyInto added in v0.1.2

func (in *Recommendation) DeepCopyInto(out *Recommendation)

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

type ReplicationDestination

type ReplicationDestination struct {
	RegistryID *string `json:"registryID,omitempty"`
}

An array of objects representing the destination for a replication rule.

func (*ReplicationDestination) DeepCopy

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 +kubebuilder:printcolumn:name="REGISTRY-ID",type=string,priority=0,JSONPath=`.spec.registryID` +kubebuilder:printcolumn:name="IMAGE-TAG-MUTABILITY",type=string,priority=0,JSONPath=`.spec.imageTagMutability` +kubebuilder:printcolumn:name="Synced",type="string",priority=0,JSONPath=".status.conditions[?(@.type==\"ACK.ResourceSynced\")].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 RepositoryScanningConfiguration added in v0.1.2

type RepositoryScanningConfiguration struct {
	RepositoryARN  *string `json:"repositoryARN,omitempty"`
	RepositoryName *string `json:"repositoryName,omitempty"`
	ScanOnPush     *bool   `json:"scanOnPush,omitempty"`
}

The details of the scanning configuration for a repository.

func (*RepositoryScanningConfiguration) DeepCopy added in v0.1.2

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

func (*RepositoryScanningConfiguration) DeepCopyInto added in v0.1.2

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

type RepositoryScanningConfigurationFailure added in v0.1.2

type RepositoryScanningConfigurationFailure struct {
	RepositoryName *string `json:"repositoryName,omitempty"`
}

The details about any failures associated with the scanning configuration of a repository.

func (*RepositoryScanningConfigurationFailure) DeepCopy added in v0.1.2

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

func (*RepositoryScanningConfigurationFailure) DeepCopyInto added in v0.1.2

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

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 JSON repository policy text to apply to the repository. For more information,
	// see Amazon ECR repository policies (https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html)
	// in the Amazon Elastic Container Registry User Guide.
	Policy *string `json:"policy,omitempty"`
	// The Amazon Web Services 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 ScanFrequency added in v0.1.2

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 ScanType added in v0.1.2

type ScanType string
const (
	ScanType_BASIC    ScanType = "BASIC"
	ScanType_ENHANCED ScanType = "ENHANCED"
)

type ScanningConfigurationFailureCode added in v0.1.2

type ScanningConfigurationFailureCode string
const (
	ScanningConfigurationFailureCode_REPOSITORY_NOT_FOUND ScanningConfigurationFailureCode = "REPOSITORY_NOT_FOUND"
)

type ScanningRepositoryFilterType added in v0.1.2

type ScanningRepositoryFilterType string
const (
	ScanningRepositoryFilterType_WILDCARD ScanningRepositoryFilterType = "WILDCARD"
)

type Tag

type Tag struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

The metadata to apply to a resource to help you categorize and organize them. Each tag consists of a key and a 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

func (in *Tag) DeepCopy() *Tag

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

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

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

type TagStatus

type TagStatus string
const (
	TagStatus_TAGGED   TagStatus = "TAGGED"
	TagStatus_UNTAGGED TagStatus = "UNTAGGED"
	TagStatus_ANY      TagStatus = "ANY"
)

Jump to

Keyboard shortcuts

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