v2

package
v0.1.110 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForCreateImageSyncRepo

func GenReqDefForCreateImageSyncRepo() *def.HttpRequestDef

func GenReqDefForCreateManualImageSyncRepo

func GenReqDefForCreateManualImageSyncRepo() *def.HttpRequestDef

func GenReqDefForCreateNamespace

func GenReqDefForCreateNamespace() *def.HttpRequestDef

func GenReqDefForCreateNamespaceAuth

func GenReqDefForCreateNamespaceAuth() *def.HttpRequestDef

func GenReqDefForCreateRepo

func GenReqDefForCreateRepo() *def.HttpRequestDef

func GenReqDefForCreateRepoDomains

func GenReqDefForCreateRepoDomains() *def.HttpRequestDef

func GenReqDefForCreateRetention

func GenReqDefForCreateRetention() *def.HttpRequestDef

func GenReqDefForCreateSecret

func GenReqDefForCreateSecret() *def.HttpRequestDef

func GenReqDefForCreateTrigger

func GenReqDefForCreateTrigger() *def.HttpRequestDef

func GenReqDefForCreateUserRepositoryAuth

func GenReqDefForCreateUserRepositoryAuth() *def.HttpRequestDef

func GenReqDefForDeleteImageSyncRepo

func GenReqDefForDeleteImageSyncRepo() *def.HttpRequestDef

func GenReqDefForDeleteNamespaceAuth

func GenReqDefForDeleteNamespaceAuth() *def.HttpRequestDef

func GenReqDefForDeleteNamespaces

func GenReqDefForDeleteNamespaces() *def.HttpRequestDef

func GenReqDefForDeleteRepo

func GenReqDefForDeleteRepo() *def.HttpRequestDef

func GenReqDefForDeleteRepoDomains

func GenReqDefForDeleteRepoDomains() *def.HttpRequestDef

func GenReqDefForDeleteRepoTag

func GenReqDefForDeleteRepoTag() *def.HttpRequestDef

func GenReqDefForDeleteRetention

func GenReqDefForDeleteRetention() *def.HttpRequestDef

func GenReqDefForDeleteTrigger

func GenReqDefForDeleteTrigger() *def.HttpRequestDef

func GenReqDefForDeleteUserRepositoryAuth

func GenReqDefForDeleteUserRepositoryAuth() *def.HttpRequestDef

func GenReqDefForListApiVersions

func GenReqDefForListApiVersions() *def.HttpRequestDef

func GenReqDefForListImageAutoSyncReposDetails

func GenReqDefForListImageAutoSyncReposDetails() *def.HttpRequestDef

func GenReqDefForListNamespaces

func GenReqDefForListNamespaces() *def.HttpRequestDef

func GenReqDefForListQuotas added in v0.0.71

func GenReqDefForListQuotas() *def.HttpRequestDef

func GenReqDefForListRepoDomains

func GenReqDefForListRepoDomains() *def.HttpRequestDef

func GenReqDefForListReposDetails

func GenReqDefForListReposDetails() *def.HttpRequestDef

func GenReqDefForListRepositoryTags

func GenReqDefForListRepositoryTags() *def.HttpRequestDef

func GenReqDefForListRetentionHistories

func GenReqDefForListRetentionHistories() *def.HttpRequestDef

func GenReqDefForListRetentions

func GenReqDefForListRetentions() *def.HttpRequestDef

func GenReqDefForListSharedReposDetails

func GenReqDefForListSharedReposDetails() *def.HttpRequestDef

func GenReqDefForListTriggersDetails

func GenReqDefForListTriggersDetails() *def.HttpRequestDef

func GenReqDefForShowAccessDomain

func GenReqDefForShowAccessDomain() *def.HttpRequestDef

func GenReqDefForShowApiVersion

func GenReqDefForShowApiVersion() *def.HttpRequestDef

func GenReqDefForShowNamespace

func GenReqDefForShowNamespace() *def.HttpRequestDef

func GenReqDefForShowNamespaceAuth

func GenReqDefForShowNamespaceAuth() *def.HttpRequestDef

func GenReqDefForShowRepository

func GenReqDefForShowRepository() *def.HttpRequestDef

func GenReqDefForShowRetention

func GenReqDefForShowRetention() *def.HttpRequestDef

func GenReqDefForShowSyncJob

func GenReqDefForShowSyncJob() *def.HttpRequestDef

func GenReqDefForShowTrigger

func GenReqDefForShowTrigger() *def.HttpRequestDef

func GenReqDefForShowUserRepositoryAuth

func GenReqDefForShowUserRepositoryAuth() *def.HttpRequestDef

func GenReqDefForUpdateNamespaceAuth

func GenReqDefForUpdateNamespaceAuth() *def.HttpRequestDef

func GenReqDefForUpdateRepo

func GenReqDefForUpdateRepo() *def.HttpRequestDef

func GenReqDefForUpdateRepoDomains

func GenReqDefForUpdateRepoDomains() *def.HttpRequestDef

func GenReqDefForUpdateRetention

func GenReqDefForUpdateRetention() *def.HttpRequestDef

func GenReqDefForUpdateTrigger

func GenReqDefForUpdateTrigger() *def.HttpRequestDef

func GenReqDefForUpdateUserRepositoryAuth

func GenReqDefForUpdateUserRepositoryAuth() *def.HttpRequestDef

func SwrClientBuilder

func SwrClientBuilder() *httpclient.HcHttpClientBuilder

Types

type CreateImageSyncRepoInvoker added in v0.0.90

type CreateImageSyncRepoInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateImageSyncRepoInvoker) Invoke added in v0.0.90

type CreateManualImageSyncRepoInvoker added in v0.0.90

type CreateManualImageSyncRepoInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateManualImageSyncRepoInvoker) Invoke added in v0.0.90

type CreateNamespaceAuthInvoker added in v0.0.90

type CreateNamespaceAuthInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateNamespaceAuthInvoker) Invoke added in v0.0.90

type CreateNamespaceInvoker added in v0.0.90

type CreateNamespaceInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateNamespaceInvoker) Invoke added in v0.0.90

type CreateRepoDomainsInvoker added in v0.0.90

type CreateRepoDomainsInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateRepoDomainsInvoker) Invoke added in v0.0.90

type CreateRepoInvoker added in v0.0.90

type CreateRepoInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateRepoInvoker) Invoke added in v0.0.90

type CreateRetentionInvoker added in v0.0.90

type CreateRetentionInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateRetentionInvoker) Invoke added in v0.0.90

type CreateSecretInvoker added in v0.0.90

type CreateSecretInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSecretInvoker) Invoke added in v0.0.90

type CreateTriggerInvoker added in v0.0.90

type CreateTriggerInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTriggerInvoker) Invoke added in v0.0.90

type CreateUserRepositoryAuthInvoker added in v0.0.90

type CreateUserRepositoryAuthInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateUserRepositoryAuthInvoker) Invoke added in v0.0.90

type DeleteImageSyncRepoInvoker added in v0.0.90

type DeleteImageSyncRepoInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteImageSyncRepoInvoker) Invoke added in v0.0.90

type DeleteNamespaceAuthInvoker added in v0.0.90

type DeleteNamespaceAuthInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteNamespaceAuthInvoker) Invoke added in v0.0.90

type DeleteNamespacesInvoker added in v0.0.90

type DeleteNamespacesInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteNamespacesInvoker) Invoke added in v0.0.90

type DeleteRepoDomainsInvoker added in v0.0.90

type DeleteRepoDomainsInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRepoDomainsInvoker) Invoke added in v0.0.90

type DeleteRepoInvoker added in v0.0.90

type DeleteRepoInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRepoInvoker) Invoke added in v0.0.90

type DeleteRepoTagInvoker added in v0.0.90

type DeleteRepoTagInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRepoTagInvoker) Invoke added in v0.0.90

type DeleteRetentionInvoker added in v0.0.90

type DeleteRetentionInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRetentionInvoker) Invoke added in v0.0.90

type DeleteTriggerInvoker added in v0.0.90

type DeleteTriggerInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTriggerInvoker) Invoke added in v0.0.90

type DeleteUserRepositoryAuthInvoker added in v0.0.90

type DeleteUserRepositoryAuthInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteUserRepositoryAuthInvoker) Invoke added in v0.0.90

type ListApiVersionsInvoker added in v0.0.90

type ListApiVersionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListApiVersionsInvoker) Invoke added in v0.0.90

type ListImageAutoSyncReposDetailsInvoker added in v0.0.90

type ListImageAutoSyncReposDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListImageAutoSyncReposDetailsInvoker) Invoke added in v0.0.90

type ListNamespacesInvoker added in v0.0.90

type ListNamespacesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNamespacesInvoker) Invoke added in v0.0.90

type ListQuotasInvoker added in v0.0.90

type ListQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQuotasInvoker) Invoke added in v0.0.90

type ListRepoDomainsInvoker added in v0.0.90

type ListRepoDomainsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRepoDomainsInvoker) Invoke added in v0.0.90

type ListReposDetailsInvoker added in v0.0.90

type ListReposDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListReposDetailsInvoker) Invoke added in v0.0.90

type ListRepositoryTagsInvoker added in v0.0.90

type ListRepositoryTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRepositoryTagsInvoker) Invoke added in v0.0.90

type ListRetentionHistoriesInvoker added in v0.0.90

type ListRetentionHistoriesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRetentionHistoriesInvoker) Invoke added in v0.0.90

type ListRetentionsInvoker added in v0.0.90

type ListRetentionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRetentionsInvoker) Invoke added in v0.0.90

type ListSharedReposDetailsInvoker added in v0.0.90

type ListSharedReposDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSharedReposDetailsInvoker) Invoke added in v0.0.90

type ListTriggersDetailsInvoker added in v0.0.90

type ListTriggersDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTriggersDetailsInvoker) Invoke added in v0.0.90

type ShowAccessDomainInvoker added in v0.0.90

type ShowAccessDomainInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAccessDomainInvoker) Invoke added in v0.0.90

type ShowApiVersionInvoker added in v0.0.90

type ShowApiVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowApiVersionInvoker) Invoke added in v0.0.90

type ShowNamespaceAuthInvoker added in v0.0.90

type ShowNamespaceAuthInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowNamespaceAuthInvoker) Invoke added in v0.0.90

type ShowNamespaceInvoker added in v0.0.90

type ShowNamespaceInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowNamespaceInvoker) Invoke added in v0.0.90

type ShowRepositoryInvoker added in v0.0.90

type ShowRepositoryInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRepositoryInvoker) Invoke added in v0.0.90

type ShowRetentionInvoker added in v0.0.90

type ShowRetentionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRetentionInvoker) Invoke added in v0.0.90

type ShowSyncJobInvoker added in v0.0.90

type ShowSyncJobInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSyncJobInvoker) Invoke added in v0.0.90

type ShowTriggerInvoker added in v0.0.90

type ShowTriggerInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTriggerInvoker) Invoke added in v0.0.90

type ShowUserRepositoryAuthInvoker added in v0.0.90

type ShowUserRepositoryAuthInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowUserRepositoryAuthInvoker) Invoke added in v0.0.90

type SwrClient

type SwrClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewSwrClient

func NewSwrClient(hcClient *httpclient.HcHttpClient) *SwrClient

func (*SwrClient) CreateImageSyncRepo

CreateImageSyncRepo 创建镜像自动同步任务

创建镜像自动同步任务,帮助您把最新推送的镜像自动同步到其他区域镜像仓库内。 镜像自动同步帮助您把最新推送的镜像自动同步到其他区域镜像仓库内,后期镜像有更新时,目标仓库的镜像也会自动更新,但已有的镜像不会自动同步。已有镜像的同步需要手动操作,详情请参见手动同步镜像。

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) CreateImageSyncRepoInvoker added in v0.0.90

func (c *SwrClient) CreateImageSyncRepoInvoker(request *model.CreateImageSyncRepoRequest) *CreateImageSyncRepoInvoker

CreateImageSyncRepoInvoker 创建镜像自动同步任务

func (*SwrClient) CreateManualImageSyncRepo

CreateManualImageSyncRepo 手动同步镜像

对于镜像仓库已有的镜像,如果想在其他区域使用,需要手动触发镜像同步。 判断是否同步成功的方法如下:响应状态码为200,无报错信息,表示同步成功。通过SWR管理控制台或调用查询镜像仓库概要信息接口,在目标区域的目标组织下,若存在所同步的镜像版本表示同步成功。

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) CreateManualImageSyncRepoInvoker added in v0.0.90

func (c *SwrClient) CreateManualImageSyncRepoInvoker(request *model.CreateManualImageSyncRepoRequest) *CreateManualImageSyncRepoInvoker

CreateManualImageSyncRepoInvoker 手动同步镜像

func (*SwrClient) CreateNamespace

func (c *SwrClient) CreateNamespace(request *model.CreateNamespaceRequest) (*model.CreateNamespaceResponse, error)

CreateNamespace 创建组织

创建组织

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) CreateNamespaceAuth

CreateNamespaceAuth 创建组织权限

创建组织权限

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) CreateNamespaceAuthInvoker added in v0.0.90

func (c *SwrClient) CreateNamespaceAuthInvoker(request *model.CreateNamespaceAuthRequest) *CreateNamespaceAuthInvoker

CreateNamespaceAuthInvoker 创建组织权限

func (*SwrClient) CreateNamespaceInvoker added in v0.0.90

func (c *SwrClient) CreateNamespaceInvoker(request *model.CreateNamespaceRequest) *CreateNamespaceInvoker

CreateNamespaceInvoker 创建组织

func (*SwrClient) CreateRepo

func (c *SwrClient) CreateRepo(request *model.CreateRepoRequest) (*model.CreateRepoResponse, error)

CreateRepo 在组织下创建镜像仓库

在组织下创建镜像仓库。

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) CreateRepoDomains

func (c *SwrClient) CreateRepoDomains(request *model.CreateRepoDomainsRequest) (*model.CreateRepoDomainsResponse, error)

CreateRepoDomains 创建共享帐号

创建共享帐号。镜像上传后,您可以共享私有镜像给其他帐号,并授予下载该镜像的权限。

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) CreateRepoDomainsInvoker added in v0.0.90

func (c *SwrClient) CreateRepoDomainsInvoker(request *model.CreateRepoDomainsRequest) *CreateRepoDomainsInvoker

CreateRepoDomainsInvoker 创建共享帐号

func (*SwrClient) CreateRepoInvoker added in v0.0.90

func (c *SwrClient) CreateRepoInvoker(request *model.CreateRepoRequest) *CreateRepoInvoker

CreateRepoInvoker 在组织下创建镜像仓库

func (*SwrClient) CreateRetention

func (c *SwrClient) CreateRetention(request *model.CreateRetentionRequest) (*model.CreateRetentionResponse, error)

CreateRetention 创建镜像老化规则

创建镜像老化规则

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) CreateRetentionInvoker added in v0.0.90

func (c *SwrClient) CreateRetentionInvoker(request *model.CreateRetentionRequest) *CreateRetentionInvoker

CreateRetentionInvoker 创建镜像老化规则

func (*SwrClient) CreateSecret

func (c *SwrClient) CreateSecret(request *model.CreateSecretRequest) (*model.CreateSecretResponse, error)

CreateSecret 生成临时登录指令

调用该接口,通过获取响应消息头的X-Swr-Dockerlogin的值及响应消息体的host值,可生成临时登录指令。

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) CreateSecretInvoker added in v0.0.90

func (c *SwrClient) CreateSecretInvoker(request *model.CreateSecretRequest) *CreateSecretInvoker

CreateSecretInvoker 生成临时登录指令

func (*SwrClient) CreateTrigger

func (c *SwrClient) CreateTrigger(request *model.CreateTriggerRequest) (*model.CreateTriggerResponse, error)

CreateTrigger 创建触发器

创建触发器

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) CreateTriggerInvoker added in v0.0.90

func (c *SwrClient) CreateTriggerInvoker(request *model.CreateTriggerRequest) *CreateTriggerInvoker

CreateTriggerInvoker 创建触发器

func (*SwrClient) CreateUserRepositoryAuth

CreateUserRepositoryAuth 创建镜像权限

创建镜像权限

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) CreateUserRepositoryAuthInvoker added in v0.0.90

func (c *SwrClient) CreateUserRepositoryAuthInvoker(request *model.CreateUserRepositoryAuthRequest) *CreateUserRepositoryAuthInvoker

CreateUserRepositoryAuthInvoker 创建镜像权限

func (*SwrClient) DeleteImageSyncRepo

DeleteImageSyncRepo 删除镜像自动同步任务

根据目标区域、目标组织删除指定的镜像自动同步任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) DeleteImageSyncRepoInvoker added in v0.0.90

func (c *SwrClient) DeleteImageSyncRepoInvoker(request *model.DeleteImageSyncRepoRequest) *DeleteImageSyncRepoInvoker

DeleteImageSyncRepoInvoker 删除镜像自动同步任务

func (*SwrClient) DeleteNamespaceAuth

DeleteNamespaceAuth 删除组织权限

删除组织权限

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) DeleteNamespaceAuthInvoker added in v0.0.90

func (c *SwrClient) DeleteNamespaceAuthInvoker(request *model.DeleteNamespaceAuthRequest) *DeleteNamespaceAuthInvoker

DeleteNamespaceAuthInvoker 删除组织权限

func (*SwrClient) DeleteNamespaces

func (c *SwrClient) DeleteNamespaces(request *model.DeleteNamespacesRequest) (*model.DeleteNamespacesResponse, error)

DeleteNamespaces 删除组织

删除组织

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) DeleteNamespacesInvoker added in v0.0.90

func (c *SwrClient) DeleteNamespacesInvoker(request *model.DeleteNamespacesRequest) *DeleteNamespacesInvoker

DeleteNamespacesInvoker 删除组织

func (*SwrClient) DeleteRepo

func (c *SwrClient) DeleteRepo(request *model.DeleteRepoRequest) (*model.DeleteRepoResponse, error)

DeleteRepo 删除组织下的镜像仓库

删除组织下的镜像仓库。

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) DeleteRepoDomains

func (c *SwrClient) DeleteRepoDomains(request *model.DeleteRepoDomainsRequest) (*model.DeleteRepoDomainsResponse, error)

DeleteRepoDomains 删除共享帐号

删除共享帐号

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) DeleteRepoDomainsInvoker added in v0.0.90

func (c *SwrClient) DeleteRepoDomainsInvoker(request *model.DeleteRepoDomainsRequest) *DeleteRepoDomainsInvoker

DeleteRepoDomainsInvoker 删除共享帐号

func (*SwrClient) DeleteRepoInvoker added in v0.0.90

func (c *SwrClient) DeleteRepoInvoker(request *model.DeleteRepoRequest) *DeleteRepoInvoker

DeleteRepoInvoker 删除组织下的镜像仓库

func (*SwrClient) DeleteRepoTag

func (c *SwrClient) DeleteRepoTag(request *model.DeleteRepoTagRequest) (*model.DeleteRepoTagResponse, error)

DeleteRepoTag 删除指定tag的镜像

删除镜像仓库中指定tag的镜像

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) DeleteRepoTagInvoker added in v0.0.90

func (c *SwrClient) DeleteRepoTagInvoker(request *model.DeleteRepoTagRequest) *DeleteRepoTagInvoker

DeleteRepoTagInvoker 删除指定tag的镜像

func (*SwrClient) DeleteRetention

func (c *SwrClient) DeleteRetention(request *model.DeleteRetentionRequest) (*model.DeleteRetentionResponse, error)

DeleteRetention 删除镜像老化规则

删除镜像老化规则

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) DeleteRetentionInvoker added in v0.0.90

func (c *SwrClient) DeleteRetentionInvoker(request *model.DeleteRetentionRequest) *DeleteRetentionInvoker

DeleteRetentionInvoker 删除镜像老化规则

func (*SwrClient) DeleteTrigger

func (c *SwrClient) DeleteTrigger(request *model.DeleteTriggerRequest) (*model.DeleteTriggerResponse, error)

DeleteTrigger 删除触发器

删除触发器

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) DeleteTriggerInvoker added in v0.0.90

func (c *SwrClient) DeleteTriggerInvoker(request *model.DeleteTriggerRequest) *DeleteTriggerInvoker

DeleteTriggerInvoker 删除触发器

func (*SwrClient) DeleteUserRepositoryAuth

DeleteUserRepositoryAuth 删除镜像权限

删除镜像权限

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) DeleteUserRepositoryAuthInvoker added in v0.0.90

func (c *SwrClient) DeleteUserRepositoryAuthInvoker(request *model.DeleteUserRepositoryAuthRequest) *DeleteUserRepositoryAuthInvoker

DeleteUserRepositoryAuthInvoker 删除镜像权限

func (*SwrClient) ListApiVersions

func (c *SwrClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)

ListApiVersions 查询所有API版本信息

查询所有API版本信息

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ListApiVersionsInvoker added in v0.0.90

func (c *SwrClient) ListApiVersionsInvoker(request *model.ListApiVersionsRequest) *ListApiVersionsInvoker

ListApiVersionsInvoker 查询所有API版本信息

func (*SwrClient) ListImageAutoSyncReposDetails

ListImageAutoSyncReposDetails 获取镜像自动同步任务列表

获取为当前镜像仓库所创建的所有自动同步任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ListImageAutoSyncReposDetailsInvoker added in v0.0.90

func (c *SwrClient) ListImageAutoSyncReposDetailsInvoker(request *model.ListImageAutoSyncReposDetailsRequest) *ListImageAutoSyncReposDetailsInvoker

ListImageAutoSyncReposDetailsInvoker 获取镜像自动同步任务列表

func (*SwrClient) ListNamespaces

func (c *SwrClient) ListNamespaces(request *model.ListNamespacesRequest) (*model.ListNamespacesResponse, error)

ListNamespaces 查询组织列表

查询组织列表

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ListNamespacesInvoker added in v0.0.90

func (c *SwrClient) ListNamespacesInvoker(request *model.ListNamespacesRequest) *ListNamespacesInvoker

ListNamespacesInvoker 查询组织列表

func (*SwrClient) ListQuotas added in v0.0.71

func (c *SwrClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)

ListQuotas 获取配额信息

获取配额信息

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ListQuotasInvoker added in v0.0.90

func (c *SwrClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker

ListQuotasInvoker 获取配额信息

func (*SwrClient) ListRepoDomains

func (c *SwrClient) ListRepoDomains(request *model.ListRepoDomainsRequest) (*model.ListRepoDomainsResponse, error)

ListRepoDomains 获取共享帐号列表

获取共享帐号列表

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ListRepoDomainsInvoker added in v0.0.90

func (c *SwrClient) ListRepoDomainsInvoker(request *model.ListRepoDomainsRequest) *ListRepoDomainsInvoker

ListRepoDomainsInvoker 获取共享帐号列表

func (*SwrClient) ListReposDetails

func (c *SwrClient) ListReposDetails(request *model.ListReposDetailsRequest) (*model.ListReposDetailsResponse, error)

ListReposDetails 查询镜像仓库列表

查询镜像仓库列表

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ListReposDetailsInvoker added in v0.0.90

func (c *SwrClient) ListReposDetailsInvoker(request *model.ListReposDetailsRequest) *ListReposDetailsInvoker

ListReposDetailsInvoker 查询镜像仓库列表

func (*SwrClient) ListRepositoryTags

func (c *SwrClient) ListRepositoryTags(request *model.ListRepositoryTagsRequest) (*model.ListRepositoryTagsResponse, error)

ListRepositoryTags 查询镜像tag列表

查询镜像tag列表

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ListRepositoryTagsInvoker added in v0.0.90

func (c *SwrClient) ListRepositoryTagsInvoker(request *model.ListRepositoryTagsRequest) *ListRepositoryTagsInvoker

ListRepositoryTagsInvoker 查询镜像tag列表

func (*SwrClient) ListRetentionHistories

ListRetentionHistories 获取镜像老化记录

获取镜像老化记录

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ListRetentionHistoriesInvoker added in v0.0.90

func (c *SwrClient) ListRetentionHistoriesInvoker(request *model.ListRetentionHistoriesRequest) *ListRetentionHistoriesInvoker

ListRetentionHistoriesInvoker 获取镜像老化记录

func (*SwrClient) ListRetentions

func (c *SwrClient) ListRetentions(request *model.ListRetentionsRequest) (*model.ListRetentionsResponse, error)

ListRetentions 获取镜像老化规则列表

获取镜像老化规则列表

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ListRetentionsInvoker added in v0.0.90

func (c *SwrClient) ListRetentionsInvoker(request *model.ListRetentionsRequest) *ListRetentionsInvoker

ListRetentionsInvoker 获取镜像老化规则列表

func (*SwrClient) ListSharedReposDetails

ListSharedReposDetails 查询共享镜像列表

查询共享镜像列表

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ListSharedReposDetailsInvoker added in v0.0.90

func (c *SwrClient) ListSharedReposDetailsInvoker(request *model.ListSharedReposDetailsRequest) *ListSharedReposDetailsInvoker

ListSharedReposDetailsInvoker 查询共享镜像列表

func (*SwrClient) ListTriggersDetails

ListTriggersDetails 获取镜像仓库下的触发器列表

获取镜像仓库下的触发器列表

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ListTriggersDetailsInvoker added in v0.0.90

func (c *SwrClient) ListTriggersDetailsInvoker(request *model.ListTriggersDetailsRequest) *ListTriggersDetailsInvoker

ListTriggersDetailsInvoker 获取镜像仓库下的触发器列表

func (*SwrClient) ShowAccessDomain

func (c *SwrClient) ShowAccessDomain(request *model.ShowAccessDomainRequest) (*model.ShowAccessDomainResponse, error)

ShowAccessDomain 判断共享帐号是否存在

判断共享租户是否存在

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ShowAccessDomainInvoker added in v0.0.90

func (c *SwrClient) ShowAccessDomainInvoker(request *model.ShowAccessDomainRequest) *ShowAccessDomainInvoker

ShowAccessDomainInvoker 判断共享帐号是否存在

func (*SwrClient) ShowApiVersion

func (c *SwrClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)

ShowApiVersion 查询指定API版本信息

查询指定API版本信息

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ShowApiVersionInvoker added in v0.0.90

func (c *SwrClient) ShowApiVersionInvoker(request *model.ShowApiVersionRequest) *ShowApiVersionInvoker

ShowApiVersionInvoker 查询指定API版本信息

func (*SwrClient) ShowNamespace

func (c *SwrClient) ShowNamespace(request *model.ShowNamespaceRequest) (*model.ShowNamespaceResponse, error)

ShowNamespace 获取组织详情

获取组织详情

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ShowNamespaceAuth

func (c *SwrClient) ShowNamespaceAuth(request *model.ShowNamespaceAuthRequest) (*model.ShowNamespaceAuthResponse, error)

ShowNamespaceAuth 查询组织权限

查询组织权限

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ShowNamespaceAuthInvoker added in v0.0.90

func (c *SwrClient) ShowNamespaceAuthInvoker(request *model.ShowNamespaceAuthRequest) *ShowNamespaceAuthInvoker

ShowNamespaceAuthInvoker 查询组织权限

func (*SwrClient) ShowNamespaceInvoker added in v0.0.90

func (c *SwrClient) ShowNamespaceInvoker(request *model.ShowNamespaceRequest) *ShowNamespaceInvoker

ShowNamespaceInvoker 获取组织详情

func (*SwrClient) ShowRepository

func (c *SwrClient) ShowRepository(request *model.ShowRepositoryRequest) (*model.ShowRepositoryResponse, error)

ShowRepository 查询镜像仓库概要信息

查询镜像仓库概要信息

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ShowRepositoryInvoker added in v0.0.90

func (c *SwrClient) ShowRepositoryInvoker(request *model.ShowRepositoryRequest) *ShowRepositoryInvoker

ShowRepositoryInvoker 查询镜像仓库概要信息

func (*SwrClient) ShowRetention

func (c *SwrClient) ShowRetention(request *model.ShowRetentionRequest) (*model.ShowRetentionResponse, error)

ShowRetention 获取镜像老化规则记录

获取镜像老化规则记录

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ShowRetentionInvoker added in v0.0.90

func (c *SwrClient) ShowRetentionInvoker(request *model.ShowRetentionRequest) *ShowRetentionInvoker

ShowRetentionInvoker 获取镜像老化规则记录

func (*SwrClient) ShowSyncJob

func (c *SwrClient) ShowSyncJob(request *model.ShowSyncJobRequest) (*model.ShowSyncJobResponse, error)

ShowSyncJob 获取镜像自动同步任务信息

创建镜像自动同步任务后,可以通过此接口查询该任务的状态,以判断是否同步成功。

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ShowSyncJobInvoker added in v0.0.90

func (c *SwrClient) ShowSyncJobInvoker(request *model.ShowSyncJobRequest) *ShowSyncJobInvoker

ShowSyncJobInvoker 获取镜像自动同步任务信息

func (*SwrClient) ShowTrigger

func (c *SwrClient) ShowTrigger(request *model.ShowTriggerRequest) (*model.ShowTriggerResponse, error)

ShowTrigger 获取触发器详情

获取触发器详情

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ShowTriggerInvoker added in v0.0.90

func (c *SwrClient) ShowTriggerInvoker(request *model.ShowTriggerRequest) *ShowTriggerInvoker

ShowTriggerInvoker 获取触发器详情

func (*SwrClient) ShowUserRepositoryAuth

ShowUserRepositoryAuth 查询镜像权限

查询镜像权限

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) ShowUserRepositoryAuthInvoker added in v0.0.90

func (c *SwrClient) ShowUserRepositoryAuthInvoker(request *model.ShowUserRepositoryAuthRequest) *ShowUserRepositoryAuthInvoker

ShowUserRepositoryAuthInvoker 查询镜像权限

func (*SwrClient) UpdateNamespaceAuth

UpdateNamespaceAuth 更新组织权限

更新组织权限

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) UpdateNamespaceAuthInvoker added in v0.0.90

func (c *SwrClient) UpdateNamespaceAuthInvoker(request *model.UpdateNamespaceAuthRequest) *UpdateNamespaceAuthInvoker

UpdateNamespaceAuthInvoker 更新组织权限

func (*SwrClient) UpdateRepo

func (c *SwrClient) UpdateRepo(request *model.UpdateRepoRequest) (*model.UpdateRepoResponse, error)

UpdateRepo 更新镜像仓库的概要信息

更新租户组织下的镜像概要信息,包括镜像类型、是否公有、描述信息

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) UpdateRepoDomains

func (c *SwrClient) UpdateRepoDomains(request *model.UpdateRepoDomainsRequest) (*model.UpdateRepoDomainsResponse, error)

UpdateRepoDomains 更新共享帐号

更新共享帐号

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) UpdateRepoDomainsInvoker added in v0.0.90

func (c *SwrClient) UpdateRepoDomainsInvoker(request *model.UpdateRepoDomainsRequest) *UpdateRepoDomainsInvoker

UpdateRepoDomainsInvoker 更新共享帐号

func (*SwrClient) UpdateRepoInvoker added in v0.0.90

func (c *SwrClient) UpdateRepoInvoker(request *model.UpdateRepoRequest) *UpdateRepoInvoker

UpdateRepoInvoker 更新镜像仓库的概要信息

func (*SwrClient) UpdateRetention

func (c *SwrClient) UpdateRetention(request *model.UpdateRetentionRequest) (*model.UpdateRetentionResponse, error)

UpdateRetention 修改镜像老化规则

修改镜像老化规则

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) UpdateRetentionInvoker added in v0.0.90

func (c *SwrClient) UpdateRetentionInvoker(request *model.UpdateRetentionRequest) *UpdateRetentionInvoker

UpdateRetentionInvoker 修改镜像老化规则

func (*SwrClient) UpdateTrigger

func (c *SwrClient) UpdateTrigger(request *model.UpdateTriggerRequest) (*model.UpdateTriggerResponse, error)

UpdateTrigger 更新触发器配置

更新触发器配置

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) UpdateTriggerInvoker added in v0.0.90

func (c *SwrClient) UpdateTriggerInvoker(request *model.UpdateTriggerRequest) *UpdateTriggerInvoker

UpdateTriggerInvoker 更新触发器配置

func (*SwrClient) UpdateUserRepositoryAuth

UpdateUserRepositoryAuth 更新镜像权限

更新镜像权限

Please refer to HUAWEI cloud API Explorer for details.

func (*SwrClient) UpdateUserRepositoryAuthInvoker added in v0.0.90

func (c *SwrClient) UpdateUserRepositoryAuthInvoker(request *model.UpdateUserRepositoryAuthRequest) *UpdateUserRepositoryAuthInvoker

UpdateUserRepositoryAuthInvoker 更新镜像权限

type UpdateNamespaceAuthInvoker added in v0.0.90

type UpdateNamespaceAuthInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateNamespaceAuthInvoker) Invoke added in v0.0.90

type UpdateRepoDomainsInvoker added in v0.0.90

type UpdateRepoDomainsInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateRepoDomainsInvoker) Invoke added in v0.0.90

type UpdateRepoInvoker added in v0.0.90

type UpdateRepoInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateRepoInvoker) Invoke added in v0.0.90

type UpdateRetentionInvoker added in v0.0.90

type UpdateRetentionInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateRetentionInvoker) Invoke added in v0.0.90

type UpdateTriggerInvoker added in v0.0.90

type UpdateTriggerInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTriggerInvoker) Invoke added in v0.0.90

type UpdateUserRepositoryAuthInvoker added in v0.0.90

type UpdateUserRepositoryAuthInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateUserRepositoryAuthInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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