Documentation ¶
Overview ¶
Package ecrpublic provides the client and types for making API requests to Amazon Elastic Container Registry Public.
Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Amazon ECR provides both public and private registries to host your container images. You can use the familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry for your Docker or Open Container Initiative (OCI) images. Amazon ECR supports public repositories with this API. For information about the Amazon ECR API for private repositories, see Amazon Elastic Container Registry API Reference (https://docs.aws.amazon.com/AmazonECR/latest/APIReference/Welcome.html).
See https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30 for more information on this service.
See ecrpublic package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/ecrpublic/
Using the Client ¶
To contact Amazon Elastic Container Registry Public with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Elastic Container Registry Public client ECRPublic for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/ecrpublic/#New
Index ¶
- Constants
- func ImageFailureCode_Values() []string
- func LayerAvailability_Values() []string
- func LayerFailureCode_Values() []string
- func RegistryAliasStatus_Values() []string
- type AuthorizationData
- type BatchCheckLayerAvailabilityInput
- func (s BatchCheckLayerAvailabilityInput) GoString() string
- func (s *BatchCheckLayerAvailabilityInput) SetLayerDigests(v []*string) *BatchCheckLayerAvailabilityInput
- func (s *BatchCheckLayerAvailabilityInput) SetRegistryId(v string) *BatchCheckLayerAvailabilityInput
- func (s *BatchCheckLayerAvailabilityInput) SetRepositoryName(v string) *BatchCheckLayerAvailabilityInput
- func (s BatchCheckLayerAvailabilityInput) String() string
- func (s *BatchCheckLayerAvailabilityInput) Validate() error
- type BatchCheckLayerAvailabilityOutput
- func (s BatchCheckLayerAvailabilityOutput) GoString() string
- func (s *BatchCheckLayerAvailabilityOutput) SetFailures(v []*LayerFailure) *BatchCheckLayerAvailabilityOutput
- func (s *BatchCheckLayerAvailabilityOutput) SetLayers(v []*Layer) *BatchCheckLayerAvailabilityOutput
- func (s BatchCheckLayerAvailabilityOutput) String() string
- type BatchDeleteImageInput
- func (s BatchDeleteImageInput) GoString() string
- func (s *BatchDeleteImageInput) SetImageIds(v []*ImageIdentifier) *BatchDeleteImageInput
- func (s *BatchDeleteImageInput) SetRegistryId(v string) *BatchDeleteImageInput
- func (s *BatchDeleteImageInput) SetRepositoryName(v string) *BatchDeleteImageInput
- func (s BatchDeleteImageInput) String() string
- func (s *BatchDeleteImageInput) Validate() error
- type BatchDeleteImageOutput
- type CompleteLayerUploadInput
- func (s CompleteLayerUploadInput) GoString() string
- func (s *CompleteLayerUploadInput) SetLayerDigests(v []*string) *CompleteLayerUploadInput
- func (s *CompleteLayerUploadInput) SetRegistryId(v string) *CompleteLayerUploadInput
- func (s *CompleteLayerUploadInput) SetRepositoryName(v string) *CompleteLayerUploadInput
- func (s *CompleteLayerUploadInput) SetUploadId(v string) *CompleteLayerUploadInput
- func (s CompleteLayerUploadInput) String() string
- func (s *CompleteLayerUploadInput) Validate() error
- type CompleteLayerUploadOutput
- func (s CompleteLayerUploadOutput) GoString() string
- func (s *CompleteLayerUploadOutput) SetLayerDigest(v string) *CompleteLayerUploadOutput
- func (s *CompleteLayerUploadOutput) SetRegistryId(v string) *CompleteLayerUploadOutput
- func (s *CompleteLayerUploadOutput) SetRepositoryName(v string) *CompleteLayerUploadOutput
- func (s *CompleteLayerUploadOutput) SetUploadId(v string) *CompleteLayerUploadOutput
- func (s CompleteLayerUploadOutput) String() string
- type CreateRepositoryInput
- func (s CreateRepositoryInput) GoString() string
- func (s *CreateRepositoryInput) SetCatalogData(v *RepositoryCatalogDataInput) *CreateRepositoryInput
- func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInput
- func (s CreateRepositoryInput) String() string
- func (s *CreateRepositoryInput) Validate() error
- type CreateRepositoryOutput
- type DeleteRepositoryInput
- func (s DeleteRepositoryInput) GoString() string
- func (s *DeleteRepositoryInput) SetForce(v bool) *DeleteRepositoryInput
- func (s *DeleteRepositoryInput) SetRegistryId(v string) *DeleteRepositoryInput
- func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInput
- func (s DeleteRepositoryInput) String() string
- func (s *DeleteRepositoryInput) Validate() error
- type DeleteRepositoryOutput
- type DeleteRepositoryPolicyInput
- func (s DeleteRepositoryPolicyInput) GoString() string
- func (s *DeleteRepositoryPolicyInput) SetRegistryId(v string) *DeleteRepositoryPolicyInput
- func (s *DeleteRepositoryPolicyInput) SetRepositoryName(v string) *DeleteRepositoryPolicyInput
- func (s DeleteRepositoryPolicyInput) String() string
- func (s *DeleteRepositoryPolicyInput) Validate() error
- type DeleteRepositoryPolicyOutput
- func (s DeleteRepositoryPolicyOutput) GoString() string
- func (s *DeleteRepositoryPolicyOutput) SetPolicyText(v string) *DeleteRepositoryPolicyOutput
- func (s *DeleteRepositoryPolicyOutput) SetRegistryId(v string) *DeleteRepositoryPolicyOutput
- func (s *DeleteRepositoryPolicyOutput) SetRepositoryName(v string) *DeleteRepositoryPolicyOutput
- func (s DeleteRepositoryPolicyOutput) String() string
- type DescribeImageTagsInput
- func (s DescribeImageTagsInput) GoString() string
- func (s *DescribeImageTagsInput) SetMaxResults(v int64) *DescribeImageTagsInput
- func (s *DescribeImageTagsInput) SetNextToken(v string) *DescribeImageTagsInput
- func (s *DescribeImageTagsInput) SetRegistryId(v string) *DescribeImageTagsInput
- func (s *DescribeImageTagsInput) SetRepositoryName(v string) *DescribeImageTagsInput
- func (s DescribeImageTagsInput) String() string
- func (s *DescribeImageTagsInput) Validate() error
- type DescribeImageTagsOutput
- type DescribeImagesInput
- func (s DescribeImagesInput) GoString() string
- func (s *DescribeImagesInput) SetImageIds(v []*ImageIdentifier) *DescribeImagesInput
- func (s *DescribeImagesInput) SetMaxResults(v int64) *DescribeImagesInput
- func (s *DescribeImagesInput) SetNextToken(v string) *DescribeImagesInput
- func (s *DescribeImagesInput) SetRegistryId(v string) *DescribeImagesInput
- func (s *DescribeImagesInput) SetRepositoryName(v string) *DescribeImagesInput
- func (s DescribeImagesInput) String() string
- func (s *DescribeImagesInput) Validate() error
- type DescribeImagesOutput
- type DescribeRegistriesInput
- func (s DescribeRegistriesInput) GoString() string
- func (s *DescribeRegistriesInput) SetMaxResults(v int64) *DescribeRegistriesInput
- func (s *DescribeRegistriesInput) SetNextToken(v string) *DescribeRegistriesInput
- func (s DescribeRegistriesInput) String() string
- func (s *DescribeRegistriesInput) Validate() error
- type DescribeRegistriesOutput
- type DescribeRepositoriesInput
- func (s DescribeRepositoriesInput) GoString() string
- func (s *DescribeRepositoriesInput) SetMaxResults(v int64) *DescribeRepositoriesInput
- func (s *DescribeRepositoriesInput) SetNextToken(v string) *DescribeRepositoriesInput
- func (s *DescribeRepositoriesInput) SetRegistryId(v string) *DescribeRepositoriesInput
- func (s *DescribeRepositoriesInput) SetRepositoryNames(v []*string) *DescribeRepositoriesInput
- func (s DescribeRepositoriesInput) String() string
- func (s *DescribeRepositoriesInput) Validate() error
- type DescribeRepositoriesOutput
- type ECRPublic
- func (c *ECRPublic) BatchCheckLayerAvailability(input *BatchCheckLayerAvailabilityInput) (*BatchCheckLayerAvailabilityOutput, error)
- func (c *ECRPublic) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabilityInput) (req *request.Request, output *BatchCheckLayerAvailabilityOutput)
- func (c *ECRPublic) BatchCheckLayerAvailabilityWithContext(ctx aws.Context, input *BatchCheckLayerAvailabilityInput, ...) (*BatchCheckLayerAvailabilityOutput, error)
- func (c *ECRPublic) BatchDeleteImage(input *BatchDeleteImageInput) (*BatchDeleteImageOutput, error)
- func (c *ECRPublic) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *request.Request, output *BatchDeleteImageOutput)
- func (c *ECRPublic) BatchDeleteImageWithContext(ctx aws.Context, input *BatchDeleteImageInput, opts ...request.Option) (*BatchDeleteImageOutput, error)
- func (c *ECRPublic) CompleteLayerUpload(input *CompleteLayerUploadInput) (*CompleteLayerUploadOutput, error)
- func (c *ECRPublic) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req *request.Request, output *CompleteLayerUploadOutput)
- func (c *ECRPublic) CompleteLayerUploadWithContext(ctx aws.Context, input *CompleteLayerUploadInput, opts ...request.Option) (*CompleteLayerUploadOutput, error)
- func (c *ECRPublic) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error)
- func (c *ECRPublic) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput)
- func (c *ECRPublic) CreateRepositoryWithContext(ctx aws.Context, input *CreateRepositoryInput, opts ...request.Option) (*CreateRepositoryOutput, error)
- func (c *ECRPublic) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error)
- func (c *ECRPublic) DeleteRepositoryPolicy(input *DeleteRepositoryPolicyInput) (*DeleteRepositoryPolicyOutput, error)
- func (c *ECRPublic) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput) (req *request.Request, output *DeleteRepositoryPolicyOutput)
- func (c *ECRPublic) DeleteRepositoryPolicyWithContext(ctx aws.Context, input *DeleteRepositoryPolicyInput, opts ...request.Option) (*DeleteRepositoryPolicyOutput, error)
- func (c *ECRPublic) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput)
- func (c *ECRPublic) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteRepositoryInput, opts ...request.Option) (*DeleteRepositoryOutput, error)
- func (c *ECRPublic) DescribeImageTags(input *DescribeImageTagsInput) (*DescribeImageTagsOutput, error)
- func (c *ECRPublic) DescribeImageTagsPages(input *DescribeImageTagsInput, fn func(*DescribeImageTagsOutput, bool) bool) error
- func (c *ECRPublic) DescribeImageTagsPagesWithContext(ctx aws.Context, input *DescribeImageTagsInput, ...) error
- func (c *ECRPublic) DescribeImageTagsRequest(input *DescribeImageTagsInput) (req *request.Request, output *DescribeImageTagsOutput)
- func (c *ECRPublic) DescribeImageTagsWithContext(ctx aws.Context, input *DescribeImageTagsInput, opts ...request.Option) (*DescribeImageTagsOutput, error)
- func (c *ECRPublic) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error)
- func (c *ECRPublic) DescribeImagesPages(input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool) error
- func (c *ECRPublic) DescribeImagesPagesWithContext(ctx aws.Context, input *DescribeImagesInput, ...) error
- func (c *ECRPublic) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput)
- func (c *ECRPublic) DescribeImagesWithContext(ctx aws.Context, input *DescribeImagesInput, opts ...request.Option) (*DescribeImagesOutput, error)
- func (c *ECRPublic) DescribeRegistries(input *DescribeRegistriesInput) (*DescribeRegistriesOutput, error)
- func (c *ECRPublic) DescribeRegistriesPages(input *DescribeRegistriesInput, fn func(*DescribeRegistriesOutput, bool) bool) error
- func (c *ECRPublic) DescribeRegistriesPagesWithContext(ctx aws.Context, input *DescribeRegistriesInput, ...) error
- func (c *ECRPublic) DescribeRegistriesRequest(input *DescribeRegistriesInput) (req *request.Request, output *DescribeRegistriesOutput)
- func (c *ECRPublic) DescribeRegistriesWithContext(ctx aws.Context, input *DescribeRegistriesInput, opts ...request.Option) (*DescribeRegistriesOutput, error)
- func (c *ECRPublic) DescribeRepositories(input *DescribeRepositoriesInput) (*DescribeRepositoriesOutput, error)
- func (c *ECRPublic) DescribeRepositoriesPages(input *DescribeRepositoriesInput, ...) error
- func (c *ECRPublic) DescribeRepositoriesPagesWithContext(ctx aws.Context, input *DescribeRepositoriesInput, ...) error
- func (c *ECRPublic) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req *request.Request, output *DescribeRepositoriesOutput)
- func (c *ECRPublic) DescribeRepositoriesWithContext(ctx aws.Context, input *DescribeRepositoriesInput, opts ...request.Option) (*DescribeRepositoriesOutput, error)
- func (c *ECRPublic) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error)
- func (c *ECRPublic) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput)
- func (c *ECRPublic) GetAuthorizationTokenWithContext(ctx aws.Context, input *GetAuthorizationTokenInput, opts ...request.Option) (*GetAuthorizationTokenOutput, error)
- func (c *ECRPublic) GetRegistryCatalogData(input *GetRegistryCatalogDataInput) (*GetRegistryCatalogDataOutput, error)
- func (c *ECRPublic) GetRegistryCatalogDataRequest(input *GetRegistryCatalogDataInput) (req *request.Request, output *GetRegistryCatalogDataOutput)
- func (c *ECRPublic) GetRegistryCatalogDataWithContext(ctx aws.Context, input *GetRegistryCatalogDataInput, opts ...request.Option) (*GetRegistryCatalogDataOutput, error)
- func (c *ECRPublic) GetRepositoryCatalogData(input *GetRepositoryCatalogDataInput) (*GetRepositoryCatalogDataOutput, error)
- func (c *ECRPublic) GetRepositoryCatalogDataRequest(input *GetRepositoryCatalogDataInput) (req *request.Request, output *GetRepositoryCatalogDataOutput)
- func (c *ECRPublic) GetRepositoryCatalogDataWithContext(ctx aws.Context, input *GetRepositoryCatalogDataInput, opts ...request.Option) (*GetRepositoryCatalogDataOutput, error)
- func (c *ECRPublic) GetRepositoryPolicy(input *GetRepositoryPolicyInput) (*GetRepositoryPolicyOutput, error)
- func (c *ECRPublic) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req *request.Request, output *GetRepositoryPolicyOutput)
- func (c *ECRPublic) GetRepositoryPolicyWithContext(ctx aws.Context, input *GetRepositoryPolicyInput, opts ...request.Option) (*GetRepositoryPolicyOutput, error)
- func (c *ECRPublic) InitiateLayerUpload(input *InitiateLayerUploadInput) (*InitiateLayerUploadOutput, error)
- func (c *ECRPublic) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req *request.Request, output *InitiateLayerUploadOutput)
- func (c *ECRPublic) InitiateLayerUploadWithContext(ctx aws.Context, input *InitiateLayerUploadInput, opts ...request.Option) (*InitiateLayerUploadOutput, error)
- func (c *ECRPublic) PutImage(input *PutImageInput) (*PutImageOutput, error)
- func (c *ECRPublic) PutImageRequest(input *PutImageInput) (req *request.Request, output *PutImageOutput)
- func (c *ECRPublic) PutImageWithContext(ctx aws.Context, input *PutImageInput, opts ...request.Option) (*PutImageOutput, error)
- func (c *ECRPublic) PutRegistryCatalogData(input *PutRegistryCatalogDataInput) (*PutRegistryCatalogDataOutput, error)
- func (c *ECRPublic) PutRegistryCatalogDataRequest(input *PutRegistryCatalogDataInput) (req *request.Request, output *PutRegistryCatalogDataOutput)
- func (c *ECRPublic) PutRegistryCatalogDataWithContext(ctx aws.Context, input *PutRegistryCatalogDataInput, opts ...request.Option) (*PutRegistryCatalogDataOutput, error)
- func (c *ECRPublic) PutRepositoryCatalogData(input *PutRepositoryCatalogDataInput) (*PutRepositoryCatalogDataOutput, error)
- func (c *ECRPublic) PutRepositoryCatalogDataRequest(input *PutRepositoryCatalogDataInput) (req *request.Request, output *PutRepositoryCatalogDataOutput)
- func (c *ECRPublic) PutRepositoryCatalogDataWithContext(ctx aws.Context, input *PutRepositoryCatalogDataInput, opts ...request.Option) (*PutRepositoryCatalogDataOutput, error)
- func (c *ECRPublic) SetRepositoryPolicy(input *SetRepositoryPolicyInput) (*SetRepositoryPolicyOutput, error)
- func (c *ECRPublic) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req *request.Request, output *SetRepositoryPolicyOutput)
- func (c *ECRPublic) SetRepositoryPolicyWithContext(ctx aws.Context, input *SetRepositoryPolicyInput, opts ...request.Option) (*SetRepositoryPolicyOutput, error)
- func (c *ECRPublic) UploadLayerPart(input *UploadLayerPartInput) (*UploadLayerPartOutput, error)
- func (c *ECRPublic) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request.Request, output *UploadLayerPartOutput)
- func (c *ECRPublic) UploadLayerPartWithContext(ctx aws.Context, input *UploadLayerPartInput, opts ...request.Option) (*UploadLayerPartOutput, error)
- type EmptyUploadException
- func (s *EmptyUploadException) Code() string
- func (s *EmptyUploadException) Error() string
- func (s EmptyUploadException) GoString() string
- func (s *EmptyUploadException) Message() string
- func (s *EmptyUploadException) OrigErr() error
- func (s *EmptyUploadException) RequestID() string
- func (s *EmptyUploadException) StatusCode() int
- func (s EmptyUploadException) String() string
- type GetAuthorizationTokenInput
- type GetAuthorizationTokenOutput
- type GetRegistryCatalogDataInput
- type GetRegistryCatalogDataOutput
- type GetRepositoryCatalogDataInput
- func (s GetRepositoryCatalogDataInput) GoString() string
- func (s *GetRepositoryCatalogDataInput) SetRegistryId(v string) *GetRepositoryCatalogDataInput
- func (s *GetRepositoryCatalogDataInput) SetRepositoryName(v string) *GetRepositoryCatalogDataInput
- func (s GetRepositoryCatalogDataInput) String() string
- func (s *GetRepositoryCatalogDataInput) Validate() error
- type GetRepositoryCatalogDataOutput
- type GetRepositoryPolicyInput
- func (s GetRepositoryPolicyInput) GoString() string
- func (s *GetRepositoryPolicyInput) SetRegistryId(v string) *GetRepositoryPolicyInput
- func (s *GetRepositoryPolicyInput) SetRepositoryName(v string) *GetRepositoryPolicyInput
- func (s GetRepositoryPolicyInput) String() string
- func (s *GetRepositoryPolicyInput) Validate() error
- type GetRepositoryPolicyOutput
- func (s GetRepositoryPolicyOutput) GoString() string
- func (s *GetRepositoryPolicyOutput) SetPolicyText(v string) *GetRepositoryPolicyOutput
- func (s *GetRepositoryPolicyOutput) SetRegistryId(v string) *GetRepositoryPolicyOutput
- func (s *GetRepositoryPolicyOutput) SetRepositoryName(v string) *GetRepositoryPolicyOutput
- func (s GetRepositoryPolicyOutput) String() string
- type Image
- func (s Image) GoString() string
- func (s *Image) SetImageId(v *ImageIdentifier) *Image
- func (s *Image) SetImageManifest(v string) *Image
- func (s *Image) SetImageManifestMediaType(v string) *Image
- func (s *Image) SetRegistryId(v string) *Image
- func (s *Image) SetRepositoryName(v string) *Image
- func (s Image) String() string
- type ImageAlreadyExistsException
- func (s *ImageAlreadyExistsException) Code() string
- func (s *ImageAlreadyExistsException) Error() string
- func (s ImageAlreadyExistsException) GoString() string
- func (s *ImageAlreadyExistsException) Message() string
- func (s *ImageAlreadyExistsException) OrigErr() error
- func (s *ImageAlreadyExistsException) RequestID() string
- func (s *ImageAlreadyExistsException) StatusCode() int
- func (s ImageAlreadyExistsException) String() string
- type ImageDetail
- func (s ImageDetail) GoString() string
- func (s *ImageDetail) SetArtifactMediaType(v string) *ImageDetail
- func (s *ImageDetail) SetImageDigest(v string) *ImageDetail
- func (s *ImageDetail) SetImageManifestMediaType(v string) *ImageDetail
- func (s *ImageDetail) SetImagePushedAt(v time.Time) *ImageDetail
- func (s *ImageDetail) SetImageSizeInBytes(v int64) *ImageDetail
- func (s *ImageDetail) SetImageTags(v []*string) *ImageDetail
- func (s *ImageDetail) SetRegistryId(v string) *ImageDetail
- func (s *ImageDetail) SetRepositoryName(v string) *ImageDetail
- func (s ImageDetail) String() string
- type ImageDigestDoesNotMatchException
- func (s *ImageDigestDoesNotMatchException) Code() string
- func (s *ImageDigestDoesNotMatchException) Error() string
- func (s ImageDigestDoesNotMatchException) GoString() string
- func (s *ImageDigestDoesNotMatchException) Message() string
- func (s *ImageDigestDoesNotMatchException) OrigErr() error
- func (s *ImageDigestDoesNotMatchException) RequestID() string
- func (s *ImageDigestDoesNotMatchException) StatusCode() int
- func (s ImageDigestDoesNotMatchException) String() string
- type ImageFailure
- type ImageIdentifier
- type ImageNotFoundException
- func (s *ImageNotFoundException) Code() string
- func (s *ImageNotFoundException) Error() string
- func (s ImageNotFoundException) GoString() string
- func (s *ImageNotFoundException) Message() string
- func (s *ImageNotFoundException) OrigErr() error
- func (s *ImageNotFoundException) RequestID() string
- func (s *ImageNotFoundException) StatusCode() int
- func (s ImageNotFoundException) String() string
- type ImageTagAlreadyExistsException
- func (s *ImageTagAlreadyExistsException) Code() string
- func (s *ImageTagAlreadyExistsException) Error() string
- func (s ImageTagAlreadyExistsException) GoString() string
- func (s *ImageTagAlreadyExistsException) Message() string
- func (s *ImageTagAlreadyExistsException) OrigErr() error
- func (s *ImageTagAlreadyExistsException) RequestID() string
- func (s *ImageTagAlreadyExistsException) StatusCode() int
- func (s ImageTagAlreadyExistsException) String() string
- type ImageTagDetail
- type InitiateLayerUploadInput
- func (s InitiateLayerUploadInput) GoString() string
- func (s *InitiateLayerUploadInput) SetRegistryId(v string) *InitiateLayerUploadInput
- func (s *InitiateLayerUploadInput) SetRepositoryName(v string) *InitiateLayerUploadInput
- func (s InitiateLayerUploadInput) String() string
- func (s *InitiateLayerUploadInput) Validate() error
- type InitiateLayerUploadOutput
- type InvalidLayerException
- func (s *InvalidLayerException) Code() string
- func (s *InvalidLayerException) Error() string
- func (s InvalidLayerException) GoString() string
- func (s *InvalidLayerException) Message() string
- func (s *InvalidLayerException) OrigErr() error
- func (s *InvalidLayerException) RequestID() string
- func (s *InvalidLayerException) StatusCode() int
- func (s InvalidLayerException) String() string
- type InvalidLayerPartException
- func (s *InvalidLayerPartException) Code() string
- func (s *InvalidLayerPartException) Error() string
- func (s InvalidLayerPartException) GoString() string
- func (s *InvalidLayerPartException) Message() string
- func (s *InvalidLayerPartException) OrigErr() error
- func (s *InvalidLayerPartException) RequestID() string
- func (s *InvalidLayerPartException) StatusCode() int
- func (s InvalidLayerPartException) String() string
- type InvalidParameterException
- func (s *InvalidParameterException) Code() string
- func (s *InvalidParameterException) Error() string
- func (s InvalidParameterException) GoString() string
- func (s *InvalidParameterException) Message() string
- func (s *InvalidParameterException) OrigErr() error
- func (s *InvalidParameterException) RequestID() string
- func (s *InvalidParameterException) StatusCode() int
- func (s InvalidParameterException) String() string
- type Layer
- type LayerAlreadyExistsException
- func (s *LayerAlreadyExistsException) Code() string
- func (s *LayerAlreadyExistsException) Error() string
- func (s LayerAlreadyExistsException) GoString() string
- func (s *LayerAlreadyExistsException) Message() string
- func (s *LayerAlreadyExistsException) OrigErr() error
- func (s *LayerAlreadyExistsException) RequestID() string
- func (s *LayerAlreadyExistsException) StatusCode() int
- func (s LayerAlreadyExistsException) String() string
- type LayerFailure
- type LayerPartTooSmallException
- func (s *LayerPartTooSmallException) Code() string
- func (s *LayerPartTooSmallException) Error() string
- func (s LayerPartTooSmallException) GoString() string
- func (s *LayerPartTooSmallException) Message() string
- func (s *LayerPartTooSmallException) OrigErr() error
- func (s *LayerPartTooSmallException) RequestID() string
- func (s *LayerPartTooSmallException) StatusCode() int
- func (s LayerPartTooSmallException) String() string
- type LayersNotFoundException
- func (s *LayersNotFoundException) Code() string
- func (s *LayersNotFoundException) Error() string
- func (s LayersNotFoundException) GoString() string
- func (s *LayersNotFoundException) Message() string
- func (s *LayersNotFoundException) OrigErr() error
- func (s *LayersNotFoundException) RequestID() string
- func (s *LayersNotFoundException) StatusCode() int
- func (s LayersNotFoundException) String() string
- type LimitExceededException
- func (s *LimitExceededException) Code() string
- func (s *LimitExceededException) Error() string
- func (s LimitExceededException) GoString() string
- func (s *LimitExceededException) Message() string
- func (s *LimitExceededException) OrigErr() error
- func (s *LimitExceededException) RequestID() string
- func (s *LimitExceededException) StatusCode() int
- func (s LimitExceededException) String() string
- type PutImageInput
- func (s PutImageInput) GoString() string
- func (s *PutImageInput) SetImageDigest(v string) *PutImageInput
- func (s *PutImageInput) SetImageManifest(v string) *PutImageInput
- func (s *PutImageInput) SetImageManifestMediaType(v string) *PutImageInput
- func (s *PutImageInput) SetImageTag(v string) *PutImageInput
- func (s *PutImageInput) SetRegistryId(v string) *PutImageInput
- func (s *PutImageInput) SetRepositoryName(v string) *PutImageInput
- func (s PutImageInput) String() string
- func (s *PutImageInput) Validate() error
- type PutImageOutput
- type PutRegistryCatalogDataInput
- type PutRegistryCatalogDataOutput
- type PutRepositoryCatalogDataInput
- func (s PutRepositoryCatalogDataInput) GoString() string
- func (s *PutRepositoryCatalogDataInput) SetCatalogData(v *RepositoryCatalogDataInput) *PutRepositoryCatalogDataInput
- func (s *PutRepositoryCatalogDataInput) SetRegistryId(v string) *PutRepositoryCatalogDataInput
- func (s *PutRepositoryCatalogDataInput) SetRepositoryName(v string) *PutRepositoryCatalogDataInput
- func (s PutRepositoryCatalogDataInput) String() string
- func (s *PutRepositoryCatalogDataInput) Validate() error
- type PutRepositoryCatalogDataOutput
- type ReferencedImageDetail
- func (s ReferencedImageDetail) GoString() string
- func (s *ReferencedImageDetail) SetArtifactMediaType(v string) *ReferencedImageDetail
- func (s *ReferencedImageDetail) SetImageDigest(v string) *ReferencedImageDetail
- func (s *ReferencedImageDetail) SetImageManifestMediaType(v string) *ReferencedImageDetail
- func (s *ReferencedImageDetail) SetImagePushedAt(v time.Time) *ReferencedImageDetail
- func (s *ReferencedImageDetail) SetImageSizeInBytes(v int64) *ReferencedImageDetail
- func (s ReferencedImageDetail) String() string
- type ReferencedImagesNotFoundException
- func (s *ReferencedImagesNotFoundException) Code() string
- func (s *ReferencedImagesNotFoundException) Error() string
- func (s ReferencedImagesNotFoundException) GoString() string
- func (s *ReferencedImagesNotFoundException) Message() string
- func (s *ReferencedImagesNotFoundException) OrigErr() error
- func (s *ReferencedImagesNotFoundException) RequestID() string
- func (s *ReferencedImagesNotFoundException) StatusCode() int
- func (s ReferencedImagesNotFoundException) String() string
- type Registry
- func (s Registry) GoString() string
- func (s *Registry) SetAliases(v []*RegistryAlias) *Registry
- func (s *Registry) SetRegistryArn(v string) *Registry
- func (s *Registry) SetRegistryId(v string) *Registry
- func (s *Registry) SetRegistryUri(v string) *Registry
- func (s *Registry) SetVerified(v bool) *Registry
- func (s Registry) String() string
- type RegistryAlias
- func (s RegistryAlias) GoString() string
- func (s *RegistryAlias) SetDefaultRegistryAlias(v bool) *RegistryAlias
- func (s *RegistryAlias) SetName(v string) *RegistryAlias
- func (s *RegistryAlias) SetPrimaryRegistryAlias(v bool) *RegistryAlias
- func (s *RegistryAlias) SetStatus(v string) *RegistryAlias
- func (s RegistryAlias) String() string
- type RegistryCatalogData
- type RegistryNotFoundException
- func (s *RegistryNotFoundException) Code() string
- func (s *RegistryNotFoundException) Error() string
- func (s RegistryNotFoundException) GoString() string
- func (s *RegistryNotFoundException) Message() string
- func (s *RegistryNotFoundException) OrigErr() error
- func (s *RegistryNotFoundException) RequestID() string
- func (s *RegistryNotFoundException) StatusCode() int
- func (s RegistryNotFoundException) String() string
- type Repository
- func (s Repository) GoString() string
- func (s *Repository) SetCreatedAt(v time.Time) *Repository
- func (s *Repository) SetRegistryId(v string) *Repository
- func (s *Repository) SetRepositoryArn(v string) *Repository
- func (s *Repository) SetRepositoryName(v string) *Repository
- func (s *Repository) SetRepositoryUri(v string) *Repository
- func (s Repository) String() string
- type RepositoryAlreadyExistsException
- func (s *RepositoryAlreadyExistsException) Code() string
- func (s *RepositoryAlreadyExistsException) Error() string
- func (s RepositoryAlreadyExistsException) GoString() string
- func (s *RepositoryAlreadyExistsException) Message() string
- func (s *RepositoryAlreadyExistsException) OrigErr() error
- func (s *RepositoryAlreadyExistsException) RequestID() string
- func (s *RepositoryAlreadyExistsException) StatusCode() int
- func (s RepositoryAlreadyExistsException) String() string
- type RepositoryCatalogData
- func (s RepositoryCatalogData) GoString() string
- func (s *RepositoryCatalogData) SetAboutText(v string) *RepositoryCatalogData
- func (s *RepositoryCatalogData) SetArchitectures(v []*string) *RepositoryCatalogData
- func (s *RepositoryCatalogData) SetDescription(v string) *RepositoryCatalogData
- func (s *RepositoryCatalogData) SetLogoUrl(v string) *RepositoryCatalogData
- func (s *RepositoryCatalogData) SetMarketplaceCertified(v bool) *RepositoryCatalogData
- func (s *RepositoryCatalogData) SetOperatingSystems(v []*string) *RepositoryCatalogData
- func (s *RepositoryCatalogData) SetUsageText(v string) *RepositoryCatalogData
- func (s RepositoryCatalogData) String() string
- type RepositoryCatalogDataInput
- func (s RepositoryCatalogDataInput) GoString() string
- func (s *RepositoryCatalogDataInput) SetAboutText(v string) *RepositoryCatalogDataInput
- func (s *RepositoryCatalogDataInput) SetArchitectures(v []*string) *RepositoryCatalogDataInput
- func (s *RepositoryCatalogDataInput) SetDescription(v string) *RepositoryCatalogDataInput
- func (s *RepositoryCatalogDataInput) SetLogoImageBlob(v []byte) *RepositoryCatalogDataInput
- func (s *RepositoryCatalogDataInput) SetOperatingSystems(v []*string) *RepositoryCatalogDataInput
- func (s *RepositoryCatalogDataInput) SetUsageText(v string) *RepositoryCatalogDataInput
- func (s RepositoryCatalogDataInput) String() string
- type RepositoryNotEmptyException
- func (s *RepositoryNotEmptyException) Code() string
- func (s *RepositoryNotEmptyException) Error() string
- func (s RepositoryNotEmptyException) GoString() string
- func (s *RepositoryNotEmptyException) Message() string
- func (s *RepositoryNotEmptyException) OrigErr() error
- func (s *RepositoryNotEmptyException) RequestID() string
- func (s *RepositoryNotEmptyException) StatusCode() int
- func (s RepositoryNotEmptyException) String() string
- type RepositoryNotFoundException
- func (s *RepositoryNotFoundException) Code() string
- func (s *RepositoryNotFoundException) Error() string
- func (s RepositoryNotFoundException) GoString() string
- func (s *RepositoryNotFoundException) Message() string
- func (s *RepositoryNotFoundException) OrigErr() error
- func (s *RepositoryNotFoundException) RequestID() string
- func (s *RepositoryNotFoundException) StatusCode() int
- func (s RepositoryNotFoundException) String() string
- type RepositoryPolicyNotFoundException
- func (s *RepositoryPolicyNotFoundException) Code() string
- func (s *RepositoryPolicyNotFoundException) Error() string
- func (s RepositoryPolicyNotFoundException) GoString() string
- func (s *RepositoryPolicyNotFoundException) Message() string
- func (s *RepositoryPolicyNotFoundException) OrigErr() error
- func (s *RepositoryPolicyNotFoundException) RequestID() string
- func (s *RepositoryPolicyNotFoundException) StatusCode() int
- func (s RepositoryPolicyNotFoundException) String() string
- type ServerException
- func (s *ServerException) Code() string
- func (s *ServerException) Error() string
- func (s ServerException) GoString() string
- func (s *ServerException) Message() string
- func (s *ServerException) OrigErr() error
- func (s *ServerException) RequestID() string
- func (s *ServerException) StatusCode() int
- func (s ServerException) String() string
- type SetRepositoryPolicyInput
- func (s SetRepositoryPolicyInput) GoString() string
- func (s *SetRepositoryPolicyInput) SetForce(v bool) *SetRepositoryPolicyInput
- func (s *SetRepositoryPolicyInput) SetPolicyText(v string) *SetRepositoryPolicyInput
- func (s *SetRepositoryPolicyInput) SetRegistryId(v string) *SetRepositoryPolicyInput
- func (s *SetRepositoryPolicyInput) SetRepositoryName(v string) *SetRepositoryPolicyInput
- func (s SetRepositoryPolicyInput) String() string
- func (s *SetRepositoryPolicyInput) Validate() error
- type SetRepositoryPolicyOutput
- func (s SetRepositoryPolicyOutput) GoString() string
- func (s *SetRepositoryPolicyOutput) SetPolicyText(v string) *SetRepositoryPolicyOutput
- func (s *SetRepositoryPolicyOutput) SetRegistryId(v string) *SetRepositoryPolicyOutput
- func (s *SetRepositoryPolicyOutput) SetRepositoryName(v string) *SetRepositoryPolicyOutput
- func (s SetRepositoryPolicyOutput) String() string
- type UnsupportedCommandException
- func (s *UnsupportedCommandException) Code() string
- func (s *UnsupportedCommandException) Error() string
- func (s UnsupportedCommandException) GoString() string
- func (s *UnsupportedCommandException) Message() string
- func (s *UnsupportedCommandException) OrigErr() error
- func (s *UnsupportedCommandException) RequestID() string
- func (s *UnsupportedCommandException) StatusCode() int
- func (s UnsupportedCommandException) String() string
- type UploadLayerPartInput
- func (s UploadLayerPartInput) GoString() string
- func (s *UploadLayerPartInput) SetLayerPartBlob(v []byte) *UploadLayerPartInput
- func (s *UploadLayerPartInput) SetPartFirstByte(v int64) *UploadLayerPartInput
- func (s *UploadLayerPartInput) SetPartLastByte(v int64) *UploadLayerPartInput
- func (s *UploadLayerPartInput) SetRegistryId(v string) *UploadLayerPartInput
- func (s *UploadLayerPartInput) SetRepositoryName(v string) *UploadLayerPartInput
- func (s *UploadLayerPartInput) SetUploadId(v string) *UploadLayerPartInput
- func (s UploadLayerPartInput) String() string
- func (s *UploadLayerPartInput) Validate() error
- type UploadLayerPartOutput
- func (s UploadLayerPartOutput) GoString() string
- func (s *UploadLayerPartOutput) SetLastByteReceived(v int64) *UploadLayerPartOutput
- func (s *UploadLayerPartOutput) SetRegistryId(v string) *UploadLayerPartOutput
- func (s *UploadLayerPartOutput) SetRepositoryName(v string) *UploadLayerPartOutput
- func (s *UploadLayerPartOutput) SetUploadId(v string) *UploadLayerPartOutput
- func (s UploadLayerPartOutput) String() string
- type UploadNotFoundException
- func (s *UploadNotFoundException) Code() string
- func (s *UploadNotFoundException) Error() string
- func (s UploadNotFoundException) GoString() string
- func (s *UploadNotFoundException) Message() string
- func (s *UploadNotFoundException) OrigErr() error
- func (s *UploadNotFoundException) RequestID() string
- func (s *UploadNotFoundException) StatusCode() int
- func (s UploadNotFoundException) String() string
Constants ¶
const ( // ImageFailureCodeInvalidImageDigest is a ImageFailureCode enum value ImageFailureCodeInvalidImageDigest = "InvalidImageDigest" // ImageFailureCodeInvalidImageTag is a ImageFailureCode enum value ImageFailureCodeInvalidImageTag = "InvalidImageTag" // ImageFailureCodeImageTagDoesNotMatchDigest is a ImageFailureCode enum value ImageFailureCodeImageTagDoesNotMatchDigest = "ImageTagDoesNotMatchDigest" // ImageFailureCodeImageNotFound is a ImageFailureCode enum value ImageFailureCodeImageNotFound = "ImageNotFound" // ImageFailureCodeMissingDigestAndTag is a ImageFailureCode enum value ImageFailureCodeMissingDigestAndTag = "MissingDigestAndTag" // ImageFailureCodeImageReferencedByManifestList is a ImageFailureCode enum value ImageFailureCodeImageReferencedByManifestList = "ImageReferencedByManifestList" // ImageFailureCodeKmsError is a ImageFailureCode enum value ImageFailureCodeKmsError = "KmsError" )
const ( // LayerAvailabilityAvailable is a LayerAvailability enum value LayerAvailabilityAvailable = "AVAILABLE" LayerAvailabilityUnavailable = "UNAVAILABLE" )
const ( // LayerFailureCodeInvalidLayerDigest is a LayerFailureCode enum value LayerFailureCodeInvalidLayerDigest = "InvalidLayerDigest" // LayerFailureCodeMissingLayerDigest is a LayerFailureCode enum value LayerFailureCodeMissingLayerDigest = "MissingLayerDigest" )
const ( // RegistryAliasStatusActive is a RegistryAliasStatus enum value RegistryAliasStatusActive = "ACTIVE" // RegistryAliasStatusPending is a RegistryAliasStatus enum value RegistryAliasStatusPending = "PENDING" // RegistryAliasStatusRejected is a RegistryAliasStatus enum value RegistryAliasStatusRejected = "REJECTED" )
const ( // ErrCodeEmptyUploadException for service response error code // "EmptyUploadException". // // The specified layer upload does not contain any layer parts. ErrCodeEmptyUploadException = "EmptyUploadException" // ErrCodeImageAlreadyExistsException for service response error code // "ImageAlreadyExistsException". // // The specified image has already been pushed, and there were no changes to // the manifest or image tag after the last push. ErrCodeImageAlreadyExistsException = "ImageAlreadyExistsException" // ErrCodeImageDigestDoesNotMatchException for service response error code // "ImageDigestDoesNotMatchException". // // The specified image digest does not match the digest that Amazon ECR calculated // for the image. ErrCodeImageDigestDoesNotMatchException = "ImageDigestDoesNotMatchException" // ErrCodeImageNotFoundException for service response error code // "ImageNotFoundException". // // The image requested does not exist in the specified repository. ErrCodeImageNotFoundException = "ImageNotFoundException" // ErrCodeImageTagAlreadyExistsException for service response error code // "ImageTagAlreadyExistsException". // // The specified image is tagged with a tag that already exists. The repository // is configured for tag immutability. ErrCodeImageTagAlreadyExistsException = "ImageTagAlreadyExistsException" // ErrCodeInvalidLayerException for service response error code // "InvalidLayerException". // // The layer digest calculation performed by Amazon ECR upon receipt of the // image layer does not match the digest specified. ErrCodeInvalidLayerException = "InvalidLayerException" // ErrCodeInvalidLayerPartException for service response error code // "InvalidLayerPartException". // // The layer part size is not valid, or the first byte specified is not consecutive // to the last byte of a previous layer part upload. ErrCodeInvalidLayerPartException = "InvalidLayerPartException" // ErrCodeInvalidParameterException for service response error code // "InvalidParameterException". // // The specified parameter is invalid. Review the available parameters for the // API request. ErrCodeInvalidParameterException = "InvalidParameterException" // ErrCodeLayerAlreadyExistsException for service response error code // "LayerAlreadyExistsException". // // The image layer already exists in the associated repository. ErrCodeLayerAlreadyExistsException = "LayerAlreadyExistsException" // ErrCodeLayerPartTooSmallException for service response error code // "LayerPartTooSmallException". // // Layer parts must be at least 5 MiB in size. ErrCodeLayerPartTooSmallException = "LayerPartTooSmallException" // ErrCodeLayersNotFoundException for service response error code // "LayersNotFoundException". // // The specified layers could not be found, or the specified layer is not valid // for this repository. ErrCodeLayersNotFoundException = "LayersNotFoundException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // The operation did not 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. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeReferencedImagesNotFoundException for service response error code // "ReferencedImagesNotFoundException". // // The manifest list is referencing an image that does not exist. ErrCodeReferencedImagesNotFoundException = "ReferencedImagesNotFoundException" // ErrCodeRegistryNotFoundException for service response error code // "RegistryNotFoundException". // // The registry does not exist. ErrCodeRegistryNotFoundException = "RegistryNotFoundException" // ErrCodeRepositoryAlreadyExistsException for service response error code // "RepositoryAlreadyExistsException". // // The specified repository already exists in the specified registry. ErrCodeRepositoryAlreadyExistsException = "RepositoryAlreadyExistsException" // ErrCodeRepositoryNotEmptyException for service response error code // "RepositoryNotEmptyException". // // The specified repository contains images. To delete a repository that contains // images, you must force the deletion with the force parameter. ErrCodeRepositoryNotEmptyException = "RepositoryNotEmptyException" // ErrCodeRepositoryNotFoundException for service response error code // "RepositoryNotFoundException". // // The specified repository could not be found. Check the spelling of the specified // repository and ensure that you are performing operations on the correct registry. ErrCodeRepositoryNotFoundException = "RepositoryNotFoundException" // ErrCodeRepositoryPolicyNotFoundException for service response error code // "RepositoryPolicyNotFoundException". // // The specified repository and registry combination does not have an associated // repository policy. ErrCodeRepositoryPolicyNotFoundException = "RepositoryPolicyNotFoundException" // ErrCodeServerException for service response error code // "ServerException". // // These errors are usually caused by a server-side issue. ErrCodeServerException = "ServerException" // ErrCodeUnsupportedCommandException for service response error code // "UnsupportedCommandException". // // The action is not supported in this Region. ErrCodeUnsupportedCommandException = "UnsupportedCommandException" // ErrCodeUploadNotFoundException for service response error code // "UploadNotFoundException". // // The upload could not be found, or the specified upload ID is not valid for // this repository. ErrCodeUploadNotFoundException = "UploadNotFoundException" )
const ( ServiceName = "ECR PUBLIC" // Name of service. EndpointsID = "api.ecr-public" // ID to lookup a service endpoint with. ServiceID = "ECR PUBLIC" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func ImageFailureCode_Values ¶
func ImageFailureCode_Values() []string
ImageFailureCode_Values returns all elements of the ImageFailureCode enum
func LayerAvailability_Values ¶
func LayerAvailability_Values() []string
LayerAvailability_Values returns all elements of the LayerAvailability enum
func LayerFailureCode_Values ¶
func LayerFailureCode_Values() []string
LayerFailureCode_Values returns all elements of the LayerFailureCode enum
func RegistryAliasStatus_Values ¶
func RegistryAliasStatus_Values() []string
RegistryAliasStatus_Values returns all elements of the RegistryAliasStatus enum
Types ¶
type AuthorizationData ¶
type AuthorizationData struct { // A base64-encoded string that contains authorization data for a public Amazon // ECR registry. When the string is decoded, it is presented in the format user:password // for public registry authentication using docker login. AuthorizationToken *string `locationName:"authorizationToken" type:"string"` // The Unix time in seconds and milliseconds when the authorization token expires. // Authorization tokens are valid for 12 hours. ExpiresAt *time.Time `locationName:"expiresAt" type:"timestamp"` // contains filtered or unexported fields }
An authorization token data object that corresponds to a public registry.
func (AuthorizationData) GoString ¶
func (s AuthorizationData) GoString() string
GoString returns the string representation
func (*AuthorizationData) SetAuthorizationToken ¶
func (s *AuthorizationData) SetAuthorizationToken(v string) *AuthorizationData
SetAuthorizationToken sets the AuthorizationToken field's value.
func (*AuthorizationData) SetExpiresAt ¶
func (s *AuthorizationData) SetExpiresAt(v time.Time) *AuthorizationData
SetExpiresAt sets the ExpiresAt field's value.
func (AuthorizationData) String ¶
func (s AuthorizationData) String() string
String returns the string representation
type BatchCheckLayerAvailabilityInput ¶
type BatchCheckLayerAvailabilityInput struct { // The digests of the image layers to check. // // LayerDigests is a required field LayerDigests []*string `locationName:"layerDigests" min:"1" type:"list" required:"true"` // The AWS account ID associated with the public registry that contains the // image layers to check. If you do not specify a registry, the default public // registry is assumed. RegistryId *string `locationName:"registryId" min:"1" type:"string"` // The name of the repository that is associated with the image layers to check. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (BatchCheckLayerAvailabilityInput) GoString ¶
func (s BatchCheckLayerAvailabilityInput) GoString() string
GoString returns the string representation
func (*BatchCheckLayerAvailabilityInput) SetLayerDigests ¶
func (s *BatchCheckLayerAvailabilityInput) SetLayerDigests(v []*string) *BatchCheckLayerAvailabilityInput
SetLayerDigests sets the LayerDigests field's value.
func (*BatchCheckLayerAvailabilityInput) SetRegistryId ¶
func (s *BatchCheckLayerAvailabilityInput) SetRegistryId(v string) *BatchCheckLayerAvailabilityInput
SetRegistryId sets the RegistryId field's value.
func (*BatchCheckLayerAvailabilityInput) SetRepositoryName ¶
func (s *BatchCheckLayerAvailabilityInput) SetRepositoryName(v string) *BatchCheckLayerAvailabilityInput
SetRepositoryName sets the RepositoryName field's value.
func (BatchCheckLayerAvailabilityInput) String ¶
func (s BatchCheckLayerAvailabilityInput) String() string
String returns the string representation
func (*BatchCheckLayerAvailabilityInput) Validate ¶
func (s *BatchCheckLayerAvailabilityInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchCheckLayerAvailabilityOutput ¶
type BatchCheckLayerAvailabilityOutput struct { // Any failures associated with the call. Failures []*LayerFailure `locationName:"failures" type:"list"` // A list of image layer objects corresponding to the image layer references // in the request. Layers []*Layer `locationName:"layers" type:"list"` // contains filtered or unexported fields }
func (BatchCheckLayerAvailabilityOutput) GoString ¶
func (s BatchCheckLayerAvailabilityOutput) GoString() string
GoString returns the string representation
func (*BatchCheckLayerAvailabilityOutput) SetFailures ¶
func (s *BatchCheckLayerAvailabilityOutput) SetFailures(v []*LayerFailure) *BatchCheckLayerAvailabilityOutput
SetFailures sets the Failures field's value.
func (*BatchCheckLayerAvailabilityOutput) SetLayers ¶
func (s *BatchCheckLayerAvailabilityOutput) SetLayers(v []*Layer) *BatchCheckLayerAvailabilityOutput
SetLayers sets the Layers field's value.
func (BatchCheckLayerAvailabilityOutput) String ¶
func (s BatchCheckLayerAvailabilityOutput) String() string
String returns the string representation
type BatchDeleteImageInput ¶
type BatchDeleteImageInput struct { // A list of image ID references that correspond to images to delete. The format // of the imageIds reference is imageTag=tag or imageDigest=digest. // // ImageIds is a required field ImageIds []*ImageIdentifier `locationName:"imageIds" min:"1" type:"list" required:"true"` // The AWS account ID associated with the registry that contains the image to // delete. If you do not specify a registry, the default public registry is // assumed. RegistryId *string `locationName:"registryId" type:"string"` // The repository in a public registry that contains the image to delete. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (BatchDeleteImageInput) GoString ¶
func (s BatchDeleteImageInput) GoString() string
GoString returns the string representation
func (*BatchDeleteImageInput) SetImageIds ¶
func (s *BatchDeleteImageInput) SetImageIds(v []*ImageIdentifier) *BatchDeleteImageInput
SetImageIds sets the ImageIds field's value.
func (*BatchDeleteImageInput) SetRegistryId ¶
func (s *BatchDeleteImageInput) SetRegistryId(v string) *BatchDeleteImageInput
SetRegistryId sets the RegistryId field's value.
func (*BatchDeleteImageInput) SetRepositoryName ¶
func (s *BatchDeleteImageInput) SetRepositoryName(v string) *BatchDeleteImageInput
SetRepositoryName sets the RepositoryName field's value.
func (BatchDeleteImageInput) String ¶
func (s BatchDeleteImageInput) String() string
String returns the string representation
func (*BatchDeleteImageInput) Validate ¶
func (s *BatchDeleteImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchDeleteImageOutput ¶
type BatchDeleteImageOutput struct { // Any failures associated with the call. Failures []*ImageFailure `locationName:"failures" type:"list"` // The image IDs of the deleted images. ImageIds []*ImageIdentifier `locationName:"imageIds" min:"1" type:"list"` // contains filtered or unexported fields }
func (BatchDeleteImageOutput) GoString ¶
func (s BatchDeleteImageOutput) GoString() string
GoString returns the string representation
func (*BatchDeleteImageOutput) SetFailures ¶
func (s *BatchDeleteImageOutput) SetFailures(v []*ImageFailure) *BatchDeleteImageOutput
SetFailures sets the Failures field's value.
func (*BatchDeleteImageOutput) SetImageIds ¶
func (s *BatchDeleteImageOutput) SetImageIds(v []*ImageIdentifier) *BatchDeleteImageOutput
SetImageIds sets the ImageIds field's value.
func (BatchDeleteImageOutput) String ¶
func (s BatchDeleteImageOutput) String() string
String returns the string representation
type CompleteLayerUploadInput ¶
type CompleteLayerUploadInput struct { // The sha256 digest of the image layer. // // LayerDigests is a required field LayerDigests []*string `locationName:"layerDigests" min:"1" type:"list" required:"true"` // The AWS account ID associated with the registry to which to upload layers. // If you do not specify a registry, the default public registry is assumed. RegistryId *string `locationName:"registryId" min:"1" type:"string"` // The name of the repository in a public registry to associate with the image // layer. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // The upload ID from a previous InitiateLayerUpload operation to associate // with the image layer. // // UploadId is a required field UploadId *string `locationName:"uploadId" type:"string" required:"true"` // contains filtered or unexported fields }
func (CompleteLayerUploadInput) GoString ¶
func (s CompleteLayerUploadInput) GoString() string
GoString returns the string representation
func (*CompleteLayerUploadInput) SetLayerDigests ¶
func (s *CompleteLayerUploadInput) SetLayerDigests(v []*string) *CompleteLayerUploadInput
SetLayerDigests sets the LayerDigests field's value.
func (*CompleteLayerUploadInput) SetRegistryId ¶
func (s *CompleteLayerUploadInput) SetRegistryId(v string) *CompleteLayerUploadInput
SetRegistryId sets the RegistryId field's value.
func (*CompleteLayerUploadInput) SetRepositoryName ¶
func (s *CompleteLayerUploadInput) SetRepositoryName(v string) *CompleteLayerUploadInput
SetRepositoryName sets the RepositoryName field's value.
func (*CompleteLayerUploadInput) SetUploadId ¶
func (s *CompleteLayerUploadInput) SetUploadId(v string) *CompleteLayerUploadInput
SetUploadId sets the UploadId field's value.
func (CompleteLayerUploadInput) String ¶
func (s CompleteLayerUploadInput) String() string
String returns the string representation
func (*CompleteLayerUploadInput) Validate ¶
func (s *CompleteLayerUploadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CompleteLayerUploadOutput ¶
type CompleteLayerUploadOutput struct { // The sha256 digest of the image layer. LayerDigest *string `locationName:"layerDigest" type:"string"` // The public registry ID associated with the request. RegistryId *string `locationName:"registryId" type:"string"` // The repository name associated with the request. RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"` // The upload ID associated with the layer. UploadId *string `locationName:"uploadId" type:"string"` // contains filtered or unexported fields }
func (CompleteLayerUploadOutput) GoString ¶
func (s CompleteLayerUploadOutput) GoString() string
GoString returns the string representation
func (*CompleteLayerUploadOutput) SetLayerDigest ¶
func (s *CompleteLayerUploadOutput) SetLayerDigest(v string) *CompleteLayerUploadOutput
SetLayerDigest sets the LayerDigest field's value.
func (*CompleteLayerUploadOutput) SetRegistryId ¶
func (s *CompleteLayerUploadOutput) SetRegistryId(v string) *CompleteLayerUploadOutput
SetRegistryId sets the RegistryId field's value.
func (*CompleteLayerUploadOutput) SetRepositoryName ¶
func (s *CompleteLayerUploadOutput) SetRepositoryName(v string) *CompleteLayerUploadOutput
SetRepositoryName sets the RepositoryName field's value.
func (*CompleteLayerUploadOutput) SetUploadId ¶
func (s *CompleteLayerUploadOutput) SetUploadId(v string) *CompleteLayerUploadOutput
SetUploadId sets the UploadId field's value.
func (CompleteLayerUploadOutput) String ¶
func (s CompleteLayerUploadOutput) String() string
String returns the string representation
type CreateRepositoryInput ¶
type CreateRepositoryInput struct { // The details about the repository that are publicly visible in the Amazon // ECR Public Gallery. CatalogData *RepositoryCatalogDataInput `locationName:"catalogData" type:"structure"` // The name to use for the repository. This appears publicly in the Amazon ECR // Public Gallery. 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). // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateRepositoryInput) GoString ¶
func (s CreateRepositoryInput) GoString() string
GoString returns the string representation
func (*CreateRepositoryInput) SetCatalogData ¶
func (s *CreateRepositoryInput) SetCatalogData(v *RepositoryCatalogDataInput) *CreateRepositoryInput
SetCatalogData sets the CatalogData field's value.
func (*CreateRepositoryInput) SetRepositoryName ¶
func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInput
SetRepositoryName sets the RepositoryName field's value.
func (CreateRepositoryInput) String ¶
func (s CreateRepositoryInput) String() string
String returns the string representation
func (*CreateRepositoryInput) Validate ¶
func (s *CreateRepositoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRepositoryOutput ¶
type CreateRepositoryOutput struct { // The catalog data for a repository. This data is publicly visible in the Amazon // ECR Public Gallery. CatalogData *RepositoryCatalogData `locationName:"catalogData" type:"structure"` // The repository that was created. Repository *Repository `locationName:"repository" type:"structure"` // contains filtered or unexported fields }
func (CreateRepositoryOutput) GoString ¶
func (s CreateRepositoryOutput) GoString() string
GoString returns the string representation
func (*CreateRepositoryOutput) SetCatalogData ¶
func (s *CreateRepositoryOutput) SetCatalogData(v *RepositoryCatalogData) *CreateRepositoryOutput
SetCatalogData sets the CatalogData field's value.
func (*CreateRepositoryOutput) SetRepository ¶
func (s *CreateRepositoryOutput) SetRepository(v *Repository) *CreateRepositoryOutput
SetRepository sets the Repository field's value.
func (CreateRepositoryOutput) String ¶
func (s CreateRepositoryOutput) String() string
String returns the string representation
type DeleteRepositoryInput ¶
type DeleteRepositoryInput struct { // If a repository contains images, forces the deletion. Force *bool `locationName:"force" type:"boolean"` // The AWS account ID associated with the public registry that contains the // repository to delete. If you do not specify a registry, the default public // registry is assumed. RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository to delete. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteRepositoryInput) GoString ¶
func (s DeleteRepositoryInput) GoString() string
GoString returns the string representation
func (*DeleteRepositoryInput) SetForce ¶
func (s *DeleteRepositoryInput) SetForce(v bool) *DeleteRepositoryInput
SetForce sets the Force field's value.
func (*DeleteRepositoryInput) SetRegistryId ¶
func (s *DeleteRepositoryInput) SetRegistryId(v string) *DeleteRepositoryInput
SetRegistryId sets the RegistryId field's value.
func (*DeleteRepositoryInput) SetRepositoryName ¶
func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInput
SetRepositoryName sets the RepositoryName field's value.
func (DeleteRepositoryInput) String ¶
func (s DeleteRepositoryInput) String() string
String returns the string representation
func (*DeleteRepositoryInput) Validate ¶
func (s *DeleteRepositoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRepositoryOutput ¶
type DeleteRepositoryOutput struct { // The repository that was deleted. Repository *Repository `locationName:"repository" type:"structure"` // contains filtered or unexported fields }
func (DeleteRepositoryOutput) GoString ¶
func (s DeleteRepositoryOutput) GoString() string
GoString returns the string representation
func (*DeleteRepositoryOutput) SetRepository ¶
func (s *DeleteRepositoryOutput) SetRepository(v *Repository) *DeleteRepositoryOutput
SetRepository sets the Repository field's value.
func (DeleteRepositoryOutput) String ¶
func (s DeleteRepositoryOutput) String() string
String returns the string representation
type DeleteRepositoryPolicyInput ¶
type DeleteRepositoryPolicyInput struct { // The AWS account ID associated with the public registry that contains the // repository policy to delete. If you do not specify a registry, the default // public registry is assumed. RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository that is associated with the repository policy // to delete. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteRepositoryPolicyInput) GoString ¶
func (s DeleteRepositoryPolicyInput) GoString() string
GoString returns the string representation
func (*DeleteRepositoryPolicyInput) SetRegistryId ¶
func (s *DeleteRepositoryPolicyInput) SetRegistryId(v string) *DeleteRepositoryPolicyInput
SetRegistryId sets the RegistryId field's value.
func (*DeleteRepositoryPolicyInput) SetRepositoryName ¶
func (s *DeleteRepositoryPolicyInput) SetRepositoryName(v string) *DeleteRepositoryPolicyInput
SetRepositoryName sets the RepositoryName field's value.
func (DeleteRepositoryPolicyInput) String ¶
func (s DeleteRepositoryPolicyInput) String() string
String returns the string representation
func (*DeleteRepositoryPolicyInput) Validate ¶
func (s *DeleteRepositoryPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRepositoryPolicyOutput ¶
type DeleteRepositoryPolicyOutput struct { // The JSON repository policy that was deleted from the repository. PolicyText *string `locationName:"policyText" type:"string"` // The registry ID associated with the request. RegistryId *string `locationName:"registryId" type:"string"` // The repository name associated with the request. RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"` // contains filtered or unexported fields }
func (DeleteRepositoryPolicyOutput) GoString ¶
func (s DeleteRepositoryPolicyOutput) GoString() string
GoString returns the string representation
func (*DeleteRepositoryPolicyOutput) SetPolicyText ¶
func (s *DeleteRepositoryPolicyOutput) SetPolicyText(v string) *DeleteRepositoryPolicyOutput
SetPolicyText sets the PolicyText field's value.
func (*DeleteRepositoryPolicyOutput) SetRegistryId ¶
func (s *DeleteRepositoryPolicyOutput) SetRegistryId(v string) *DeleteRepositoryPolicyOutput
SetRegistryId sets the RegistryId field's value.
func (*DeleteRepositoryPolicyOutput) SetRepositoryName ¶
func (s *DeleteRepositoryPolicyOutput) SetRepositoryName(v string) *DeleteRepositoryPolicyOutput
SetRepositoryName sets the RepositoryName field's value.
func (DeleteRepositoryPolicyOutput) String ¶
func (s DeleteRepositoryPolicyOutput) String() string
String returns the string representation
type DescribeImageTagsInput ¶
type DescribeImageTagsInput struct { // The maximum number of repository results returned by DescribeImageTags in // paginated output. When this parameter is used, DescribeImageTags only returns // maxResults results in a single page along with a nextToken response element. // The remaining results of the initial request can be seen by sending another // DescribeImageTags request with the returned nextToken value. This value can // be between 1 and 1000. If this parameter is not used, then DescribeImageTags // returns up to 100 results and a nextToken value, if applicable. This option // cannot be used when you specify images with imageIds. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The nextToken value returned from a previous paginated DescribeImageTags // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the nextToken value. This value is null when there are no more results // to return. This option cannot be used when you specify images with imageIds. NextToken *string `locationName:"nextToken" type:"string"` // The AWS account ID associated with the public registry that contains the // repository in which to describe images. If you do not specify a registry, // the default public registry is assumed. RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository that contains the image tag details to describe. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeImageTagsInput) GoString ¶
func (s DescribeImageTagsInput) GoString() string
GoString returns the string representation
func (*DescribeImageTagsInput) SetMaxResults ¶
func (s *DescribeImageTagsInput) SetMaxResults(v int64) *DescribeImageTagsInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeImageTagsInput) SetNextToken ¶
func (s *DescribeImageTagsInput) SetNextToken(v string) *DescribeImageTagsInput
SetNextToken sets the NextToken field's value.
func (*DescribeImageTagsInput) SetRegistryId ¶
func (s *DescribeImageTagsInput) SetRegistryId(v string) *DescribeImageTagsInput
SetRegistryId sets the RegistryId field's value.
func (*DescribeImageTagsInput) SetRepositoryName ¶
func (s *DescribeImageTagsInput) SetRepositoryName(v string) *DescribeImageTagsInput
SetRepositoryName sets the RepositoryName field's value.
func (DescribeImageTagsInput) String ¶
func (s DescribeImageTagsInput) String() string
String returns the string representation
func (*DescribeImageTagsInput) Validate ¶
func (s *DescribeImageTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeImageTagsOutput ¶
type DescribeImageTagsOutput struct { // The image tag details for the images in the requested repository. ImageTagDetails []*ImageTagDetail `locationName:"imageTagDetails" type:"list"` // The nextToken value to include in a future DescribeImageTags request. When // the results of a DescribeImageTags request exceed maxResults, this value // can be used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeImageTagsOutput) GoString ¶
func (s DescribeImageTagsOutput) GoString() string
GoString returns the string representation
func (*DescribeImageTagsOutput) SetImageTagDetails ¶
func (s *DescribeImageTagsOutput) SetImageTagDetails(v []*ImageTagDetail) *DescribeImageTagsOutput
SetImageTagDetails sets the ImageTagDetails field's value.
func (*DescribeImageTagsOutput) SetNextToken ¶
func (s *DescribeImageTagsOutput) SetNextToken(v string) *DescribeImageTagsOutput
SetNextToken sets the NextToken field's value.
func (DescribeImageTagsOutput) String ¶
func (s DescribeImageTagsOutput) String() string
String returns the string representation
type DescribeImagesInput ¶
type DescribeImagesInput struct { // The list of image IDs for the requested repository. ImageIds []*ImageIdentifier `locationName:"imageIds" min:"1" type:"list"` // The maximum number of repository results returned by DescribeImages in paginated // output. When this parameter is used, DescribeImages only returns maxResults // results in a single page along with a nextToken response element. The remaining // results of the initial request can be seen by sending another DescribeImages // request with the returned nextToken value. This value can be between 1 and // 1000. If this parameter is not used, then DescribeImages returns up to 100 // results and a nextToken value, if applicable. This option cannot be used // when you specify images with imageIds. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The nextToken value returned from a previous paginated DescribeImages request // where maxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. This value is null when there are no more results to return. // This option cannot be used when you specify images with imageIds. NextToken *string `locationName:"nextToken" type:"string"` // The AWS account ID associated with the public registry that contains the // repository in which to describe images. If you do not specify a registry, // the default public registry is assumed. RegistryId *string `locationName:"registryId" type:"string"` // The repository that contains the images to describe. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeImagesInput) GoString ¶
func (s DescribeImagesInput) GoString() string
GoString returns the string representation
func (*DescribeImagesInput) SetImageIds ¶
func (s *DescribeImagesInput) SetImageIds(v []*ImageIdentifier) *DescribeImagesInput
SetImageIds sets the ImageIds field's value.
func (*DescribeImagesInput) SetMaxResults ¶
func (s *DescribeImagesInput) SetMaxResults(v int64) *DescribeImagesInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeImagesInput) SetNextToken ¶
func (s *DescribeImagesInput) SetNextToken(v string) *DescribeImagesInput
SetNextToken sets the NextToken field's value.
func (*DescribeImagesInput) SetRegistryId ¶
func (s *DescribeImagesInput) SetRegistryId(v string) *DescribeImagesInput
SetRegistryId sets the RegistryId field's value.
func (*DescribeImagesInput) SetRepositoryName ¶
func (s *DescribeImagesInput) SetRepositoryName(v string) *DescribeImagesInput
SetRepositoryName sets the RepositoryName field's value.
func (DescribeImagesInput) String ¶
func (s DescribeImagesInput) String() string
String returns the string representation
func (*DescribeImagesInput) Validate ¶
func (s *DescribeImagesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeImagesOutput ¶
type DescribeImagesOutput struct { // A list of ImageDetail objects that contain data about the image. ImageDetails []*ImageDetail `locationName:"imageDetails" type:"list"` // The nextToken value to include in a future DescribeImages request. When the // results of a DescribeImages request exceed maxResults, this value can be // used to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeImagesOutput) GoString ¶
func (s DescribeImagesOutput) GoString() string
GoString returns the string representation
func (*DescribeImagesOutput) SetImageDetails ¶
func (s *DescribeImagesOutput) SetImageDetails(v []*ImageDetail) *DescribeImagesOutput
SetImageDetails sets the ImageDetails field's value.
func (*DescribeImagesOutput) SetNextToken ¶
func (s *DescribeImagesOutput) SetNextToken(v string) *DescribeImagesOutput
SetNextToken sets the NextToken field's value.
func (DescribeImagesOutput) String ¶
func (s DescribeImagesOutput) String() string
String returns the string representation
type DescribeRegistriesInput ¶
type DescribeRegistriesInput struct { // The maximum number of repository results returned by DescribeRegistries in // paginated output. When this parameter is used, DescribeRegistries only returns // maxResults results in a single page along with a nextToken response element. // The remaining results of the initial request can be seen by sending another // DescribeRegistries request with the returned nextToken value. This value // can be between 1 and 1000. If this parameter is not used, then DescribeRegistries // returns up to 100 results and a nextToken value, if applicable. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The nextToken value returned from a previous paginated DescribeRegistries // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the nextToken value. This value is null when there are no more results // to return. // // This token should be treated as an opaque identifier that is only used to // retrieve the next items in a list and not for other programmatic purposes. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (DescribeRegistriesInput) GoString ¶
func (s DescribeRegistriesInput) GoString() string
GoString returns the string representation
func (*DescribeRegistriesInput) SetMaxResults ¶
func (s *DescribeRegistriesInput) SetMaxResults(v int64) *DescribeRegistriesInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeRegistriesInput) SetNextToken ¶
func (s *DescribeRegistriesInput) SetNextToken(v string) *DescribeRegistriesInput
SetNextToken sets the NextToken field's value.
func (DescribeRegistriesInput) String ¶
func (s DescribeRegistriesInput) String() string
String returns the string representation
func (*DescribeRegistriesInput) Validate ¶
func (s *DescribeRegistriesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRegistriesOutput ¶
type DescribeRegistriesOutput struct { // The nextToken value to include in a future DescribeRepositories request. // When the results of a DescribeRepositories request exceed maxResults, this // value can be used to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // An object containing the details for a public registry. // // Registries is a required field Registries []*Registry `locationName:"registries" type:"list" required:"true"` // contains filtered or unexported fields }
func (DescribeRegistriesOutput) GoString ¶
func (s DescribeRegistriesOutput) GoString() string
GoString returns the string representation
func (*DescribeRegistriesOutput) SetNextToken ¶
func (s *DescribeRegistriesOutput) SetNextToken(v string) *DescribeRegistriesOutput
SetNextToken sets the NextToken field's value.
func (*DescribeRegistriesOutput) SetRegistries ¶
func (s *DescribeRegistriesOutput) SetRegistries(v []*Registry) *DescribeRegistriesOutput
SetRegistries sets the Registries field's value.
func (DescribeRegistriesOutput) String ¶
func (s DescribeRegistriesOutput) String() string
String returns the string representation
type DescribeRepositoriesInput ¶
type DescribeRepositoriesInput struct { // The maximum number of repository results returned by DescribeRepositories // in paginated output. When this parameter is used, DescribeRepositories only // returns maxResults results in a single page along with a nextToken response // element. The remaining results of the initial request can be seen by sending // another DescribeRepositories request with the returned nextToken value. This // value can be between 1 and 1000. If this parameter is not used, then DescribeRepositories // returns up to 100 results and a nextToken value, if applicable. This option // cannot be used when you specify repositories with repositoryNames. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The nextToken value returned from a previous paginated DescribeRepositories // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the nextToken value. This value is null when there are no more results // to return. This option cannot be used when you specify repositories with // repositoryNames. // // This token should be treated as an opaque identifier that is only used to // retrieve the next items in a list and not for other programmatic purposes. NextToken *string `locationName:"nextToken" type:"string"` // The AWS account ID associated with the registry that contains the repositories // to be described. If you do not specify a registry, the default public registry // is assumed. RegistryId *string `locationName:"registryId" type:"string"` // A list of repositories to describe. If this parameter is omitted, then all // repositories in a registry are described. RepositoryNames []*string `locationName:"repositoryNames" min:"1" type:"list"` // contains filtered or unexported fields }
func (DescribeRepositoriesInput) GoString ¶
func (s DescribeRepositoriesInput) GoString() string
GoString returns the string representation
func (*DescribeRepositoriesInput) SetMaxResults ¶
func (s *DescribeRepositoriesInput) SetMaxResults(v int64) *DescribeRepositoriesInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeRepositoriesInput) SetNextToken ¶
func (s *DescribeRepositoriesInput) SetNextToken(v string) *DescribeRepositoriesInput
SetNextToken sets the NextToken field's value.
func (*DescribeRepositoriesInput) SetRegistryId ¶
func (s *DescribeRepositoriesInput) SetRegistryId(v string) *DescribeRepositoriesInput
SetRegistryId sets the RegistryId field's value.
func (*DescribeRepositoriesInput) SetRepositoryNames ¶
func (s *DescribeRepositoriesInput) SetRepositoryNames(v []*string) *DescribeRepositoriesInput
SetRepositoryNames sets the RepositoryNames field's value.
func (DescribeRepositoriesInput) String ¶
func (s DescribeRepositoriesInput) String() string
String returns the string representation
func (*DescribeRepositoriesInput) Validate ¶
func (s *DescribeRepositoriesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRepositoriesOutput ¶
type DescribeRepositoriesOutput struct { // The nextToken value to include in a future DescribeRepositories request. // When the results of a DescribeRepositories request exceed maxResults, this // value can be used to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // A list of repository objects corresponding to valid repositories. Repositories []*Repository `locationName:"repositories" type:"list"` // contains filtered or unexported fields }
func (DescribeRepositoriesOutput) GoString ¶
func (s DescribeRepositoriesOutput) GoString() string
GoString returns the string representation
func (*DescribeRepositoriesOutput) SetNextToken ¶
func (s *DescribeRepositoriesOutput) SetNextToken(v string) *DescribeRepositoriesOutput
SetNextToken sets the NextToken field's value.
func (*DescribeRepositoriesOutput) SetRepositories ¶
func (s *DescribeRepositoriesOutput) SetRepositories(v []*Repository) *DescribeRepositoriesOutput
SetRepositories sets the Repositories field's value.
func (DescribeRepositoriesOutput) String ¶
func (s DescribeRepositoriesOutput) String() string
String returns the string representation
type ECRPublic ¶
ECRPublic provides the API operation methods for making requests to Amazon Elastic Container Registry Public. See this package's package overview docs for details on the service.
ECRPublic methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ECRPublic
New creates a new instance of the ECRPublic client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a ECRPublic client from just a session. svc := ecrpublic.New(mySession) // Create a ECRPublic client with additional configuration svc := ecrpublic.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*ECRPublic) BatchCheckLayerAvailability ¶
func (c *ECRPublic) BatchCheckLayerAvailability(input *BatchCheckLayerAvailabilityInput) (*BatchCheckLayerAvailabilityOutput, error)
BatchCheckLayerAvailability API operation for Amazon Elastic Container Registry Public.
Checks the availability of one or more image layers within a repository in a public registry. When an image is pushed to a repository, each image layer is checked to verify if it has been uploaded before. If it has been uploaded, then the image layer is skipped.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation BatchCheckLayerAvailability for usage and error information.
Returned Error Types:
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
ServerException These errors are usually caused by a server-side issue.
RegistryNotFoundException The registry does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchCheckLayerAvailability
func (*ECRPublic) BatchCheckLayerAvailabilityRequest ¶
func (c *ECRPublic) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabilityInput) (req *request.Request, output *BatchCheckLayerAvailabilityOutput)
BatchCheckLayerAvailabilityRequest generates a "aws/request.Request" representing the client's request for the BatchCheckLayerAvailability operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchCheckLayerAvailability for more information on using the BatchCheckLayerAvailability API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchCheckLayerAvailabilityRequest method. req, resp := client.BatchCheckLayerAvailabilityRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchCheckLayerAvailability
func (*ECRPublic) BatchCheckLayerAvailabilityWithContext ¶
func (c *ECRPublic) BatchCheckLayerAvailabilityWithContext(ctx aws.Context, input *BatchCheckLayerAvailabilityInput, opts ...request.Option) (*BatchCheckLayerAvailabilityOutput, error)
BatchCheckLayerAvailabilityWithContext is the same as BatchCheckLayerAvailability with the addition of the ability to pass a context and additional request options.
See BatchCheckLayerAvailability for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) BatchDeleteImage ¶
func (c *ECRPublic) BatchDeleteImage(input *BatchDeleteImageInput) (*BatchDeleteImageOutput, error)
BatchDeleteImage API operation for Amazon Elastic Container Registry Public.
Deletes a list of specified images within a repository in a public registry. Images are specified with either an imageTag or imageDigest.
You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository.
You can completely delete an image (and all of its tags) by specifying the image's digest in your request.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation BatchDeleteImage for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchDeleteImage
func (*ECRPublic) BatchDeleteImageRequest ¶
func (c *ECRPublic) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *request.Request, output *BatchDeleteImageOutput)
BatchDeleteImageRequest generates a "aws/request.Request" representing the client's request for the BatchDeleteImage operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See BatchDeleteImage for more information on using the BatchDeleteImage API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the BatchDeleteImageRequest method. req, resp := client.BatchDeleteImageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchDeleteImage
func (*ECRPublic) BatchDeleteImageWithContext ¶
func (c *ECRPublic) BatchDeleteImageWithContext(ctx aws.Context, input *BatchDeleteImageInput, opts ...request.Option) (*BatchDeleteImageOutput, error)
BatchDeleteImageWithContext is the same as BatchDeleteImage with the addition of the ability to pass a context and additional request options.
See BatchDeleteImage for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) CompleteLayerUpload ¶
func (c *ECRPublic) CompleteLayerUpload(input *CompleteLayerUploadInput) (*CompleteLayerUploadOutput, error)
CompleteLayerUpload API operation for Amazon Elastic Container Registry Public.
Informs Amazon ECR that the image layer upload has completed for a specified public registry, repository name, and upload ID. You can optionally provide a sha256 digest of the image layer for data validation purposes.
When an image is pushed, the CompleteLayerUpload API is called once per each new image layer to verify that the upload has completed.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation CompleteLayerUpload for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
UploadNotFoundException The upload could not be found, or the specified upload ID is not valid for this repository.
InvalidLayerException The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.
LayerPartTooSmallException Layer parts must be at least 5 MiB in size.
LayerAlreadyExistsException The image layer already exists in the associated repository.
EmptyUploadException The specified layer upload does not contain any layer parts.
RegistryNotFoundException The registry does not exist.
UnsupportedCommandException The action is not supported in this Region.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CompleteLayerUpload
func (*ECRPublic) CompleteLayerUploadRequest ¶
func (c *ECRPublic) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req *request.Request, output *CompleteLayerUploadOutput)
CompleteLayerUploadRequest generates a "aws/request.Request" representing the client's request for the CompleteLayerUpload operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CompleteLayerUpload for more information on using the CompleteLayerUpload API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CompleteLayerUploadRequest method. req, resp := client.CompleteLayerUploadRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CompleteLayerUpload
func (*ECRPublic) CompleteLayerUploadWithContext ¶
func (c *ECRPublic) CompleteLayerUploadWithContext(ctx aws.Context, input *CompleteLayerUploadInput, opts ...request.Option) (*CompleteLayerUploadOutput, error)
CompleteLayerUploadWithContext is the same as CompleteLayerUpload with the addition of the ability to pass a context and additional request options.
See CompleteLayerUpload for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) CreateRepository ¶
func (c *ECRPublic) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error)
CreateRepository API operation for Amazon Elastic Container Registry Public.
Creates a repository in a public registry. For more information, see Amazon ECR repositories (https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the Amazon Elastic Container Registry User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation CreateRepository for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryAlreadyExistsException The specified repository already exists in the specified registry.
LimitExceededException The operation did not 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CreateRepository
func (*ECRPublic) CreateRepositoryRequest ¶
func (c *ECRPublic) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput)
CreateRepositoryRequest generates a "aws/request.Request" representing the client's request for the CreateRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateRepository for more information on using the CreateRepository API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateRepositoryRequest method. req, resp := client.CreateRepositoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CreateRepository
func (*ECRPublic) CreateRepositoryWithContext ¶
func (c *ECRPublic) CreateRepositoryWithContext(ctx aws.Context, input *CreateRepositoryInput, opts ...request.Option) (*CreateRepositoryOutput, error)
CreateRepositoryWithContext is the same as CreateRepository with the addition of the ability to pass a context and additional request options.
See CreateRepository for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) DeleteRepository ¶
func (c *ECRPublic) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error)
DeleteRepository API operation for Amazon Elastic Container Registry Public.
Deletes a repository in a public registry. If the repository contains images, you must either delete all images in the repository or use the force option which deletes all images on your behalf before deleting the repository.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DeleteRepository for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
RepositoryNotEmptyException The specified repository contains images. To delete a repository that contains images, you must force the deletion with the force parameter.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepository
func (*ECRPublic) DeleteRepositoryPolicy ¶
func (c *ECRPublic) DeleteRepositoryPolicy(input *DeleteRepositoryPolicyInput) (*DeleteRepositoryPolicyOutput, error)
DeleteRepositoryPolicy API operation for Amazon Elastic Container Registry Public.
Deletes the repository policy associated with the specified repository.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DeleteRepositoryPolicy for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
RepositoryPolicyNotFoundException The specified repository and registry combination does not have an associated repository policy.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepositoryPolicy
func (*ECRPublic) DeleteRepositoryPolicyRequest ¶
func (c *ECRPublic) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput) (req *request.Request, output *DeleteRepositoryPolicyOutput)
DeleteRepositoryPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteRepositoryPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteRepositoryPolicy for more information on using the DeleteRepositoryPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteRepositoryPolicyRequest method. req, resp := client.DeleteRepositoryPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepositoryPolicy
func (*ECRPublic) DeleteRepositoryPolicyWithContext ¶
func (c *ECRPublic) DeleteRepositoryPolicyWithContext(ctx aws.Context, input *DeleteRepositoryPolicyInput, opts ...request.Option) (*DeleteRepositoryPolicyOutput, error)
DeleteRepositoryPolicyWithContext is the same as DeleteRepositoryPolicy with the addition of the ability to pass a context and additional request options.
See DeleteRepositoryPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) DeleteRepositoryRequest ¶
func (c *ECRPublic) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput)
DeleteRepositoryRequest generates a "aws/request.Request" representing the client's request for the DeleteRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteRepository for more information on using the DeleteRepository API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteRepositoryRequest method. req, resp := client.DeleteRepositoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepository
func (*ECRPublic) DeleteRepositoryWithContext ¶
func (c *ECRPublic) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteRepositoryInput, opts ...request.Option) (*DeleteRepositoryOutput, error)
DeleteRepositoryWithContext is the same as DeleteRepository with the addition of the ability to pass a context and additional request options.
See DeleteRepository for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) DescribeImageTags ¶
func (c *ECRPublic) DescribeImageTags(input *DescribeImageTagsInput) (*DescribeImageTagsOutput, error)
DescribeImageTags API operation for Amazon Elastic Container Registry Public.
Returns the image tag details for a repository in a public registry.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DescribeImageTags for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImageTags
func (*ECRPublic) DescribeImageTagsPages ¶
func (c *ECRPublic) DescribeImageTagsPages(input *DescribeImageTagsInput, fn func(*DescribeImageTagsOutput, bool) bool) error
DescribeImageTagsPages iterates over the pages of a DescribeImageTags operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeImageTags method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeImageTags operation. pageNum := 0 err := client.DescribeImageTagsPages(params, func(page *ecrpublic.DescribeImageTagsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ECRPublic) DescribeImageTagsPagesWithContext ¶
func (c *ECRPublic) DescribeImageTagsPagesWithContext(ctx aws.Context, input *DescribeImageTagsInput, fn func(*DescribeImageTagsOutput, bool) bool, opts ...request.Option) error
DescribeImageTagsPagesWithContext same as DescribeImageTagsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) DescribeImageTagsRequest ¶
func (c *ECRPublic) DescribeImageTagsRequest(input *DescribeImageTagsInput) (req *request.Request, output *DescribeImageTagsOutput)
DescribeImageTagsRequest generates a "aws/request.Request" representing the client's request for the DescribeImageTags operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeImageTags for more information on using the DescribeImageTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeImageTagsRequest method. req, resp := client.DescribeImageTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImageTags
func (*ECRPublic) DescribeImageTagsWithContext ¶
func (c *ECRPublic) DescribeImageTagsWithContext(ctx aws.Context, input *DescribeImageTagsInput, opts ...request.Option) (*DescribeImageTagsOutput, error)
DescribeImageTagsWithContext is the same as DescribeImageTags with the addition of the ability to pass a context and additional request options.
See DescribeImageTags for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) DescribeImages ¶
func (c *ECRPublic) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error)
DescribeImages API operation for Amazon Elastic Container Registry Public.
Returns metadata about the images in a repository in a public registry.
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 may return a larger image size than the image sizes returned by DescribeImages.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DescribeImages for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
ImageNotFoundException The image requested does not exist in the specified repository.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImages
func (*ECRPublic) DescribeImagesPages ¶
func (c *ECRPublic) DescribeImagesPages(input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool) error
DescribeImagesPages iterates over the pages of a DescribeImages operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeImages method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeImages operation. pageNum := 0 err := client.DescribeImagesPages(params, func(page *ecrpublic.DescribeImagesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ECRPublic) DescribeImagesPagesWithContext ¶
func (c *ECRPublic) DescribeImagesPagesWithContext(ctx aws.Context, input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool, opts ...request.Option) error
DescribeImagesPagesWithContext same as DescribeImagesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) DescribeImagesRequest ¶
func (c *ECRPublic) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput)
DescribeImagesRequest generates a "aws/request.Request" representing the client's request for the DescribeImages operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeImages for more information on using the DescribeImages API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeImagesRequest method. req, resp := client.DescribeImagesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImages
func (*ECRPublic) DescribeImagesWithContext ¶
func (c *ECRPublic) DescribeImagesWithContext(ctx aws.Context, input *DescribeImagesInput, opts ...request.Option) (*DescribeImagesOutput, error)
DescribeImagesWithContext is the same as DescribeImages with the addition of the ability to pass a context and additional request options.
See DescribeImages for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) DescribeRegistries ¶
func (c *ECRPublic) DescribeRegistries(input *DescribeRegistriesInput) (*DescribeRegistriesOutput, error)
DescribeRegistries API operation for Amazon Elastic Container Registry Public.
Returns details for a public registry.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DescribeRegistries for usage and error information.
Returned Error Types:
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
UnsupportedCommandException The action is not supported in this Region.
ServerException These errors are usually caused by a server-side issue.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRegistries
func (*ECRPublic) DescribeRegistriesPages ¶
func (c *ECRPublic) DescribeRegistriesPages(input *DescribeRegistriesInput, fn func(*DescribeRegistriesOutput, bool) bool) error
DescribeRegistriesPages iterates over the pages of a DescribeRegistries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeRegistries method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeRegistries operation. pageNum := 0 err := client.DescribeRegistriesPages(params, func(page *ecrpublic.DescribeRegistriesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ECRPublic) DescribeRegistriesPagesWithContext ¶
func (c *ECRPublic) DescribeRegistriesPagesWithContext(ctx aws.Context, input *DescribeRegistriesInput, fn func(*DescribeRegistriesOutput, bool) bool, opts ...request.Option) error
DescribeRegistriesPagesWithContext same as DescribeRegistriesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) DescribeRegistriesRequest ¶
func (c *ECRPublic) DescribeRegistriesRequest(input *DescribeRegistriesInput) (req *request.Request, output *DescribeRegistriesOutput)
DescribeRegistriesRequest generates a "aws/request.Request" representing the client's request for the DescribeRegistries operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeRegistries for more information on using the DescribeRegistries API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeRegistriesRequest method. req, resp := client.DescribeRegistriesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRegistries
func (*ECRPublic) DescribeRegistriesWithContext ¶
func (c *ECRPublic) DescribeRegistriesWithContext(ctx aws.Context, input *DescribeRegistriesInput, opts ...request.Option) (*DescribeRegistriesOutput, error)
DescribeRegistriesWithContext is the same as DescribeRegistries with the addition of the ability to pass a context and additional request options.
See DescribeRegistries for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) DescribeRepositories ¶
func (c *ECRPublic) DescribeRepositories(input *DescribeRepositoriesInput) (*DescribeRepositoriesOutput, error)
DescribeRepositories API operation for Amazon Elastic Container Registry Public.
Describes repositories in a public registry.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DescribeRepositories for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRepositories
func (*ECRPublic) DescribeRepositoriesPages ¶
func (c *ECRPublic) DescribeRepositoriesPages(input *DescribeRepositoriesInput, fn func(*DescribeRepositoriesOutput, bool) bool) error
DescribeRepositoriesPages iterates over the pages of a DescribeRepositories operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeRepositories method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeRepositories operation. pageNum := 0 err := client.DescribeRepositoriesPages(params, func(page *ecrpublic.DescribeRepositoriesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ECRPublic) DescribeRepositoriesPagesWithContext ¶
func (c *ECRPublic) DescribeRepositoriesPagesWithContext(ctx aws.Context, input *DescribeRepositoriesInput, fn func(*DescribeRepositoriesOutput, bool) bool, opts ...request.Option) error
DescribeRepositoriesPagesWithContext same as DescribeRepositoriesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) DescribeRepositoriesRequest ¶
func (c *ECRPublic) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req *request.Request, output *DescribeRepositoriesOutput)
DescribeRepositoriesRequest generates a "aws/request.Request" representing the client's request for the DescribeRepositories operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeRepositories for more information on using the DescribeRepositories API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeRepositoriesRequest method. req, resp := client.DescribeRepositoriesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRepositories
func (*ECRPublic) DescribeRepositoriesWithContext ¶
func (c *ECRPublic) DescribeRepositoriesWithContext(ctx aws.Context, input *DescribeRepositoriesInput, opts ...request.Option) (*DescribeRepositoriesOutput, error)
DescribeRepositoriesWithContext is the same as DescribeRepositories with the addition of the ability to pass a context and additional request options.
See DescribeRepositories for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) GetAuthorizationToken ¶
func (c *ECRPublic) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error)
GetAuthorizationToken API operation for Amazon Elastic Container Registry Public.
Retrieves an authorization token. An authorization token represents your IAM authentication credentials and can be used to access any Amazon ECR registry that your IAM principal has access to. The authorization token is valid for 12 hours. This API requires the ecr-public:GetAuthorizationToken and sts:GetServiceBearerToken permissions.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation GetAuthorizationToken for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetAuthorizationToken
func (*ECRPublic) GetAuthorizationTokenRequest ¶
func (c *ECRPublic) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput)
GetAuthorizationTokenRequest generates a "aws/request.Request" representing the client's request for the GetAuthorizationToken operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAuthorizationToken for more information on using the GetAuthorizationToken API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAuthorizationTokenRequest method. req, resp := client.GetAuthorizationTokenRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetAuthorizationToken
func (*ECRPublic) GetAuthorizationTokenWithContext ¶
func (c *ECRPublic) GetAuthorizationTokenWithContext(ctx aws.Context, input *GetAuthorizationTokenInput, opts ...request.Option) (*GetAuthorizationTokenOutput, error)
GetAuthorizationTokenWithContext is the same as GetAuthorizationToken with the addition of the ability to pass a context and additional request options.
See GetAuthorizationToken for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) GetRegistryCatalogData ¶
func (c *ECRPublic) GetRegistryCatalogData(input *GetRegistryCatalogDataInput) (*GetRegistryCatalogDataOutput, error)
GetRegistryCatalogData API operation for Amazon Elastic Container Registry Public.
Retrieves catalog metadata for a public registry.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation GetRegistryCatalogData for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
UnsupportedCommandException The action is not supported in this Region.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRegistryCatalogData
func (*ECRPublic) GetRegistryCatalogDataRequest ¶
func (c *ECRPublic) GetRegistryCatalogDataRequest(input *GetRegistryCatalogDataInput) (req *request.Request, output *GetRegistryCatalogDataOutput)
GetRegistryCatalogDataRequest generates a "aws/request.Request" representing the client's request for the GetRegistryCatalogData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRegistryCatalogData for more information on using the GetRegistryCatalogData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRegistryCatalogDataRequest method. req, resp := client.GetRegistryCatalogDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRegistryCatalogData
func (*ECRPublic) GetRegistryCatalogDataWithContext ¶
func (c *ECRPublic) GetRegistryCatalogDataWithContext(ctx aws.Context, input *GetRegistryCatalogDataInput, opts ...request.Option) (*GetRegistryCatalogDataOutput, error)
GetRegistryCatalogDataWithContext is the same as GetRegistryCatalogData with the addition of the ability to pass a context and additional request options.
See GetRegistryCatalogData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) GetRepositoryCatalogData ¶
func (c *ECRPublic) GetRepositoryCatalogData(input *GetRepositoryCatalogDataInput) (*GetRepositoryCatalogDataOutput, error)
GetRepositoryCatalogData API operation for Amazon Elastic Container Registry Public.
Retrieve catalog metadata for a repository in a public registry. This metadata is displayed publicly in the Amazon ECR Public Gallery.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation GetRepositoryCatalogData for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryCatalogData
func (*ECRPublic) GetRepositoryCatalogDataRequest ¶
func (c *ECRPublic) GetRepositoryCatalogDataRequest(input *GetRepositoryCatalogDataInput) (req *request.Request, output *GetRepositoryCatalogDataOutput)
GetRepositoryCatalogDataRequest generates a "aws/request.Request" representing the client's request for the GetRepositoryCatalogData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRepositoryCatalogData for more information on using the GetRepositoryCatalogData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRepositoryCatalogDataRequest method. req, resp := client.GetRepositoryCatalogDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryCatalogData
func (*ECRPublic) GetRepositoryCatalogDataWithContext ¶
func (c *ECRPublic) GetRepositoryCatalogDataWithContext(ctx aws.Context, input *GetRepositoryCatalogDataInput, opts ...request.Option) (*GetRepositoryCatalogDataOutput, error)
GetRepositoryCatalogDataWithContext is the same as GetRepositoryCatalogData with the addition of the ability to pass a context and additional request options.
See GetRepositoryCatalogData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) GetRepositoryPolicy ¶
func (c *ECRPublic) GetRepositoryPolicy(input *GetRepositoryPolicyInput) (*GetRepositoryPolicyOutput, error)
GetRepositoryPolicy API operation for Amazon Elastic Container Registry Public.
Retrieves the repository policy for the specified repository.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation GetRepositoryPolicy for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
RepositoryPolicyNotFoundException The specified repository and registry combination does not have an associated repository policy.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryPolicy
func (*ECRPublic) GetRepositoryPolicyRequest ¶
func (c *ECRPublic) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req *request.Request, output *GetRepositoryPolicyOutput)
GetRepositoryPolicyRequest generates a "aws/request.Request" representing the client's request for the GetRepositoryPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRepositoryPolicy for more information on using the GetRepositoryPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRepositoryPolicyRequest method. req, resp := client.GetRepositoryPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryPolicy
func (*ECRPublic) GetRepositoryPolicyWithContext ¶
func (c *ECRPublic) GetRepositoryPolicyWithContext(ctx aws.Context, input *GetRepositoryPolicyInput, opts ...request.Option) (*GetRepositoryPolicyOutput, error)
GetRepositoryPolicyWithContext is the same as GetRepositoryPolicy with the addition of the ability to pass a context and additional request options.
See GetRepositoryPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) InitiateLayerUpload ¶
func (c *ECRPublic) InitiateLayerUpload(input *InitiateLayerUploadInput) (*InitiateLayerUploadOutput, error)
InitiateLayerUpload API operation for Amazon Elastic Container Registry Public.
Notifies Amazon ECR that you intend to upload an image layer.
When an image is pushed, the InitiateLayerUpload API is called once per image layer that has not already been uploaded. Whether or not an image layer has been uploaded is determined by the BatchCheckLayerAvailability API action.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation InitiateLayerUpload for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
RegistryNotFoundException The registry does not exist.
UnsupportedCommandException The action is not supported in this Region.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/InitiateLayerUpload
func (*ECRPublic) InitiateLayerUploadRequest ¶
func (c *ECRPublic) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req *request.Request, output *InitiateLayerUploadOutput)
InitiateLayerUploadRequest generates a "aws/request.Request" representing the client's request for the InitiateLayerUpload operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See InitiateLayerUpload for more information on using the InitiateLayerUpload API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the InitiateLayerUploadRequest method. req, resp := client.InitiateLayerUploadRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/InitiateLayerUpload
func (*ECRPublic) InitiateLayerUploadWithContext ¶
func (c *ECRPublic) InitiateLayerUploadWithContext(ctx aws.Context, input *InitiateLayerUploadInput, opts ...request.Option) (*InitiateLayerUploadOutput, error)
InitiateLayerUploadWithContext is the same as InitiateLayerUpload with the addition of the ability to pass a context and additional request options.
See InitiateLayerUpload for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) PutImage ¶
func (c *ECRPublic) PutImage(input *PutImageInput) (*PutImageOutput, error)
PutImage API operation for Amazon Elastic Container Registry Public.
Creates or updates the image manifest and tags associated with an image.
When an image is pushed and all new image layers have been uploaded, the PutImage API is called once to create or update the image manifest and the tags associated with the image.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation PutImage for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
ImageAlreadyExistsException The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.
LayersNotFoundException The specified layers could not be found, or the specified layer is not valid for this repository.
ReferencedImagesNotFoundException The manifest list is referencing an image that does not exist.
LimitExceededException The operation did not 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.
ImageTagAlreadyExistsException The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.
ImageDigestDoesNotMatchException The specified image digest does not match the digest that Amazon ECR calculated for the image.
RegistryNotFoundException The registry does not exist.
UnsupportedCommandException The action is not supported in this Region.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutImage
func (*ECRPublic) PutImageRequest ¶
func (c *ECRPublic) PutImageRequest(input *PutImageInput) (req *request.Request, output *PutImageOutput)
PutImageRequest generates a "aws/request.Request" representing the client's request for the PutImage operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutImage for more information on using the PutImage API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutImageRequest method. req, resp := client.PutImageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutImage
func (*ECRPublic) PutImageWithContext ¶
func (c *ECRPublic) PutImageWithContext(ctx aws.Context, input *PutImageInput, opts ...request.Option) (*PutImageOutput, error)
PutImageWithContext is the same as PutImage with the addition of the ability to pass a context and additional request options.
See PutImage for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) PutRegistryCatalogData ¶
func (c *ECRPublic) PutRegistryCatalogData(input *PutRegistryCatalogDataInput) (*PutRegistryCatalogDataOutput, error)
PutRegistryCatalogData API operation for Amazon Elastic Container Registry Public.
Create or updates the catalog data for a public registry.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation PutRegistryCatalogData for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
UnsupportedCommandException The action is not supported in this Region.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRegistryCatalogData
func (*ECRPublic) PutRegistryCatalogDataRequest ¶
func (c *ECRPublic) PutRegistryCatalogDataRequest(input *PutRegistryCatalogDataInput) (req *request.Request, output *PutRegistryCatalogDataOutput)
PutRegistryCatalogDataRequest generates a "aws/request.Request" representing the client's request for the PutRegistryCatalogData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutRegistryCatalogData for more information on using the PutRegistryCatalogData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutRegistryCatalogDataRequest method. req, resp := client.PutRegistryCatalogDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRegistryCatalogData
func (*ECRPublic) PutRegistryCatalogDataWithContext ¶
func (c *ECRPublic) PutRegistryCatalogDataWithContext(ctx aws.Context, input *PutRegistryCatalogDataInput, opts ...request.Option) (*PutRegistryCatalogDataOutput, error)
PutRegistryCatalogDataWithContext is the same as PutRegistryCatalogData with the addition of the ability to pass a context and additional request options.
See PutRegistryCatalogData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) PutRepositoryCatalogData ¶
func (c *ECRPublic) PutRepositoryCatalogData(input *PutRepositoryCatalogDataInput) (*PutRepositoryCatalogDataOutput, error)
PutRepositoryCatalogData API operation for Amazon Elastic Container Registry Public.
Creates or updates the catalog data for a repository in a public registry.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation PutRepositoryCatalogData for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRepositoryCatalogData
func (*ECRPublic) PutRepositoryCatalogDataRequest ¶
func (c *ECRPublic) PutRepositoryCatalogDataRequest(input *PutRepositoryCatalogDataInput) (req *request.Request, output *PutRepositoryCatalogDataOutput)
PutRepositoryCatalogDataRequest generates a "aws/request.Request" representing the client's request for the PutRepositoryCatalogData operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutRepositoryCatalogData for more information on using the PutRepositoryCatalogData API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutRepositoryCatalogDataRequest method. req, resp := client.PutRepositoryCatalogDataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRepositoryCatalogData
func (*ECRPublic) PutRepositoryCatalogDataWithContext ¶
func (c *ECRPublic) PutRepositoryCatalogDataWithContext(ctx aws.Context, input *PutRepositoryCatalogDataInput, opts ...request.Option) (*PutRepositoryCatalogDataOutput, error)
PutRepositoryCatalogDataWithContext is the same as PutRepositoryCatalogData with the addition of the ability to pass a context and additional request options.
See PutRepositoryCatalogData for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) SetRepositoryPolicy ¶
func (c *ECRPublic) SetRepositoryPolicy(input *SetRepositoryPolicyInput) (*SetRepositoryPolicyOutput, error)
SetRepositoryPolicy API operation for Amazon Elastic Container Registry Public.
Applies a repository policy to the specified public repository to control access permissions. For more information, see Amazon ECR Repository Policies (https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html) in the Amazon Elastic Container Registry User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation SetRepositoryPolicy for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/SetRepositoryPolicy
func (*ECRPublic) SetRepositoryPolicyRequest ¶
func (c *ECRPublic) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req *request.Request, output *SetRepositoryPolicyOutput)
SetRepositoryPolicyRequest generates a "aws/request.Request" representing the client's request for the SetRepositoryPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SetRepositoryPolicy for more information on using the SetRepositoryPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SetRepositoryPolicyRequest method. req, resp := client.SetRepositoryPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/SetRepositoryPolicy
func (*ECRPublic) SetRepositoryPolicyWithContext ¶
func (c *ECRPublic) SetRepositoryPolicyWithContext(ctx aws.Context, input *SetRepositoryPolicyInput, opts ...request.Option) (*SetRepositoryPolicyOutput, error)
SetRepositoryPolicyWithContext is the same as SetRepositoryPolicy with the addition of the ability to pass a context and additional request options.
See SetRepositoryPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*ECRPublic) UploadLayerPart ¶
func (c *ECRPublic) UploadLayerPart(input *UploadLayerPartInput) (*UploadLayerPartOutput, error)
UploadLayerPart API operation for Amazon Elastic Container Registry Public.
Uploads an image layer part to Amazon ECR.
When an image is pushed, each new image layer is uploaded in parts. The maximum size of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API is called once per each new image layer part.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation UploadLayerPart for usage and error information.
Returned Error Types:
ServerException These errors are usually caused by a server-side issue.
InvalidParameterException The specified parameter is invalid. Review the available parameters for the API request.
InvalidLayerPartException The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
RepositoryNotFoundException The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
UploadNotFoundException The upload could not be found, or the specified upload ID is not valid for this repository.
LimitExceededException The operation did not 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.
RegistryNotFoundException The registry does not exist.
UnsupportedCommandException The action is not supported in this Region.
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UploadLayerPart
func (*ECRPublic) UploadLayerPartRequest ¶
func (c *ECRPublic) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request.Request, output *UploadLayerPartOutput)
UploadLayerPartRequest generates a "aws/request.Request" representing the client's request for the UploadLayerPart operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UploadLayerPart for more information on using the UploadLayerPart API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UploadLayerPartRequest method. req, resp := client.UploadLayerPartRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UploadLayerPart
func (*ECRPublic) UploadLayerPartWithContext ¶
func (c *ECRPublic) UploadLayerPartWithContext(ctx aws.Context, input *UploadLayerPartInput, opts ...request.Option) (*UploadLayerPartOutput, error)
UploadLayerPartWithContext is the same as UploadLayerPart with the addition of the ability to pass a context and additional request options.
See UploadLayerPart for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type EmptyUploadException ¶
type EmptyUploadException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified layer upload does not contain any layer parts.
func (*EmptyUploadException) Code ¶
func (s *EmptyUploadException) Code() string
Code returns the exception type name.
func (*EmptyUploadException) Error ¶
func (s *EmptyUploadException) Error() string
func (EmptyUploadException) GoString ¶
func (s EmptyUploadException) GoString() string
GoString returns the string representation
func (*EmptyUploadException) Message ¶
func (s *EmptyUploadException) Message() string
Message returns the exception's message.
func (*EmptyUploadException) OrigErr ¶
func (s *EmptyUploadException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EmptyUploadException) RequestID ¶
func (s *EmptyUploadException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EmptyUploadException) StatusCode ¶
func (s *EmptyUploadException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EmptyUploadException) String ¶
func (s EmptyUploadException) String() string
String returns the string representation
type GetAuthorizationTokenInput ¶
type GetAuthorizationTokenInput struct {
// contains filtered or unexported fields
}
func (GetAuthorizationTokenInput) GoString ¶
func (s GetAuthorizationTokenInput) GoString() string
GoString returns the string representation
func (GetAuthorizationTokenInput) String ¶
func (s GetAuthorizationTokenInput) String() string
String returns the string representation
type GetAuthorizationTokenOutput ¶
type GetAuthorizationTokenOutput struct { // An authorization token data object that corresponds to a public registry. AuthorizationData *AuthorizationData `locationName:"authorizationData" type:"structure"` // contains filtered or unexported fields }
func (GetAuthorizationTokenOutput) GoString ¶
func (s GetAuthorizationTokenOutput) GoString() string
GoString returns the string representation
func (*GetAuthorizationTokenOutput) SetAuthorizationData ¶
func (s *GetAuthorizationTokenOutput) SetAuthorizationData(v *AuthorizationData) *GetAuthorizationTokenOutput
SetAuthorizationData sets the AuthorizationData field's value.
func (GetAuthorizationTokenOutput) String ¶
func (s GetAuthorizationTokenOutput) String() string
String returns the string representation
type GetRegistryCatalogDataInput ¶
type GetRegistryCatalogDataInput struct {
// contains filtered or unexported fields
}
func (GetRegistryCatalogDataInput) GoString ¶
func (s GetRegistryCatalogDataInput) GoString() string
GoString returns the string representation
func (GetRegistryCatalogDataInput) String ¶
func (s GetRegistryCatalogDataInput) String() string
String returns the string representation
type GetRegistryCatalogDataOutput ¶
type GetRegistryCatalogDataOutput struct { // The catalog metadata for the public registry. // // RegistryCatalogData is a required field RegistryCatalogData *RegistryCatalogData `locationName:"registryCatalogData" type:"structure" required:"true"` // contains filtered or unexported fields }
func (GetRegistryCatalogDataOutput) GoString ¶
func (s GetRegistryCatalogDataOutput) GoString() string
GoString returns the string representation
func (*GetRegistryCatalogDataOutput) SetRegistryCatalogData ¶
func (s *GetRegistryCatalogDataOutput) SetRegistryCatalogData(v *RegistryCatalogData) *GetRegistryCatalogDataOutput
SetRegistryCatalogData sets the RegistryCatalogData field's value.
func (GetRegistryCatalogDataOutput) String ¶
func (s GetRegistryCatalogDataOutput) String() string
String returns the string representation
type GetRepositoryCatalogDataInput ¶
type GetRepositoryCatalogDataInput struct { // The AWS account ID associated with the registry that contains the repositories // to be described. If you do not specify a registry, the default public registry // is assumed. RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository to retrieve the catalog metadata for. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetRepositoryCatalogDataInput) GoString ¶
func (s GetRepositoryCatalogDataInput) GoString() string
GoString returns the string representation
func (*GetRepositoryCatalogDataInput) SetRegistryId ¶
func (s *GetRepositoryCatalogDataInput) SetRegistryId(v string) *GetRepositoryCatalogDataInput
SetRegistryId sets the RegistryId field's value.
func (*GetRepositoryCatalogDataInput) SetRepositoryName ¶
func (s *GetRepositoryCatalogDataInput) SetRepositoryName(v string) *GetRepositoryCatalogDataInput
SetRepositoryName sets the RepositoryName field's value.
func (GetRepositoryCatalogDataInput) String ¶
func (s GetRepositoryCatalogDataInput) String() string
String returns the string representation
func (*GetRepositoryCatalogDataInput) Validate ¶
func (s *GetRepositoryCatalogDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRepositoryCatalogDataOutput ¶
type GetRepositoryCatalogDataOutput struct { // The catalog metadata for the repository. CatalogData *RepositoryCatalogData `locationName:"catalogData" type:"structure"` // contains filtered or unexported fields }
func (GetRepositoryCatalogDataOutput) GoString ¶
func (s GetRepositoryCatalogDataOutput) GoString() string
GoString returns the string representation
func (*GetRepositoryCatalogDataOutput) SetCatalogData ¶
func (s *GetRepositoryCatalogDataOutput) SetCatalogData(v *RepositoryCatalogData) *GetRepositoryCatalogDataOutput
SetCatalogData sets the CatalogData field's value.
func (GetRepositoryCatalogDataOutput) String ¶
func (s GetRepositoryCatalogDataOutput) String() string
String returns the string representation
type GetRepositoryPolicyInput ¶
type GetRepositoryPolicyInput struct { // The AWS account ID associated with the public registry that contains the // repository. If you do not specify a registry, the default public registry // is assumed. RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository with the policy to retrieve. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetRepositoryPolicyInput) GoString ¶
func (s GetRepositoryPolicyInput) GoString() string
GoString returns the string representation
func (*GetRepositoryPolicyInput) SetRegistryId ¶
func (s *GetRepositoryPolicyInput) SetRegistryId(v string) *GetRepositoryPolicyInput
SetRegistryId sets the RegistryId field's value.
func (*GetRepositoryPolicyInput) SetRepositoryName ¶
func (s *GetRepositoryPolicyInput) SetRepositoryName(v string) *GetRepositoryPolicyInput
SetRepositoryName sets the RepositoryName field's value.
func (GetRepositoryPolicyInput) String ¶
func (s GetRepositoryPolicyInput) String() string
String returns the string representation
func (*GetRepositoryPolicyInput) Validate ¶
func (s *GetRepositoryPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRepositoryPolicyOutput ¶
type GetRepositoryPolicyOutput struct { // The repository policy text associated with the repository. The policy text // will be in JSON format. PolicyText *string `locationName:"policyText" type:"string"` // The registry ID associated with the request. RegistryId *string `locationName:"registryId" type:"string"` // The repository name associated with the request. RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"` // contains filtered or unexported fields }
func (GetRepositoryPolicyOutput) GoString ¶
func (s GetRepositoryPolicyOutput) GoString() string
GoString returns the string representation
func (*GetRepositoryPolicyOutput) SetPolicyText ¶
func (s *GetRepositoryPolicyOutput) SetPolicyText(v string) *GetRepositoryPolicyOutput
SetPolicyText sets the PolicyText field's value.
func (*GetRepositoryPolicyOutput) SetRegistryId ¶
func (s *GetRepositoryPolicyOutput) SetRegistryId(v string) *GetRepositoryPolicyOutput
SetRegistryId sets the RegistryId field's value.
func (*GetRepositoryPolicyOutput) SetRepositoryName ¶
func (s *GetRepositoryPolicyOutput) SetRepositoryName(v string) *GetRepositoryPolicyOutput
SetRepositoryName sets the RepositoryName field's value.
func (GetRepositoryPolicyOutput) String ¶
func (s GetRepositoryPolicyOutput) String() string
String returns the string representation
type Image ¶
type Image struct { // An object containing the image tag and image digest associated with an image. ImageId *ImageIdentifier `locationName:"imageId" type:"structure"` // The image manifest associated with the image. ImageManifest *string `locationName:"imageManifest" min:"1" type:"string"` // The manifest media type of the image. ImageManifestMediaType *string `locationName:"imageManifestMediaType" type:"string"` // The AWS account ID associated with the registry containing the image. RegistryId *string `locationName:"registryId" min:"1" type:"string"` // The name of the repository associated with the image. RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"` // contains filtered or unexported fields }
An object representing an Amazon ECR image.
func (*Image) SetImageId ¶
func (s *Image) SetImageId(v *ImageIdentifier) *Image
SetImageId sets the ImageId field's value.
func (*Image) SetImageManifest ¶
SetImageManifest sets the ImageManifest field's value.
func (*Image) SetImageManifestMediaType ¶
SetImageManifestMediaType sets the ImageManifestMediaType field's value.
func (*Image) SetRegistryId ¶
SetRegistryId sets the RegistryId field's value.
func (*Image) SetRepositoryName ¶
SetRepositoryName sets the RepositoryName field's value.
type ImageAlreadyExistsException ¶
type ImageAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.
func (*ImageAlreadyExistsException) Code ¶
func (s *ImageAlreadyExistsException) Code() string
Code returns the exception type name.
func (*ImageAlreadyExistsException) Error ¶
func (s *ImageAlreadyExistsException) Error() string
func (ImageAlreadyExistsException) GoString ¶
func (s ImageAlreadyExistsException) GoString() string
GoString returns the string representation
func (*ImageAlreadyExistsException) Message ¶
func (s *ImageAlreadyExistsException) Message() string
Message returns the exception's message.
func (*ImageAlreadyExistsException) OrigErr ¶
func (s *ImageAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ImageAlreadyExistsException) RequestID ¶
func (s *ImageAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ImageAlreadyExistsException) StatusCode ¶
func (s *ImageAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ImageAlreadyExistsException) String ¶
func (s ImageAlreadyExistsException) String() string
String returns the string representation
type ImageDetail ¶
type ImageDetail struct { // The artifact media type of the image. ArtifactMediaType *string `locationName:"artifactMediaType" type:"string"` // The sha256 digest of the image manifest. ImageDigest *string `locationName:"imageDigest" type:"string"` // The media type of the image manifest. ImageManifestMediaType *string `locationName:"imageManifestMediaType" type:"string"` // The date and time, expressed in standard JavaScript date format, at which // the current image was pushed to the repository. ImagePushedAt *time.Time `locationName:"imagePushedAt" type:"timestamp"` // The size, in bytes, of the image in the repository. // // If the image is a manifest list, this will be 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 may return a larger image // size than the image sizes returned by DescribeImages. ImageSizeInBytes *int64 `locationName:"imageSizeInBytes" type:"long"` // The list of tags associated with this image. ImageTags []*string `locationName:"imageTags" type:"list"` // The AWS account ID associated with the public registry to which this image // belongs. RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository to which this image belongs. RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"` // contains filtered or unexported fields }
An object that describes an image returned by a DescribeImages operation.
func (ImageDetail) GoString ¶
func (s ImageDetail) GoString() string
GoString returns the string representation
func (*ImageDetail) SetArtifactMediaType ¶
func (s *ImageDetail) SetArtifactMediaType(v string) *ImageDetail
SetArtifactMediaType sets the ArtifactMediaType field's value.
func (*ImageDetail) SetImageDigest ¶
func (s *ImageDetail) SetImageDigest(v string) *ImageDetail
SetImageDigest sets the ImageDigest field's value.
func (*ImageDetail) SetImageManifestMediaType ¶
func (s *ImageDetail) SetImageManifestMediaType(v string) *ImageDetail
SetImageManifestMediaType sets the ImageManifestMediaType field's value.
func (*ImageDetail) SetImagePushedAt ¶
func (s *ImageDetail) SetImagePushedAt(v time.Time) *ImageDetail
SetImagePushedAt sets the ImagePushedAt field's value.
func (*ImageDetail) SetImageSizeInBytes ¶
func (s *ImageDetail) SetImageSizeInBytes(v int64) *ImageDetail
SetImageSizeInBytes sets the ImageSizeInBytes field's value.
func (*ImageDetail) SetImageTags ¶
func (s *ImageDetail) SetImageTags(v []*string) *ImageDetail
SetImageTags sets the ImageTags field's value.
func (*ImageDetail) SetRegistryId ¶
func (s *ImageDetail) SetRegistryId(v string) *ImageDetail
SetRegistryId sets the RegistryId field's value.
func (*ImageDetail) SetRepositoryName ¶
func (s *ImageDetail) SetRepositoryName(v string) *ImageDetail
SetRepositoryName sets the RepositoryName field's value.
func (ImageDetail) String ¶
func (s ImageDetail) String() string
String returns the string representation
type ImageDigestDoesNotMatchException ¶
type ImageDigestDoesNotMatchException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified image digest does not match the digest that Amazon ECR calculated for the image.
func (*ImageDigestDoesNotMatchException) Code ¶
func (s *ImageDigestDoesNotMatchException) Code() string
Code returns the exception type name.
func (*ImageDigestDoesNotMatchException) Error ¶
func (s *ImageDigestDoesNotMatchException) Error() string
func (ImageDigestDoesNotMatchException) GoString ¶
func (s ImageDigestDoesNotMatchException) GoString() string
GoString returns the string representation
func (*ImageDigestDoesNotMatchException) Message ¶
func (s *ImageDigestDoesNotMatchException) Message() string
Message returns the exception's message.
func (*ImageDigestDoesNotMatchException) OrigErr ¶
func (s *ImageDigestDoesNotMatchException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ImageDigestDoesNotMatchException) RequestID ¶
func (s *ImageDigestDoesNotMatchException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ImageDigestDoesNotMatchException) StatusCode ¶
func (s *ImageDigestDoesNotMatchException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ImageDigestDoesNotMatchException) String ¶
func (s ImageDigestDoesNotMatchException) String() string
String returns the string representation
type ImageFailure ¶
type ImageFailure struct { // The code associated with the failure. FailureCode *string `locationName:"failureCode" type:"string" enum:"ImageFailureCode"` // The reason for the failure. FailureReason *string `locationName:"failureReason" type:"string"` // The image ID associated with the failure. ImageId *ImageIdentifier `locationName:"imageId" type:"structure"` // contains filtered or unexported fields }
An object representing an Amazon ECR image failure.
func (ImageFailure) GoString ¶
func (s ImageFailure) GoString() string
GoString returns the string representation
func (*ImageFailure) SetFailureCode ¶
func (s *ImageFailure) SetFailureCode(v string) *ImageFailure
SetFailureCode sets the FailureCode field's value.
func (*ImageFailure) SetFailureReason ¶
func (s *ImageFailure) SetFailureReason(v string) *ImageFailure
SetFailureReason sets the FailureReason field's value.
func (*ImageFailure) SetImageId ¶
func (s *ImageFailure) SetImageId(v *ImageIdentifier) *ImageFailure
SetImageId sets the ImageId field's value.
func (ImageFailure) String ¶
func (s ImageFailure) String() string
String returns the string representation
type ImageIdentifier ¶
type ImageIdentifier struct { // The sha256 digest of the image manifest. ImageDigest *string `locationName:"imageDigest" type:"string"` // The tag used for the image. ImageTag *string `locationName:"imageTag" min:"1" type:"string"` // contains filtered or unexported fields }
An object with identifying information for an Amazon ECR image.
func (ImageIdentifier) GoString ¶
func (s ImageIdentifier) GoString() string
GoString returns the string representation
func (*ImageIdentifier) SetImageDigest ¶
func (s *ImageIdentifier) SetImageDigest(v string) *ImageIdentifier
SetImageDigest sets the ImageDigest field's value.
func (*ImageIdentifier) SetImageTag ¶
func (s *ImageIdentifier) SetImageTag(v string) *ImageIdentifier
SetImageTag sets the ImageTag field's value.
func (ImageIdentifier) String ¶
func (s ImageIdentifier) String() string
String returns the string representation
func (*ImageIdentifier) Validate ¶
func (s *ImageIdentifier) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImageNotFoundException ¶
type ImageNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The image requested does not exist in the specified repository.
func (*ImageNotFoundException) Code ¶
func (s *ImageNotFoundException) Code() string
Code returns the exception type name.
func (*ImageNotFoundException) Error ¶
func (s *ImageNotFoundException) Error() string
func (ImageNotFoundException) GoString ¶
func (s ImageNotFoundException) GoString() string
GoString returns the string representation
func (*ImageNotFoundException) Message ¶
func (s *ImageNotFoundException) Message() string
Message returns the exception's message.
func (*ImageNotFoundException) OrigErr ¶
func (s *ImageNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ImageNotFoundException) RequestID ¶
func (s *ImageNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ImageNotFoundException) StatusCode ¶
func (s *ImageNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ImageNotFoundException) String ¶
func (s ImageNotFoundException) String() string
String returns the string representation
type ImageTagAlreadyExistsException ¶
type ImageTagAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.
func (*ImageTagAlreadyExistsException) Code ¶
func (s *ImageTagAlreadyExistsException) Code() string
Code returns the exception type name.
func (*ImageTagAlreadyExistsException) Error ¶
func (s *ImageTagAlreadyExistsException) Error() string
func (ImageTagAlreadyExistsException) GoString ¶
func (s ImageTagAlreadyExistsException) GoString() string
GoString returns the string representation
func (*ImageTagAlreadyExistsException) Message ¶
func (s *ImageTagAlreadyExistsException) Message() string
Message returns the exception's message.
func (*ImageTagAlreadyExistsException) OrigErr ¶
func (s *ImageTagAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ImageTagAlreadyExistsException) RequestID ¶
func (s *ImageTagAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ImageTagAlreadyExistsException) StatusCode ¶
func (s *ImageTagAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ImageTagAlreadyExistsException) String ¶
func (s ImageTagAlreadyExistsException) String() string
String returns the string representation
type ImageTagDetail ¶
type ImageTagDetail struct { // The time stamp indicating when the image tag was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` // An object that describes the details of an image. ImageDetail *ReferencedImageDetail `locationName:"imageDetail" type:"structure"` // The tag associated with the image. ImageTag *string `locationName:"imageTag" min:"1" type:"string"` // contains filtered or unexported fields }
An object representing the image tag details for an image.
func (ImageTagDetail) GoString ¶
func (s ImageTagDetail) GoString() string
GoString returns the string representation
func (*ImageTagDetail) SetCreatedAt ¶
func (s *ImageTagDetail) SetCreatedAt(v time.Time) *ImageTagDetail
SetCreatedAt sets the CreatedAt field's value.
func (*ImageTagDetail) SetImageDetail ¶
func (s *ImageTagDetail) SetImageDetail(v *ReferencedImageDetail) *ImageTagDetail
SetImageDetail sets the ImageDetail field's value.
func (*ImageTagDetail) SetImageTag ¶
func (s *ImageTagDetail) SetImageTag(v string) *ImageTagDetail
SetImageTag sets the ImageTag field's value.
func (ImageTagDetail) String ¶
func (s ImageTagDetail) String() string
String returns the string representation
type InitiateLayerUploadInput ¶
type InitiateLayerUploadInput struct { // The AWS account ID associated with the registry to which you intend to upload // layers. If you do not specify a registry, the default public registry is // assumed. RegistryId *string `locationName:"registryId" min:"1" type:"string"` // The name of the repository to which you intend to upload layers. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (InitiateLayerUploadInput) GoString ¶
func (s InitiateLayerUploadInput) GoString() string
GoString returns the string representation
func (*InitiateLayerUploadInput) SetRegistryId ¶
func (s *InitiateLayerUploadInput) SetRegistryId(v string) *InitiateLayerUploadInput
SetRegistryId sets the RegistryId field's value.
func (*InitiateLayerUploadInput) SetRepositoryName ¶
func (s *InitiateLayerUploadInput) SetRepositoryName(v string) *InitiateLayerUploadInput
SetRepositoryName sets the RepositoryName field's value.
func (InitiateLayerUploadInput) String ¶
func (s InitiateLayerUploadInput) String() string
String returns the string representation
func (*InitiateLayerUploadInput) Validate ¶
func (s *InitiateLayerUploadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InitiateLayerUploadOutput ¶
type InitiateLayerUploadOutput struct { // The size, in bytes, that Amazon ECR expects future layer part uploads to // be. PartSize *int64 `locationName:"partSize" type:"long"` // The upload ID for the layer upload. This parameter is passed to further UploadLayerPart // and CompleteLayerUpload operations. UploadId *string `locationName:"uploadId" type:"string"` // contains filtered or unexported fields }
func (InitiateLayerUploadOutput) GoString ¶
func (s InitiateLayerUploadOutput) GoString() string
GoString returns the string representation
func (*InitiateLayerUploadOutput) SetPartSize ¶
func (s *InitiateLayerUploadOutput) SetPartSize(v int64) *InitiateLayerUploadOutput
SetPartSize sets the PartSize field's value.
func (*InitiateLayerUploadOutput) SetUploadId ¶
func (s *InitiateLayerUploadOutput) SetUploadId(v string) *InitiateLayerUploadOutput
SetUploadId sets the UploadId field's value.
func (InitiateLayerUploadOutput) String ¶
func (s InitiateLayerUploadOutput) String() string
String returns the string representation
type InvalidLayerException ¶
type InvalidLayerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.
func (*InvalidLayerException) Code ¶
func (s *InvalidLayerException) Code() string
Code returns the exception type name.
func (*InvalidLayerException) Error ¶
func (s *InvalidLayerException) Error() string
func (InvalidLayerException) GoString ¶
func (s InvalidLayerException) GoString() string
GoString returns the string representation
func (*InvalidLayerException) Message ¶
func (s *InvalidLayerException) Message() string
Message returns the exception's message.
func (*InvalidLayerException) OrigErr ¶
func (s *InvalidLayerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidLayerException) RequestID ¶
func (s *InvalidLayerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidLayerException) StatusCode ¶
func (s *InvalidLayerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidLayerException) String ¶
func (s InvalidLayerException) String() string
String returns the string representation
type InvalidLayerPartException ¶
type InvalidLayerPartException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The position of the last byte of the layer part. LastValidByteReceived *int64 `locationName:"lastValidByteReceived" type:"long"` Message_ *string `locationName:"message" type:"string"` // The AWS account ID associated with the layer part. RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository. RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"` // The upload ID associated with the layer part. UploadId *string `locationName:"uploadId" type:"string"` // contains filtered or unexported fields }
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
func (*InvalidLayerPartException) Code ¶
func (s *InvalidLayerPartException) Code() string
Code returns the exception type name.
func (*InvalidLayerPartException) Error ¶
func (s *InvalidLayerPartException) Error() string
func (InvalidLayerPartException) GoString ¶
func (s InvalidLayerPartException) GoString() string
GoString returns the string representation
func (*InvalidLayerPartException) Message ¶
func (s *InvalidLayerPartException) Message() string
Message returns the exception's message.
func (*InvalidLayerPartException) OrigErr ¶
func (s *InvalidLayerPartException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidLayerPartException) RequestID ¶
func (s *InvalidLayerPartException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidLayerPartException) StatusCode ¶
func (s *InvalidLayerPartException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidLayerPartException) String ¶
func (s InvalidLayerPartException) String() string
String returns the string representation
type InvalidParameterException ¶
type InvalidParameterException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified parameter is invalid. Review the available parameters for the API request.
func (*InvalidParameterException) Code ¶
func (s *InvalidParameterException) Code() string
Code returns the exception type name.
func (*InvalidParameterException) Error ¶
func (s *InvalidParameterException) Error() string
func (InvalidParameterException) GoString ¶
func (s InvalidParameterException) GoString() string
GoString returns the string representation
func (*InvalidParameterException) Message ¶
func (s *InvalidParameterException) Message() string
Message returns the exception's message.
func (*InvalidParameterException) OrigErr ¶
func (s *InvalidParameterException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidParameterException) RequestID ¶
func (s *InvalidParameterException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidParameterException) StatusCode ¶
func (s *InvalidParameterException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidParameterException) String ¶
func (s InvalidParameterException) String() string
String returns the string representation
type Layer ¶
type Layer struct { // The availability status of the image layer. LayerAvailability *string `locationName:"layerAvailability" type:"string" enum:"LayerAvailability"` // The sha256 digest of the image layer. LayerDigest *string `locationName:"layerDigest" type:"string"` // The size, in bytes, of the image layer. LayerSize *int64 `locationName:"layerSize" type:"long"` // 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 `locationName:"mediaType" type:"string"` // contains filtered or unexported fields }
An object representing an Amazon ECR image layer.
func (*Layer) SetLayerAvailability ¶
SetLayerAvailability sets the LayerAvailability field's value.
func (*Layer) SetLayerDigest ¶
SetLayerDigest sets the LayerDigest field's value.
func (*Layer) SetLayerSize ¶
SetLayerSize sets the LayerSize field's value.
func (*Layer) SetMediaType ¶
SetMediaType sets the MediaType field's value.
type LayerAlreadyExistsException ¶
type LayerAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The image layer already exists in the associated repository.
func (*LayerAlreadyExistsException) Code ¶
func (s *LayerAlreadyExistsException) Code() string
Code returns the exception type name.
func (*LayerAlreadyExistsException) Error ¶
func (s *LayerAlreadyExistsException) Error() string
func (LayerAlreadyExistsException) GoString ¶
func (s LayerAlreadyExistsException) GoString() string
GoString returns the string representation
func (*LayerAlreadyExistsException) Message ¶
func (s *LayerAlreadyExistsException) Message() string
Message returns the exception's message.
func (*LayerAlreadyExistsException) OrigErr ¶
func (s *LayerAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*LayerAlreadyExistsException) RequestID ¶
func (s *LayerAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*LayerAlreadyExistsException) StatusCode ¶
func (s *LayerAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (LayerAlreadyExistsException) String ¶
func (s LayerAlreadyExistsException) String() string
String returns the string representation
type LayerFailure ¶
type LayerFailure struct { // The failure code associated with the failure. FailureCode *string `locationName:"failureCode" type:"string" enum:"LayerFailureCode"` // The reason for the failure. FailureReason *string `locationName:"failureReason" type:"string"` // The layer digest associated with the failure. LayerDigest *string `locationName:"layerDigest" type:"string"` // contains filtered or unexported fields }
An object representing an Amazon ECR image layer failure.
func (LayerFailure) GoString ¶
func (s LayerFailure) GoString() string
GoString returns the string representation
func (*LayerFailure) SetFailureCode ¶
func (s *LayerFailure) SetFailureCode(v string) *LayerFailure
SetFailureCode sets the FailureCode field's value.
func (*LayerFailure) SetFailureReason ¶
func (s *LayerFailure) SetFailureReason(v string) *LayerFailure
SetFailureReason sets the FailureReason field's value.
func (*LayerFailure) SetLayerDigest ¶
func (s *LayerFailure) SetLayerDigest(v string) *LayerFailure
SetLayerDigest sets the LayerDigest field's value.
func (LayerFailure) String ¶
func (s LayerFailure) String() string
String returns the string representation
type LayerPartTooSmallException ¶
type LayerPartTooSmallException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Layer parts must be at least 5 MiB in size.
func (*LayerPartTooSmallException) Code ¶
func (s *LayerPartTooSmallException) Code() string
Code returns the exception type name.
func (*LayerPartTooSmallException) Error ¶
func (s *LayerPartTooSmallException) Error() string
func (LayerPartTooSmallException) GoString ¶
func (s LayerPartTooSmallException) GoString() string
GoString returns the string representation
func (*LayerPartTooSmallException) Message ¶
func (s *LayerPartTooSmallException) Message() string
Message returns the exception's message.
func (*LayerPartTooSmallException) OrigErr ¶
func (s *LayerPartTooSmallException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*LayerPartTooSmallException) RequestID ¶
func (s *LayerPartTooSmallException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*LayerPartTooSmallException) StatusCode ¶
func (s *LayerPartTooSmallException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (LayerPartTooSmallException) String ¶
func (s LayerPartTooSmallException) String() string
String returns the string representation
type LayersNotFoundException ¶
type LayersNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified layers could not be found, or the specified layer is not valid for this repository.
func (*LayersNotFoundException) Code ¶
func (s *LayersNotFoundException) Code() string
Code returns the exception type name.
func (*LayersNotFoundException) Error ¶
func (s *LayersNotFoundException) Error() string
func (LayersNotFoundException) GoString ¶
func (s LayersNotFoundException) GoString() string
GoString returns the string representation
func (*LayersNotFoundException) Message ¶
func (s *LayersNotFoundException) Message() string
Message returns the exception's message.
func (*LayersNotFoundException) OrigErr ¶
func (s *LayersNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*LayersNotFoundException) RequestID ¶
func (s *LayersNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*LayersNotFoundException) StatusCode ¶
func (s *LayersNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (LayersNotFoundException) String ¶
func (s LayersNotFoundException) String() string
String returns the string representation
type LimitExceededException ¶
type LimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The operation did not 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.
func (*LimitExceededException) Code ¶
func (s *LimitExceededException) Code() string
Code returns the exception type name.
func (*LimitExceededException) Error ¶
func (s *LimitExceededException) Error() string
func (LimitExceededException) GoString ¶
func (s LimitExceededException) GoString() string
GoString returns the string representation
func (*LimitExceededException) Message ¶
func (s *LimitExceededException) Message() string
Message returns the exception's message.
func (*LimitExceededException) OrigErr ¶
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*LimitExceededException) RequestID ¶
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*LimitExceededException) StatusCode ¶
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (LimitExceededException) String ¶
func (s LimitExceededException) String() string
String returns the string representation
type PutImageInput ¶
type PutImageInput struct { // The image digest of the image manifest corresponding to the image. ImageDigest *string `locationName:"imageDigest" type:"string"` // The image manifest corresponding to the image to be uploaded. // // ImageManifest is a required field ImageManifest *string `locationName:"imageManifest" min:"1" type:"string" required:"true"` // The media type of the image manifest. If you push an image manifest that // does not contain the mediaType field, you must specify the imageManifestMediaType // in the request. ImageManifestMediaType *string `locationName:"imageManifestMediaType" type:"string"` // The tag to associate with the image. This parameter is required for images // that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative // (OCI) formats. ImageTag *string `locationName:"imageTag" min:"1" type:"string"` // The AWS account ID associated with the public registry that contains the // repository in which to put the image. If you do not specify a registry, the // default public registry is assumed. RegistryId *string `locationName:"registryId" min:"1" type:"string"` // The name of the repository in which to put the image. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutImageInput) GoString ¶
func (s PutImageInput) GoString() string
GoString returns the string representation
func (*PutImageInput) SetImageDigest ¶
func (s *PutImageInput) SetImageDigest(v string) *PutImageInput
SetImageDigest sets the ImageDigest field's value.
func (*PutImageInput) SetImageManifest ¶
func (s *PutImageInput) SetImageManifest(v string) *PutImageInput
SetImageManifest sets the ImageManifest field's value.
func (*PutImageInput) SetImageManifestMediaType ¶
func (s *PutImageInput) SetImageManifestMediaType(v string) *PutImageInput
SetImageManifestMediaType sets the ImageManifestMediaType field's value.
func (*PutImageInput) SetImageTag ¶
func (s *PutImageInput) SetImageTag(v string) *PutImageInput
SetImageTag sets the ImageTag field's value.
func (*PutImageInput) SetRegistryId ¶
func (s *PutImageInput) SetRegistryId(v string) *PutImageInput
SetRegistryId sets the RegistryId field's value.
func (*PutImageInput) SetRepositoryName ¶
func (s *PutImageInput) SetRepositoryName(v string) *PutImageInput
SetRepositoryName sets the RepositoryName field's value.
func (PutImageInput) String ¶
func (s PutImageInput) String() string
String returns the string representation
func (*PutImageInput) Validate ¶
func (s *PutImageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutImageOutput ¶
type PutImageOutput struct { // Details of the image uploaded. Image *Image `locationName:"image" type:"structure"` // contains filtered or unexported fields }
func (PutImageOutput) GoString ¶
func (s PutImageOutput) GoString() string
GoString returns the string representation
func (*PutImageOutput) SetImage ¶
func (s *PutImageOutput) SetImage(v *Image) *PutImageOutput
SetImage sets the Image field's value.
func (PutImageOutput) String ¶
func (s PutImageOutput) String() string
String returns the string representation
type PutRegistryCatalogDataInput ¶
type PutRegistryCatalogDataInput struct { // The display name for a public registry. The display name is shown as the // repository author in the Amazon ECR Public Gallery. // // The registry display name is only publicly visible in the Amazon ECR Public // Gallery for verified accounts. DisplayName *string `locationName:"displayName" type:"string"` // contains filtered or unexported fields }
func (PutRegistryCatalogDataInput) GoString ¶
func (s PutRegistryCatalogDataInput) GoString() string
GoString returns the string representation
func (*PutRegistryCatalogDataInput) SetDisplayName ¶
func (s *PutRegistryCatalogDataInput) SetDisplayName(v string) *PutRegistryCatalogDataInput
SetDisplayName sets the DisplayName field's value.
func (PutRegistryCatalogDataInput) String ¶
func (s PutRegistryCatalogDataInput) String() string
String returns the string representation
type PutRegistryCatalogDataOutput ¶
type PutRegistryCatalogDataOutput struct { // The catalog data for the public registry. // // RegistryCatalogData is a required field RegistryCatalogData *RegistryCatalogData `locationName:"registryCatalogData" type:"structure" required:"true"` // contains filtered or unexported fields }
func (PutRegistryCatalogDataOutput) GoString ¶
func (s PutRegistryCatalogDataOutput) GoString() string
GoString returns the string representation
func (*PutRegistryCatalogDataOutput) SetRegistryCatalogData ¶
func (s *PutRegistryCatalogDataOutput) SetRegistryCatalogData(v *RegistryCatalogData) *PutRegistryCatalogDataOutput
SetRegistryCatalogData sets the RegistryCatalogData field's value.
func (PutRegistryCatalogDataOutput) String ¶
func (s PutRegistryCatalogDataOutput) String() string
String returns the string representation
type PutRepositoryCatalogDataInput ¶
type PutRepositoryCatalogDataInput struct { // An object containing the catalog data for a repository. This data is publicly // visible in the Amazon ECR Public Gallery. // // CatalogData is a required field CatalogData *RepositoryCatalogDataInput `locationName:"catalogData" type:"structure" required:"true"` // The AWS account ID associated with the public registry the repository is // in. If you do not specify a registry, the default public registry is assumed. RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository to create or update the catalog data for. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutRepositoryCatalogDataInput) GoString ¶
func (s PutRepositoryCatalogDataInput) GoString() string
GoString returns the string representation
func (*PutRepositoryCatalogDataInput) SetCatalogData ¶
func (s *PutRepositoryCatalogDataInput) SetCatalogData(v *RepositoryCatalogDataInput) *PutRepositoryCatalogDataInput
SetCatalogData sets the CatalogData field's value.
func (*PutRepositoryCatalogDataInput) SetRegistryId ¶
func (s *PutRepositoryCatalogDataInput) SetRegistryId(v string) *PutRepositoryCatalogDataInput
SetRegistryId sets the RegistryId field's value.
func (*PutRepositoryCatalogDataInput) SetRepositoryName ¶
func (s *PutRepositoryCatalogDataInput) SetRepositoryName(v string) *PutRepositoryCatalogDataInput
SetRepositoryName sets the RepositoryName field's value.
func (PutRepositoryCatalogDataInput) String ¶
func (s PutRepositoryCatalogDataInput) String() string
String returns the string representation
func (*PutRepositoryCatalogDataInput) Validate ¶
func (s *PutRepositoryCatalogDataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutRepositoryCatalogDataOutput ¶
type PutRepositoryCatalogDataOutput struct { // The catalog data for the repository. CatalogData *RepositoryCatalogData `locationName:"catalogData" type:"structure"` // contains filtered or unexported fields }
func (PutRepositoryCatalogDataOutput) GoString ¶
func (s PutRepositoryCatalogDataOutput) GoString() string
GoString returns the string representation
func (*PutRepositoryCatalogDataOutput) SetCatalogData ¶
func (s *PutRepositoryCatalogDataOutput) SetCatalogData(v *RepositoryCatalogData) *PutRepositoryCatalogDataOutput
SetCatalogData sets the CatalogData field's value.
func (PutRepositoryCatalogDataOutput) String ¶
func (s PutRepositoryCatalogDataOutput) String() string
String returns the string representation
type ReferencedImageDetail ¶
type ReferencedImageDetail struct { // The artifact media type of the image. ArtifactMediaType *string `locationName:"artifactMediaType" type:"string"` // The sha256 digest of the image manifest. ImageDigest *string `locationName:"imageDigest" type:"string"` // The media type of the image manifest. ImageManifestMediaType *string `locationName:"imageManifestMediaType" type:"string"` // The date and time, expressed in standard JavaScript date format, at which // the current image tag was pushed to the repository. ImagePushedAt *time.Time `locationName:"imagePushedAt" type:"timestamp"` // The size, in bytes, of the image in the repository. // // If the image is a manifest list, this will be 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 may return a larger image // size than the image sizes returned by DescribeImages. ImageSizeInBytes *int64 `locationName:"imageSizeInBytes" type:"long"` // contains filtered or unexported fields }
An object that describes the image tag details returned by a DescribeImageTags action.
func (ReferencedImageDetail) GoString ¶
func (s ReferencedImageDetail) GoString() string
GoString returns the string representation
func (*ReferencedImageDetail) SetArtifactMediaType ¶
func (s *ReferencedImageDetail) SetArtifactMediaType(v string) *ReferencedImageDetail
SetArtifactMediaType sets the ArtifactMediaType field's value.
func (*ReferencedImageDetail) SetImageDigest ¶
func (s *ReferencedImageDetail) SetImageDigest(v string) *ReferencedImageDetail
SetImageDigest sets the ImageDigest field's value.
func (*ReferencedImageDetail) SetImageManifestMediaType ¶
func (s *ReferencedImageDetail) SetImageManifestMediaType(v string) *ReferencedImageDetail
SetImageManifestMediaType sets the ImageManifestMediaType field's value.
func (*ReferencedImageDetail) SetImagePushedAt ¶
func (s *ReferencedImageDetail) SetImagePushedAt(v time.Time) *ReferencedImageDetail
SetImagePushedAt sets the ImagePushedAt field's value.
func (*ReferencedImageDetail) SetImageSizeInBytes ¶
func (s *ReferencedImageDetail) SetImageSizeInBytes(v int64) *ReferencedImageDetail
SetImageSizeInBytes sets the ImageSizeInBytes field's value.
func (ReferencedImageDetail) String ¶
func (s ReferencedImageDetail) String() string
String returns the string representation
type ReferencedImagesNotFoundException ¶
type ReferencedImagesNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The manifest list is referencing an image that does not exist.
func (*ReferencedImagesNotFoundException) Code ¶
func (s *ReferencedImagesNotFoundException) Code() string
Code returns the exception type name.
func (*ReferencedImagesNotFoundException) Error ¶
func (s *ReferencedImagesNotFoundException) Error() string
func (ReferencedImagesNotFoundException) GoString ¶
func (s ReferencedImagesNotFoundException) GoString() string
GoString returns the string representation
func (*ReferencedImagesNotFoundException) Message ¶
func (s *ReferencedImagesNotFoundException) Message() string
Message returns the exception's message.
func (*ReferencedImagesNotFoundException) OrigErr ¶
func (s *ReferencedImagesNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ReferencedImagesNotFoundException) RequestID ¶
func (s *ReferencedImagesNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ReferencedImagesNotFoundException) StatusCode ¶
func (s *ReferencedImagesNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ReferencedImagesNotFoundException) String ¶
func (s ReferencedImagesNotFoundException) String() string
String returns the string representation
type Registry ¶
type Registry struct { // An array of objects representing the aliases for a public registry. // // Aliases is a required field Aliases []*RegistryAlias `locationName:"aliases" type:"list" required:"true"` // The Amazon Resource Name (ARN) of the public registry. // // RegistryArn is a required field RegistryArn *string `locationName:"registryArn" type:"string" required:"true"` // The AWS account ID associated with the registry. If you do not specify a // registry, the default public registry is assumed. // // RegistryId is a required field RegistryId *string `locationName:"registryId" type:"string" required:"true"` // The URI of a public registry. The URI contains a universal prefix and the // registry alias. // // RegistryUri is a required field RegistryUri *string `locationName:"registryUri" type:"string" required:"true"` // Whether the account is verified. This indicates whether the account is an // AWS Marketplace vendor. If an account is verified, each public repository // will received a verified account badge on the Amazon ECR Public Gallery. // // Verified is a required field Verified *bool `locationName:"verified" type:"boolean" required:"true"` // contains filtered or unexported fields }
The details of a public registry.
func (*Registry) SetAliases ¶
func (s *Registry) SetAliases(v []*RegistryAlias) *Registry
SetAliases sets the Aliases field's value.
func (*Registry) SetRegistryArn ¶
SetRegistryArn sets the RegistryArn field's value.
func (*Registry) SetRegistryId ¶
SetRegistryId sets the RegistryId field's value.
func (*Registry) SetRegistryUri ¶
SetRegistryUri sets the RegistryUri field's value.
func (*Registry) SetVerified ¶
SetVerified sets the Verified field's value.
type RegistryAlias ¶
type RegistryAlias struct { // Whether or not 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. // // DefaultRegistryAlias is a required field DefaultRegistryAlias *bool `locationName:"defaultRegistryAlias" type:"boolean" required:"true"` // The name of the registry alias. // // Name is a required field Name *string `locationName:"name" min:"2" type:"string" required:"true"` // Whether or not 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 is not the primary registry alias can be used in the // repository URI in a docker pull command. // // PrimaryRegistryAlias is a required field PrimaryRegistryAlias *bool `locationName:"primaryRegistryAlias" type:"boolean" required:"true"` // The status of the registry alias. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"RegistryAliasStatus"` // contains filtered or unexported fields }
An object representing the aliases for a public registry. A public registry is given an alias upon creation but 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.
func (RegistryAlias) GoString ¶
func (s RegistryAlias) GoString() string
GoString returns the string representation
func (*RegistryAlias) SetDefaultRegistryAlias ¶
func (s *RegistryAlias) SetDefaultRegistryAlias(v bool) *RegistryAlias
SetDefaultRegistryAlias sets the DefaultRegistryAlias field's value.
func (*RegistryAlias) SetName ¶
func (s *RegistryAlias) SetName(v string) *RegistryAlias
SetName sets the Name field's value.
func (*RegistryAlias) SetPrimaryRegistryAlias ¶
func (s *RegistryAlias) SetPrimaryRegistryAlias(v bool) *RegistryAlias
SetPrimaryRegistryAlias sets the PrimaryRegistryAlias field's value.
func (*RegistryAlias) SetStatus ¶
func (s *RegistryAlias) SetStatus(v string) *RegistryAlias
SetStatus sets the Status field's value.
func (RegistryAlias) String ¶
func (s RegistryAlias) String() string
String returns the string representation
type RegistryCatalogData ¶
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 `locationName:"displayName" type:"string"` // contains filtered or unexported fields }
The metadata for a public registry.
func (RegistryCatalogData) GoString ¶
func (s RegistryCatalogData) GoString() string
GoString returns the string representation
func (*RegistryCatalogData) SetDisplayName ¶
func (s *RegistryCatalogData) SetDisplayName(v string) *RegistryCatalogData
SetDisplayName sets the DisplayName field's value.
func (RegistryCatalogData) String ¶
func (s RegistryCatalogData) String() string
String returns the string representation
type RegistryNotFoundException ¶
type RegistryNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The registry does not exist.
func (*RegistryNotFoundException) Code ¶
func (s *RegistryNotFoundException) Code() string
Code returns the exception type name.
func (*RegistryNotFoundException) Error ¶
func (s *RegistryNotFoundException) Error() string
func (RegistryNotFoundException) GoString ¶
func (s RegistryNotFoundException) GoString() string
GoString returns the string representation
func (*RegistryNotFoundException) Message ¶
func (s *RegistryNotFoundException) Message() string
Message returns the exception's message.
func (*RegistryNotFoundException) OrigErr ¶
func (s *RegistryNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*RegistryNotFoundException) RequestID ¶
func (s *RegistryNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*RegistryNotFoundException) StatusCode ¶
func (s *RegistryNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (RegistryNotFoundException) String ¶
func (s RegistryNotFoundException) String() string
String returns the string representation
type Repository ¶
type Repository struct { // The date and time, in JavaScript date format, when the repository was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` // The AWS account ID associated with the public registry that contains the // repository. RegistryId *string `locationName:"registryId" type:"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, AWS // account ID of the repository owner, repository namespace, and repository // name. For example, arn:aws:ecr:region:012345678910:repository/test. RepositoryArn *string `locationName:"repositoryArn" type:"string"` // The name of the repository. RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"` // The URI for the repository. You can use this URI for container image push // and pull operations. RepositoryUri *string `locationName:"repositoryUri" type:"string"` // contains filtered or unexported fields }
An object representing a repository.
func (Repository) GoString ¶
func (s Repository) GoString() string
GoString returns the string representation
func (*Repository) SetCreatedAt ¶
func (s *Repository) SetCreatedAt(v time.Time) *Repository
SetCreatedAt sets the CreatedAt field's value.
func (*Repository) SetRegistryId ¶
func (s *Repository) SetRegistryId(v string) *Repository
SetRegistryId sets the RegistryId field's value.
func (*Repository) SetRepositoryArn ¶
func (s *Repository) SetRepositoryArn(v string) *Repository
SetRepositoryArn sets the RepositoryArn field's value.
func (*Repository) SetRepositoryName ¶
func (s *Repository) SetRepositoryName(v string) *Repository
SetRepositoryName sets the RepositoryName field's value.
func (*Repository) SetRepositoryUri ¶
func (s *Repository) SetRepositoryUri(v string) *Repository
SetRepositoryUri sets the RepositoryUri field's value.
func (Repository) String ¶
func (s Repository) String() string
String returns the string representation
type RepositoryAlreadyExistsException ¶
type RepositoryAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified repository already exists in the specified registry.
func (*RepositoryAlreadyExistsException) Code ¶
func (s *RepositoryAlreadyExistsException) Code() string
Code returns the exception type name.
func (*RepositoryAlreadyExistsException) Error ¶
func (s *RepositoryAlreadyExistsException) Error() string
func (RepositoryAlreadyExistsException) GoString ¶
func (s RepositoryAlreadyExistsException) GoString() string
GoString returns the string representation
func (*RepositoryAlreadyExistsException) Message ¶
func (s *RepositoryAlreadyExistsException) Message() string
Message returns the exception's message.
func (*RepositoryAlreadyExistsException) OrigErr ¶
func (s *RepositoryAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*RepositoryAlreadyExistsException) RequestID ¶
func (s *RepositoryAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*RepositoryAlreadyExistsException) StatusCode ¶
func (s *RepositoryAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (RepositoryAlreadyExistsException) String ¶
func (s RepositoryAlreadyExistsException) String() string
String returns the string representation
type RepositoryCatalogData ¶
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 `locationName:"aboutText" type:"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 `locationName:"architectures" type:"list"` // The short description of the repository. Description *string `locationName:"description" type:"string"` // The URL containing the logo associated with the repository. LogoUrl *string `locationName:"logoUrl" type:"string"` // Whether or not the repository is certified by AWS Marketplace. MarketplaceCertified *bool `locationName:"marketplaceCertified" type:"boolean"` // 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 `locationName:"operatingSystems" type:"list"` // The longform usage details of the contents of the repository. The usage text // provides context for users of the repository. UsageText *string `locationName:"usageText" type:"string"` // contains filtered or unexported fields }
The catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.
func (RepositoryCatalogData) GoString ¶
func (s RepositoryCatalogData) GoString() string
GoString returns the string representation
func (*RepositoryCatalogData) SetAboutText ¶
func (s *RepositoryCatalogData) SetAboutText(v string) *RepositoryCatalogData
SetAboutText sets the AboutText field's value.
func (*RepositoryCatalogData) SetArchitectures ¶
func (s *RepositoryCatalogData) SetArchitectures(v []*string) *RepositoryCatalogData
SetArchitectures sets the Architectures field's value.
func (*RepositoryCatalogData) SetDescription ¶
func (s *RepositoryCatalogData) SetDescription(v string) *RepositoryCatalogData
SetDescription sets the Description field's value.
func (*RepositoryCatalogData) SetLogoUrl ¶
func (s *RepositoryCatalogData) SetLogoUrl(v string) *RepositoryCatalogData
SetLogoUrl sets the LogoUrl field's value.
func (*RepositoryCatalogData) SetMarketplaceCertified ¶
func (s *RepositoryCatalogData) SetMarketplaceCertified(v bool) *RepositoryCatalogData
SetMarketplaceCertified sets the MarketplaceCertified field's value.
func (*RepositoryCatalogData) SetOperatingSystems ¶
func (s *RepositoryCatalogData) SetOperatingSystems(v []*string) *RepositoryCatalogData
SetOperatingSystems sets the OperatingSystems field's value.
func (*RepositoryCatalogData) SetUsageText ¶
func (s *RepositoryCatalogData) SetUsageText(v string) *RepositoryCatalogData
SetUsageText sets the UsageText field's value.
func (RepositoryCatalogData) String ¶
func (s RepositoryCatalogData) String() string
String returns the string representation
type RepositoryCatalogDataInput ¶
type RepositoryCatalogDataInput struct { // A detailed description of the contents of the repository. It is publicly // visible in the Amazon ECR Public Gallery. The text must be in markdown format. AboutText *string `locationName:"aboutText" type:"string"` // The system architecture that the images in the repository are compatible // with. On the Amazon ECR Public Gallery, the following supported architectures // will appear as badges on the repository and are used as search filters. // // * Linux // // * Windows // // If an unsupported tag is added to your repository catalog data, it will be // associated with the repository and can be retrieved using the API but will // not be discoverable in the Amazon ECR Public Gallery. Architectures []*string `locationName:"architectures" type:"list"` // 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 `locationName:"description" type:"string"` // The base64-encoded repository logo payload. // // The repository logo is only publicly visible in the Amazon ECR Public Gallery // for verified accounts. // // LogoImageBlob is automatically base64 encoded/decoded by the SDK. LogoImageBlob []byte `locationName:"logoImageBlob" type:"blob"` // The operating systems that the images in the repository are compatible with. // On the Amazon ECR Public Gallery, the following supported operating systems // will appear as badges on the repository and are used as search filters. // // * ARM // // * ARM 64 // // * x86 // // * x86-64 // // If an unsupported tag is added to your repository catalog data, it will be // associated with the repository and can be retrieved using the API but will // not be discoverable in the Amazon ECR Public Gallery. OperatingSystems []*string `locationName:"operatingSystems" type:"list"` // Detailed information on how to use the contents of the repository. It is // 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 `locationName:"usageText" type:"string"` // contains filtered or unexported fields }
An object containing the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.
func (RepositoryCatalogDataInput) GoString ¶
func (s RepositoryCatalogDataInput) GoString() string
GoString returns the string representation
func (*RepositoryCatalogDataInput) SetAboutText ¶
func (s *RepositoryCatalogDataInput) SetAboutText(v string) *RepositoryCatalogDataInput
SetAboutText sets the AboutText field's value.
func (*RepositoryCatalogDataInput) SetArchitectures ¶
func (s *RepositoryCatalogDataInput) SetArchitectures(v []*string) *RepositoryCatalogDataInput
SetArchitectures sets the Architectures field's value.
func (*RepositoryCatalogDataInput) SetDescription ¶
func (s *RepositoryCatalogDataInput) SetDescription(v string) *RepositoryCatalogDataInput
SetDescription sets the Description field's value.
func (*RepositoryCatalogDataInput) SetLogoImageBlob ¶
func (s *RepositoryCatalogDataInput) SetLogoImageBlob(v []byte) *RepositoryCatalogDataInput
SetLogoImageBlob sets the LogoImageBlob field's value.
func (*RepositoryCatalogDataInput) SetOperatingSystems ¶
func (s *RepositoryCatalogDataInput) SetOperatingSystems(v []*string) *RepositoryCatalogDataInput
SetOperatingSystems sets the OperatingSystems field's value.
func (*RepositoryCatalogDataInput) SetUsageText ¶
func (s *RepositoryCatalogDataInput) SetUsageText(v string) *RepositoryCatalogDataInput
SetUsageText sets the UsageText field's value.
func (RepositoryCatalogDataInput) String ¶
func (s RepositoryCatalogDataInput) String() string
String returns the string representation
type RepositoryNotEmptyException ¶
type RepositoryNotEmptyException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified repository contains images. To delete a repository that contains images, you must force the deletion with the force parameter.
func (*RepositoryNotEmptyException) Code ¶
func (s *RepositoryNotEmptyException) Code() string
Code returns the exception type name.
func (*RepositoryNotEmptyException) Error ¶
func (s *RepositoryNotEmptyException) Error() string
func (RepositoryNotEmptyException) GoString ¶
func (s RepositoryNotEmptyException) GoString() string
GoString returns the string representation
func (*RepositoryNotEmptyException) Message ¶
func (s *RepositoryNotEmptyException) Message() string
Message returns the exception's message.
func (*RepositoryNotEmptyException) OrigErr ¶
func (s *RepositoryNotEmptyException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*RepositoryNotEmptyException) RequestID ¶
func (s *RepositoryNotEmptyException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*RepositoryNotEmptyException) StatusCode ¶
func (s *RepositoryNotEmptyException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (RepositoryNotEmptyException) String ¶
func (s RepositoryNotEmptyException) String() string
String returns the string representation
type RepositoryNotFoundException ¶
type RepositoryNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
func (*RepositoryNotFoundException) Code ¶
func (s *RepositoryNotFoundException) Code() string
Code returns the exception type name.
func (*RepositoryNotFoundException) Error ¶
func (s *RepositoryNotFoundException) Error() string
func (RepositoryNotFoundException) GoString ¶
func (s RepositoryNotFoundException) GoString() string
GoString returns the string representation
func (*RepositoryNotFoundException) Message ¶
func (s *RepositoryNotFoundException) Message() string
Message returns the exception's message.
func (*RepositoryNotFoundException) OrigErr ¶
func (s *RepositoryNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*RepositoryNotFoundException) RequestID ¶
func (s *RepositoryNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*RepositoryNotFoundException) StatusCode ¶
func (s *RepositoryNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (RepositoryNotFoundException) String ¶
func (s RepositoryNotFoundException) String() string
String returns the string representation
type RepositoryPolicyNotFoundException ¶
type RepositoryPolicyNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified repository and registry combination does not have an associated repository policy.
func (*RepositoryPolicyNotFoundException) Code ¶
func (s *RepositoryPolicyNotFoundException) Code() string
Code returns the exception type name.
func (*RepositoryPolicyNotFoundException) Error ¶
func (s *RepositoryPolicyNotFoundException) Error() string
func (RepositoryPolicyNotFoundException) GoString ¶
func (s RepositoryPolicyNotFoundException) GoString() string
GoString returns the string representation
func (*RepositoryPolicyNotFoundException) Message ¶
func (s *RepositoryPolicyNotFoundException) Message() string
Message returns the exception's message.
func (*RepositoryPolicyNotFoundException) OrigErr ¶
func (s *RepositoryPolicyNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*RepositoryPolicyNotFoundException) RequestID ¶
func (s *RepositoryPolicyNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*RepositoryPolicyNotFoundException) StatusCode ¶
func (s *RepositoryPolicyNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (RepositoryPolicyNotFoundException) String ¶
func (s RepositoryPolicyNotFoundException) String() string
String returns the string representation
type ServerException ¶
type ServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
These errors are usually caused by a server-side issue.
func (*ServerException) Code ¶
func (s *ServerException) Code() string
Code returns the exception type name.
func (*ServerException) Error ¶
func (s *ServerException) Error() string
func (ServerException) GoString ¶
func (s ServerException) GoString() string
GoString returns the string representation
func (*ServerException) Message ¶
func (s *ServerException) Message() string
Message returns the exception's message.
func (*ServerException) OrigErr ¶
func (s *ServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServerException) RequestID ¶
func (s *ServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServerException) StatusCode ¶
func (s *ServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServerException) String ¶
func (s ServerException) String() string
String returns the string representation
type SetRepositoryPolicyInput ¶
type SetRepositoryPolicyInput struct { // If the policy you are attempting to set on a repository policy would prevent // you from setting another policy in the future, you must force the SetRepositoryPolicy // operation. This is intended to prevent accidental repository lock outs. Force *bool `locationName:"force" type:"boolean"` // 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. // // PolicyText is a required field PolicyText *string `locationName:"policyText" type:"string" required:"true"` // The AWS account ID associated with the registry that contains the repository. // If you do not specify a registry, the default public registry is assumed. RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository to receive the policy. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
func (SetRepositoryPolicyInput) GoString ¶
func (s SetRepositoryPolicyInput) GoString() string
GoString returns the string representation
func (*SetRepositoryPolicyInput) SetForce ¶
func (s *SetRepositoryPolicyInput) SetForce(v bool) *SetRepositoryPolicyInput
SetForce sets the Force field's value.
func (*SetRepositoryPolicyInput) SetPolicyText ¶
func (s *SetRepositoryPolicyInput) SetPolicyText(v string) *SetRepositoryPolicyInput
SetPolicyText sets the PolicyText field's value.
func (*SetRepositoryPolicyInput) SetRegistryId ¶
func (s *SetRepositoryPolicyInput) SetRegistryId(v string) *SetRepositoryPolicyInput
SetRegistryId sets the RegistryId field's value.
func (*SetRepositoryPolicyInput) SetRepositoryName ¶
func (s *SetRepositoryPolicyInput) SetRepositoryName(v string) *SetRepositoryPolicyInput
SetRepositoryName sets the RepositoryName field's value.
func (SetRepositoryPolicyInput) String ¶
func (s SetRepositoryPolicyInput) String() string
String returns the string representation
func (*SetRepositoryPolicyInput) Validate ¶
func (s *SetRepositoryPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetRepositoryPolicyOutput ¶
type SetRepositoryPolicyOutput struct { // The JSON repository policy text applied to the repository. PolicyText *string `locationName:"policyText" type:"string"` // The registry ID associated with the request. RegistryId *string `locationName:"registryId" type:"string"` // The repository name associated with the request. RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"` // contains filtered or unexported fields }
func (SetRepositoryPolicyOutput) GoString ¶
func (s SetRepositoryPolicyOutput) GoString() string
GoString returns the string representation
func (*SetRepositoryPolicyOutput) SetPolicyText ¶
func (s *SetRepositoryPolicyOutput) SetPolicyText(v string) *SetRepositoryPolicyOutput
SetPolicyText sets the PolicyText field's value.
func (*SetRepositoryPolicyOutput) SetRegistryId ¶
func (s *SetRepositoryPolicyOutput) SetRegistryId(v string) *SetRepositoryPolicyOutput
SetRegistryId sets the RegistryId field's value.
func (*SetRepositoryPolicyOutput) SetRepositoryName ¶
func (s *SetRepositoryPolicyOutput) SetRepositoryName(v string) *SetRepositoryPolicyOutput
SetRepositoryName sets the RepositoryName field's value.
func (SetRepositoryPolicyOutput) String ¶
func (s SetRepositoryPolicyOutput) String() string
String returns the string representation
type UnsupportedCommandException ¶
type UnsupportedCommandException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The action is not supported in this Region.
func (*UnsupportedCommandException) Code ¶
func (s *UnsupportedCommandException) Code() string
Code returns the exception type name.
func (*UnsupportedCommandException) Error ¶
func (s *UnsupportedCommandException) Error() string
func (UnsupportedCommandException) GoString ¶
func (s UnsupportedCommandException) GoString() string
GoString returns the string representation
func (*UnsupportedCommandException) Message ¶
func (s *UnsupportedCommandException) Message() string
Message returns the exception's message.
func (*UnsupportedCommandException) OrigErr ¶
func (s *UnsupportedCommandException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UnsupportedCommandException) RequestID ¶
func (s *UnsupportedCommandException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UnsupportedCommandException) StatusCode ¶
func (s *UnsupportedCommandException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UnsupportedCommandException) String ¶
func (s UnsupportedCommandException) String() string
String returns the string representation
type UploadLayerPartInput ¶
type UploadLayerPartInput struct { // The base64-encoded layer part payload. // // LayerPartBlob is automatically base64 encoded/decoded by the SDK. // // LayerPartBlob is a required field LayerPartBlob []byte `locationName:"layerPartBlob" type:"blob" required:"true"` // The position of the first byte of the layer part witin the overall image // layer. // // PartFirstByte is a required field PartFirstByte *int64 `locationName:"partFirstByte" type:"long" required:"true"` // The position of the last byte of the layer part within the overall image // layer. // // PartLastByte is a required field PartLastByte *int64 `locationName:"partLastByte" type:"long" required:"true"` // The AWS account ID associated with the registry to which you are uploading // layer parts. If you do not specify a registry, the default public registry // is assumed. RegistryId *string `locationName:"registryId" min:"1" type:"string"` // The name of the repository to which you are uploading layer parts. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // The upload ID from a previous InitiateLayerUpload operation to associate // with the layer part upload. // // UploadId is a required field UploadId *string `locationName:"uploadId" type:"string" required:"true"` // contains filtered or unexported fields }
func (UploadLayerPartInput) GoString ¶
func (s UploadLayerPartInput) GoString() string
GoString returns the string representation
func (*UploadLayerPartInput) SetLayerPartBlob ¶
func (s *UploadLayerPartInput) SetLayerPartBlob(v []byte) *UploadLayerPartInput
SetLayerPartBlob sets the LayerPartBlob field's value.
func (*UploadLayerPartInput) SetPartFirstByte ¶
func (s *UploadLayerPartInput) SetPartFirstByte(v int64) *UploadLayerPartInput
SetPartFirstByte sets the PartFirstByte field's value.
func (*UploadLayerPartInput) SetPartLastByte ¶
func (s *UploadLayerPartInput) SetPartLastByte(v int64) *UploadLayerPartInput
SetPartLastByte sets the PartLastByte field's value.
func (*UploadLayerPartInput) SetRegistryId ¶
func (s *UploadLayerPartInput) SetRegistryId(v string) *UploadLayerPartInput
SetRegistryId sets the RegistryId field's value.
func (*UploadLayerPartInput) SetRepositoryName ¶
func (s *UploadLayerPartInput) SetRepositoryName(v string) *UploadLayerPartInput
SetRepositoryName sets the RepositoryName field's value.
func (*UploadLayerPartInput) SetUploadId ¶
func (s *UploadLayerPartInput) SetUploadId(v string) *UploadLayerPartInput
SetUploadId sets the UploadId field's value.
func (UploadLayerPartInput) String ¶
func (s UploadLayerPartInput) String() string
String returns the string representation
func (*UploadLayerPartInput) Validate ¶
func (s *UploadLayerPartInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UploadLayerPartOutput ¶
type UploadLayerPartOutput struct { // The integer value of the last byte received in the request. LastByteReceived *int64 `locationName:"lastByteReceived" type:"long"` // The registry ID associated with the request. RegistryId *string `locationName:"registryId" type:"string"` // The repository name associated with the request. RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"` // The upload ID associated with the request. UploadId *string `locationName:"uploadId" type:"string"` // contains filtered or unexported fields }
func (UploadLayerPartOutput) GoString ¶
func (s UploadLayerPartOutput) GoString() string
GoString returns the string representation
func (*UploadLayerPartOutput) SetLastByteReceived ¶
func (s *UploadLayerPartOutput) SetLastByteReceived(v int64) *UploadLayerPartOutput
SetLastByteReceived sets the LastByteReceived field's value.
func (*UploadLayerPartOutput) SetRegistryId ¶
func (s *UploadLayerPartOutput) SetRegistryId(v string) *UploadLayerPartOutput
SetRegistryId sets the RegistryId field's value.
func (*UploadLayerPartOutput) SetRepositoryName ¶
func (s *UploadLayerPartOutput) SetRepositoryName(v string) *UploadLayerPartOutput
SetRepositoryName sets the RepositoryName field's value.
func (*UploadLayerPartOutput) SetUploadId ¶
func (s *UploadLayerPartOutput) SetUploadId(v string) *UploadLayerPartOutput
SetUploadId sets the UploadId field's value.
func (UploadLayerPartOutput) String ¶
func (s UploadLayerPartOutput) String() string
String returns the string representation
type UploadNotFoundException ¶
type UploadNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The upload could not be found, or the specified upload ID is not valid for this repository.
func (*UploadNotFoundException) Code ¶
func (s *UploadNotFoundException) Code() string
Code returns the exception type name.
func (*UploadNotFoundException) Error ¶
func (s *UploadNotFoundException) Error() string
func (UploadNotFoundException) GoString ¶
func (s UploadNotFoundException) GoString() string
GoString returns the string representation
func (*UploadNotFoundException) Message ¶
func (s *UploadNotFoundException) Message() string
Message returns the exception's message.
func (*UploadNotFoundException) OrigErr ¶
func (s *UploadNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UploadNotFoundException) RequestID ¶
func (s *UploadNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UploadNotFoundException) StatusCode ¶
func (s *UploadNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UploadNotFoundException) String ¶
func (s UploadNotFoundException) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package ecrpubliciface provides an interface to enable mocking the Amazon Elastic Container Registry Public service client for testing your code.
|
Package ecrpubliciface provides an interface to enable mocking the Amazon Elastic Container Registry Public service client for testing your code. |