...

Package types

import "github.com/aws/aws-sdk-go-v2/service/ecrpublic/types"
Overview
Index

Overview ▾

Index ▾

type AuthorizationData
type EmptyUploadException
    func (e *EmptyUploadException) Error() string
    func (e *EmptyUploadException) ErrorCode() string
    func (e *EmptyUploadException) ErrorFault() smithy.ErrorFault
    func (e *EmptyUploadException) ErrorMessage() string
type Image
type ImageAlreadyExistsException
    func (e *ImageAlreadyExistsException) Error() string
    func (e *ImageAlreadyExistsException) ErrorCode() string
    func (e *ImageAlreadyExistsException) ErrorFault() smithy.ErrorFault
    func (e *ImageAlreadyExistsException) ErrorMessage() string
type ImageDetail
type ImageDigestDoesNotMatchException
    func (e *ImageDigestDoesNotMatchException) Error() string
    func (e *ImageDigestDoesNotMatchException) ErrorCode() string
    func (e *ImageDigestDoesNotMatchException) ErrorFault() smithy.ErrorFault
    func (e *ImageDigestDoesNotMatchException) ErrorMessage() string
type ImageFailure
type ImageFailureCode
    func (ImageFailureCode) Values() []ImageFailureCode
type ImageIdentifier
type ImageNotFoundException
    func (e *ImageNotFoundException) Error() string
    func (e *ImageNotFoundException) ErrorCode() string
    func (e *ImageNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *ImageNotFoundException) ErrorMessage() string
type ImageTagAlreadyExistsException
    func (e *ImageTagAlreadyExistsException) Error() string
    func (e *ImageTagAlreadyExistsException) ErrorCode() string
    func (e *ImageTagAlreadyExistsException) ErrorFault() smithy.ErrorFault
    func (e *ImageTagAlreadyExistsException) ErrorMessage() string
type ImageTagDetail
type InvalidLayerException
    func (e *InvalidLayerException) Error() string
    func (e *InvalidLayerException) ErrorCode() string
    func (e *InvalidLayerException) ErrorFault() smithy.ErrorFault
    func (e *InvalidLayerException) ErrorMessage() string
type InvalidLayerPartException
    func (e *InvalidLayerPartException) Error() string
    func (e *InvalidLayerPartException) ErrorCode() string
    func (e *InvalidLayerPartException) ErrorFault() smithy.ErrorFault
    func (e *InvalidLayerPartException) ErrorMessage() string
type InvalidParameterException
    func (e *InvalidParameterException) Error() string
    func (e *InvalidParameterException) ErrorCode() string
    func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault
    func (e *InvalidParameterException) ErrorMessage() string
type InvalidTagParameterException
    func (e *InvalidTagParameterException) Error() string
    func (e *InvalidTagParameterException) ErrorCode() string
    func (e *InvalidTagParameterException) ErrorFault() smithy.ErrorFault
    func (e *InvalidTagParameterException) ErrorMessage() string
type Layer
type LayerAlreadyExistsException
    func (e *LayerAlreadyExistsException) Error() string
    func (e *LayerAlreadyExistsException) ErrorCode() string
    func (e *LayerAlreadyExistsException) ErrorFault() smithy.ErrorFault
    func (e *LayerAlreadyExistsException) ErrorMessage() string
type LayerAvailability
    func (LayerAvailability) Values() []LayerAvailability
type LayerFailure
type LayerFailureCode
    func (LayerFailureCode) Values() []LayerFailureCode
type LayerPartTooSmallException
    func (e *LayerPartTooSmallException) Error() string
    func (e *LayerPartTooSmallException) ErrorCode() string
    func (e *LayerPartTooSmallException) ErrorFault() smithy.ErrorFault
    func (e *LayerPartTooSmallException) ErrorMessage() string
type LayersNotFoundException
    func (e *LayersNotFoundException) Error() string
    func (e *LayersNotFoundException) ErrorCode() string
    func (e *LayersNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *LayersNotFoundException) ErrorMessage() string
type LimitExceededException
    func (e *LimitExceededException) Error() string
    func (e *LimitExceededException) ErrorCode() string
    func (e *LimitExceededException) ErrorFault() smithy.ErrorFault
    func (e *LimitExceededException) ErrorMessage() string
type ReferencedImageDetail
type ReferencedImagesNotFoundException
    func (e *ReferencedImagesNotFoundException) Error() string
    func (e *ReferencedImagesNotFoundException) ErrorCode() string
    func (e *ReferencedImagesNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *ReferencedImagesNotFoundException) ErrorMessage() string
type Registry
type RegistryAlias
type RegistryAliasStatus
    func (RegistryAliasStatus) Values() []RegistryAliasStatus
type RegistryCatalogData
type RegistryNotFoundException
    func (e *RegistryNotFoundException) Error() string
    func (e *RegistryNotFoundException) ErrorCode() string
    func (e *RegistryNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *RegistryNotFoundException) ErrorMessage() string
type Repository
type RepositoryAlreadyExistsException
    func (e *RepositoryAlreadyExistsException) Error() string
    func (e *RepositoryAlreadyExistsException) ErrorCode() string
    func (e *RepositoryAlreadyExistsException) ErrorFault() smithy.ErrorFault
    func (e *RepositoryAlreadyExistsException) ErrorMessage() string
type RepositoryCatalogData
type RepositoryCatalogDataInput
type RepositoryCatalogDataNotFoundException
    func (e *RepositoryCatalogDataNotFoundException) Error() string
    func (e *RepositoryCatalogDataNotFoundException) ErrorCode() string
    func (e *RepositoryCatalogDataNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *RepositoryCatalogDataNotFoundException) ErrorMessage() string
type RepositoryNotEmptyException
    func (e *RepositoryNotEmptyException) Error() string
    func (e *RepositoryNotEmptyException) ErrorCode() string
    func (e *RepositoryNotEmptyException) ErrorFault() smithy.ErrorFault
    func (e *RepositoryNotEmptyException) ErrorMessage() string
type RepositoryNotFoundException
    func (e *RepositoryNotFoundException) Error() string
    func (e *RepositoryNotFoundException) ErrorCode() string
    func (e *RepositoryNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *RepositoryNotFoundException) ErrorMessage() string
type RepositoryPolicyNotFoundException
    func (e *RepositoryPolicyNotFoundException) Error() string
    func (e *RepositoryPolicyNotFoundException) ErrorCode() string
    func (e *RepositoryPolicyNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *RepositoryPolicyNotFoundException) ErrorMessage() string
type ServerException
    func (e *ServerException) Error() string
    func (e *ServerException) ErrorCode() string
    func (e *ServerException) ErrorFault() smithy.ErrorFault
    func (e *ServerException) ErrorMessage() string
type Tag
type TooManyTagsException
    func (e *TooManyTagsException) Error() string
    func (e *TooManyTagsException) ErrorCode() string
    func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault
    func (e *TooManyTagsException) ErrorMessage() string
type UnsupportedCommandException
    func (e *UnsupportedCommandException) Error() string
    func (e *UnsupportedCommandException) ErrorCode() string
    func (e *UnsupportedCommandException) ErrorFault() smithy.ErrorFault
    func (e *UnsupportedCommandException) ErrorMessage() string
type UploadNotFoundException
    func (e *UploadNotFoundException) Error() string
    func (e *UploadNotFoundException) ErrorCode() string
    func (e *UploadNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *UploadNotFoundException) ErrorMessage() string

Package files

enums.go errors.go types.go

type AuthorizationData

An authorization token data object that corresponds to a public registry.

type AuthorizationData struct {

    // A base64-encoded string that contains authorization data for a public Amazon
    // ECR registry. When the string is decoded, it's presented in the format
    // user:password for public registry authentication using docker login .
    AuthorizationToken *string

    // The Unix time in seconds and milliseconds when the authorization token expires.
    // Authorization tokens are valid for 12 hours.
    ExpiresAt *time.Time
    // contains filtered or unexported fields
}

type EmptyUploadException

The specified layer upload doesn't contain any layer parts.

type EmptyUploadException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*EmptyUploadException) Error

func (e *EmptyUploadException) Error() string

func (*EmptyUploadException) ErrorCode

func (e *EmptyUploadException) ErrorCode() string

func (*EmptyUploadException) ErrorFault

func (e *EmptyUploadException) ErrorFault() smithy.ErrorFault

func (*EmptyUploadException) ErrorMessage

func (e *EmptyUploadException) ErrorMessage() string

type Image

An object that represents an Amazon ECR image.

type Image struct {

    // An object that contains the image tag and image digest associated with an image.
    ImageId *ImageIdentifier

    // The image manifest that's associated with the image.
    ImageManifest *string

    // The manifest media type of the image.
    ImageManifestMediaType *string

    // The Amazon Web Services account ID that's associated with the registry
    // containing the image.
    RegistryId *string

    // The name of the repository that's associated with the image.
    RepositoryName *string
    // contains filtered or unexported fields
}

type ImageAlreadyExistsException

The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.

type ImageAlreadyExistsException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ImageAlreadyExistsException) Error

func (e *ImageAlreadyExistsException) Error() string

func (*ImageAlreadyExistsException) ErrorCode

func (e *ImageAlreadyExistsException) ErrorCode() string

func (*ImageAlreadyExistsException) ErrorFault

func (e *ImageAlreadyExistsException) ErrorFault() smithy.ErrorFault

func (*ImageAlreadyExistsException) ErrorMessage

func (e *ImageAlreadyExistsException) ErrorMessage() string

type ImageDetail

An object that describes an image that's returned by a DescribeImages operation.

type ImageDetail struct {

    // The artifact media type of the image.
    ArtifactMediaType *string

    // The sha256 digest of the image manifest.
    ImageDigest *string

    // The media type of the image manifest.
    ImageManifestMediaType *string

    // The date and time, expressed in standard JavaScript date format, that the
    // current image was pushed to the repository at.
    ImagePushedAt *time.Time

    // The size, in bytes, of the image in the repository. If the image is a manifest
    // list, this is the max size of all manifests in the list. Beginning with Docker
    // version 1.9, the Docker client compresses image layers before pushing them to a
    // V2 Docker registry. The output of the docker images command shows the
    // uncompressed image size, so it might return a larger image size than the image
    // sizes that are returned by DescribeImages .
    ImageSizeInBytes *int64

    // The list of tags that's associated with this image.
    ImageTags []string

    // The Amazon Web Services account ID that's associated with the public registry
    // where this image belongs.
    RegistryId *string

    // The name of the repository where this image belongs.
    RepositoryName *string
    // contains filtered or unexported fields
}

type ImageDigestDoesNotMatchException

The specified image digest doesn't match the digest that Amazon ECR calculated for the image.

type ImageDigestDoesNotMatchException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ImageDigestDoesNotMatchException) Error

func (e *ImageDigestDoesNotMatchException) Error() string

func (*ImageDigestDoesNotMatchException) ErrorCode

func (e *ImageDigestDoesNotMatchException) ErrorCode() string

func (*ImageDigestDoesNotMatchException) ErrorFault

func (e *ImageDigestDoesNotMatchException) ErrorFault() smithy.ErrorFault

func (*ImageDigestDoesNotMatchException) ErrorMessage

func (e *ImageDigestDoesNotMatchException) ErrorMessage() string

type ImageFailure

An object that represents an Amazon ECR image failure.

type ImageFailure struct {

    // The code that's associated with the failure.
    FailureCode ImageFailureCode

    // The reason for the failure.
    FailureReason *string

    // The image ID that's associated with the failure.
    ImageId *ImageIdentifier
    // contains filtered or unexported fields
}

type ImageFailureCode

type ImageFailureCode string

Enum values for ImageFailureCode

const (
    ImageFailureCodeInvalidImageDigest            ImageFailureCode = "InvalidImageDigest"
    ImageFailureCodeInvalidImageTag               ImageFailureCode = "InvalidImageTag"
    ImageFailureCodeImageTagDoesNotMatchDigest    ImageFailureCode = "ImageTagDoesNotMatchDigest"
    ImageFailureCodeImageNotFound                 ImageFailureCode = "ImageNotFound"
    ImageFailureCodeMissingDigestAndTag           ImageFailureCode = "MissingDigestAndTag"
    ImageFailureCodeImageReferencedByManifestList ImageFailureCode = "ImageReferencedByManifestList"
    ImageFailureCodeKmsError                      ImageFailureCode = "KmsError"
)

func (ImageFailureCode) Values

func (ImageFailureCode) Values() []ImageFailureCode

Values returns all known values for ImageFailureCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ImageIdentifier

An object with identifying information for an Amazon ECR image.

type ImageIdentifier struct {

    // The sha256 digest of the image manifest.
    ImageDigest *string

    // The tag that's used for the image.
    ImageTag *string
    // contains filtered or unexported fields
}

type ImageNotFoundException

The image requested doesn't exist in the specified repository.

type ImageNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ImageNotFoundException) Error

func (e *ImageNotFoundException) Error() string

func (*ImageNotFoundException) ErrorCode

func (e *ImageNotFoundException) ErrorCode() string

func (*ImageNotFoundException) ErrorFault

func (e *ImageNotFoundException) ErrorFault() smithy.ErrorFault

func (*ImageNotFoundException) ErrorMessage

func (e *ImageNotFoundException) ErrorMessage() string

type ImageTagAlreadyExistsException

The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.

type ImageTagAlreadyExistsException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ImageTagAlreadyExistsException) Error

func (e *ImageTagAlreadyExistsException) Error() string

func (*ImageTagAlreadyExistsException) ErrorCode

func (e *ImageTagAlreadyExistsException) ErrorCode() string

func (*ImageTagAlreadyExistsException) ErrorFault

func (e *ImageTagAlreadyExistsException) ErrorFault() smithy.ErrorFault

func (*ImageTagAlreadyExistsException) ErrorMessage

func (e *ImageTagAlreadyExistsException) ErrorMessage() string

type ImageTagDetail

An object that represents the image tag details for an image.

type ImageTagDetail struct {

    // The time stamp that indicates when the image tag was created.
    CreatedAt *time.Time

    // An object that describes the details of an image.
    ImageDetail *ReferencedImageDetail

    // The tag that's associated with the image.
    ImageTag *string
    // contains filtered or unexported fields
}

type InvalidLayerException

The layer digest calculation performed by Amazon ECR when the image layer doesn't match the digest specified.

type InvalidLayerException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*InvalidLayerException) Error

func (e *InvalidLayerException) Error() string

func (*InvalidLayerException) ErrorCode

func (e *InvalidLayerException) ErrorCode() string

func (*InvalidLayerException) ErrorFault

func (e *InvalidLayerException) ErrorFault() smithy.ErrorFault

func (*InvalidLayerException) ErrorMessage

func (e *InvalidLayerException) ErrorMessage() string

type InvalidLayerPartException

The layer part size isn't valid, or the first byte specified isn't consecutive to the last byte of a previous layer part upload.

type InvalidLayerPartException struct {
    Message *string

    ErrorCodeOverride *string

    RegistryId            *string
    RepositoryName        *string
    UploadId              *string
    LastValidByteReceived *int64
    // contains filtered or unexported fields
}

func (*InvalidLayerPartException) Error

func (e *InvalidLayerPartException) Error() string

func (*InvalidLayerPartException) ErrorCode

func (e *InvalidLayerPartException) ErrorCode() string

func (*InvalidLayerPartException) ErrorFault

func (e *InvalidLayerPartException) ErrorFault() smithy.ErrorFault

func (*InvalidLayerPartException) ErrorMessage

func (e *InvalidLayerPartException) ErrorMessage() string

type InvalidParameterException

The specified parameter is invalid. Review the available parameters for the API request.

type InvalidParameterException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*InvalidParameterException) Error

func (e *InvalidParameterException) Error() string

func (*InvalidParameterException) ErrorCode

func (e *InvalidParameterException) ErrorCode() string

func (*InvalidParameterException) ErrorFault

func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault

func (*InvalidParameterException) ErrorMessage

func (e *InvalidParameterException) ErrorMessage() string

type InvalidTagParameterException

An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

type InvalidTagParameterException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*InvalidTagParameterException) Error

func (e *InvalidTagParameterException) Error() string

func (*InvalidTagParameterException) ErrorCode

func (e *InvalidTagParameterException) ErrorCode() string

func (*InvalidTagParameterException) ErrorFault

func (e *InvalidTagParameterException) ErrorFault() smithy.ErrorFault

func (*InvalidTagParameterException) ErrorMessage

func (e *InvalidTagParameterException) ErrorMessage() string

type Layer

An object that represents an Amazon ECR image layer.

type Layer struct {

    // The availability status of the image layer.
    LayerAvailability LayerAvailability

    // The sha256 digest of the image layer.
    LayerDigest *string

    // The size, in bytes, of the image layer.
    LayerSize *int64

    // The media type of the layer, such as
    // application/vnd.docker.image.rootfs.diff.tar.gzip or
    // application/vnd.oci.image.layer.v1.tar+gzip .
    MediaType *string
    // contains filtered or unexported fields
}

type LayerAlreadyExistsException

The image layer already exists in the associated repository.

type LayerAlreadyExistsException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LayerAlreadyExistsException) Error

func (e *LayerAlreadyExistsException) Error() string

func (*LayerAlreadyExistsException) ErrorCode

func (e *LayerAlreadyExistsException) ErrorCode() string

func (*LayerAlreadyExistsException) ErrorFault

func (e *LayerAlreadyExistsException) ErrorFault() smithy.ErrorFault

func (*LayerAlreadyExistsException) ErrorMessage

func (e *LayerAlreadyExistsException) ErrorMessage() string

type LayerAvailability

type LayerAvailability string

Enum values for LayerAvailability

const (
    LayerAvailabilityAvailable   LayerAvailability = "AVAILABLE"
    LayerAvailabilityUnavailable LayerAvailability = "UNAVAILABLE"
)

func (LayerAvailability) Values

func (LayerAvailability) Values() []LayerAvailability

Values returns all known values for LayerAvailability. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type LayerFailure

An object that represents an Amazon ECR image layer failure.

type LayerFailure struct {

    // The failure code that's associated with the failure.
    FailureCode LayerFailureCode

    // The reason for the failure.
    FailureReason *string

    // The layer digest that's associated with the failure.
    LayerDigest *string
    // contains filtered or unexported fields
}

type LayerFailureCode

type LayerFailureCode string

Enum values for LayerFailureCode

const (
    LayerFailureCodeInvalidLayerDigest LayerFailureCode = "InvalidLayerDigest"
    LayerFailureCodeMissingLayerDigest LayerFailureCode = "MissingLayerDigest"
)

func (LayerFailureCode) Values

func (LayerFailureCode) Values() []LayerFailureCode

Values returns all known values for LayerFailureCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type LayerPartTooSmallException

Layer parts must be at least 5 MiB in size.

type LayerPartTooSmallException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LayerPartTooSmallException) Error

func (e *LayerPartTooSmallException) Error() string

func (*LayerPartTooSmallException) ErrorCode

func (e *LayerPartTooSmallException) ErrorCode() string

func (*LayerPartTooSmallException) ErrorFault

func (e *LayerPartTooSmallException) ErrorFault() smithy.ErrorFault

func (*LayerPartTooSmallException) ErrorMessage

func (e *LayerPartTooSmallException) ErrorMessage() string

type LayersNotFoundException

The specified layers can't be found, or the specified layer isn't valid for this repository.

type LayersNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LayersNotFoundException) Error

func (e *LayersNotFoundException) Error() string

func (*LayersNotFoundException) ErrorCode

func (e *LayersNotFoundException) ErrorCode() string

func (*LayersNotFoundException) ErrorFault

func (e *LayersNotFoundException) ErrorFault() smithy.ErrorFault

func (*LayersNotFoundException) ErrorMessage

func (e *LayersNotFoundException) ErrorMessage() string

type LimitExceededException

The operation didn't succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR Service Quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) in the Amazon Elastic Container Registry User Guide.

type LimitExceededException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LimitExceededException) Error

func (e *LimitExceededException) Error() string

func (*LimitExceededException) ErrorCode

func (e *LimitExceededException) ErrorCode() string

func (*LimitExceededException) ErrorFault

func (e *LimitExceededException) ErrorFault() smithy.ErrorFault

func (*LimitExceededException) ErrorMessage

func (e *LimitExceededException) ErrorMessage() string

type ReferencedImageDetail

An object that describes the image tag details that are returned by a DescribeImageTags action.

type ReferencedImageDetail struct {

    // The artifact media type of the image.
    ArtifactMediaType *string

    // The sha256 digest of the image manifest.
    ImageDigest *string

    // The media type of the image manifest.
    ImageManifestMediaType *string

    // The date and time, expressed in standard JavaScript date format, which the
    // current image tag was pushed to the repository at.
    ImagePushedAt *time.Time

    // The size, in bytes, of the image in the repository. If the image is a manifest
    // list, this is the max size of all manifests in the list. Beginning with Docker
    // version 1.9, the Docker client compresses image layers before pushing them to a
    // V2 Docker registry. The output of the docker images command shows the
    // uncompressed image size, so it might return a larger image size than the image
    // sizes that are returned by DescribeImages .
    ImageSizeInBytes *int64
    // contains filtered or unexported fields
}

type ReferencedImagesNotFoundException

The manifest list is referencing an image that doesn't exist.

type ReferencedImagesNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ReferencedImagesNotFoundException) Error

func (e *ReferencedImagesNotFoundException) Error() string

func (*ReferencedImagesNotFoundException) ErrorCode

func (e *ReferencedImagesNotFoundException) ErrorCode() string

func (*ReferencedImagesNotFoundException) ErrorFault

func (e *ReferencedImagesNotFoundException) ErrorFault() smithy.ErrorFault

func (*ReferencedImagesNotFoundException) ErrorMessage

func (e *ReferencedImagesNotFoundException) ErrorMessage() string

type Registry

The details of a public registry.

type Registry struct {

    // An array of objects that represents the aliases for a public registry.
    //
    // This member is required.
    Aliases []RegistryAlias

    // The Amazon Resource Name (ARN) of the public registry.
    //
    // This member is required.
    RegistryArn *string

    // The Amazon Web Services account ID that's associated with the registry. If you
    // do not specify a registry, the default public registry is assumed.
    //
    // This member is required.
    RegistryId *string

    // The URI of a public registry. The URI contains a universal prefix and the
    // registry alias.
    //
    // This member is required.
    RegistryUri *string

    // Indicates whether the account is a verified Amazon Web Services Marketplace
    // vendor. If an account is verified, each public repository receives a verified
    // account badge on the Amazon ECR Public Gallery.
    //
    // This member is required.
    Verified *bool
    // contains filtered or unexported fields
}

type RegistryAlias

An object representing the aliases for a public registry. A public registry is given an alias when it's created. However, a custom alias can be set using the Amazon ECR console. For more information, see Registries (https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html) in the Amazon Elastic Container Registry User Guide.

type RegistryAlias struct {

    // Indicates whether the registry alias is the default alias for the registry.
    // When the first public repository is created, your public registry is assigned a
    // default registry alias.
    //
    // This member is required.
    DefaultRegistryAlias bool

    // The name of the registry alias.
    //
    // This member is required.
    Name *string

    // Indicates whether the registry alias is the primary alias for the registry. If
    // true, the alias is the primary registry alias and is displayed in both the
    // repository URL and the image URI used in the docker pull commands on the Amazon
    // ECR Public Gallery. A registry alias that isn't the primary registry alias can
    // be used in the repository URI in a docker pull command.
    //
    // This member is required.
    PrimaryRegistryAlias bool

    // The status of the registry alias.
    //
    // This member is required.
    Status RegistryAliasStatus
    // contains filtered or unexported fields
}

type RegistryAliasStatus

type RegistryAliasStatus string

Enum values for RegistryAliasStatus

const (
    RegistryAliasStatusActive   RegistryAliasStatus = "ACTIVE"
    RegistryAliasStatusPending  RegistryAliasStatus = "PENDING"
    RegistryAliasStatusRejected RegistryAliasStatus = "REJECTED"
)

func (RegistryAliasStatus) Values

func (RegistryAliasStatus) Values() []RegistryAliasStatus

Values returns all known values for RegistryAliasStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type RegistryCatalogData

The metadata for a public registry.

type RegistryCatalogData struct {

    // The display name for a public registry. This appears on the Amazon ECR Public
    // Gallery. Only accounts that have the verified account badge can have a registry
    // display name.
    DisplayName *string
    // contains filtered or unexported fields
}

type RegistryNotFoundException

The registry doesn't exist.

type RegistryNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*RegistryNotFoundException) Error

func (e *RegistryNotFoundException) Error() string

func (*RegistryNotFoundException) ErrorCode

func (e *RegistryNotFoundException) ErrorCode() string

func (*RegistryNotFoundException) ErrorFault

func (e *RegistryNotFoundException) ErrorFault() smithy.ErrorFault

func (*RegistryNotFoundException) ErrorMessage

func (e *RegistryNotFoundException) ErrorMessage() string

type Repository

An object representing a repository.

type Repository struct {

    // The date and time, in JavaScript date format, when the repository was created.
    CreatedAt *time.Time

    // The Amazon Web Services account ID that's associated with the public registry
    // that contains the repository.
    RegistryId *string

    // The Amazon Resource Name (ARN) that identifies the repository. The ARN contains
    // the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web
    // Services account ID of the repository owner, repository namespace, and
    // repository name. For example, arn:aws:ecr:region:012345678910:repository/test .
    RepositoryArn *string

    // The name of the repository.
    RepositoryName *string

    // The URI for the repository. You can use this URI for container image push and
    // pull operations.
    RepositoryUri *string
    // contains filtered or unexported fields
}

type RepositoryAlreadyExistsException

The specified repository already exists in the specified registry.

type RepositoryAlreadyExistsException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*RepositoryAlreadyExistsException) Error

func (e *RepositoryAlreadyExistsException) Error() string

func (*RepositoryAlreadyExistsException) ErrorCode

func (e *RepositoryAlreadyExistsException) ErrorCode() string

func (*RepositoryAlreadyExistsException) ErrorFault

func (e *RepositoryAlreadyExistsException) ErrorFault() smithy.ErrorFault

func (*RepositoryAlreadyExistsException) ErrorMessage

func (e *RepositoryAlreadyExistsException) ErrorMessage() string

type RepositoryCatalogData

The catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.

type RepositoryCatalogData struct {

    // The longform description of the contents of the repository. This text appears
    // in the repository details on the Amazon ECR Public Gallery.
    AboutText *string

    // The architecture tags that are associated with the repository. Only supported
    // operating system tags appear publicly in the Amazon ECR Public Gallery. For more
    // information, see RepositoryCatalogDataInput .
    Architectures []string

    // The short description of the repository.
    Description *string

    // The URL that contains the logo that's associated with the repository.
    LogoUrl *string

    // Indicates whether the repository is certified by Amazon Web Services
    // Marketplace.
    MarketplaceCertified *bool

    // The operating system tags that are associated with the repository. Only
    // supported operating system tags appear publicly in the Amazon ECR Public
    // Gallery. For more information, see RepositoryCatalogDataInput .
    OperatingSystems []string

    // The longform usage details of the contents of the repository. The usage text
    // provides context for users of the repository.
    UsageText *string
    // contains filtered or unexported fields
}

type RepositoryCatalogDataInput

An object that contains the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.

type RepositoryCatalogDataInput struct {

    // A detailed description of the contents of the repository. It's publicly visible
    // in the Amazon ECR Public Gallery. The text must be in markdown format.
    AboutText *string

    // The system architecture that the images in the repository are compatible with.
    // On the Amazon ECR Public Gallery, the following supported architectures appear
    // as badges on the repository and are used as search filters. If an unsupported
    // tag is added to your repository catalog data, it's associated with the
    // repository and can be retrieved using the API but isn't discoverable in the
    // Amazon ECR Public Gallery.
    //   - ARM
    //   - ARM 64
    //   - x86
    //   - x86-64
    Architectures []string

    // A short description of the contents of the repository. This text appears in
    // both the image details and also when searching for repositories on the Amazon
    // ECR Public Gallery.
    Description *string

    // The base64-encoded repository logo payload. The repository logo is only
    // publicly visible in the Amazon ECR Public Gallery for verified accounts.
    LogoImageBlob []byte

    // The operating systems that the images in the repository are compatible with. On
    // the Amazon ECR Public Gallery, the following supported operating systems appear
    // as badges on the repository and are used as search filters. If an unsupported
    // tag is added to your repository catalog data, it's associated with the
    // repository and can be retrieved using the API but isn't discoverable in the
    // Amazon ECR Public Gallery.
    //   - Linux
    //   - Windows
    OperatingSystems []string

    // Detailed information about how to use the contents of the repository. It's
    // publicly visible in the Amazon ECR Public Gallery. The usage text provides
    // context, support information, and additional usage details for users of the
    // repository. The text must be in markdown format.
    UsageText *string
    // contains filtered or unexported fields
}

type RepositoryCatalogDataNotFoundException

The repository catalog data doesn't exist.

type RepositoryCatalogDataNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*RepositoryCatalogDataNotFoundException) Error

func (e *RepositoryCatalogDataNotFoundException) Error() string

func (*RepositoryCatalogDataNotFoundException) ErrorCode

func (e *RepositoryCatalogDataNotFoundException) ErrorCode() string

func (*RepositoryCatalogDataNotFoundException) ErrorFault

func (e *RepositoryCatalogDataNotFoundException) ErrorFault() smithy.ErrorFault

func (*RepositoryCatalogDataNotFoundException) ErrorMessage

func (e *RepositoryCatalogDataNotFoundException) ErrorMessage() string

type RepositoryNotEmptyException

The specified repository contains images. To delete a repository that contains images, you must force the deletion with the force parameter.

type RepositoryNotEmptyException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*RepositoryNotEmptyException) Error

func (e *RepositoryNotEmptyException) Error() string

func (*RepositoryNotEmptyException) ErrorCode

func (e *RepositoryNotEmptyException) ErrorCode() string

func (*RepositoryNotEmptyException) ErrorFault

func (e *RepositoryNotEmptyException) ErrorFault() smithy.ErrorFault

func (*RepositoryNotEmptyException) ErrorMessage

func (e *RepositoryNotEmptyException) ErrorMessage() string

type RepositoryNotFoundException

The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

type RepositoryNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*RepositoryNotFoundException) Error

func (e *RepositoryNotFoundException) Error() string

func (*RepositoryNotFoundException) ErrorCode

func (e *RepositoryNotFoundException) ErrorCode() string

func (*RepositoryNotFoundException) ErrorFault

func (e *RepositoryNotFoundException) ErrorFault() smithy.ErrorFault

func (*RepositoryNotFoundException) ErrorMessage

func (e *RepositoryNotFoundException) ErrorMessage() string

type RepositoryPolicyNotFoundException

The specified repository and registry combination doesn't have an associated repository policy.

type RepositoryPolicyNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*RepositoryPolicyNotFoundException) Error

func (e *RepositoryPolicyNotFoundException) Error() string

func (*RepositoryPolicyNotFoundException) ErrorCode

func (e *RepositoryPolicyNotFoundException) ErrorCode() string

func (*RepositoryPolicyNotFoundException) ErrorFault

func (e *RepositoryPolicyNotFoundException) ErrorFault() smithy.ErrorFault

func (*RepositoryPolicyNotFoundException) ErrorMessage

func (e *RepositoryPolicyNotFoundException) ErrorMessage() string

type ServerException

These errors are usually caused by a server-side issue.

type ServerException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ServerException) Error

func (e *ServerException) Error() string

func (*ServerException) ErrorCode

func (e *ServerException) ErrorCode() string

func (*ServerException) ErrorFault

func (e *ServerException) ErrorFault() smithy.ErrorFault

func (*ServerException) ErrorMessage

func (e *ServerException) ErrorMessage() string

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. You define both. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

type Tag struct {

    // One part of a key-value pair that make up a tag. A key is a general label that
    // acts like a category for more specific tag values.
    Key *string

    // The optional part of a key-value pair that make up a tag. A value acts as a
    // descriptor within a tag category (key).
    Value *string
    // contains filtered or unexported fields
}

type TooManyTagsException

The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.

type TooManyTagsException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*TooManyTagsException) Error

func (e *TooManyTagsException) Error() string

func (*TooManyTagsException) ErrorCode

func (e *TooManyTagsException) ErrorCode() string

func (*TooManyTagsException) ErrorFault

func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault

func (*TooManyTagsException) ErrorMessage

func (e *TooManyTagsException) ErrorMessage() string

type UnsupportedCommandException

The action isn't supported in this Region.

type UnsupportedCommandException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*UnsupportedCommandException) Error

func (e *UnsupportedCommandException) Error() string

func (*UnsupportedCommandException) ErrorCode

func (e *UnsupportedCommandException) ErrorCode() string

func (*UnsupportedCommandException) ErrorFault

func (e *UnsupportedCommandException) ErrorFault() smithy.ErrorFault

func (*UnsupportedCommandException) ErrorMessage

func (e *UnsupportedCommandException) ErrorMessage() string

type UploadNotFoundException

The upload can't be found, or the specified upload ID isn't valid for this repository.

type UploadNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*UploadNotFoundException) Error

func (e *UploadNotFoundException) Error() string

func (*UploadNotFoundException) ErrorCode

func (e *UploadNotFoundException) ErrorCode() string

func (*UploadNotFoundException) ErrorFault

func (e *UploadNotFoundException) ErrorFault() smithy.ErrorFault

func (*UploadNotFoundException) ErrorMessage

func (e *UploadNotFoundException) ErrorMessage() string