Documentation ¶
Index ¶
- func GenReqDefForCreateImageSyncRepo() *def.HttpRequestDef
- func GenReqDefForCreateManualImageSyncRepo() *def.HttpRequestDef
- func GenReqDefForCreateNamespace() *def.HttpRequestDef
- func GenReqDefForCreateNamespaceAuth() *def.HttpRequestDef
- func GenReqDefForCreateRepo() *def.HttpRequestDef
- func GenReqDefForCreateRepoDomains() *def.HttpRequestDef
- func GenReqDefForCreateRetention() *def.HttpRequestDef
- func GenReqDefForCreateSecret() *def.HttpRequestDef
- func GenReqDefForCreateTrigger() *def.HttpRequestDef
- func GenReqDefForCreateUserRepositoryAuth() *def.HttpRequestDef
- func GenReqDefForDeleteImageSyncRepo() *def.HttpRequestDef
- func GenReqDefForDeleteNamespaceAuth() *def.HttpRequestDef
- func GenReqDefForDeleteNamespaces() *def.HttpRequestDef
- func GenReqDefForDeleteRepo() *def.HttpRequestDef
- func GenReqDefForDeleteRepoDomains() *def.HttpRequestDef
- func GenReqDefForDeleteRepoTag() *def.HttpRequestDef
- func GenReqDefForDeleteRetention() *def.HttpRequestDef
- func GenReqDefForDeleteTrigger() *def.HttpRequestDef
- func GenReqDefForDeleteUserRepositoryAuth() *def.HttpRequestDef
- func GenReqDefForListApiVersions() *def.HttpRequestDef
- func GenReqDefForListImageAutoSyncReposDetails() *def.HttpRequestDef
- func GenReqDefForListNamespaces() *def.HttpRequestDef
- func GenReqDefForListQuotas() *def.HttpRequestDef
- func GenReqDefForListRepoDomains() *def.HttpRequestDef
- func GenReqDefForListReposDetails() *def.HttpRequestDef
- func GenReqDefForListRepositoryTags() *def.HttpRequestDef
- func GenReqDefForListRetentionHistories() *def.HttpRequestDef
- func GenReqDefForListRetentions() *def.HttpRequestDef
- func GenReqDefForListSharedReposDetails() *def.HttpRequestDef
- func GenReqDefForListTriggersDetails() *def.HttpRequestDef
- func GenReqDefForShowAccessDomain() *def.HttpRequestDef
- func GenReqDefForShowApiVersion() *def.HttpRequestDef
- func GenReqDefForShowNamespace() *def.HttpRequestDef
- func GenReqDefForShowNamespaceAuth() *def.HttpRequestDef
- func GenReqDefForShowRepository() *def.HttpRequestDef
- func GenReqDefForShowRetention() *def.HttpRequestDef
- func GenReqDefForShowSyncJob() *def.HttpRequestDef
- func GenReqDefForShowTrigger() *def.HttpRequestDef
- func GenReqDefForShowUserRepositoryAuth() *def.HttpRequestDef
- func GenReqDefForUpdateNamespaceAuth() *def.HttpRequestDef
- func GenReqDefForUpdateRepo() *def.HttpRequestDef
- func GenReqDefForUpdateRepoDomains() *def.HttpRequestDef
- func GenReqDefForUpdateRetention() *def.HttpRequestDef
- func GenReqDefForUpdateTrigger() *def.HttpRequestDef
- func GenReqDefForUpdateUserRepositoryAuth() *def.HttpRequestDef
- func SwrClientBuilder() *http_client.HcHttpClientBuilder
- type SwrClient
- func (c *SwrClient) CreateImageSyncRepo(request *model.CreateImageSyncRepoRequest) (*model.CreateImageSyncRepoResponse, error)
- func (c *SwrClient) CreateManualImageSyncRepo(request *model.CreateManualImageSyncRepoRequest) (*model.CreateManualImageSyncRepoResponse, error)
- func (c *SwrClient) CreateNamespace(request *model.CreateNamespaceRequest) (*model.CreateNamespaceResponse, error)
- func (c *SwrClient) CreateNamespaceAuth(request *model.CreateNamespaceAuthRequest) (*model.CreateNamespaceAuthResponse, error)
- func (c *SwrClient) CreateRepo(request *model.CreateRepoRequest) (*model.CreateRepoResponse, error)
- func (c *SwrClient) CreateRepoDomains(request *model.CreateRepoDomainsRequest) (*model.CreateRepoDomainsResponse, error)
- func (c *SwrClient) CreateRetention(request *model.CreateRetentionRequest) (*model.CreateRetentionResponse, error)
- func (c *SwrClient) CreateSecret(request *model.CreateSecretRequest) (*model.CreateSecretResponse, error)
- func (c *SwrClient) CreateTrigger(request *model.CreateTriggerRequest) (*model.CreateTriggerResponse, error)
- func (c *SwrClient) CreateUserRepositoryAuth(request *model.CreateUserRepositoryAuthRequest) (*model.CreateUserRepositoryAuthResponse, error)
- func (c *SwrClient) DeleteImageSyncRepo(request *model.DeleteImageSyncRepoRequest) (*model.DeleteImageSyncRepoResponse, error)
- func (c *SwrClient) DeleteNamespaceAuth(request *model.DeleteNamespaceAuthRequest) (*model.DeleteNamespaceAuthResponse, error)
- func (c *SwrClient) DeleteNamespaces(request *model.DeleteNamespacesRequest) (*model.DeleteNamespacesResponse, error)
- func (c *SwrClient) DeleteRepo(request *model.DeleteRepoRequest) (*model.DeleteRepoResponse, error)
- func (c *SwrClient) DeleteRepoDomains(request *model.DeleteRepoDomainsRequest) (*model.DeleteRepoDomainsResponse, error)
- func (c *SwrClient) DeleteRepoTag(request *model.DeleteRepoTagRequest) (*model.DeleteRepoTagResponse, error)
- func (c *SwrClient) DeleteRetention(request *model.DeleteRetentionRequest) (*model.DeleteRetentionResponse, error)
- func (c *SwrClient) DeleteTrigger(request *model.DeleteTriggerRequest) (*model.DeleteTriggerResponse, error)
- func (c *SwrClient) DeleteUserRepositoryAuth(request *model.DeleteUserRepositoryAuthRequest) (*model.DeleteUserRepositoryAuthResponse, error)
- func (c *SwrClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
- func (c *SwrClient) ListImageAutoSyncReposDetails(request *model.ListImageAutoSyncReposDetailsRequest) (*model.ListImageAutoSyncReposDetailsResponse, error)
- func (c *SwrClient) ListNamespaces(request *model.ListNamespacesRequest) (*model.ListNamespacesResponse, error)
- func (c *SwrClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
- func (c *SwrClient) ListRepoDomains(request *model.ListRepoDomainsRequest) (*model.ListRepoDomainsResponse, error)
- func (c *SwrClient) ListReposDetails(request *model.ListReposDetailsRequest) (*model.ListReposDetailsResponse, error)
- func (c *SwrClient) ListRepositoryTags(request *model.ListRepositoryTagsRequest) (*model.ListRepositoryTagsResponse, error)
- func (c *SwrClient) ListRetentionHistories(request *model.ListRetentionHistoriesRequest) (*model.ListRetentionHistoriesResponse, error)
- func (c *SwrClient) ListRetentions(request *model.ListRetentionsRequest) (*model.ListRetentionsResponse, error)
- func (c *SwrClient) ListSharedReposDetails(request *model.ListSharedReposDetailsRequest) (*model.ListSharedReposDetailsResponse, error)
- func (c *SwrClient) ListTriggersDetails(request *model.ListTriggersDetailsRequest) (*model.ListTriggersDetailsResponse, error)
- func (c *SwrClient) ShowAccessDomain(request *model.ShowAccessDomainRequest) (*model.ShowAccessDomainResponse, error)
- func (c *SwrClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
- func (c *SwrClient) ShowNamespace(request *model.ShowNamespaceRequest) (*model.ShowNamespaceResponse, error)
- func (c *SwrClient) ShowNamespaceAuth(request *model.ShowNamespaceAuthRequest) (*model.ShowNamespaceAuthResponse, error)
- func (c *SwrClient) ShowRepository(request *model.ShowRepositoryRequest) (*model.ShowRepositoryResponse, error)
- func (c *SwrClient) ShowRetention(request *model.ShowRetentionRequest) (*model.ShowRetentionResponse, error)
- func (c *SwrClient) ShowSyncJob(request *model.ShowSyncJobRequest) (*model.ShowSyncJobResponse, error)
- func (c *SwrClient) ShowTrigger(request *model.ShowTriggerRequest) (*model.ShowTriggerResponse, error)
- func (c *SwrClient) ShowUserRepositoryAuth(request *model.ShowUserRepositoryAuthRequest) (*model.ShowUserRepositoryAuthResponse, error)
- func (c *SwrClient) UpdateNamespaceAuth(request *model.UpdateNamespaceAuthRequest) (*model.UpdateNamespaceAuthResponse, error)
- func (c *SwrClient) UpdateRepo(request *model.UpdateRepoRequest) (*model.UpdateRepoResponse, error)
- func (c *SwrClient) UpdateRepoDomains(request *model.UpdateRepoDomainsRequest) (*model.UpdateRepoDomainsResponse, error)
- func (c *SwrClient) UpdateRetention(request *model.UpdateRetentionRequest) (*model.UpdateRetentionResponse, error)
- func (c *SwrClient) UpdateTrigger(request *model.UpdateTriggerRequest) (*model.UpdateTriggerResponse, error)
- func (c *SwrClient) UpdateUserRepositoryAuth(request *model.UpdateUserRepositoryAuthRequest) (*model.UpdateUserRepositoryAuthResponse, error)
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() *http_client.HcHttpClientBuilder
Types ¶
type SwrClient ¶
type SwrClient struct {
HcClient *http_client.HcHttpClient
}
func NewSwrClient ¶
func NewSwrClient(hcClient *http_client.HcHttpClient) *SwrClient
func (*SwrClient) CreateImageSyncRepo ¶
func (c *SwrClient) CreateImageSyncRepo(request *model.CreateImageSyncRepoRequest) (*model.CreateImageSyncRepoResponse, error)
创建镜像自动同步任务
创建镜像自动同步任务
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) CreateManualImageSyncRepo ¶
func (c *SwrClient) CreateManualImageSyncRepo(request *model.CreateManualImageSyncRepoRequest) (*model.CreateManualImageSyncRepoResponse, error)
手动同步镜像
手动同步镜像
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) CreateNamespace ¶
func (c *SwrClient) CreateNamespace(request *model.CreateNamespaceRequest) (*model.CreateNamespaceResponse, error)
创建组织
创建组织
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) CreateNamespaceAuth ¶
func (c *SwrClient) CreateNamespaceAuth(request *model.CreateNamespaceAuthRequest) (*model.CreateNamespaceAuthResponse, error)
创建组织权限
创建组织权限
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) CreateRepo ¶
func (c *SwrClient) CreateRepo(request *model.CreateRepoRequest) (*model.CreateRepoResponse, error)
在组织下创建镜像仓库
在组织下创建镜像仓库。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) CreateRepoDomains ¶
func (c *SwrClient) CreateRepoDomains(request *model.CreateRepoDomainsRequest) (*model.CreateRepoDomainsResponse, error)
创建共享帐号
创建共享帐号。镜像上传后,您可以共享私有镜像给其他帐号,并授予下载该镜像的权限。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) CreateRetention ¶
func (c *SwrClient) CreateRetention(request *model.CreateRetentionRequest) (*model.CreateRetentionResponse, error)
创建镜像老化规则
创建镜像老化规则
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) CreateSecret ¶
func (c *SwrClient) CreateSecret(request *model.CreateSecretRequest) (*model.CreateSecretResponse, error)
生成临时登录指令
调用该接口,通过获取响应消息头的X-Swr-Dockerlogin的值及响应消息体的host值,可生成临时登录指令。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) CreateTrigger ¶
func (c *SwrClient) CreateTrigger(request *model.CreateTriggerRequest) (*model.CreateTriggerResponse, error)
创建触发器
创建触发器
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) CreateUserRepositoryAuth ¶
func (c *SwrClient) CreateUserRepositoryAuth(request *model.CreateUserRepositoryAuthRequest) (*model.CreateUserRepositoryAuthResponse, error)
创建镜像权限
创建镜像权限
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) DeleteImageSyncRepo ¶
func (c *SwrClient) DeleteImageSyncRepo(request *model.DeleteImageSyncRepoRequest) (*model.DeleteImageSyncRepoResponse, error)
删除镜像自动同步任务
删除镜像自动同步任务
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) DeleteNamespaceAuth ¶
func (c *SwrClient) DeleteNamespaceAuth(request *model.DeleteNamespaceAuthRequest) (*model.DeleteNamespaceAuthResponse, error)
删除组织权限
删除组织权限
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) DeleteNamespaces ¶
func (c *SwrClient) DeleteNamespaces(request *model.DeleteNamespacesRequest) (*model.DeleteNamespacesResponse, error)
删除组织
删除组织
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) DeleteRepo ¶
func (c *SwrClient) DeleteRepo(request *model.DeleteRepoRequest) (*model.DeleteRepoResponse, error)
删除组织下的镜像仓库
删除组织下的镜像仓库。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) DeleteRepoDomains ¶
func (c *SwrClient) DeleteRepoDomains(request *model.DeleteRepoDomainsRequest) (*model.DeleteRepoDomainsResponse, error)
删除共享帐号
删除共享帐号
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) DeleteRepoTag ¶
func (c *SwrClient) DeleteRepoTag(request *model.DeleteRepoTagRequest) (*model.DeleteRepoTagResponse, error)
删除指定tag的镜像
删除镜像仓库中指定tag的镜像
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) DeleteRetention ¶
func (c *SwrClient) DeleteRetention(request *model.DeleteRetentionRequest) (*model.DeleteRetentionResponse, error)
删除镜像老化规则
删除镜像老化规则
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) DeleteTrigger ¶
func (c *SwrClient) DeleteTrigger(request *model.DeleteTriggerRequest) (*model.DeleteTriggerResponse, error)
删除触发器
删除触发器
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) DeleteUserRepositoryAuth ¶
func (c *SwrClient) DeleteUserRepositoryAuth(request *model.DeleteUserRepositoryAuthRequest) (*model.DeleteUserRepositoryAuthResponse, error)
删除镜像权限
删除镜像权限
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ListApiVersions ¶
func (c *SwrClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
查询所有API版本信息
查询所有API版本信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ListImageAutoSyncReposDetails ¶
func (c *SwrClient) ListImageAutoSyncReposDetails(request *model.ListImageAutoSyncReposDetailsRequest) (*model.ListImageAutoSyncReposDetailsResponse, error)
获取镜像自动同步任务信息
获取镜像自动同步任务列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ListNamespaces ¶
func (c *SwrClient) ListNamespaces(request *model.ListNamespacesRequest) (*model.ListNamespacesResponse, error)
查询组织列表
查询组织列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ListQuotas ¶ added in v0.0.71
func (c *SwrClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
获取配额信息
获取配额信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ListRepoDomains ¶
func (c *SwrClient) ListRepoDomains(request *model.ListRepoDomainsRequest) (*model.ListRepoDomainsResponse, error)
获取共享帐号列表
获取共享帐号列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ListReposDetails ¶
func (c *SwrClient) ListReposDetails(request *model.ListReposDetailsRequest) (*model.ListReposDetailsResponse, error)
查询镜像仓库列表
查询镜像仓库列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ListRepositoryTags ¶
func (c *SwrClient) ListRepositoryTags(request *model.ListRepositoryTagsRequest) (*model.ListRepositoryTagsResponse, error)
查询镜像tag列表
查询镜像tag列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ListRetentionHistories ¶
func (c *SwrClient) ListRetentionHistories(request *model.ListRetentionHistoriesRequest) (*model.ListRetentionHistoriesResponse, error)
获取镜像老化记录
获取镜像老化记录
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ListRetentions ¶
func (c *SwrClient) ListRetentions(request *model.ListRetentionsRequest) (*model.ListRetentionsResponse, error)
获取镜像老化规则列表
获取镜像老化规则列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ListSharedReposDetails ¶
func (c *SwrClient) ListSharedReposDetails(request *model.ListSharedReposDetailsRequest) (*model.ListSharedReposDetailsResponse, error)
查询共享镜像列表
查询共享镜像列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ListTriggersDetails ¶
func (c *SwrClient) ListTriggersDetails(request *model.ListTriggersDetailsRequest) (*model.ListTriggersDetailsResponse, error)
获取镜像仓库下的触发器列表
获取镜像仓库下的触发器列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ShowAccessDomain ¶
func (c *SwrClient) ShowAccessDomain(request *model.ShowAccessDomainRequest) (*model.ShowAccessDomainResponse, error)
判断共享帐号是否存在
判断共享租户是否存在
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ShowApiVersion ¶
func (c *SwrClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
查询指定API版本信息
查询指定API版本信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ShowNamespace ¶
func (c *SwrClient) ShowNamespace(request *model.ShowNamespaceRequest) (*model.ShowNamespaceResponse, error)
获取组织详情
获取组织详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ShowNamespaceAuth ¶
func (c *SwrClient) ShowNamespaceAuth(request *model.ShowNamespaceAuthRequest) (*model.ShowNamespaceAuthResponse, error)
查询组织权限
查询组织权限
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ShowRepository ¶
func (c *SwrClient) ShowRepository(request *model.ShowRepositoryRequest) (*model.ShowRepositoryResponse, error)
查询镜像仓库概要信息
查询镜像仓库概要信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ShowRetention ¶
func (c *SwrClient) ShowRetention(request *model.ShowRetentionRequest) (*model.ShowRetentionResponse, error)
获取镜像老化规则记录
获取镜像老化规则记录
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ShowSyncJob ¶
func (c *SwrClient) ShowSyncJob(request *model.ShowSyncJobRequest) (*model.ShowSyncJobResponse, error)
获取镜像同步任务信息
获取镜像同步任务信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ShowTrigger ¶
func (c *SwrClient) ShowTrigger(request *model.ShowTriggerRequest) (*model.ShowTriggerResponse, error)
获取触发器详情
获取触发器详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) ShowUserRepositoryAuth ¶
func (c *SwrClient) ShowUserRepositoryAuth(request *model.ShowUserRepositoryAuthRequest) (*model.ShowUserRepositoryAuthResponse, error)
查询镜像权限
查询镜像权限
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) UpdateNamespaceAuth ¶
func (c *SwrClient) UpdateNamespaceAuth(request *model.UpdateNamespaceAuthRequest) (*model.UpdateNamespaceAuthResponse, error)
更新组织权限
更新组织权限
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) UpdateRepo ¶
func (c *SwrClient) UpdateRepo(request *model.UpdateRepoRequest) (*model.UpdateRepoResponse, error)
更新镜像仓库的概要信息
更新租户命名空间下的镜像概要信息,包括镜像类型、是否公有、描述信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) UpdateRepoDomains ¶
func (c *SwrClient) UpdateRepoDomains(request *model.UpdateRepoDomainsRequest) (*model.UpdateRepoDomainsResponse, error)
更新共享帐号
更新共享帐号
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) UpdateRetention ¶
func (c *SwrClient) UpdateRetention(request *model.UpdateRetentionRequest) (*model.UpdateRetentionResponse, error)
修改镜像老化规则
修改镜像老化规则
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) UpdateTrigger ¶
func (c *SwrClient) UpdateTrigger(request *model.UpdateTriggerRequest) (*model.UpdateTriggerResponse, error)
更新触发器配置
更新触发器配置
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SwrClient) UpdateUserRepositoryAuth ¶
func (c *SwrClient) UpdateUserRepositoryAuth(request *model.UpdateUserRepositoryAuthRequest) (*model.UpdateUserRepositoryAuthResponse, error)
更新镜像权限
更新镜像权限
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.