acr

package
v0.0.0-...-f1e9103 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package acr implements the Azure ARM Acr service API version 2019-07-15-preview.

Metadata API definition for the Azure Container Registry runtime

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AccessToken

type AccessToken struct {
	autorest.Response `json:"-"`
	// AccessToken - The access token for performing authenticated requests
	AccessToken *string `json:"access_token,omitempty"`
}

AccessToken ...

type BaseClient

type BaseClient struct {
	autorest.Client
	LoginURI string
}

BaseClient is the base client for Acr.

func New

func New(loginURI string) BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults

func NewWithoutDefaults(loginURI string) BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

func (BaseClient) CancelBlobUpload

func (client BaseClient) CancelBlobUpload(ctx context.Context, name string, UUID string) (result autorest.Response, err error)

CancelBlobUpload cancel outstanding upload processes, releasing associated resources. If this is not called, the unfinished uploads will eventually timeout. Parameters: name - name of the image (including the namespace) UUID - a uuid identifying the upload.

func (BaseClient) CancelBlobUploadPreparer

func (client BaseClient) CancelBlobUploadPreparer(ctx context.Context, name string, UUID string) (*http.Request, error)

CancelBlobUploadPreparer prepares the CancelBlobUpload request.

func (BaseClient) CancelBlobUploadResponder

func (client BaseClient) CancelBlobUploadResponder(resp *http.Response) (result autorest.Response, err error)

CancelBlobUploadResponder handles the response to the CancelBlobUpload request. The method always closes the http.Response Body.

func (BaseClient) CancelBlobUploadSender

func (client BaseClient) CancelBlobUploadSender(req *http.Request) (*http.Response, error)

CancelBlobUploadSender sends the CancelBlobUpload request. The method will close the http.Response Body if it receives an error.

func (BaseClient) CheckBlobExistence

func (client BaseClient) CheckBlobExistence(ctx context.Context, name string, digest string) (result autorest.Response, err error)

CheckBlobExistence same as GET, except only the headers are returned. Parameters: name - name of the image (including the namespace) digest - digest of a desired BLOB

func (BaseClient) CheckBlobExistencePreparer

func (client BaseClient) CheckBlobExistencePreparer(ctx context.Context, name string, digest string) (*http.Request, error)

CheckBlobExistencePreparer prepares the CheckBlobExistence request.

func (BaseClient) CheckBlobExistenceResponder

func (client BaseClient) CheckBlobExistenceResponder(resp *http.Response) (result autorest.Response, err error)

CheckBlobExistenceResponder handles the response to the CheckBlobExistence request. The method always closes the http.Response Body.

func (BaseClient) CheckBlobExistenceSender

func (client BaseClient) CheckBlobExistenceSender(req *http.Request) (*http.Response, error)

CheckBlobExistenceSender sends the CheckBlobExistence request. The method will close the http.Response Body if it receives an error.

func (BaseClient) CreateManifest

func (client BaseClient) CreateManifest(ctx context.Context, name string, reference string, payload Manifest) (result SetObject, err error)

CreateManifest put the manifest identified by name and reference where reference can be a tag or digest. Parameters: name - name of the image (including the namespace) reference - a tag or a digest, pointing to a specific image payload - manifest body, can take v1 or v2 values depending on accept header

func (BaseClient) CreateManifestPreparer

func (client BaseClient) CreateManifestPreparer(ctx context.Context, name string, reference string, payload Manifest) (*http.Request, error)

CreateManifestPreparer prepares the CreateManifest request.

func (BaseClient) CreateManifestResponder

func (client BaseClient) CreateManifestResponder(resp *http.Response) (result SetObject, err error)

CreateManifestResponder handles the response to the CreateManifest request. The method always closes the http.Response Body.

func (BaseClient) CreateManifestSender

func (client BaseClient) CreateManifestSender(req *http.Request) (*http.Response, error)

CreateManifestSender sends the CreateManifest request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteAcrManifestMetadata

func (client BaseClient) DeleteAcrManifestMetadata(ctx context.Context, name string, reference string, metadata string) (result autorest.Response, err error)

DeleteAcrManifestMetadata delete a metadata of a manifest Parameters: name - name of the image (including the namespace) reference - tag or digest of the target manifest metadata - name of the metadata

func (BaseClient) DeleteAcrManifestMetadataPreparer

func (client BaseClient) DeleteAcrManifestMetadataPreparer(ctx context.Context, name string, reference string, metadata string) (*http.Request, error)

DeleteAcrManifestMetadataPreparer prepares the DeleteAcrManifestMetadata request.

func (BaseClient) DeleteAcrManifestMetadataResponder

func (client BaseClient) DeleteAcrManifestMetadataResponder(resp *http.Response) (result autorest.Response, err error)

DeleteAcrManifestMetadataResponder handles the response to the DeleteAcrManifestMetadata request. The method always closes the http.Response Body.

func (BaseClient) DeleteAcrManifestMetadataSender

func (client BaseClient) DeleteAcrManifestMetadataSender(req *http.Request) (*http.Response, error)

DeleteAcrManifestMetadataSender sends the DeleteAcrManifestMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteAcrRepository

func (client BaseClient) DeleteAcrRepository(ctx context.Context, name string) (result DeletedRepository, err error)

DeleteAcrRepository delete the repository identified by `name` Parameters: name - name of the image (including the namespace)

func (BaseClient) DeleteAcrRepositoryMetadata

func (client BaseClient) DeleteAcrRepositoryMetadata(ctx context.Context, name string, metadata string) (result autorest.Response, err error)

DeleteAcrRepositoryMetadata delete a metadata of a repository Parameters: name - name of the image (including the namespace) metadata - name of the metadata

func (BaseClient) DeleteAcrRepositoryMetadataPreparer

func (client BaseClient) DeleteAcrRepositoryMetadataPreparer(ctx context.Context, name string, metadata string) (*http.Request, error)

DeleteAcrRepositoryMetadataPreparer prepares the DeleteAcrRepositoryMetadata request.

func (BaseClient) DeleteAcrRepositoryMetadataResponder

func (client BaseClient) DeleteAcrRepositoryMetadataResponder(resp *http.Response) (result autorest.Response, err error)

DeleteAcrRepositoryMetadataResponder handles the response to the DeleteAcrRepositoryMetadata request. The method always closes the http.Response Body.

func (BaseClient) DeleteAcrRepositoryMetadataSender

func (client BaseClient) DeleteAcrRepositoryMetadataSender(req *http.Request) (*http.Response, error)

DeleteAcrRepositoryMetadataSender sends the DeleteAcrRepositoryMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteAcrRepositoryPreparer

func (client BaseClient) DeleteAcrRepositoryPreparer(ctx context.Context, name string) (*http.Request, error)

DeleteAcrRepositoryPreparer prepares the DeleteAcrRepository request.

func (BaseClient) DeleteAcrRepositoryResponder

func (client BaseClient) DeleteAcrRepositoryResponder(resp *http.Response) (result DeletedRepository, err error)

DeleteAcrRepositoryResponder handles the response to the DeleteAcrRepository request. The method always closes the http.Response Body.

func (BaseClient) DeleteAcrRepositorySender

func (client BaseClient) DeleteAcrRepositorySender(req *http.Request) (*http.Response, error)

DeleteAcrRepositorySender sends the DeleteAcrRepository request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteAcrTag

func (client BaseClient) DeleteAcrTag(ctx context.Context, name string, reference string) (result autorest.Response, err error)

DeleteAcrTag delete tag Parameters: name - name of the image (including the namespace) reference - tag or digest of the target manifest

func (BaseClient) DeleteAcrTagMetadata

func (client BaseClient) DeleteAcrTagMetadata(ctx context.Context, name string, reference string, metadata string) (result autorest.Response, err error)

DeleteAcrTagMetadata delete a metadata of a tag Parameters: name - name of the image (including the namespace) reference - tag or digest of the target manifest metadata - name of the metadata

func (BaseClient) DeleteAcrTagMetadataPreparer

func (client BaseClient) DeleteAcrTagMetadataPreparer(ctx context.Context, name string, reference string, metadata string) (*http.Request, error)

DeleteAcrTagMetadataPreparer prepares the DeleteAcrTagMetadata request.

func (BaseClient) DeleteAcrTagMetadataResponder

func (client BaseClient) DeleteAcrTagMetadataResponder(resp *http.Response) (result autorest.Response, err error)

DeleteAcrTagMetadataResponder handles the response to the DeleteAcrTagMetadata request. The method always closes the http.Response Body.

func (BaseClient) DeleteAcrTagMetadataSender

func (client BaseClient) DeleteAcrTagMetadataSender(req *http.Request) (*http.Response, error)

DeleteAcrTagMetadataSender sends the DeleteAcrTagMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteAcrTagPreparer

func (client BaseClient) DeleteAcrTagPreparer(ctx context.Context, name string, reference string) (*http.Request, error)

DeleteAcrTagPreparer prepares the DeleteAcrTag request.

func (BaseClient) DeleteAcrTagResponder

func (client BaseClient) DeleteAcrTagResponder(resp *http.Response) (result autorest.Response, err error)

DeleteAcrTagResponder handles the response to the DeleteAcrTag request. The method always closes the http.Response Body.

func (BaseClient) DeleteAcrTagSender

func (client BaseClient) DeleteAcrTagSender(req *http.Request) (*http.Response, error)

DeleteAcrTagSender sends the DeleteAcrTag request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteManifest

func (client BaseClient) DeleteManifest(ctx context.Context, name string, reference string) (result autorest.Response, err error)

DeleteManifest delete the manifest identified by `name` and `reference`. Note that a manifest can _only_ be deleted by `digest`. Parameters: name - name of the image (including the namespace) reference - a tag or a digest, pointing to a specific image

func (BaseClient) DeleteManifestPreparer

func (client BaseClient) DeleteManifestPreparer(ctx context.Context, name string, reference string) (*http.Request, error)

DeleteManifestPreparer prepares the DeleteManifest request.

func (BaseClient) DeleteManifestResponder

func (client BaseClient) DeleteManifestResponder(resp *http.Response) (result autorest.Response, err error)

DeleteManifestResponder handles the response to the DeleteManifest request. The method always closes the http.Response Body.

func (BaseClient) DeleteManifestSender

func (client BaseClient) DeleteManifestSender(req *http.Request) (*http.Response, error)

DeleteManifestSender sends the DeleteManifest request. The method will close the http.Response Body if it receives an error.

func (BaseClient) EndBlobUpload

func (client BaseClient) EndBlobUpload(ctx context.Context, digest string, name string, UUID string) (result autorest.Response, err error)

EndBlobUpload complete the upload, providing all the data in the body, if necessary. A request without a body will just complete the upload with previously uploaded content. Parameters: digest - digest of uploaded blob. If present, the upload will be completed, in a single request, with contents of the request body as the resulting blob. name - name of the image (including the namespace) UUID - a uuid identifying the upload.

func (BaseClient) EndBlobUploadPreparer

func (client BaseClient) EndBlobUploadPreparer(ctx context.Context, digest string, name string, UUID string) (*http.Request, error)

EndBlobUploadPreparer prepares the EndBlobUpload request.

func (BaseClient) EndBlobUploadResponder

func (client BaseClient) EndBlobUploadResponder(resp *http.Response) (result autorest.Response, err error)

EndBlobUploadResponder handles the response to the EndBlobUpload request. The method always closes the http.Response Body.

func (BaseClient) EndBlobUploadSender

func (client BaseClient) EndBlobUploadSender(req *http.Request) (*http.Response, error)

EndBlobUploadSender sends the EndBlobUpload request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrAccessToken

func (client BaseClient) GetAcrAccessToken(ctx context.Context, service string, scope string, refreshToken string) (result AccessToken, err error)

GetAcrAccessToken exchange ACR Refresh token for an ACR Access Token Parameters: service - indicates the name of your Azure container registry. scope - which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You obtained this from the Www-Authenticate response header from the challenge. refreshToken - must be a valid ACR refresh token

func (BaseClient) GetAcrAccessTokenFromLogin

func (client BaseClient) GetAcrAccessTokenFromLogin(ctx context.Context, service string, scope string) (result AccessToken, err error)

GetAcrAccessTokenFromLogin exchange Username, Password and Scope an ACR Access Token Parameters: service - indicates the name of your Azure container registry. scope - expected to be a valid scope, and can be specified more than once for multiple scope requests. You can obtain this from the Www-Authenticate response header from the challenge.

func (BaseClient) GetAcrAccessTokenFromLoginPreparer

func (client BaseClient) GetAcrAccessTokenFromLoginPreparer(ctx context.Context, service string, scope string) (*http.Request, error)

GetAcrAccessTokenFromLoginPreparer prepares the GetAcrAccessTokenFromLogin request.

func (BaseClient) GetAcrAccessTokenFromLoginResponder

func (client BaseClient) GetAcrAccessTokenFromLoginResponder(resp *http.Response) (result AccessToken, err error)

GetAcrAccessTokenFromLoginResponder handles the response to the GetAcrAccessTokenFromLogin request. The method always closes the http.Response Body.

func (BaseClient) GetAcrAccessTokenFromLoginSender

func (client BaseClient) GetAcrAccessTokenFromLoginSender(req *http.Request) (*http.Response, error)

GetAcrAccessTokenFromLoginSender sends the GetAcrAccessTokenFromLogin request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrAccessTokenPreparer

func (client BaseClient) GetAcrAccessTokenPreparer(ctx context.Context, service string, scope string, refreshToken string) (*http.Request, error)

GetAcrAccessTokenPreparer prepares the GetAcrAccessToken request.

func (BaseClient) GetAcrAccessTokenResponder

func (client BaseClient) GetAcrAccessTokenResponder(resp *http.Response) (result AccessToken, err error)

GetAcrAccessTokenResponder handles the response to the GetAcrAccessToken request. The method always closes the http.Response Body.

func (BaseClient) GetAcrAccessTokenSender

func (client BaseClient) GetAcrAccessTokenSender(req *http.Request) (*http.Response, error)

GetAcrAccessTokenSender sends the GetAcrAccessToken request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrManifestAttributes

func (client BaseClient) GetAcrManifestAttributes(ctx context.Context, name string, reference string) (result ManifestAttributes, err error)

GetAcrManifestAttributes get manifest attributes Parameters: name - name of the image (including the namespace) reference - a tag or a digest, pointing to a specific image

func (BaseClient) GetAcrManifestAttributesPreparer

func (client BaseClient) GetAcrManifestAttributesPreparer(ctx context.Context, name string, reference string) (*http.Request, error)

GetAcrManifestAttributesPreparer prepares the GetAcrManifestAttributes request.

func (BaseClient) GetAcrManifestAttributesResponder

func (client BaseClient) GetAcrManifestAttributesResponder(resp *http.Response) (result ManifestAttributes, err error)

GetAcrManifestAttributesResponder handles the response to the GetAcrManifestAttributes request. The method always closes the http.Response Body.

func (BaseClient) GetAcrManifestAttributesSender

func (client BaseClient) GetAcrManifestAttributesSender(req *http.Request) (*http.Response, error)

GetAcrManifestAttributesSender sends the GetAcrManifestAttributes request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrManifestMetadata

func (client BaseClient) GetAcrManifestMetadata(ctx context.Context, name string, reference string, metadata string) (result SetObject, err error)

GetAcrManifestMetadata get metadata value Parameters: name - name of the image (including the namespace) reference - tag or digest of the target manifest metadata - name of the metadata

func (BaseClient) GetAcrManifestMetadataPreparer

func (client BaseClient) GetAcrManifestMetadataPreparer(ctx context.Context, name string, reference string, metadata string) (*http.Request, error)

GetAcrManifestMetadataPreparer prepares the GetAcrManifestMetadata request.

func (BaseClient) GetAcrManifestMetadataResponder

func (client BaseClient) GetAcrManifestMetadataResponder(resp *http.Response) (result SetObject, err error)

GetAcrManifestMetadataResponder handles the response to the GetAcrManifestMetadata request. The method always closes the http.Response Body.

func (BaseClient) GetAcrManifestMetadataSender

func (client BaseClient) GetAcrManifestMetadataSender(req *http.Request) (*http.Response, error)

GetAcrManifestMetadataSender sends the GetAcrManifestMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrManifests

func (client BaseClient) GetAcrManifests(ctx context.Context, name string, last string, n *int32, orderby string) (result Manifests, err error)

GetAcrManifests list manifests of a repository Parameters: name - name of the image (including the namespace) last - query parameter for the last item in previous query. Result set will include values lexically after last. n - query parameter for max number of items orderby - orderby query parameter

func (BaseClient) GetAcrManifestsPreparer

func (client BaseClient) GetAcrManifestsPreparer(ctx context.Context, name string, last string, n *int32, orderby string) (*http.Request, error)

GetAcrManifestsPreparer prepares the GetAcrManifests request.

func (BaseClient) GetAcrManifestsResponder

func (client BaseClient) GetAcrManifestsResponder(resp *http.Response) (result Manifests, err error)

GetAcrManifestsResponder handles the response to the GetAcrManifests request. The method always closes the http.Response Body.

func (BaseClient) GetAcrManifestsSender

func (client BaseClient) GetAcrManifestsSender(req *http.Request) (*http.Response, error)

GetAcrManifestsSender sends the GetAcrManifests request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrRefreshTokenFromExchange

func (client BaseClient) GetAcrRefreshTokenFromExchange(ctx context.Context, grantType string, service string, tenant string, refreshToken string, accessToken string) (result RefreshToken, err error)

GetAcrRefreshTokenFromExchange exchange AAD tokens for an ACR refresh Token Parameters: grantType - can take a value of access_token_refresh_token, or access_token, or refresh_token service - indicates the name of your Azure container registry. tenant - AAD tenant associated to the AAD credentials. refreshToken - AAD refresh token, mandatory when grant_type is access_token_refresh_token or refresh_token accessToken - AAD access token, mandatory when grant_type is access_token_refresh_token or access_token.

func (BaseClient) GetAcrRefreshTokenFromExchangePreparer

func (client BaseClient) GetAcrRefreshTokenFromExchangePreparer(ctx context.Context, grantType string, service string, tenant string, refreshToken string, accessToken string) (*http.Request, error)

GetAcrRefreshTokenFromExchangePreparer prepares the GetAcrRefreshTokenFromExchange request.

func (BaseClient) GetAcrRefreshTokenFromExchangeResponder

func (client BaseClient) GetAcrRefreshTokenFromExchangeResponder(resp *http.Response) (result RefreshToken, err error)

GetAcrRefreshTokenFromExchangeResponder handles the response to the GetAcrRefreshTokenFromExchange request. The method always closes the http.Response Body.

func (BaseClient) GetAcrRefreshTokenFromExchangeSender

func (client BaseClient) GetAcrRefreshTokenFromExchangeSender(req *http.Request) (*http.Response, error)

GetAcrRefreshTokenFromExchangeSender sends the GetAcrRefreshTokenFromExchange request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrRepositories

func (client BaseClient) GetAcrRepositories(ctx context.Context, last string, n *int32) (result Repositories, err error)

GetAcrRepositories list repositories Parameters: last - query parameter for the last item in previous query. Result set will include values lexically after last. n - query parameter for max number of items

func (BaseClient) GetAcrRepositoriesPreparer

func (client BaseClient) GetAcrRepositoriesPreparer(ctx context.Context, last string, n *int32) (*http.Request, error)

GetAcrRepositoriesPreparer prepares the GetAcrRepositories request.

func (BaseClient) GetAcrRepositoriesResponder

func (client BaseClient) GetAcrRepositoriesResponder(resp *http.Response) (result Repositories, err error)

GetAcrRepositoriesResponder handles the response to the GetAcrRepositories request. The method always closes the http.Response Body.

func (BaseClient) GetAcrRepositoriesSender

func (client BaseClient) GetAcrRepositoriesSender(req *http.Request) (*http.Response, error)

GetAcrRepositoriesSender sends the GetAcrRepositories request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrRepositoryAttributes

func (client BaseClient) GetAcrRepositoryAttributes(ctx context.Context, name string) (result RepositoryAttributes, err error)

GetAcrRepositoryAttributes get repository attributes Parameters: name - name of the image (including the namespace)

func (BaseClient) GetAcrRepositoryAttributesPreparer

func (client BaseClient) GetAcrRepositoryAttributesPreparer(ctx context.Context, name string) (*http.Request, error)

GetAcrRepositoryAttributesPreparer prepares the GetAcrRepositoryAttributes request.

func (BaseClient) GetAcrRepositoryAttributesResponder

func (client BaseClient) GetAcrRepositoryAttributesResponder(resp *http.Response) (result RepositoryAttributes, err error)

GetAcrRepositoryAttributesResponder handles the response to the GetAcrRepositoryAttributes request. The method always closes the http.Response Body.

func (BaseClient) GetAcrRepositoryAttributesSender

func (client BaseClient) GetAcrRepositoryAttributesSender(req *http.Request) (*http.Response, error)

GetAcrRepositoryAttributesSender sends the GetAcrRepositoryAttributes request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrRepositoryMetadata

func (client BaseClient) GetAcrRepositoryMetadata(ctx context.Context, name string, metadata string) (result SetObject, err error)

GetAcrRepositoryMetadata get metadata value Parameters: name - name of the image (including the namespace) metadata - name of the metadata

func (BaseClient) GetAcrRepositoryMetadataPreparer

func (client BaseClient) GetAcrRepositoryMetadataPreparer(ctx context.Context, name string, metadata string) (*http.Request, error)

GetAcrRepositoryMetadataPreparer prepares the GetAcrRepositoryMetadata request.

func (BaseClient) GetAcrRepositoryMetadataResponder

func (client BaseClient) GetAcrRepositoryMetadataResponder(resp *http.Response) (result SetObject, err error)

GetAcrRepositoryMetadataResponder handles the response to the GetAcrRepositoryMetadata request. The method always closes the http.Response Body.

func (BaseClient) GetAcrRepositoryMetadataSender

func (client BaseClient) GetAcrRepositoryMetadataSender(req *http.Request) (*http.Response, error)

GetAcrRepositoryMetadataSender sends the GetAcrRepositoryMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrTagAttributes

func (client BaseClient) GetAcrTagAttributes(ctx context.Context, name string, reference string) (result TagAttributesType, err error)

GetAcrTagAttributes get tag attributes by tag Parameters: name - name of the image (including the namespace) reference - tag or digest of the target manifest

func (BaseClient) GetAcrTagAttributesPreparer

func (client BaseClient) GetAcrTagAttributesPreparer(ctx context.Context, name string, reference string) (*http.Request, error)

GetAcrTagAttributesPreparer prepares the GetAcrTagAttributes request.

func (BaseClient) GetAcrTagAttributesResponder

func (client BaseClient) GetAcrTagAttributesResponder(resp *http.Response) (result TagAttributesType, err error)

GetAcrTagAttributesResponder handles the response to the GetAcrTagAttributes request. The method always closes the http.Response Body.

func (BaseClient) GetAcrTagAttributesSender

func (client BaseClient) GetAcrTagAttributesSender(req *http.Request) (*http.Response, error)

GetAcrTagAttributesSender sends the GetAcrTagAttributes request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrTagMetadata

func (client BaseClient) GetAcrTagMetadata(ctx context.Context, name string, reference string, metadata string) (result SetObject, err error)

GetAcrTagMetadata get metadata value Parameters: name - name of the image (including the namespace) reference - tag or digest of the target manifest metadata - name of the metadata

func (BaseClient) GetAcrTagMetadataPreparer

func (client BaseClient) GetAcrTagMetadataPreparer(ctx context.Context, name string, reference string, metadata string) (*http.Request, error)

GetAcrTagMetadataPreparer prepares the GetAcrTagMetadata request.

func (BaseClient) GetAcrTagMetadataResponder

func (client BaseClient) GetAcrTagMetadataResponder(resp *http.Response) (result SetObject, err error)

GetAcrTagMetadataResponder handles the response to the GetAcrTagMetadata request. The method always closes the http.Response Body.

func (BaseClient) GetAcrTagMetadataSender

func (client BaseClient) GetAcrTagMetadataSender(req *http.Request) (*http.Response, error)

GetAcrTagMetadataSender sends the GetAcrTagMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetAcrTags

func (client BaseClient) GetAcrTags(ctx context.Context, name string, last string, n *int32, orderby string, digest string) (result RepositoryTagsType, err error)

GetAcrTags list tags of a repository Parameters: name - name of the image (including the namespace) last - query parameter for the last item in previous query. Result set will include values lexically after last. n - query parameter for max number of items orderby - orderby query parameter digest - filter by digest

func (BaseClient) GetAcrTagsPreparer

func (client BaseClient) GetAcrTagsPreparer(ctx context.Context, name string, last string, n *int32, orderby string, digest string) (*http.Request, error)

GetAcrTagsPreparer prepares the GetAcrTags request.

func (BaseClient) GetAcrTagsResponder

func (client BaseClient) GetAcrTagsResponder(resp *http.Response) (result RepositoryTagsType, err error)

GetAcrTagsResponder handles the response to the GetAcrTags request. The method always closes the http.Response Body.

func (BaseClient) GetAcrTagsSender

func (client BaseClient) GetAcrTagsSender(req *http.Request) (*http.Response, error)

GetAcrTagsSender sends the GetAcrTags request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetBlob

func (client BaseClient) GetBlob(ctx context.Context, name string, digest string) (result String, err error)

GetBlob retrieve the blob from the registry identified by digest. Parameters: name - name of the image (including the namespace) digest - digest of a desired BLOB

func (BaseClient) GetBlobPreparer

func (client BaseClient) GetBlobPreparer(ctx context.Context, name string, digest string) (*http.Request, error)

GetBlobPreparer prepares the GetBlob request.

func (BaseClient) GetBlobResponder

func (client BaseClient) GetBlobResponder(resp *http.Response) (result String, err error)

GetBlobResponder handles the response to the GetBlob request. The method always closes the http.Response Body.

func (BaseClient) GetBlobSender

func (client BaseClient) GetBlobSender(req *http.Request) (*http.Response, error)

GetBlobSender sends the GetBlob request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetBlobUploadStatus

func (client BaseClient) GetBlobUploadStatus(ctx context.Context, name string, UUID string) (result autorest.Response, err error)

GetBlobUploadStatus retrieve status of upload identified by uuid. The primary purpose of this endpoint is to resolve the current status of a resumable upload. Parameters: name - name of the image (including the namespace) UUID - a uuid identifying the upload.

func (BaseClient) GetBlobUploadStatusPreparer

func (client BaseClient) GetBlobUploadStatusPreparer(ctx context.Context, name string, UUID string) (*http.Request, error)

GetBlobUploadStatusPreparer prepares the GetBlobUploadStatus request.

func (BaseClient) GetBlobUploadStatusResponder

func (client BaseClient) GetBlobUploadStatusResponder(resp *http.Response) (result autorest.Response, err error)

GetBlobUploadStatusResponder handles the response to the GetBlobUploadStatus request. The method always closes the http.Response Body.

func (BaseClient) GetBlobUploadStatusSender

func (client BaseClient) GetBlobUploadStatusSender(req *http.Request) (*http.Response, error)

GetBlobUploadStatusSender sends the GetBlobUploadStatus request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetDockerRegistryV2Support

func (client BaseClient) GetDockerRegistryV2Support(ctx context.Context) (result autorest.Response, err error)

GetDockerRegistryV2Support tells whether this Docker Registry instance supports Docker Registry HTTP API v2

func (BaseClient) GetDockerRegistryV2SupportPreparer

func (client BaseClient) GetDockerRegistryV2SupportPreparer(ctx context.Context) (*http.Request, error)

GetDockerRegistryV2SupportPreparer prepares the GetDockerRegistryV2Support request.

func (BaseClient) GetDockerRegistryV2SupportResponder

func (client BaseClient) GetDockerRegistryV2SupportResponder(resp *http.Response) (result autorest.Response, err error)

GetDockerRegistryV2SupportResponder handles the response to the GetDockerRegistryV2Support request. The method always closes the http.Response Body.

func (BaseClient) GetDockerRegistryV2SupportSender

func (client BaseClient) GetDockerRegistryV2SupportSender(req *http.Request) (*http.Response, error)

GetDockerRegistryV2SupportSender sends the GetDockerRegistryV2Support request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetManifest

func (client BaseClient) GetManifest(ctx context.Context, name string, reference string, accept string) (result Manifest, err error)

GetManifest pulls the image manifest file associated with the specified name and reference. Reference may be a tag or a digest Parameters: name - name of the image (including the namespace) reference - a tag or a digest, pointing to a specific image accept - accept header string delimited by comma. For example, application/vnd.docker.distribution.manifest.v2+json

func (BaseClient) GetManifestPreparer

func (client BaseClient) GetManifestPreparer(ctx context.Context, name string, reference string, accept string) (*http.Request, error)

GetManifestPreparer prepares the GetManifest request.

func (BaseClient) GetManifestResponder

func (client BaseClient) GetManifestResponder(resp *http.Response) (result Manifest, err error)

GetManifestResponder handles the response to the GetManifest request. The method always closes the http.Response Body.

func (BaseClient) GetManifestSender

func (client BaseClient) GetManifestSender(req *http.Request) (*http.Response, error)

GetManifestSender sends the GetManifest request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetRepositories

func (client BaseClient) GetRepositories(ctx context.Context, last string, n *int32) (result Repositories, err error)

GetRepositories list repositories Parameters: last - query parameter for the last item in previous query. Result set will include values lexically after last. n - query parameter for max number of items

func (BaseClient) GetRepositoriesPreparer

func (client BaseClient) GetRepositoriesPreparer(ctx context.Context, last string, n *int32) (*http.Request, error)

GetRepositoriesPreparer prepares the GetRepositories request.

func (BaseClient) GetRepositoriesResponder

func (client BaseClient) GetRepositoriesResponder(resp *http.Response) (result Repositories, err error)

GetRepositoriesResponder handles the response to the GetRepositories request. The method always closes the http.Response Body.

func (BaseClient) GetRepositoriesSender

func (client BaseClient) GetRepositoriesSender(req *http.Request) (*http.Response, error)

GetRepositoriesSender sends the GetRepositories request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetTagList

func (client BaseClient) GetTagList(ctx context.Context, name string) (result RepositoryTags, err error)

GetTagList fetch the tags under the repository identified by name Parameters: name - name of the image (including the namespace)

func (BaseClient) GetTagListPreparer

func (client BaseClient) GetTagListPreparer(ctx context.Context, name string) (*http.Request, error)

GetTagListPreparer prepares the GetTagList request.

func (BaseClient) GetTagListResponder

func (client BaseClient) GetTagListResponder(resp *http.Response) (result RepositoryTags, err error)

GetTagListResponder handles the response to the GetTagList request. The method always closes the http.Response Body.

func (BaseClient) GetTagListSender

func (client BaseClient) GetTagListSender(req *http.Request) (*http.Response, error)

GetTagListSender sends the GetTagList request. The method will close the http.Response Body if it receives an error.

func (BaseClient) ListManifestMetadata

func (client BaseClient) ListManifestMetadata(ctx context.Context, name string, reference string) (result ManifestMetadataList, err error)

ListManifestMetadata list manifest metadata Parameters: name - name of the image (including the namespace) reference - tag or digest of the target manifest

func (BaseClient) ListManifestMetadataPreparer

func (client BaseClient) ListManifestMetadataPreparer(ctx context.Context, name string, reference string) (*http.Request, error)

ListManifestMetadataPreparer prepares the ListManifestMetadata request.

func (BaseClient) ListManifestMetadataResponder

func (client BaseClient) ListManifestMetadataResponder(resp *http.Response) (result ManifestMetadataList, err error)

ListManifestMetadataResponder handles the response to the ListManifestMetadata request. The method always closes the http.Response Body.

func (BaseClient) ListManifestMetadataSender

func (client BaseClient) ListManifestMetadataSender(req *http.Request) (*http.Response, error)

ListManifestMetadataSender sends the ListManifestMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) ListRepositoryMetadata

func (client BaseClient) ListRepositoryMetadata(ctx context.Context, name string) (result RepositoryMetadata, err error)

ListRepositoryMetadata list repository metadata Parameters: name - name of the image (including the namespace)

func (BaseClient) ListRepositoryMetadataPreparer

func (client BaseClient) ListRepositoryMetadataPreparer(ctx context.Context, name string) (*http.Request, error)

ListRepositoryMetadataPreparer prepares the ListRepositoryMetadata request.

func (BaseClient) ListRepositoryMetadataResponder

func (client BaseClient) ListRepositoryMetadataResponder(resp *http.Response) (result RepositoryMetadata, err error)

ListRepositoryMetadataResponder handles the response to the ListRepositoryMetadata request. The method always closes the http.Response Body.

func (BaseClient) ListRepositoryMetadataSender

func (client BaseClient) ListRepositoryMetadataSender(req *http.Request) (*http.Response, error)

ListRepositoryMetadataSender sends the ListRepositoryMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) ListTagMetadata

func (client BaseClient) ListTagMetadata(ctx context.Context, name string, reference string) (result TagMetadataList, err error)

ListTagMetadata list tag metadata Parameters: name - name of the image (including the namespace) reference - tag or digest of the target manifest

func (BaseClient) ListTagMetadataPreparer

func (client BaseClient) ListTagMetadataPreparer(ctx context.Context, name string, reference string) (*http.Request, error)

ListTagMetadataPreparer prepares the ListTagMetadata request.

func (BaseClient) ListTagMetadataResponder

func (client BaseClient) ListTagMetadataResponder(resp *http.Response) (result TagMetadataList, err error)

ListTagMetadataResponder handles the response to the ListTagMetadata request. The method always closes the http.Response Body.

func (BaseClient) ListTagMetadataSender

func (client BaseClient) ListTagMetadataSender(req *http.Request) (*http.Response, error)

ListTagMetadataSender sends the ListTagMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) StartBlobUpload

func (client BaseClient) StartBlobUpload(ctx context.Context, name string, digest string, from string, mount string) (result autorest.Response, err error)

StartBlobUpload upload a blob identified by the digest parameter in single request. This upload will not be resumable unless a recoverable error is returned. Parameters: name - name of the image (including the namespace) digest - digest of uploaded blob. If present, the upload will be completed, in a single request, with contents of the request body as the resulting blob.

func (BaseClient) StartBlobUploadPreparer

func (client BaseClient) StartBlobUploadPreparer(ctx context.Context, name string, digest string, from string, mount string) (*http.Request, error)

StartBlobUploadPreparer prepares the StartBlobUpload request.

func (BaseClient) StartBlobUploadResponder

func (client BaseClient) StartBlobUploadResponder(resp *http.Response) (result autorest.Response, err error)

StartBlobUploadResponder handles the response to the StartBlobUpload request. The method always closes the http.Response Body.

func (BaseClient) StartBlobUploadSender

func (client BaseClient) StartBlobUploadSender(req *http.Request) (*http.Response, error)

StartBlobUploadSender sends the StartBlobUpload request. The method will close the http.Response Body if it receives an error.

func (BaseClient) UpdateAcrManifestAttributes

func (client BaseClient) UpdateAcrManifestAttributes(ctx context.Context, name string, reference string, value *ChangeableAttributes) (result autorest.Response, err error)

UpdateAcrManifestAttributes update attributes of a manifest Parameters: name - name of the image (including the namespace) reference - a tag or a digest, pointing to a specific image value - repository attribute value

func (BaseClient) UpdateAcrManifestAttributesPreparer

func (client BaseClient) UpdateAcrManifestAttributesPreparer(ctx context.Context, name string, reference string, value *ChangeableAttributes) (*http.Request, error)

UpdateAcrManifestAttributesPreparer prepares the UpdateAcrManifestAttributes request.

func (BaseClient) UpdateAcrManifestAttributesResponder

func (client BaseClient) UpdateAcrManifestAttributesResponder(resp *http.Response) (result autorest.Response, err error)

UpdateAcrManifestAttributesResponder handles the response to the UpdateAcrManifestAttributes request. The method always closes the http.Response Body.

func (BaseClient) UpdateAcrManifestAttributesSender

func (client BaseClient) UpdateAcrManifestAttributesSender(req *http.Request) (*http.Response, error)

UpdateAcrManifestAttributesSender sends the UpdateAcrManifestAttributes request. The method will close the http.Response Body if it receives an error.

func (BaseClient) UpdateAcrManifestMetadata

func (client BaseClient) UpdateAcrManifestMetadata(ctx context.Context, name string, reference string, metadata string, value *interface{}) (result autorest.Response, err error)

UpdateAcrManifestMetadata add or update a metadata of a manifest Parameters: name - name of the image (including the namespace) reference - tag or digest of the target manifest metadata - name of the metadata

func (BaseClient) UpdateAcrManifestMetadataPreparer

func (client BaseClient) UpdateAcrManifestMetadataPreparer(ctx context.Context, name string, reference string, metadata string, value *interface{}) (*http.Request, error)

UpdateAcrManifestMetadataPreparer prepares the UpdateAcrManifestMetadata request.

func (BaseClient) UpdateAcrManifestMetadataResponder

func (client BaseClient) UpdateAcrManifestMetadataResponder(resp *http.Response) (result autorest.Response, err error)

UpdateAcrManifestMetadataResponder handles the response to the UpdateAcrManifestMetadata request. The method always closes the http.Response Body.

func (BaseClient) UpdateAcrManifestMetadataSender

func (client BaseClient) UpdateAcrManifestMetadataSender(req *http.Request) (*http.Response, error)

UpdateAcrManifestMetadataSender sends the UpdateAcrManifestMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) UpdateAcrRepositoryAttributes

func (client BaseClient) UpdateAcrRepositoryAttributes(ctx context.Context, name string, value *ChangeableAttributes) (result autorest.Response, err error)

UpdateAcrRepositoryAttributes update the attribute identified by `name` where `reference` is the name of the repository. Parameters: name - name of the image (including the namespace) value - repository attribute value

func (BaseClient) UpdateAcrRepositoryAttributesPreparer

func (client BaseClient) UpdateAcrRepositoryAttributesPreparer(ctx context.Context, name string, value *ChangeableAttributes) (*http.Request, error)

UpdateAcrRepositoryAttributesPreparer prepares the UpdateAcrRepositoryAttributes request.

func (BaseClient) UpdateAcrRepositoryAttributesResponder

func (client BaseClient) UpdateAcrRepositoryAttributesResponder(resp *http.Response) (result autorest.Response, err error)

UpdateAcrRepositoryAttributesResponder handles the response to the UpdateAcrRepositoryAttributes request. The method always closes the http.Response Body.

func (BaseClient) UpdateAcrRepositoryAttributesSender

func (client BaseClient) UpdateAcrRepositoryAttributesSender(req *http.Request) (*http.Response, error)

UpdateAcrRepositoryAttributesSender sends the UpdateAcrRepositoryAttributes request. The method will close the http.Response Body if it receives an error.

func (BaseClient) UpdateAcrRepositoryMetadata

func (client BaseClient) UpdateAcrRepositoryMetadata(ctx context.Context, name string, metadata string, value *interface{}) (result autorest.Response, err error)

UpdateAcrRepositoryMetadata add or update a metadata of a repository Parameters: name - name of the image (including the namespace) metadata - name of the metadata

func (BaseClient) UpdateAcrRepositoryMetadataPreparer

func (client BaseClient) UpdateAcrRepositoryMetadataPreparer(ctx context.Context, name string, metadata string, value *interface{}) (*http.Request, error)

UpdateAcrRepositoryMetadataPreparer prepares the UpdateAcrRepositoryMetadata request.

func (BaseClient) UpdateAcrRepositoryMetadataResponder

func (client BaseClient) UpdateAcrRepositoryMetadataResponder(resp *http.Response) (result autorest.Response, err error)

UpdateAcrRepositoryMetadataResponder handles the response to the UpdateAcrRepositoryMetadata request. The method always closes the http.Response Body.

func (BaseClient) UpdateAcrRepositoryMetadataSender

func (client BaseClient) UpdateAcrRepositoryMetadataSender(req *http.Request) (*http.Response, error)

UpdateAcrRepositoryMetadataSender sends the UpdateAcrRepositoryMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) UpdateAcrTagAttributes

func (client BaseClient) UpdateAcrTagAttributes(ctx context.Context, name string, reference string, value *ChangeableAttributes) (result autorest.Response, err error)

UpdateAcrTagAttributes update tag attributes Parameters: name - name of the image (including the namespace) reference - tag or digest of the target manifest value - repository attribute value

func (BaseClient) UpdateAcrTagAttributesPreparer

func (client BaseClient) UpdateAcrTagAttributesPreparer(ctx context.Context, name string, reference string, value *ChangeableAttributes) (*http.Request, error)

UpdateAcrTagAttributesPreparer prepares the UpdateAcrTagAttributes request.

func (BaseClient) UpdateAcrTagAttributesResponder

func (client BaseClient) UpdateAcrTagAttributesResponder(resp *http.Response) (result autorest.Response, err error)

UpdateAcrTagAttributesResponder handles the response to the UpdateAcrTagAttributes request. The method always closes the http.Response Body.

func (BaseClient) UpdateAcrTagAttributesSender

func (client BaseClient) UpdateAcrTagAttributesSender(req *http.Request) (*http.Response, error)

UpdateAcrTagAttributesSender sends the UpdateAcrTagAttributes request. The method will close the http.Response Body if it receives an error.

func (BaseClient) UpdateAcrTagMetadata

func (client BaseClient) UpdateAcrTagMetadata(ctx context.Context, name string, reference string, metadata string, value *interface{}) (result autorest.Response, err error)

UpdateAcrTagMetadata add or update a metadata of a tag Parameters: name - name of the image (including the namespace) reference - tag or digest of the target manifest metadata - name of the metadata

func (BaseClient) UpdateAcrTagMetadataPreparer

func (client BaseClient) UpdateAcrTagMetadataPreparer(ctx context.Context, name string, reference string, metadata string, value *interface{}) (*http.Request, error)

UpdateAcrTagMetadataPreparer prepares the UpdateAcrTagMetadata request.

func (BaseClient) UpdateAcrTagMetadataResponder

func (client BaseClient) UpdateAcrTagMetadataResponder(resp *http.Response) (result autorest.Response, err error)

UpdateAcrTagMetadataResponder handles the response to the UpdateAcrTagMetadata request. The method always closes the http.Response Body.

func (BaseClient) UpdateAcrTagMetadataSender

func (client BaseClient) UpdateAcrTagMetadataSender(req *http.Request) (*http.Response, error)

UpdateAcrTagMetadataSender sends the UpdateAcrTagMetadata request. The method will close the http.Response Body if it receives an error.

func (BaseClient) UploadBlobContent

func (client BaseClient) UploadBlobContent(ctx context.Context, name string, UUID string) (result autorest.Response, err error)

UploadBlobContent upload a stream of data without completing the upload. Parameters: name - name of the image (including the namespace) UUID - a uuid identifying the upload.

func (BaseClient) UploadBlobContentPreparer

func (client BaseClient) UploadBlobContentPreparer(ctx context.Context, name string, UUID string) (*http.Request, error)

UploadBlobContentPreparer prepares the UploadBlobContent request.

func (BaseClient) UploadBlobContentResponder

func (client BaseClient) UploadBlobContentResponder(resp *http.Response) (result autorest.Response, err error)

UploadBlobContentResponder handles the response to the UploadBlobContent request. The method always closes the http.Response Body.

func (BaseClient) UploadBlobContentSender

func (client BaseClient) UploadBlobContentSender(req *http.Request) (*http.Response, error)

UploadBlobContentSender sends the UploadBlobContent request. The method will close the http.Response Body if it receives an error.

type ChangeableAttributes

type ChangeableAttributes struct {
	// DeleteEnabled - Delete enabled
	DeleteEnabled *bool `json:"deleteEnabled,omitempty"`
	// WriteEnabled - Write enabled
	WriteEnabled *bool `json:"writeEnabled,omitempty"`
	// ListEnabled - List enabled
	ListEnabled *bool `json:"listEnabled,omitempty"`
	// ReadEnabled - Read enabled
	ReadEnabled *bool `json:"readEnabled,omitempty"`
}

ChangeableAttributes ...

type DeletedRepository

type DeletedRepository struct {
	autorest.Response `json:"-"`
	// ManifestsDeleted - SHA of the deleted image
	ManifestsDeleted *[]string `json:"manifestsDeleted,omitempty"`
	// TagsDeleted - Tag of the deleted image
	TagsDeleted *[]string `json:"tagsDeleted,omitempty"`
}

DeletedRepository deleted repository

type ErrorInfo

type ErrorInfo struct {
	// Code - Error code
	Code *string `json:"code,omitempty"`
	// Message - Error message
	Message *string `json:"message,omitempty"`
	// Detail - Error details
	Detail interface{} `json:"detail,omitempty"`
}

ErrorInfo error information

type Errors

type Errors struct {
	// Errors - Array of detailed error
	Errors *[]ErrorInfo `json:"errors,omitempty"`
}

Errors acr error response describing why the operation failed

type FsLayer

type FsLayer struct {
	// BlobSum - SHA of an image layer
	BlobSum *string `json:"blobSum,omitempty"`
}

FsLayer image layer information

type History

type History struct {
	// V1Compatibility - The raw v1 compatibility information
	V1Compatibility *string `json:"v1Compatibility,omitempty"`
}

History a list of unstructured historical data for v1 compatibility

type ImageSignature

type ImageSignature struct {
	// Header - A JSON web signature
	Header *JWK `json:"header,omitempty"`
	// Signature - A signature for the image manifest, signed by a libtrust private key
	Signature *string `json:"signature,omitempty"`
	// Protected - The signed protected header
	Protected *string `json:"protected,omitempty"`
}

ImageSignature signature of a signed manifest

type JWK

type JWK struct {
	Jwk *JWKHeader `json:"jwk,omitempty"`
	// Alg - The algorithm used to sign or encrypt the JWT
	Alg *string `json:"alg,omitempty"`
}

JWK a JSON web signature

type JWKHeader

type JWKHeader struct {
	// Crv - crv value
	Crv *string `json:"crv,omitempty"`
	// Kid - kid value
	Kid *string `json:"kid,omitempty"`
	// Kty - kty value
	Kty *string `json:"kty,omitempty"`
	// X - x value
	X *string `json:"x,omitempty"`
	// Y - y value
	Y *string `json:"y,omitempty"`
}

JWKHeader JSON web key parameter

type Manifest

type Manifest struct {
	autorest.Response `json:"-"`
	// SchemaVersion - Schema version
	SchemaVersion *int32 `json:"schemaVersion,omitempty"`
	// MediaType - Media type usually application/vnd.docker.distribution.manifest.v2+json if this is in the accept header
	MediaType *string `json:"mediaType,omitempty"`
	// Config - V2 image config descriptor
	Config *V2Descriptor `json:"config,omitempty"`
	// Layers - List of V2 image layer information
	Layers *[]V2Descriptor `json:"layers,omitempty"`
	// Architecture - CPU architecture
	Architecture *string `json:"architecture,omitempty"`
	// Name - Image name
	Name *string `json:"name,omitempty"`
	// Tag - Image tag
	Tag *string `json:"tag,omitempty"`
	// FsLayers - List of layer information
	FsLayers *[]FsLayer `json:"fsLayers,omitempty"`
	// History - Image history
	History *[]History `json:"history,omitempty"`
	// Signatures - Image signature
	Signatures *[]ImageSignature `json:"signatures,omitempty"`
}

Manifest returns the requested manifest file

type ManifestAttributes

type ManifestAttributes struct {
	autorest.Response `json:"-"`
	// Registry - Registry name
	Registry *string `json:"registry,omitempty"`
	// ImageName - Image name
	ImageName *string `json:"imageName,omitempty"`
	// ManifestAttributes - Manifest attributes
	ManifestAttributes *ManifestAttributesBase `json:"manifest,omitempty"`
}

ManifestAttributes manifest attributes details

type ManifestAttributesBase

type ManifestAttributesBase struct {
	// Digest - Manifest digest
	Digest *string `json:"digest,omitempty"`
	// ImageSize - Image size
	ImageSize *int64 `json:"imageSize,omitempty"`
	// CreatedTime - Created time
	CreatedTime *string `json:"createdTime,omitempty"`
	// LastUpdateTime - Last update time
	LastUpdateTime *string `json:"lastUpdateTime,omitempty"`
	// Architecture - CPU architecture
	Architecture *string `json:"architecture,omitempty"`
	// Os - Operating system
	Os *string `json:"os,omitempty"`
	// MediaType - Media type
	MediaType *string `json:"mediaType,omitempty"`
	// ConfigMediaType - Config blob media type
	ConfigMediaType *string `json:"configMediaType,omitempty"`
	// Tags - List of tags
	Tags *[]string `json:"tags,omitempty"`
	// ChangeableAttributes - Changeable attributes
	ChangeableAttributes *ChangeableAttributes `json:"changeableAttributes,omitempty"`
}

ManifestAttributesBase manifest details

type ManifestAttributesManifest

type ManifestAttributesManifest struct {
	// References - List of manifest attributes details
	References *[]ManifestAttributesManifestReferences `json:"references,omitempty"`
	// QuarantineTag - Quarantine tag name
	QuarantineTag *string `json:"quarantineTag,omitempty"`
}

ManifestAttributesManifest list of manifest attributes

type ManifestAttributesManifestReferences

type ManifestAttributesManifestReferences struct {
	// Digest - Manifest digest
	Digest *string `json:"digest,omitempty"`
	// Architecture - CPU architecture
	Architecture *string `json:"architecture,omitempty"`
	// Os - Operating system
	Os *string `json:"os,omitempty"`
}

ManifestAttributesManifestReferences manifest attributes details

type ManifestChangeableAttributes

type ManifestChangeableAttributes struct {
	// DeleteEnabled - Delete enabled
	DeleteEnabled *bool `json:"deleteEnabled,omitempty"`
	// WriteEnabled - Write enabled
	WriteEnabled *bool `json:"writeEnabled,omitempty"`
	// ListEnabled - List enabled
	ListEnabled *bool `json:"listEnabled,omitempty"`
	// ReadEnabled - Read enabled
	ReadEnabled *bool `json:"readEnabled,omitempty"`
	// QuarantineState - Quarantine state
	QuarantineState *string `json:"quarantineState,omitempty"`
	// QuarantineDetails - Quarantine details
	QuarantineDetails *string `json:"quarantineDetails,omitempty"`
}

ManifestChangeableAttributes changeable attributes

type ManifestMetadataList

type ManifestMetadataList struct {
	autorest.Response `json:"-"`
	Registry          *string   `json:"registry,omitempty"`
	ImageName         *string   `json:"imageName,omitempty"`
	Digest            *string   `json:"digest,omitempty"`
	Metadata          *[]string `json:"metadata,omitempty"`
}

ManifestMetadataList ...

type Manifests

type Manifests struct {
	autorest.Response `json:"-"`
	// Registry - Registry name
	Registry *string `json:"registry,omitempty"`
	// ImageName - Image name
	ImageName *string `json:"imageName,omitempty"`
	// ManifestsAttributes - List of manifests
	ManifestsAttributes *[]ManifestAttributesBase `json:"manifests,omitempty"`
}

Manifests manifest attributes

type RefreshToken

type RefreshToken struct {
	autorest.Response `json:"-"`
	// RefreshToken - The refresh token to be used for generating access tokens
	RefreshToken *string `json:"refresh_token,omitempty"`
}

RefreshToken ...

type Repositories

type Repositories struct {
	autorest.Response `json:"-"`
	// Names - Repository names
	Names *[]string `json:"repositories,omitempty"`
}

Repositories list of repositories

type RepositoryAttributes

type RepositoryAttributes struct {
	autorest.Response `json:"-"`
	// Registry - Registry name
	Registry *string `json:"registry,omitempty"`
	// ImageName - Image name
	ImageName *string `json:"imageName,omitempty"`
	// CreatedTime - Image created time
	CreatedTime *string `json:"createdTime,omitempty"`
	// LastUpdateTime - Image last update time
	LastUpdateTime *string `json:"lastUpdateTime,omitempty"`
	// ManifestCount - Number of the manifests
	ManifestCount *int32 `json:"manifestCount,omitempty"`
	// TagCount - Number of the tags
	TagCount *int32 `json:"tagCount,omitempty"`
	// ChangeableAttributes - Changeable attributes
	ChangeableAttributes *ChangeableAttributes `json:"changeableAttributes,omitempty"`
}

RepositoryAttributes repository attributes

type RepositoryMetadata

type RepositoryMetadata struct {
	autorest.Response `json:"-"`
	Registry          *string   `json:"registry,omitempty"`
	ImageName         *string   `json:"imageName,omitempty"`
	Metadata          *[]string `json:"metadata,omitempty"`
}

RepositoryMetadata ...

type RepositoryTags

type RepositoryTags struct {
	autorest.Response `json:"-"`
	// Name - Name of the image
	Name *string `json:"name,omitempty"`
	// Tags - List of tags
	Tags *[]string `json:"tags,omitempty"`
}

RepositoryTags result of the request to list tags of the image

type RepositoryTagsType

type RepositoryTagsType struct {
	autorest.Response `json:"-"`
	// Registry - Registry name
	Registry *string `json:"registry,omitempty"`
	// ImageName - Image name
	ImageName *string `json:"imageName,omitempty"`
	// TagsAttributes - List of tag attribute details
	TagsAttributes *[]TagAttributesBase `json:"tags,omitempty"`
}

RepositoryTagsType list of tag details

type SetObject

type SetObject struct {
	autorest.Response `json:"-"`
	Value             interface{} `json:"value,omitempty"`
}

SetObject ...

type String

type String struct {
	autorest.Response `json:"-"`
	Value             *string `json:"value,omitempty"`
}

String ...

type TagAttributes

type TagAttributes struct {
	// Registry - Registry name
	Registry *string `json:"registry,omitempty"`
	// ImageName - Image name
	ImageName *string `json:"imageName,omitempty"`
	// Tag - Tag attributes
	Tag *TagAttributesTag `json:"tag,omitempty"`
}

TagAttributes tag attributes

type TagAttributesBase

type TagAttributesBase struct {
	// Name - Tag name
	Name *string `json:"name,omitempty"`
	// Digest - Tag digest
	Digest *string `json:"digest,omitempty"`
	// CreatedTime - Tag created time
	CreatedTime *string `json:"createdTime,omitempty"`
	// LastUpdateTime - Tag last update time
	LastUpdateTime *string `json:"lastUpdateTime,omitempty"`
	// Signed - Is signed
	Signed *bool `json:"signed,omitempty"`
	// ChangeableAttributes - Changeable attributes
	ChangeableAttributes *ChangeableAttributes `json:"changeableAttributes,omitempty"`
}

TagAttributesBase tag attribute details

type TagAttributesTag

type TagAttributesTag struct {
	// SignatureRecord - SignatureRecord value
	SignatureRecord *string `json:"signatureRecord,omitempty"`
}

TagAttributesTag tag

type TagAttributesType

type TagAttributesType struct {
	autorest.Response `json:"-"`
	// Registry - Registry name
	Registry *string `json:"registry,omitempty"`
	// ImageName - Image name
	ImageName *string `json:"imageName,omitempty"`
	// TagAttributes - List of tag attribute details
	TagAttributes *TagAttributesBase `json:"tag,omitempty"`
}

TagAttributesType tag attributes

type TagMetadataList

type TagMetadataList struct {
	autorest.Response `json:"-"`
	Registry          *string   `json:"registry,omitempty"`
	ImageName         *string   `json:"imageName,omitempty"`
	TagName           *string   `json:"tagName,omitempty"`
	Metadata          *[]string `json:"metadata,omitempty"`
}

TagMetadataList ...

type V2Descriptor

type V2Descriptor struct {
	// MediaType - Layer media type
	MediaType *string `json:"mediaType,omitempty"`
	// Size - Layer size
	Size *int64 `json:"size,omitempty"`
	// Digest - Layer digest
	Digest *string `json:"digest,omitempty"`
}

V2Descriptor docker V2 image layer descriptor including config and layers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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