v1alpha1

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 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 {
	LastInUseAt    *metav1.Time `json:"lastInUseAt,omitempty"`
	PushedAt       *metav1.Time `json:"pushedAt,omitempty"`
	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 ArtifactStatus added in v1.4.2

type ArtifactStatus string
const (
	ArtifactStatus_ACTIVATING ArtifactStatus = "ACTIVATING"
	ArtifactStatus_ACTIVE     ArtifactStatus = "ACTIVE"
	ArtifactStatus_ARCHIVED   ArtifactStatus = "ARCHIVED"
)

type ArtifactStatusFilter added in v1.4.2

type ArtifactStatusFilter string
const (
	ArtifactStatusFilter_ACTIVATING ArtifactStatusFilter = "ACTIVATING"
	ArtifactStatusFilter_ACTIVE     ArtifactStatusFilter = "ACTIVE"
	ArtifactStatusFilter_ANY        ArtifactStatusFilter = "ANY"
	ArtifactStatusFilter_ARCHIVED   ArtifactStatusFilter = "ARCHIVED"
)

type EncryptionConfiguration

type EncryptionConfiguration struct {
	EncryptionType *string `json:"encryptionType,omitempty"`
	KMSKey         *string `json:"kmsKey,omitempty"`
	// Reference field for KMSKey
	KMSKeyRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"kmsKeyRef,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 AES256 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 EncryptionConfigurationForRepositoryCreationTemplate added in v1.0.22

type EncryptionConfigurationForRepositoryCreationTemplate struct {
	EncryptionType *string `json:"encryptionType,omitempty"`
	KMSKey         *string `json:"kmsKey,omitempty"`
	// Reference field for KMSKey
	KMSKeyRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"kmsKeyRef,omitempty"`
}

The encryption configuration to associate with the repository creation template.

func (*EncryptionConfigurationForRepositoryCreationTemplate) DeepCopy added in v1.0.22

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

func (*EncryptionConfigurationForRepositoryCreationTemplate) DeepCopyInto added in v1.0.22

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"
	EncryptionType_KMS_DSSE EncryptionType = "KMS_DSSE"
)

type EnhancedImageScanFinding added in v0.1.2

type EnhancedImageScanFinding struct {
	AWSAccountID    *string      `json:"awsAccountID,omitempty"`
	FirstObservedAt *metav1.Time `json:"firstObservedAt,omitempty"`
	LastObservedAt  *metav1.Time `json:"lastObservedAt,omitempty"`
	UpdatedAt       *metav1.Time `json:"updatedAt,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_CRITICAL      FindingSeverity = "CRITICAL"
	FindingSeverity_HIGH          FindingSeverity = "HIGH"
	FindingSeverity_INFORMATIONAL FindingSeverity = "INFORMATIONAL"
	FindingSeverity_LOW           FindingSeverity = "LOW"
	FindingSeverity_MEDIUM        FindingSeverity = "MEDIUM"
	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"
	ImageActionType_TRANSITION ImageActionType = "TRANSITION"
)

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_ImageInaccessible             ImageFailureCode = "ImageInaccessible"
	ImageFailureCode_ImageNotFound                 ImageFailureCode = "ImageNotFound"
	ImageFailureCode_ImageReferencedByManifestList ImageFailureCode = "ImageReferencedByManifestList"
	ImageFailureCode_ImageTagDoesNotMatchDigest    ImageFailureCode = "ImageTagDoesNotMatchDigest"
	ImageFailureCode_InvalidImageDigest            ImageFailureCode = "InvalidImageDigest"
	ImageFailureCode_InvalidImageTag               ImageFailureCode = "InvalidImageTag"
	ImageFailureCode_KmsError                      ImageFailureCode = "KmsError"
	ImageFailureCode_MissingDigestAndTag           ImageFailureCode = "MissingDigestAndTag"
	ImageFailureCode_UpstreamAccessDenied          ImageFailureCode = "UpstreamAccessDenied"
	ImageFailureCode_UpstreamTooManyRequests       ImageFailureCode = "UpstreamTooManyRequests"
	ImageFailureCode_UpstreamUnavailable           ImageFailureCode = "UpstreamUnavailable"
)

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 ImageStatus added in v1.4.2

type ImageStatus string
const (
	ImageStatus_ACTIVATING ImageStatus = "ACTIVATING"
	ImageStatus_ACTIVE     ImageStatus = "ACTIVE"
	ImageStatus_ARCHIVED   ImageStatus = "ARCHIVED"
)

type ImageStatusFilter added in v1.4.2

type ImageStatusFilter string
const (
	ImageStatusFilter_ACTIVATING ImageStatusFilter = "ACTIVATING"
	ImageStatusFilter_ACTIVE     ImageStatusFilter = "ACTIVE"
	ImageStatusFilter_ANY        ImageStatusFilter = "ANY"
	ImageStatusFilter_ARCHIVED   ImageStatusFilter = "ARCHIVED"
)

type ImageTagMutability

type ImageTagMutability string
const (
	ImageTagMutability_IMMUTABLE                ImageTagMutability = "IMMUTABLE"
	ImageTagMutability_IMMUTABLE_WITH_EXCLUSION ImageTagMutability = "IMMUTABLE_WITH_EXCLUSION"
	ImageTagMutability_MUTABLE                  ImageTagMutability = "MUTABLE"
	ImageTagMutability_MUTABLE_WITH_EXCLUSION   ImageTagMutability = "MUTABLE_WITH_EXCLUSION"
)

type ImageTagMutabilityExclusionFilter added in v1.3.0

type ImageTagMutabilityExclusionFilter struct {
	Filter     *string `json:"filter,omitempty"`
	FilterType *string `json:"filterType,omitempty"`
}

A filter that specifies which image tags should be excluded from the repository's image tag mutability setting.

func (*ImageTagMutabilityExclusionFilter) DeepCopy added in v1.3.0

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

func (*ImageTagMutabilityExclusionFilter) DeepCopyInto added in v1.3.0

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

type ImageTagMutabilityExclusionFilterType added in v1.2.0

type ImageTagMutabilityExclusionFilterType string
const (
	ImageTagMutabilityExclusionFilterType_WILDCARD ImageTagMutabilityExclusionFilterType = "WILDCARD"
)

type LayerAvailability

type LayerAvailability string
const (
	LayerAvailability_ARCHIVED    LayerAvailability = "ARCHIVED"
	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_COMPLETE    LifecyclePolicyPreviewStatus = "COMPLETE"
	LifecyclePolicyPreviewStatus_EXPIRED     LifecyclePolicyPreviewStatus = "EXPIRED"
	LifecyclePolicyPreviewStatus_FAILED      LifecyclePolicyPreviewStatus = "FAILED"
	LifecyclePolicyPreviewStatus_IN_PROGRESS LifecyclePolicyPreviewStatus = "IN_PROGRESS"
)

type LifecyclePolicyStorageClass added in v1.4.2

type LifecyclePolicyStorageClass string
const (
	LifecyclePolicyStorageClass_ARCHIVE  LifecyclePolicyStorageClass = "ARCHIVE"
	LifecyclePolicyStorageClass_STANDARD LifecyclePolicyStorageClass = "STANDARD"
)

type LifecyclePolicyTargetStorageClass added in v1.4.2

type LifecyclePolicyTargetStorageClass string
const (
	LifecyclePolicyTargetStorageClass_ARCHIVE LifecyclePolicyTargetStorageClass = "ARCHIVE"
)

type PackageVulnerabilityDetails added in v0.1.2

type PackageVulnerabilityDetails struct {
	SourceURL       *string      `json:"sourceURL,omitempty"`
	VendorCreatedAt *metav1.Time `json:"vendorCreatedAt,omitempty"`
	VendorUpdatedAt *metav1.Time `json:"vendorUpdatedAt,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 Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
	// secret that identifies the credentials to authenticate to the upstream registry.
	//
	// Regex Pattern: `^arn:aws(-\w+)*:secretsmanager:[a-zA-Z0-9-:]+:secret:ecr\-pullthroughcache\/[a-zA-Z0-9\/_+=.@-]+$`
	CredentialARN *string                                  `json:"credentialARN,omitempty"`
	CredentialRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"credentialRef,omitempty"`
	// Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to
	// authenticate to the ECR upstream registry. This role must be in the same
	// account as the registry that you are configuring.
	CustomRoleARN *string                                  `json:"customRoleARN,omitempty"`
	CustomRoleRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"customRoleRef,omitempty"`
	// The repository name prefix to use when caching images from the source registry.
	//
	// There is always an assumed / applied to the end of the prefix. If you specify
	// ecr-public as the prefix, Amazon ECR treats that as ecr-public/.
	//
	// Regex Pattern: `^((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*/?|ROOT)$`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable once set"
	// +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.
	//
	// Regex Pattern: `^[0-9]{12}$`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable once set"
	RegistryID *string `json:"registryID,omitempty"`
	// The name of the upstream registry.
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable once set"
	UpstreamRegistry *string `json:"upstreamRegistry,omitempty"`
	// The registry URL of the upstream public registry to use as the source for
	// the pull through cache rule. The following is the syntax to use for each
	// supported upstream registry.
	//
	//   - Amazon ECR (ecr) – .dkr.ecr..amazonaws.com
	//
	//   - Amazon ECR Public (ecr-public) – public.ecr.aws
	//
	//   - Docker Hub (docker-hub) – registry-1.docker.io
	//
	//   - GitHub Container Registry (github-container-registry) – ghcr.io
	//
	//   - GitLab Container Registry (gitlab-container-registry) – registry.gitlab.com
	//
	//   - Kubernetes (k8s) – registry.k8s.io
	//
	//   - Microsoft Azure Container Registry (azure-container-registry) – .azurecr.io
	//
	//   - Quay (quay) – quay.io
	//
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable once set"
	// +kubebuilder:validation:Required
	UpstreamRegistryURL *string `json:"upstreamRegistryURL"`
	// The repository name prefix of the upstream registry to match with the upstream
	// repository name. When this field isn't specified, Amazon ECR will use the
	// ROOT.
	//
	// Regex Pattern: `^((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*/?|ROOT)$`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable once set"
	UpstreamRepositoryPrefix *string `json:"upstreamRepositoryPrefix,omitempty"`
}

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"`
	CredentialARN            *string      `json:"credentialARN,omitempty"`
	CustomRoleARN            *string      `json:"customRoleARN,omitempty"`
	ECRRepositoryPrefix      *string      `json:"ecrRepositoryPrefix,omitempty"`
	RegistryID               *string      `json:"registryID,omitempty"`
	UpdatedAt                *metav1.Time `json:"updatedAt,omitempty"`
	UpstreamRegistry         *string      `json:"upstreamRegistry,omitempty"`
	UpstreamRegistryURL      *string      `json:"upstreamRegistryURL,omitempty"`
	UpstreamRepositoryPrefix *string      `json:"upstreamRepositoryPrefix,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 RCTAppliedFor added in v1.0.22

type RCTAppliedFor string
const (
	RCTAppliedFor_PULL_THROUGH_CACHE RCTAppliedFor = "PULL_THROUGH_CACHE"
	RCTAppliedFor_REPLICATION        RCTAppliedFor = "REPLICATION"
)

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_COMPLETE    ReplicationStatus = "COMPLETE"
	ReplicationStatus_FAILED      ReplicationStatus = "FAILED"
	ReplicationStatus_IN_PROGRESS ReplicationStatus = "IN_PROGRESS"
)

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 RepositoryCreationTemplate added in v1.0.22

type RepositoryCreationTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RepositoryCreationTemplateSpec   `json:"spec,omitempty"`
	Status            RepositoryCreationTemplateStatus `json:"status,omitempty"`
}

RepositoryCreationTemplate is the Schema for the RepositoryCreationTemplates API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*RepositoryCreationTemplate) DeepCopy added in v1.0.22

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

func (*RepositoryCreationTemplate) DeepCopyInto added in v1.0.22

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

func (*RepositoryCreationTemplate) DeepCopyObject added in v1.4.2

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

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

type RepositoryCreationTemplateList added in v1.4.2

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

RepositoryCreationTemplateList contains a list of RepositoryCreationTemplate +kubebuilder:object:root=true

func (*RepositoryCreationTemplateList) DeepCopy added in v1.4.2

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

func (*RepositoryCreationTemplateList) DeepCopyInto added in v1.4.2

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

func (*RepositoryCreationTemplateList) DeepCopyObject added in v1.4.2

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

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

type RepositoryCreationTemplateSpec added in v1.4.2

type RepositoryCreationTemplateSpec struct {

	// A list of enumerable strings representing the Amazon ECR repository creation
	// scenarios that this template will apply towards. The two supported scenarios
	// are PULL_THROUGH_CACHE and REPLICATION
	// +kubebuilder:validation:Required
	AppliedFor []*string `json:"appliedFor"`
	// The ARN of the role to be assumed by Amazon ECR. This role must be in the
	// same account as the registry that you are configuring. Amazon ECR will assume
	// your supplied role when the customRoleArn is specified. When this field isn't
	// specified, Amazon ECR will use the service-linked role for the repository
	// creation template.
	CustomRoleARN *string                                  `json:"customRoleARN,omitempty"`
	CustomRoleRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"customRoleRef,omitempty"`
	// A description for the repository creation template.
	Description *string `json:"description,omitempty"`
	// The encryption configuration to use for repositories created using the template.
	EncryptionConfiguration *EncryptionConfigurationForRepositoryCreationTemplate `json:"encryptionConfiguration,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"`
	// A list of filters that specify which image tags should be excluded from the
	// repository creation template's image tag mutability setting.
	ImageTagMutabilityExclusionFilters []*ImageTagMutabilityExclusionFilter `json:"imageTagMutabilityExclusionFilters,omitempty"`
	// The lifecycle policy to use for repositories created using the template.
	LifecyclePolicy *string `json:"lifecyclePolicy,omitempty"`
	// The repository namespace prefix to associate with the template. All repositories
	// created using this namespace prefix will have the settings defined in this
	// template applied. For example, a prefix of prod would apply to all repositories
	// beginning with prod/. Similarly, a prefix of prod/team would apply to all
	// repositories beginning with prod/team/.
	//
	// To apply a template to all repositories in your registry that don't have
	// an associated creation template, you can use ROOT as the prefix.
	//
	// There is always an assumed / applied to the end of the prefix. If you specify
	// ecr-public as the prefix, Amazon ECR treats that as ecr-public/. When using
	// a pull through cache rule, the repository prefix you specify during rule
	// creation is what you should specify as your repository creation template
	// prefix as well.
	//
	// Regex Pattern: `^((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*/?|ROOT)$`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable once set"
	// +kubebuilder:validation:Required
	Prefix *string `json:"prefix"`
	// The repository policy to apply to repositories created using the template.
	// A repository policy is a permissions policy associated with a repository
	// to control access permissions.
	RepositoryPolicy *string `json:"repositoryPolicy,omitempty"`
	// The metadata to apply to the repository to help you categorize and organize.
	// 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.
	ResourceTags []*Tag `json:"resourceTags,omitempty"`
}

RepositoryCreationTemplateSpec defines the desired state of RepositoryCreationTemplate.

The details of the repository creation template associated with the request.

func (*RepositoryCreationTemplateSpec) DeepCopy added in v1.4.2

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

func (*RepositoryCreationTemplateSpec) DeepCopyInto added in v1.4.2

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

type RepositoryCreationTemplateStatus added in v1.4.2

type RepositoryCreationTemplateStatus 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 creation
	// template was created.
	// +kubebuilder:validation:Optional
	CreatedAt *metav1.Time `json:"createdAt,omitempty"`
	// The date and time, in JavaScript date format, when the repository creation
	// template was last updated.
	// +kubebuilder:validation:Optional
	UpdatedAt *metav1.Time `json:"updatedAt,omitempty"`
}

RepositoryCreationTemplateStatus defines the observed state of RepositoryCreationTemplate

func (*RepositoryCreationTemplateStatus) DeepCopy added in v1.4.2

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

func (*RepositoryCreationTemplateStatus) DeepCopyInto added in v1.4.2

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

type RepositoryCreationTemplate_SDK added in v1.4.2

type RepositoryCreationTemplate_SDK struct {
	AppliedFor    []*string    `json:"appliedFor,omitempty"`
	CreatedAt     *metav1.Time `json:"createdAt,omitempty"`
	CustomRoleARN *string      `json:"customRoleARN,omitempty"`
	Description   *string      `json:"description,omitempty"`
	// The encryption configuration to associate with the repository creation template.
	EncryptionConfiguration            *EncryptionConfigurationForRepositoryCreationTemplate `json:"encryptionConfiguration,omitempty"`
	ImageTagMutability                 *string                                               `json:"imageTagMutability,omitempty"`
	ImageTagMutabilityExclusionFilters []*ImageTagMutabilityExclusionFilter                  `json:"imageTagMutabilityExclusionFilters,omitempty"`
	LifecyclePolicy                    *string                                               `json:"lifecyclePolicy,omitempty"`
	Prefix                             *string                                               `json:"prefix,omitempty"`
	RepositoryPolicy                   *string                                               `json:"repositoryPolicy,omitempty"`
	ResourceTags                       []*Tag                                                `json:"resourceTags,omitempty"`
	UpdatedAt                          *metav1.Time                                          `json:"updatedAt,omitempty"`
}

The details of the repository creation template associated with the request.

func (*RepositoryCreationTemplate_SDK) DeepCopy added in v1.4.2

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

func (*RepositoryCreationTemplate_SDK) DeepCopyInto added in v1.4.2

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

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 imageScanningConfiguration parameter is being deprecated, in favor of
	// specifying the image scanning configuration at the registry level. For more
	// information, see PutRegistryScanningConfiguration.
	//
	// 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"`
	// A list of filters that specify which image tags should be excluded from the
	// repository's image tag mutability setting.
	ImageTagMutabilityExclusionFilters []*ImageTagMutabilityExclusionFilter `json:"imageTagMutabilityExclusionFilters,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).
	//
	// The repository name must start with a letter and can only contain lowercase
	// letters, numbers, hyphens, underscores, and forward slashes.
	//
	// Regex Pattern: `^(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*$`
	// +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.
	//
	// Regex Pattern: `^[0-9]{12}$`
	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 AES256 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"`
	ImageTagMutabilityExclusionFilters []*ImageTagMutabilityExclusionFilter `json:"imageTagMutabilityExclusionFilters,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_CONTINUOUS_SCAN ScanFrequency = "CONTINUOUS_SCAN"
	ScanFrequency_MANUAL          ScanFrequency = "MANUAL"
	ScanFrequency_SCAN_ON_PUSH    ScanFrequency = "SCAN_ON_PUSH"
)

type ScanStatus

type ScanStatus string
const (
	ScanStatus_ACTIVE                   ScanStatus = "ACTIVE"
	ScanStatus_COMPLETE                 ScanStatus = "COMPLETE"
	ScanStatus_FAILED                   ScanStatus = "FAILED"
	ScanStatus_FINDINGS_UNAVAILABLE     ScanStatus = "FINDINGS_UNAVAILABLE"
	ScanStatus_IMAGE_ARCHIVED           ScanStatus = "IMAGE_ARCHIVED"
	ScanStatus_IN_PROGRESS              ScanStatus = "IN_PROGRESS"
	ScanStatus_LIMIT_EXCEEDED           ScanStatus = "LIMIT_EXCEEDED"
	ScanStatus_PENDING                  ScanStatus = "PENDING"
	ScanStatus_SCAN_ELIGIBILITY_EXPIRED ScanStatus = "SCAN_ELIGIBILITY_EXPIRED"
	ScanStatus_UNSUPPORTED_IMAGE        ScanStatus = "UNSUPPORTED_IMAGE"
)

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 SigningRepositoryFilterType added in v1.4.2

type SigningRepositoryFilterType string
const (
	SigningRepositoryFilterType_WILDCARD_MATCH SigningRepositoryFilterType = "WILDCARD_MATCH"
)

type SigningStatus added in v1.4.2

type SigningStatus string
const (
	SigningStatus_COMPLETE    SigningStatus = "COMPLETE"
	SigningStatus_FAILED      SigningStatus = "FAILED"
	SigningStatus_IN_PROGRESS SigningStatus = "IN_PROGRESS"
)

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_ANY      TagStatus = "ANY"
	TagStatus_TAGGED   TagStatus = "TAGGED"
	TagStatus_UNTAGGED TagStatus = "UNTAGGED"
)

type TargetStorageClass added in v1.4.2

type TargetStorageClass string
const (
	TargetStorageClass_ARCHIVE  TargetStorageClass = "ARCHIVE"
	TargetStorageClass_STANDARD TargetStorageClass = "STANDARD"
)

type UpstreamRegistry added in v1.0.22

type UpstreamRegistry string
const (
	UpstreamRegistry_azure_container_registry  UpstreamRegistry = "azure-container-registry"
	UpstreamRegistry_docker_hub                UpstreamRegistry = "docker-hub"
	UpstreamRegistry_ecr                       UpstreamRegistry = "ecr"
	UpstreamRegistry_ecr_public                UpstreamRegistry = "ecr-public"
	UpstreamRegistry_github_container_registry UpstreamRegistry = "github-container-registry"
	UpstreamRegistry_gitlab_container_registry UpstreamRegistry = "gitlab-container-registry"
	UpstreamRegistry_k8s                       UpstreamRegistry = "k8s"
	UpstreamRegistry_quay                      UpstreamRegistry = "quay"
)

Jump to

Keyboard shortcuts

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