azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/containerregistry/runtime/2019-07/containerregistry Index | Files | Directories

package containerregistry

import "github.com/Azure/azure-sdk-for-go/services/preview/containerregistry/runtime/2019-07/containerregistry"

Package containerregistry implements the Azure ARM Containerregistry service API version 2019-07-15-preview.

Metadata API definition for the Azure Container Registry runtime

Index

Package Files

client.go models.go version.go

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AccessToken Uses

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

AccessToken ...

type AcrErrorInfo Uses

type AcrErrorInfo 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"`
}

AcrErrorInfo error information

type AcrErrors Uses

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

AcrErrors acr error response describing why the operation failed

type AcrManifestAttributes Uses

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

AcrManifestAttributes manifest attributes details

type AcrManifestAttributesBase Uses

type AcrManifestAttributesBase struct {
    // Digest - Manifest
    Digest *string `json:"digest,omitempty"`
    // ImageSize - Image size
    ImageSize *int32 `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"`
}

AcrManifestAttributesBase manifest details

type AcrManifests Uses

type AcrManifests 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 *[]AcrManifestAttributesBase `json:"manifests,omitempty"`
}

AcrManifests manifest attributes

type AcrRepositoryTags Uses

type AcrRepositoryTags 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 *[]AcrTagAttributesBase `json:"tags,omitempty"`
}

AcrRepositoryTags list of tag details

type AcrTagAttributes Uses

type AcrTagAttributes 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 *AcrTagAttributesBase `json:"tag,omitempty"`
}

AcrTagAttributes tag attributes

type AcrTagAttributesBase Uses

type AcrTagAttributesBase 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"`
}

AcrTagAttributesBase tag attribute details

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    LoginURI string
}

BaseClient is the base client for Containerregistry.

func New Uses

func New(loginURI string) BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults Uses

func NewWithoutDefaults(loginURI string) BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

func (BaseClient) CreateManifest Uses

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 Uses

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

CreateManifestPreparer prepares the CreateManifest request.

func (BaseClient) CreateManifestResponder Uses

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 Uses

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) DeleteAcrRepository Uses

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) DeleteAcrRepositoryPreparer Uses

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

DeleteAcrRepositoryPreparer prepares the DeleteAcrRepository request.

func (BaseClient) DeleteAcrRepositoryResponder Uses

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 Uses

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 Uses

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) DeleteAcrTagPreparer Uses

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

DeleteAcrTagPreparer prepares the DeleteAcrTag request.

func (BaseClient) DeleteAcrTagResponder Uses

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 Uses

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 Uses

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 Uses

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

DeleteManifestPreparer prepares the DeleteManifest request.

func (BaseClient) DeleteManifestResponder Uses

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 Uses

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) GetAcrAccessToken Uses

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 Uses

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 Uses

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

GetAcrAccessTokenFromLoginPreparer prepares the GetAcrAccessTokenFromLogin request.

func (BaseClient) GetAcrAccessTokenFromLoginResponder Uses

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 Uses

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 Uses

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

GetAcrAccessTokenPreparer prepares the GetAcrAccessToken request.

func (BaseClient) GetAcrAccessTokenResponder Uses

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 Uses

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 Uses

func (client BaseClient) GetAcrManifestAttributes(ctx context.Context, name string, reference string) (result AcrManifestAttributes, 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 Uses

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

GetAcrManifestAttributesPreparer prepares the GetAcrManifestAttributes request.

func (BaseClient) GetAcrManifestAttributesResponder Uses

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

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

func (BaseClient) GetAcrManifestAttributesSender Uses

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) GetAcrManifests Uses

func (client BaseClient) GetAcrManifests(ctx context.Context, name string, last string, n *int32, orderby string) (result AcrManifests, 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 Uses

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 Uses

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

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

func (BaseClient) GetAcrManifestsSender Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetAcrRepositoriesPreparer prepares the GetAcrRepositories request.

func (BaseClient) GetAcrRepositoriesResponder Uses

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 Uses

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 Uses

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 Uses

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

GetAcrRepositoryAttributesPreparer prepares the GetAcrRepositoryAttributes request.

func (BaseClient) GetAcrRepositoryAttributesResponder Uses

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 Uses

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) GetAcrTagAttributes Uses

func (client BaseClient) GetAcrTagAttributes(ctx context.Context, name string, reference string) (result AcrTagAttributes, 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 Uses

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

GetAcrTagAttributesPreparer prepares the GetAcrTagAttributes request.

func (BaseClient) GetAcrTagAttributesResponder Uses

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

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

func (BaseClient) GetAcrTagAttributesSender Uses

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) GetAcrTags Uses

func (client BaseClient) GetAcrTags(ctx context.Context, name string, last string, n *int32, orderby string, digest string) (result AcrRepositoryTags, 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 Uses

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 Uses

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

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

func (BaseClient) GetAcrTagsSender Uses

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) GetDockerRegistryV2Support Uses

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 Uses

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

GetDockerRegistryV2SupportPreparer prepares the GetDockerRegistryV2Support request.

func (BaseClient) GetDockerRegistryV2SupportResponder Uses

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 Uses

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 Uses

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 Uses

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

GetManifestPreparer prepares the GetManifest request.

func (BaseClient) GetManifestResponder Uses

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 Uses

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 Uses

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 Uses

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

GetRepositoriesPreparer prepares the GetRepositories request.

func (BaseClient) GetRepositoriesResponder Uses

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 Uses

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 Uses

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 Uses

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

GetTagListPreparer prepares the GetTagList request.

func (BaseClient) GetTagListResponder Uses

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 Uses

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) UpdateAcrManifestAttributes Uses

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 Uses

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

UpdateAcrManifestAttributesPreparer prepares the UpdateAcrManifestAttributes request.

func (BaseClient) UpdateAcrManifestAttributesResponder Uses

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 Uses

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) UpdateAcrRepositoryAttributes Uses

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 Uses

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

UpdateAcrRepositoryAttributesPreparer prepares the UpdateAcrRepositoryAttributes request.

func (BaseClient) UpdateAcrRepositoryAttributesResponder Uses

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 Uses

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) UpdateAcrTagAttributes Uses

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 Uses

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

UpdateAcrTagAttributesPreparer prepares the UpdateAcrTagAttributes request.

func (BaseClient) UpdateAcrTagAttributesResponder Uses

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 Uses

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.

type ChangeableAttributes Uses

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 Uses

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 FsLayer Uses

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

FsLayer image layer information

type History Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 ManifestAttributesManifest Uses

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 Uses

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 Uses

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 RefreshToken Uses

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 Uses

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

Repositories list of repositories

type RepositoryAttributes Uses

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 RepositoryTags Uses

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 SetObject Uses

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

SetObject ...

type TagAttributes Uses

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 TagAttributesTag Uses

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

TagAttributesTag tag

type V2Descriptor Uses

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

V2Descriptor docker V2 image layer descriptor including config and layers

Directories

PathSynopsis
containerregistryapi

Package containerregistry imports 6 packages (graph) and is imported by 3 packages. Updated 2019-08-30. Refresh now. Tools for package owners.