Documentation ¶
Index ¶
- type AcrCLIClientInterface
- func (_m *AcrCLIClientInterface) DeleteAcrTag(ctx context.Context, repoName string, reference string) (*autorest.Response, error)
- func (_m *AcrCLIClientInterface) DeleteManifest(ctx context.Context, repoName string, reference string) (*autorest.Response, error)
- func (_m *AcrCLIClientInterface) GetAcrManifests(ctx context.Context, repoName string, orderBy string, last string) (*acr.Manifests, error)
- func (_m *AcrCLIClientInterface) GetAcrTags(ctx context.Context, repoName string, orderBy string, last string) (*acr.RepositoryTagsType, error)
- func (_m *AcrCLIClientInterface) GetManifest(ctx context.Context, repoName string, reference string) ([]byte, error)
- type BaseClientAPI
- func (_m *BaseClientAPI) CancelBlobUpload(ctx context.Context, name string, UUID string) (autorest.Response, error)
- func (_m *BaseClientAPI) CheckBlobExistence(ctx context.Context, name string, digest string) (autorest.Response, error)
- func (_m *BaseClientAPI) CreateManifest(ctx context.Context, name string, reference string, payload acr.Manifest) (acr.SetObject, error)
- func (_m *BaseClientAPI) DeleteAcrManifestMetadata(ctx context.Context, name string, reference string, metadata string) (autorest.Response, error)
- func (_m *BaseClientAPI) DeleteAcrRepository(ctx context.Context, name string) (acr.DeletedRepository, error)
- func (_m *BaseClientAPI) DeleteAcrRepositoryMetadata(ctx context.Context, name string, metadata string) (autorest.Response, error)
- func (_m *BaseClientAPI) DeleteAcrTag(ctx context.Context, name string, reference string) (autorest.Response, error)
- func (_m *BaseClientAPI) DeleteAcrTagMetadata(ctx context.Context, name string, reference string, metadata string) (autorest.Response, error)
- func (_m *BaseClientAPI) DeleteManifest(ctx context.Context, name string, reference string) (autorest.Response, error)
- func (_m *BaseClientAPI) EndBlobUpload(ctx context.Context, digest string, name string, UUID string) (autorest.Response, error)
- func (_m *BaseClientAPI) GetAcrAccessToken(ctx context.Context, service string, scope string, refreshToken string) (acr.AccessToken, error)
- func (_m *BaseClientAPI) GetAcrAccessTokenFromLogin(ctx context.Context, service string, scope string) (acr.AccessToken, error)
- func (_m *BaseClientAPI) GetAcrManifestAttributes(ctx context.Context, name string, reference string) (acr.ManifestAttributes, error)
- func (_m *BaseClientAPI) GetAcrManifestMetadata(ctx context.Context, name string, reference string, metadata string) (acr.SetObject, error)
- func (_m *BaseClientAPI) GetAcrManifests(ctx context.Context, name string, last string, n *int32, orderby string) (acr.Manifests, error)
- func (_m *BaseClientAPI) GetAcrRefreshTokenFromExchange(ctx context.Context, grantType string, service string, tenant string, ...) (acr.RefreshToken, error)
- func (_m *BaseClientAPI) GetAcrRepositories(ctx context.Context, last string, n *int32) (acr.Repositories, error)
- func (_m *BaseClientAPI) GetAcrRepositoryAttributes(ctx context.Context, name string) (acr.RepositoryAttributes, error)
- func (_m *BaseClientAPI) GetAcrRepositoryMetadata(ctx context.Context, name string, metadata string) (acr.SetObject, error)
- func (_m *BaseClientAPI) GetAcrTagAttributes(ctx context.Context, name string, reference string) (acr.TagAttributesType, error)
- func (_m *BaseClientAPI) GetAcrTagMetadata(ctx context.Context, name string, reference string, metadata string) (acr.SetObject, error)
- func (_m *BaseClientAPI) GetAcrTags(ctx context.Context, name string, last string, n *int32, orderby string, ...) (acr.RepositoryTagsType, error)
- func (_m *BaseClientAPI) GetBlob(ctx context.Context, name string, digest string) (acr.String, error)
- func (_m *BaseClientAPI) GetBlobUploadStatus(ctx context.Context, name string, UUID string) (autorest.Response, error)
- func (_m *BaseClientAPI) GetDockerRegistryV2Support(ctx context.Context) (autorest.Response, error)
- func (_m *BaseClientAPI) GetManifest(ctx context.Context, name string, reference string, accept string) (acr.Manifest, error)
- func (_m *BaseClientAPI) GetRepositories(ctx context.Context, last string, n *int32) (acr.Repositories, error)
- func (_m *BaseClientAPI) GetTagList(ctx context.Context, name string) (acr.RepositoryTags, error)
- func (_m *BaseClientAPI) ListManifestMetadata(ctx context.Context, name string, reference string) (acr.ManifestMetadataList, error)
- func (_m *BaseClientAPI) ListRepositoryMetadata(ctx context.Context, name string) (acr.RepositoryMetadata, error)
- func (_m *BaseClientAPI) ListTagMetadata(ctx context.Context, name string, reference string) (acr.TagMetadataList, error)
- func (_m *BaseClientAPI) StartBlobUpload(ctx context.Context, name string, digest string, from string, mount string) (autorest.Response, error)
- func (_m *BaseClientAPI) UpdateAcrManifestAttributes(ctx context.Context, name string, reference string, ...) (autorest.Response, error)
- func (_m *BaseClientAPI) UpdateAcrManifestMetadata(ctx context.Context, name string, reference string, metadata string, ...) (autorest.Response, error)
- func (_m *BaseClientAPI) UpdateAcrRepositoryAttributes(ctx context.Context, name string, value *acr.ChangeableAttributes) (autorest.Response, error)
- func (_m *BaseClientAPI) UpdateAcrRepositoryMetadata(ctx context.Context, name string, metadata string, value *interface{}) (autorest.Response, error)
- func (_m *BaseClientAPI) UpdateAcrTagAttributes(ctx context.Context, name string, reference string, ...) (autorest.Response, error)
- func (_m *BaseClientAPI) UpdateAcrTagMetadata(ctx context.Context, name string, reference string, metadata string, ...) (autorest.Response, error)
- func (_m *BaseClientAPI) UploadBlobContent(ctx context.Context, name string, UUID string) (autorest.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcrCLIClientInterface ¶
AcrCLIClientInterface is an autogenerated mock type for the AcrCLIClientInterface type
func (*AcrCLIClientInterface) DeleteAcrTag ¶
func (_m *AcrCLIClientInterface) DeleteAcrTag(ctx context.Context, repoName string, reference string) (*autorest.Response, error)
DeleteAcrTag provides a mock function with given fields: ctx, repoName, reference
func (*AcrCLIClientInterface) DeleteManifest ¶
func (_m *AcrCLIClientInterface) DeleteManifest(ctx context.Context, repoName string, reference string) (*autorest.Response, error)
DeleteManifest provides a mock function with given fields: ctx, repoName, reference
func (*AcrCLIClientInterface) GetAcrManifests ¶
func (_m *AcrCLIClientInterface) GetAcrManifests(ctx context.Context, repoName string, orderBy string, last string) (*acr.Manifests, error)
GetAcrManifests provides a mock function with given fields: ctx, repoName, orderBy, last
func (*AcrCLIClientInterface) GetAcrTags ¶
func (_m *AcrCLIClientInterface) GetAcrTags(ctx context.Context, repoName string, orderBy string, last string) (*acr.RepositoryTagsType, error)
GetAcrTags provides a mock function with given fields: ctx, repoName, orderBy, last
func (*AcrCLIClientInterface) GetManifest ¶
func (_m *AcrCLIClientInterface) GetManifest(ctx context.Context, repoName string, reference string) ([]byte, error)
GetManifest provides a mock function with given fields: ctx, repoName, reference
type BaseClientAPI ¶
BaseClientAPI is an autogenerated mock type for the BaseClientAPI type
func (*BaseClientAPI) CancelBlobUpload ¶
func (_m *BaseClientAPI) CancelBlobUpload(ctx context.Context, name string, UUID string) (autorest.Response, error)
CancelBlobUpload provides a mock function with given fields: ctx, name, UUID
func (*BaseClientAPI) CheckBlobExistence ¶
func (_m *BaseClientAPI) CheckBlobExistence(ctx context.Context, name string, digest string) (autorest.Response, error)
CheckBlobExistence provides a mock function with given fields: ctx, name, digest
func (*BaseClientAPI) CreateManifest ¶
func (_m *BaseClientAPI) CreateManifest(ctx context.Context, name string, reference string, payload acr.Manifest) (acr.SetObject, error)
CreateManifest provides a mock function with given fields: ctx, name, reference, payload
func (*BaseClientAPI) DeleteAcrManifestMetadata ¶
func (_m *BaseClientAPI) DeleteAcrManifestMetadata(ctx context.Context, name string, reference string, metadata string) (autorest.Response, error)
DeleteAcrManifestMetadata provides a mock function with given fields: ctx, name, reference, metadata
func (*BaseClientAPI) DeleteAcrRepository ¶
func (_m *BaseClientAPI) DeleteAcrRepository(ctx context.Context, name string) (acr.DeletedRepository, error)
DeleteAcrRepository provides a mock function with given fields: ctx, name
func (*BaseClientAPI) DeleteAcrRepositoryMetadata ¶
func (_m *BaseClientAPI) DeleteAcrRepositoryMetadata(ctx context.Context, name string, metadata string) (autorest.Response, error)
DeleteAcrRepositoryMetadata provides a mock function with given fields: ctx, name, metadata
func (*BaseClientAPI) DeleteAcrTag ¶
func (_m *BaseClientAPI) DeleteAcrTag(ctx context.Context, name string, reference string) (autorest.Response, error)
DeleteAcrTag provides a mock function with given fields: ctx, name, reference
func (*BaseClientAPI) DeleteAcrTagMetadata ¶
func (_m *BaseClientAPI) DeleteAcrTagMetadata(ctx context.Context, name string, reference string, metadata string) (autorest.Response, error)
DeleteAcrTagMetadata provides a mock function with given fields: ctx, name, reference, metadata
func (*BaseClientAPI) DeleteManifest ¶
func (_m *BaseClientAPI) DeleteManifest(ctx context.Context, name string, reference string) (autorest.Response, error)
DeleteManifest provides a mock function with given fields: ctx, name, reference
func (*BaseClientAPI) EndBlobUpload ¶
func (_m *BaseClientAPI) EndBlobUpload(ctx context.Context, digest string, name string, UUID string) (autorest.Response, error)
EndBlobUpload provides a mock function with given fields: ctx, digest, name, UUID
func (*BaseClientAPI) GetAcrAccessToken ¶
func (_m *BaseClientAPI) GetAcrAccessToken(ctx context.Context, service string, scope string, refreshToken string) (acr.AccessToken, error)
GetAcrAccessToken provides a mock function with given fields: ctx, service, scope, refreshToken
func (*BaseClientAPI) GetAcrAccessTokenFromLogin ¶
func (_m *BaseClientAPI) GetAcrAccessTokenFromLogin(ctx context.Context, service string, scope string) (acr.AccessToken, error)
GetAcrAccessTokenFromLogin provides a mock function with given fields: ctx, service, scope
func (*BaseClientAPI) GetAcrManifestAttributes ¶
func (_m *BaseClientAPI) GetAcrManifestAttributes(ctx context.Context, name string, reference string) (acr.ManifestAttributes, error)
GetAcrManifestAttributes provides a mock function with given fields: ctx, name, reference
func (*BaseClientAPI) GetAcrManifestMetadata ¶
func (_m *BaseClientAPI) GetAcrManifestMetadata(ctx context.Context, name string, reference string, metadata string) (acr.SetObject, error)
GetAcrManifestMetadata provides a mock function with given fields: ctx, name, reference, metadata
func (*BaseClientAPI) GetAcrManifests ¶
func (_m *BaseClientAPI) GetAcrManifests(ctx context.Context, name string, last string, n *int32, orderby string) (acr.Manifests, error)
GetAcrManifests provides a mock function with given fields: ctx, name, last, n, orderby
func (*BaseClientAPI) GetAcrRefreshTokenFromExchange ¶
func (_m *BaseClientAPI) GetAcrRefreshTokenFromExchange(ctx context.Context, grantType string, service string, tenant string, refreshToken string, accessToken string) (acr.RefreshToken, error)
GetAcrRefreshTokenFromExchange provides a mock function with given fields: ctx, grantType, service, tenant, refreshToken, accessToken
func (*BaseClientAPI) GetAcrRepositories ¶
func (_m *BaseClientAPI) GetAcrRepositories(ctx context.Context, last string, n *int32) (acr.Repositories, error)
GetAcrRepositories provides a mock function with given fields: ctx, last, n
func (*BaseClientAPI) GetAcrRepositoryAttributes ¶
func (_m *BaseClientAPI) GetAcrRepositoryAttributes(ctx context.Context, name string) (acr.RepositoryAttributes, error)
GetAcrRepositoryAttributes provides a mock function with given fields: ctx, name
func (*BaseClientAPI) GetAcrRepositoryMetadata ¶
func (_m *BaseClientAPI) GetAcrRepositoryMetadata(ctx context.Context, name string, metadata string) (acr.SetObject, error)
GetAcrRepositoryMetadata provides a mock function with given fields: ctx, name, metadata
func (*BaseClientAPI) GetAcrTagAttributes ¶
func (_m *BaseClientAPI) GetAcrTagAttributes(ctx context.Context, name string, reference string) (acr.TagAttributesType, error)
GetAcrTagAttributes provides a mock function with given fields: ctx, name, reference
func (*BaseClientAPI) GetAcrTagMetadata ¶
func (_m *BaseClientAPI) GetAcrTagMetadata(ctx context.Context, name string, reference string, metadata string) (acr.SetObject, error)
GetAcrTagMetadata provides a mock function with given fields: ctx, name, reference, metadata
func (*BaseClientAPI) GetAcrTags ¶
func (_m *BaseClientAPI) GetAcrTags(ctx context.Context, name string, last string, n *int32, orderby string, digest string) (acr.RepositoryTagsType, error)
GetAcrTags provides a mock function with given fields: ctx, name, last, n, orderby, digest
func (*BaseClientAPI) GetBlob ¶
func (_m *BaseClientAPI) GetBlob(ctx context.Context, name string, digest string) (acr.String, error)
GetBlob provides a mock function with given fields: ctx, name, digest
func (*BaseClientAPI) GetBlobUploadStatus ¶
func (_m *BaseClientAPI) GetBlobUploadStatus(ctx context.Context, name string, UUID string) (autorest.Response, error)
GetBlobUploadStatus provides a mock function with given fields: ctx, name, UUID
func (*BaseClientAPI) GetDockerRegistryV2Support ¶
GetDockerRegistryV2Support provides a mock function with given fields: ctx
func (*BaseClientAPI) GetManifest ¶
func (_m *BaseClientAPI) GetManifest(ctx context.Context, name string, reference string, accept string) (acr.Manifest, error)
GetManifest provides a mock function with given fields: ctx, name, reference, accept
func (*BaseClientAPI) GetRepositories ¶
func (_m *BaseClientAPI) GetRepositories(ctx context.Context, last string, n *int32) (acr.Repositories, error)
GetRepositories provides a mock function with given fields: ctx, last, n
func (*BaseClientAPI) GetTagList ¶
func (_m *BaseClientAPI) GetTagList(ctx context.Context, name string) (acr.RepositoryTags, error)
GetTagList provides a mock function with given fields: ctx, name
func (*BaseClientAPI) ListManifestMetadata ¶
func (_m *BaseClientAPI) ListManifestMetadata(ctx context.Context, name string, reference string) (acr.ManifestMetadataList, error)
ListManifestMetadata provides a mock function with given fields: ctx, name, reference
func (*BaseClientAPI) ListRepositoryMetadata ¶
func (_m *BaseClientAPI) ListRepositoryMetadata(ctx context.Context, name string) (acr.RepositoryMetadata, error)
ListRepositoryMetadata provides a mock function with given fields: ctx, name
func (*BaseClientAPI) ListTagMetadata ¶
func (_m *BaseClientAPI) ListTagMetadata(ctx context.Context, name string, reference string) (acr.TagMetadataList, error)
ListTagMetadata provides a mock function with given fields: ctx, name, reference
func (*BaseClientAPI) StartBlobUpload ¶
func (_m *BaseClientAPI) StartBlobUpload(ctx context.Context, name string, digest string, from string, mount string) (autorest.Response, error)
StartBlobUpload provides a mock function with given fields: ctx, name, digest, from, mount
func (*BaseClientAPI) UpdateAcrManifestAttributes ¶
func (_m *BaseClientAPI) UpdateAcrManifestAttributes(ctx context.Context, name string, reference string, value *acr.ChangeableAttributes) (autorest.Response, error)
UpdateAcrManifestAttributes provides a mock function with given fields: ctx, name, reference, value
func (*BaseClientAPI) UpdateAcrManifestMetadata ¶
func (_m *BaseClientAPI) UpdateAcrManifestMetadata(ctx context.Context, name string, reference string, metadata string, value *interface{}) (autorest.Response, error)
UpdateAcrManifestMetadata provides a mock function with given fields: ctx, name, reference, metadata, value
func (*BaseClientAPI) UpdateAcrRepositoryAttributes ¶
func (_m *BaseClientAPI) UpdateAcrRepositoryAttributes(ctx context.Context, name string, value *acr.ChangeableAttributes) (autorest.Response, error)
UpdateAcrRepositoryAttributes provides a mock function with given fields: ctx, name, value
func (*BaseClientAPI) UpdateAcrRepositoryMetadata ¶
func (_m *BaseClientAPI) UpdateAcrRepositoryMetadata(ctx context.Context, name string, metadata string, value *interface{}) (autorest.Response, error)
UpdateAcrRepositoryMetadata provides a mock function with given fields: ctx, name, metadata, value
func (*BaseClientAPI) UpdateAcrTagAttributes ¶
func (_m *BaseClientAPI) UpdateAcrTagAttributes(ctx context.Context, name string, reference string, value *acr.ChangeableAttributes) (autorest.Response, error)
UpdateAcrTagAttributes provides a mock function with given fields: ctx, name, reference, value
func (*BaseClientAPI) UpdateAcrTagMetadata ¶
func (_m *BaseClientAPI) UpdateAcrTagMetadata(ctx context.Context, name string, reference string, metadata string, value *interface{}) (autorest.Response, error)
UpdateAcrTagMetadata provides a mock function with given fields: ctx, name, reference, metadata, value
func (*BaseClientAPI) UploadBlobContent ¶
func (_m *BaseClientAPI) UploadBlobContent(ctx context.Context, name string, UUID string) (autorest.Response, error)
UploadBlobContent provides a mock function with given fields: ctx, name, UUID