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 CreateImageSyncRepoInvoker
- type CreateManualImageSyncRepoInvoker
- type CreateNamespaceAuthInvoker
- type CreateNamespaceInvoker
- type CreateRepoDomainsInvoker
- type CreateRepoInvoker
- type CreateRetentionInvoker
- type CreateSecretInvoker
- type CreateTriggerInvoker
- type CreateUserRepositoryAuthInvoker
- type DeleteImageSyncRepoInvoker
- type DeleteNamespaceAuthInvoker
- type DeleteNamespacesInvoker
- type DeleteRepoDomainsInvoker
- type DeleteRepoInvoker
- type DeleteRepoTagInvoker
- type DeleteRetentionInvoker
- type DeleteTriggerInvoker
- type DeleteUserRepositoryAuthInvoker
- type ListApiVersionsInvoker
- type ListImageAutoSyncReposDetailsInvoker
- type ListNamespacesInvoker
- type ListQuotasInvoker
- type ListRepoDomainsInvoker
- type ListReposDetailsInvoker
- type ListRepositoryTagsInvoker
- type ListRetentionHistoriesInvoker
- type ListRetentionsInvoker
- type ListSharedReposDetailsInvoker
- type ListTriggersDetailsInvoker
- type ShowAccessDomainInvoker
- type ShowApiVersionInvoker
- type ShowNamespaceAuthInvoker
- type ShowNamespaceInvoker
- type ShowRepositoryInvoker
- type ShowRetentionInvoker
- type ShowSyncJobInvoker
- type ShowTriggerInvoker
- type ShowUserRepositoryAuthInvoker
- type SwrClient
- func (c *SwrClient) CreateImageSyncRepo(request *model.CreateImageSyncRepoRequest) (*model.CreateImageSyncRepoResponse, error)
- func (c *SwrClient) CreateImageSyncRepoInvoker(request *model.CreateImageSyncRepoRequest) *CreateImageSyncRepoInvoker
- func (c *SwrClient) CreateManualImageSyncRepo(request *model.CreateManualImageSyncRepoRequest) (*model.CreateManualImageSyncRepoResponse, error)
- func (c *SwrClient) CreateManualImageSyncRepoInvoker(request *model.CreateManualImageSyncRepoRequest) *CreateManualImageSyncRepoInvoker
- func (c *SwrClient) CreateNamespace(request *model.CreateNamespaceRequest) (*model.CreateNamespaceResponse, error)
- func (c *SwrClient) CreateNamespaceAuth(request *model.CreateNamespaceAuthRequest) (*model.CreateNamespaceAuthResponse, error)
- func (c *SwrClient) CreateNamespaceAuthInvoker(request *model.CreateNamespaceAuthRequest) *CreateNamespaceAuthInvoker
- func (c *SwrClient) CreateNamespaceInvoker(request *model.CreateNamespaceRequest) *CreateNamespaceInvoker
- func (c *SwrClient) CreateRepo(request *model.CreateRepoRequest) (*model.CreateRepoResponse, error)
- func (c *SwrClient) CreateRepoDomains(request *model.CreateRepoDomainsRequest) (*model.CreateRepoDomainsResponse, error)
- func (c *SwrClient) CreateRepoDomainsInvoker(request *model.CreateRepoDomainsRequest) *CreateRepoDomainsInvoker
- func (c *SwrClient) CreateRepoInvoker(request *model.CreateRepoRequest) *CreateRepoInvoker
- func (c *SwrClient) CreateRetention(request *model.CreateRetentionRequest) (*model.CreateRetentionResponse, error)
- func (c *SwrClient) CreateRetentionInvoker(request *model.CreateRetentionRequest) *CreateRetentionInvoker
- func (c *SwrClient) CreateSecret(request *model.CreateSecretRequest) (*model.CreateSecretResponse, error)
- func (c *SwrClient) CreateSecretInvoker(request *model.CreateSecretRequest) *CreateSecretInvoker
- func (c *SwrClient) CreateTrigger(request *model.CreateTriggerRequest) (*model.CreateTriggerResponse, error)
- func (c *SwrClient) CreateTriggerInvoker(request *model.CreateTriggerRequest) *CreateTriggerInvoker
- func (c *SwrClient) CreateUserRepositoryAuth(request *model.CreateUserRepositoryAuthRequest) (*model.CreateUserRepositoryAuthResponse, error)
- func (c *SwrClient) CreateUserRepositoryAuthInvoker(request *model.CreateUserRepositoryAuthRequest) *CreateUserRepositoryAuthInvoker
- func (c *SwrClient) DeleteImageSyncRepo(request *model.DeleteImageSyncRepoRequest) (*model.DeleteImageSyncRepoResponse, error)
- func (c *SwrClient) DeleteImageSyncRepoInvoker(request *model.DeleteImageSyncRepoRequest) *DeleteImageSyncRepoInvoker
- func (c *SwrClient) DeleteNamespaceAuth(request *model.DeleteNamespaceAuthRequest) (*model.DeleteNamespaceAuthResponse, error)
- func (c *SwrClient) DeleteNamespaceAuthInvoker(request *model.DeleteNamespaceAuthRequest) *DeleteNamespaceAuthInvoker
- func (c *SwrClient) DeleteNamespaces(request *model.DeleteNamespacesRequest) (*model.DeleteNamespacesResponse, error)
- func (c *SwrClient) DeleteNamespacesInvoker(request *model.DeleteNamespacesRequest) *DeleteNamespacesInvoker
- func (c *SwrClient) DeleteRepo(request *model.DeleteRepoRequest) (*model.DeleteRepoResponse, error)
- func (c *SwrClient) DeleteRepoDomains(request *model.DeleteRepoDomainsRequest) (*model.DeleteRepoDomainsResponse, error)
- func (c *SwrClient) DeleteRepoDomainsInvoker(request *model.DeleteRepoDomainsRequest) *DeleteRepoDomainsInvoker
- func (c *SwrClient) DeleteRepoInvoker(request *model.DeleteRepoRequest) *DeleteRepoInvoker
- func (c *SwrClient) DeleteRepoTag(request *model.DeleteRepoTagRequest) (*model.DeleteRepoTagResponse, error)
- func (c *SwrClient) DeleteRepoTagInvoker(request *model.DeleteRepoTagRequest) *DeleteRepoTagInvoker
- func (c *SwrClient) DeleteRetention(request *model.DeleteRetentionRequest) (*model.DeleteRetentionResponse, error)
- func (c *SwrClient) DeleteRetentionInvoker(request *model.DeleteRetentionRequest) *DeleteRetentionInvoker
- func (c *SwrClient) DeleteTrigger(request *model.DeleteTriggerRequest) (*model.DeleteTriggerResponse, error)
- func (c *SwrClient) DeleteTriggerInvoker(request *model.DeleteTriggerRequest) *DeleteTriggerInvoker
- func (c *SwrClient) DeleteUserRepositoryAuth(request *model.DeleteUserRepositoryAuthRequest) (*model.DeleteUserRepositoryAuthResponse, error)
- func (c *SwrClient) DeleteUserRepositoryAuthInvoker(request *model.DeleteUserRepositoryAuthRequest) *DeleteUserRepositoryAuthInvoker
- func (c *SwrClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
- func (c *SwrClient) ListApiVersionsInvoker(request *model.ListApiVersionsRequest) *ListApiVersionsInvoker
- func (c *SwrClient) ListImageAutoSyncReposDetails(request *model.ListImageAutoSyncReposDetailsRequest) (*model.ListImageAutoSyncReposDetailsResponse, error)
- func (c *SwrClient) ListImageAutoSyncReposDetailsInvoker(request *model.ListImageAutoSyncReposDetailsRequest) *ListImageAutoSyncReposDetailsInvoker
- func (c *SwrClient) ListNamespaces(request *model.ListNamespacesRequest) (*model.ListNamespacesResponse, error)
- func (c *SwrClient) ListNamespacesInvoker(request *model.ListNamespacesRequest) *ListNamespacesInvoker
- func (c *SwrClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
- func (c *SwrClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker
- func (c *SwrClient) ListRepoDomains(request *model.ListRepoDomainsRequest) (*model.ListRepoDomainsResponse, error)
- func (c *SwrClient) ListRepoDomainsInvoker(request *model.ListRepoDomainsRequest) *ListRepoDomainsInvoker
- func (c *SwrClient) ListReposDetails(request *model.ListReposDetailsRequest) (*model.ListReposDetailsResponse, error)
- func (c *SwrClient) ListReposDetailsInvoker(request *model.ListReposDetailsRequest) *ListReposDetailsInvoker
- func (c *SwrClient) ListRepositoryTags(request *model.ListRepositoryTagsRequest) (*model.ListRepositoryTagsResponse, error)
- func (c *SwrClient) ListRepositoryTagsInvoker(request *model.ListRepositoryTagsRequest) *ListRepositoryTagsInvoker
- func (c *SwrClient) ListRetentionHistories(request *model.ListRetentionHistoriesRequest) (*model.ListRetentionHistoriesResponse, error)
- func (c *SwrClient) ListRetentionHistoriesInvoker(request *model.ListRetentionHistoriesRequest) *ListRetentionHistoriesInvoker
- func (c *SwrClient) ListRetentions(request *model.ListRetentionsRequest) (*model.ListRetentionsResponse, error)
- func (c *SwrClient) ListRetentionsInvoker(request *model.ListRetentionsRequest) *ListRetentionsInvoker
- func (c *SwrClient) ListSharedReposDetails(request *model.ListSharedReposDetailsRequest) (*model.ListSharedReposDetailsResponse, error)
- func (c *SwrClient) ListSharedReposDetailsInvoker(request *model.ListSharedReposDetailsRequest) *ListSharedReposDetailsInvoker
- func (c *SwrClient) ListTriggersDetails(request *model.ListTriggersDetailsRequest) (*model.ListTriggersDetailsResponse, error)
- func (c *SwrClient) ListTriggersDetailsInvoker(request *model.ListTriggersDetailsRequest) *ListTriggersDetailsInvoker
- func (c *SwrClient) ShowAccessDomain(request *model.ShowAccessDomainRequest) (*model.ShowAccessDomainResponse, error)
- func (c *SwrClient) ShowAccessDomainInvoker(request *model.ShowAccessDomainRequest) *ShowAccessDomainInvoker
- func (c *SwrClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
- func (c *SwrClient) ShowApiVersionInvoker(request *model.ShowApiVersionRequest) *ShowApiVersionInvoker
- func (c *SwrClient) ShowNamespace(request *model.ShowNamespaceRequest) (*model.ShowNamespaceResponse, error)
- func (c *SwrClient) ShowNamespaceAuth(request *model.ShowNamespaceAuthRequest) (*model.ShowNamespaceAuthResponse, error)
- func (c *SwrClient) ShowNamespaceAuthInvoker(request *model.ShowNamespaceAuthRequest) *ShowNamespaceAuthInvoker
- func (c *SwrClient) ShowNamespaceInvoker(request *model.ShowNamespaceRequest) *ShowNamespaceInvoker
- func (c *SwrClient) ShowRepository(request *model.ShowRepositoryRequest) (*model.ShowRepositoryResponse, error)
- func (c *SwrClient) ShowRepositoryInvoker(request *model.ShowRepositoryRequest) *ShowRepositoryInvoker
- func (c *SwrClient) ShowRetention(request *model.ShowRetentionRequest) (*model.ShowRetentionResponse, error)
- func (c *SwrClient) ShowRetentionInvoker(request *model.ShowRetentionRequest) *ShowRetentionInvoker
- func (c *SwrClient) ShowSyncJob(request *model.ShowSyncJobRequest) (*model.ShowSyncJobResponse, error)
- func (c *SwrClient) ShowSyncJobInvoker(request *model.ShowSyncJobRequest) *ShowSyncJobInvoker
- func (c *SwrClient) ShowTrigger(request *model.ShowTriggerRequest) (*model.ShowTriggerResponse, error)
- func (c *SwrClient) ShowTriggerInvoker(request *model.ShowTriggerRequest) *ShowTriggerInvoker
- func (c *SwrClient) ShowUserRepositoryAuth(request *model.ShowUserRepositoryAuthRequest) (*model.ShowUserRepositoryAuthResponse, error)
- func (c *SwrClient) ShowUserRepositoryAuthInvoker(request *model.ShowUserRepositoryAuthRequest) *ShowUserRepositoryAuthInvoker
- func (c *SwrClient) UpdateNamespaceAuth(request *model.UpdateNamespaceAuthRequest) (*model.UpdateNamespaceAuthResponse, error)
- func (c *SwrClient) UpdateNamespaceAuthInvoker(request *model.UpdateNamespaceAuthRequest) *UpdateNamespaceAuthInvoker
- func (c *SwrClient) UpdateRepo(request *model.UpdateRepoRequest) (*model.UpdateRepoResponse, error)
- func (c *SwrClient) UpdateRepoDomains(request *model.UpdateRepoDomainsRequest) (*model.UpdateRepoDomainsResponse, error)
- func (c *SwrClient) UpdateRepoDomainsInvoker(request *model.UpdateRepoDomainsRequest) *UpdateRepoDomainsInvoker
- func (c *SwrClient) UpdateRepoInvoker(request *model.UpdateRepoRequest) *UpdateRepoInvoker
- func (c *SwrClient) UpdateRetention(request *model.UpdateRetentionRequest) (*model.UpdateRetentionResponse, error)
- func (c *SwrClient) UpdateRetentionInvoker(request *model.UpdateRetentionRequest) *UpdateRetentionInvoker
- func (c *SwrClient) UpdateTrigger(request *model.UpdateTriggerRequest) (*model.UpdateTriggerResponse, error)
- func (c *SwrClient) UpdateTriggerInvoker(request *model.UpdateTriggerRequest) *UpdateTriggerInvoker
- func (c *SwrClient) UpdateUserRepositoryAuth(request *model.UpdateUserRepositoryAuthRequest) (*model.UpdateUserRepositoryAuthResponse, error)
- func (c *SwrClient) UpdateUserRepositoryAuthInvoker(request *model.UpdateUserRepositoryAuthRequest) *UpdateUserRepositoryAuthInvoker
- type UpdateNamespaceAuthInvoker
- type UpdateRepoDomainsInvoker
- type UpdateRepoInvoker
- type UpdateRetentionInvoker
- type UpdateTriggerInvoker
- type UpdateUserRepositoryAuthInvoker
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 CreateImageSyncRepoInvoker ¶ added in v0.0.90
type CreateImageSyncRepoInvoker struct {
*invoker.BaseInvoker
}
func (*CreateImageSyncRepoInvoker) Invoke ¶ added in v0.0.90
func (i *CreateImageSyncRepoInvoker) Invoke() (*model.CreateImageSyncRepoResponse, error)
type CreateManualImageSyncRepoInvoker ¶ added in v0.0.90
type CreateManualImageSyncRepoInvoker struct {
*invoker.BaseInvoker
}
func (*CreateManualImageSyncRepoInvoker) Invoke ¶ added in v0.0.90
func (i *CreateManualImageSyncRepoInvoker) Invoke() (*model.CreateManualImageSyncRepoResponse, error)
type CreateNamespaceAuthInvoker ¶ added in v0.0.90
type CreateNamespaceAuthInvoker struct {
*invoker.BaseInvoker
}
func (*CreateNamespaceAuthInvoker) Invoke ¶ added in v0.0.90
func (i *CreateNamespaceAuthInvoker) Invoke() (*model.CreateNamespaceAuthResponse, error)
type CreateNamespaceInvoker ¶ added in v0.0.90
type CreateNamespaceInvoker struct {
*invoker.BaseInvoker
}
func (*CreateNamespaceInvoker) Invoke ¶ added in v0.0.90
func (i *CreateNamespaceInvoker) Invoke() (*model.CreateNamespaceResponse, error)
type CreateRepoDomainsInvoker ¶ added in v0.0.90
type CreateRepoDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRepoDomainsInvoker) Invoke ¶ added in v0.0.90
func (i *CreateRepoDomainsInvoker) Invoke() (*model.CreateRepoDomainsResponse, error)
type CreateRepoInvoker ¶ added in v0.0.90
type CreateRepoInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRepoInvoker) Invoke ¶ added in v0.0.90
func (i *CreateRepoInvoker) Invoke() (*model.CreateRepoResponse, error)
type CreateRetentionInvoker ¶ added in v0.0.90
type CreateRetentionInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRetentionInvoker) Invoke ¶ added in v0.0.90
func (i *CreateRetentionInvoker) Invoke() (*model.CreateRetentionResponse, error)
type CreateSecretInvoker ¶ added in v0.0.90
type CreateSecretInvoker struct {
*invoker.BaseInvoker
}
func (*CreateSecretInvoker) Invoke ¶ added in v0.0.90
func (i *CreateSecretInvoker) Invoke() (*model.CreateSecretResponse, error)
type CreateTriggerInvoker ¶ added in v0.0.90
type CreateTriggerInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTriggerInvoker) Invoke ¶ added in v0.0.90
func (i *CreateTriggerInvoker) Invoke() (*model.CreateTriggerResponse, error)
type CreateUserRepositoryAuthInvoker ¶ added in v0.0.90
type CreateUserRepositoryAuthInvoker struct {
*invoker.BaseInvoker
}
func (*CreateUserRepositoryAuthInvoker) Invoke ¶ added in v0.0.90
func (i *CreateUserRepositoryAuthInvoker) Invoke() (*model.CreateUserRepositoryAuthResponse, error)
type DeleteImageSyncRepoInvoker ¶ added in v0.0.90
type DeleteImageSyncRepoInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteImageSyncRepoInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteImageSyncRepoInvoker) Invoke() (*model.DeleteImageSyncRepoResponse, error)
type DeleteNamespaceAuthInvoker ¶ added in v0.0.90
type DeleteNamespaceAuthInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteNamespaceAuthInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteNamespaceAuthInvoker) Invoke() (*model.DeleteNamespaceAuthResponse, error)
type DeleteNamespacesInvoker ¶ added in v0.0.90
type DeleteNamespacesInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteNamespacesInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteNamespacesInvoker) Invoke() (*model.DeleteNamespacesResponse, error)
type DeleteRepoDomainsInvoker ¶ added in v0.0.90
type DeleteRepoDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteRepoDomainsInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteRepoDomainsInvoker) Invoke() (*model.DeleteRepoDomainsResponse, error)
type DeleteRepoInvoker ¶ added in v0.0.90
type DeleteRepoInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteRepoInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteRepoInvoker) Invoke() (*model.DeleteRepoResponse, error)
type DeleteRepoTagInvoker ¶ added in v0.0.90
type DeleteRepoTagInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteRepoTagInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteRepoTagInvoker) Invoke() (*model.DeleteRepoTagResponse, error)
type DeleteRetentionInvoker ¶ added in v0.0.90
type DeleteRetentionInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteRetentionInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteRetentionInvoker) Invoke() (*model.DeleteRetentionResponse, error)
type DeleteTriggerInvoker ¶ added in v0.0.90
type DeleteTriggerInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTriggerInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteTriggerInvoker) Invoke() (*model.DeleteTriggerResponse, error)
type DeleteUserRepositoryAuthInvoker ¶ added in v0.0.90
type DeleteUserRepositoryAuthInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteUserRepositoryAuthInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteUserRepositoryAuthInvoker) Invoke() (*model.DeleteUserRepositoryAuthResponse, error)
type ListApiVersionsInvoker ¶ added in v0.0.90
type ListApiVersionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListApiVersionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListApiVersionsInvoker) Invoke() (*model.ListApiVersionsResponse, error)
type ListImageAutoSyncReposDetailsInvoker ¶ added in v0.0.90
type ListImageAutoSyncReposDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ListImageAutoSyncReposDetailsInvoker) Invoke ¶ added in v0.0.90
func (i *ListImageAutoSyncReposDetailsInvoker) Invoke() (*model.ListImageAutoSyncReposDetailsResponse, error)
type ListNamespacesInvoker ¶ added in v0.0.90
type ListNamespacesInvoker struct {
*invoker.BaseInvoker
}
func (*ListNamespacesInvoker) Invoke ¶ added in v0.0.90
func (i *ListNamespacesInvoker) Invoke() (*model.ListNamespacesResponse, error)
type ListQuotasInvoker ¶ added in v0.0.90
type ListQuotasInvoker struct {
*invoker.BaseInvoker
}
func (*ListQuotasInvoker) Invoke ¶ added in v0.0.90
func (i *ListQuotasInvoker) Invoke() (*model.ListQuotasResponse, error)
type ListRepoDomainsInvoker ¶ added in v0.0.90
type ListRepoDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*ListRepoDomainsInvoker) Invoke ¶ added in v0.0.90
func (i *ListRepoDomainsInvoker) Invoke() (*model.ListRepoDomainsResponse, error)
type ListReposDetailsInvoker ¶ added in v0.0.90
type ListReposDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ListReposDetailsInvoker) Invoke ¶ added in v0.0.90
func (i *ListReposDetailsInvoker) Invoke() (*model.ListReposDetailsResponse, error)
type ListRepositoryTagsInvoker ¶ added in v0.0.90
type ListRepositoryTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListRepositoryTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListRepositoryTagsInvoker) Invoke() (*model.ListRepositoryTagsResponse, error)
type ListRetentionHistoriesInvoker ¶ added in v0.0.90
type ListRetentionHistoriesInvoker struct {
*invoker.BaseInvoker
}
func (*ListRetentionHistoriesInvoker) Invoke ¶ added in v0.0.90
func (i *ListRetentionHistoriesInvoker) Invoke() (*model.ListRetentionHistoriesResponse, error)
type ListRetentionsInvoker ¶ added in v0.0.90
type ListRetentionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListRetentionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListRetentionsInvoker) Invoke() (*model.ListRetentionsResponse, error)
type ListSharedReposDetailsInvoker ¶ added in v0.0.90
type ListSharedReposDetailsInvoker struct {
}func (*ListSharedReposDetailsInvoker) Invoke ¶ added in v0.0.90
func (i *ListSharedReposDetailsInvoker) Invoke() (*model.ListSharedReposDetailsResponse, error)
type ListTriggersDetailsInvoker ¶ added in v0.0.90
type ListTriggersDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ListTriggersDetailsInvoker) Invoke ¶ added in v0.0.90
func (i *ListTriggersDetailsInvoker) Invoke() (*model.ListTriggersDetailsResponse, error)
type ShowAccessDomainInvoker ¶ added in v0.0.90
type ShowAccessDomainInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAccessDomainInvoker) Invoke ¶ added in v0.0.90
func (i *ShowAccessDomainInvoker) Invoke() (*model.ShowAccessDomainResponse, error)
type ShowApiVersionInvoker ¶ added in v0.0.90
type ShowApiVersionInvoker struct {
*invoker.BaseInvoker
}
func (*ShowApiVersionInvoker) Invoke ¶ added in v0.0.90
func (i *ShowApiVersionInvoker) Invoke() (*model.ShowApiVersionResponse, error)
type ShowNamespaceAuthInvoker ¶ added in v0.0.90
type ShowNamespaceAuthInvoker struct {
*invoker.BaseInvoker
}
func (*ShowNamespaceAuthInvoker) Invoke ¶ added in v0.0.90
func (i *ShowNamespaceAuthInvoker) Invoke() (*model.ShowNamespaceAuthResponse, error)
type ShowNamespaceInvoker ¶ added in v0.0.90
type ShowNamespaceInvoker struct {
*invoker.BaseInvoker
}
func (*ShowNamespaceInvoker) Invoke ¶ added in v0.0.90
func (i *ShowNamespaceInvoker) Invoke() (*model.ShowNamespaceResponse, error)
type ShowRepositoryInvoker ¶ added in v0.0.90
type ShowRepositoryInvoker struct {
*invoker.BaseInvoker
}
func (*ShowRepositoryInvoker) Invoke ¶ added in v0.0.90
func (i *ShowRepositoryInvoker) Invoke() (*model.ShowRepositoryResponse, error)
type ShowRetentionInvoker ¶ added in v0.0.90
type ShowRetentionInvoker struct {
*invoker.BaseInvoker
}
func (*ShowRetentionInvoker) Invoke ¶ added in v0.0.90
func (i *ShowRetentionInvoker) Invoke() (*model.ShowRetentionResponse, error)
type ShowSyncJobInvoker ¶ added in v0.0.90
type ShowSyncJobInvoker struct {
*invoker.BaseInvoker
}
func (*ShowSyncJobInvoker) Invoke ¶ added in v0.0.90
func (i *ShowSyncJobInvoker) Invoke() (*model.ShowSyncJobResponse, error)
type ShowTriggerInvoker ¶ added in v0.0.90
type ShowTriggerInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTriggerInvoker) Invoke ¶ added in v0.0.90
func (i *ShowTriggerInvoker) Invoke() (*model.ShowTriggerResponse, error)
type ShowUserRepositoryAuthInvoker ¶ added in v0.0.90
type ShowUserRepositoryAuthInvoker struct {
*invoker.BaseInvoker
}
func (*ShowUserRepositoryAuthInvoker) Invoke ¶ added in v0.0.90
func (i *ShowUserRepositoryAuthInvoker) Invoke() (*model.ShowUserRepositoryAuthResponse, error)
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)
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 ¶
func (c *SwrClient) CreateManualImageSyncRepo(request *model.CreateManualImageSyncRepoRequest) (*model.CreateManualImageSyncRepoResponse, error)
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 ¶
func (c *SwrClient) CreateNamespaceAuth(request *model.CreateNamespaceAuthRequest) (*model.CreateNamespaceAuthResponse, error)
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 ¶
func (c *SwrClient) CreateUserRepositoryAuth(request *model.CreateUserRepositoryAuthRequest) (*model.CreateUserRepositoryAuthResponse, error)
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 ¶
func (c *SwrClient) DeleteImageSyncRepo(request *model.DeleteImageSyncRepoRequest) (*model.DeleteImageSyncRepoResponse, error)
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 ¶
func (c *SwrClient) DeleteNamespaceAuth(request *model.DeleteNamespaceAuthRequest) (*model.DeleteNamespaceAuthResponse, error)
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 ¶
func (c *SwrClient) DeleteUserRepositoryAuth(request *model.DeleteUserRepositoryAuthRequest) (*model.DeleteUserRepositoryAuthResponse, error)
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 ¶
func (c *SwrClient) ListImageAutoSyncReposDetails(request *model.ListImageAutoSyncReposDetailsRequest) (*model.ListImageAutoSyncReposDetailsResponse, error)
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 ¶
func (c *SwrClient) ListRetentionHistories(request *model.ListRetentionHistoriesRequest) (*model.ListRetentionHistoriesResponse, error)
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 ¶
func (c *SwrClient) ListSharedReposDetails(request *model.ListSharedReposDetailsRequest) (*model.ListSharedReposDetailsResponse, error)
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 ¶
func (c *SwrClient) ListTriggersDetails(request *model.ListTriggersDetailsRequest) (*model.ListTriggersDetailsResponse, error)
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 ¶
func (c *SwrClient) ShowUserRepositoryAuth(request *model.ShowUserRepositoryAuthRequest) (*model.ShowUserRepositoryAuthResponse, error)
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 ¶
func (c *SwrClient) UpdateNamespaceAuth(request *model.UpdateNamespaceAuthRequest) (*model.UpdateNamespaceAuthResponse, error)
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 ¶
func (c *SwrClient) UpdateUserRepositoryAuth(request *model.UpdateUserRepositoryAuthRequest) (*model.UpdateUserRepositoryAuthResponse, error)
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
func (i *UpdateNamespaceAuthInvoker) Invoke() (*model.UpdateNamespaceAuthResponse, error)
type UpdateRepoDomainsInvoker ¶ added in v0.0.90
type UpdateRepoDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateRepoDomainsInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateRepoDomainsInvoker) Invoke() (*model.UpdateRepoDomainsResponse, error)
type UpdateRepoInvoker ¶ added in v0.0.90
type UpdateRepoInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateRepoInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateRepoInvoker) Invoke() (*model.UpdateRepoResponse, error)
type UpdateRetentionInvoker ¶ added in v0.0.90
type UpdateRetentionInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateRetentionInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateRetentionInvoker) Invoke() (*model.UpdateRetentionResponse, error)
type UpdateTriggerInvoker ¶ added in v0.0.90
type UpdateTriggerInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateTriggerInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateTriggerInvoker) Invoke() (*model.UpdateTriggerResponse, error)
type UpdateUserRepositoryAuthInvoker ¶ added in v0.0.90
type UpdateUserRepositoryAuthInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateUserRepositoryAuthInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateUserRepositoryAuthInvoker) Invoke() (*model.UpdateUserRepositoryAuthResponse, error)