Documentation ¶
Index ¶
- type AuthInfo
- type CreateImageSyncRepoRequest
- type CreateImageSyncRepoRequestBody
- type CreateImageSyncRepoRequestContentType
- type CreateImageSyncRepoRequestContentTypeEnum
- type CreateImageSyncRepoResponse
- type CreateManualImageSyncRepoRequest
- type CreateManualImageSyncRepoRequestBody
- type CreateManualImageSyncRepoRequestContentType
- type CreateManualImageSyncRepoRequestContentTypeEnum
- type CreateManualImageSyncRepoResponse
- type CreateNamespaceAuthRequest
- type CreateNamespaceAuthRequestContentType
- type CreateNamespaceAuthRequestContentTypeEnum
- type CreateNamespaceAuthResponse
- type CreateNamespaceRequest
- type CreateNamespaceRequestBody
- type CreateNamespaceRequestContentType
- type CreateNamespaceRequestContentTypeEnum
- type CreateNamespaceResponse
- type CreateRepoDomainsRequest
- type CreateRepoDomainsRequestBody
- type CreateRepoDomainsRequestContentType
- type CreateRepoDomainsRequestContentTypeEnum
- type CreateRepoDomainsResponse
- type CreateRepoRequest
- type CreateRepoRequestBody
- type CreateRepoRequestBodyCategory
- type CreateRepoRequestBodyCategoryEnum
- type CreateRepoRequestContentType
- type CreateRepoRequestContentTypeEnum
- type CreateRepoResponse
- type CreateRetentionRequest
- type CreateRetentionRequestBody
- type CreateRetentionRequestContentType
- type CreateRetentionRequestContentTypeEnum
- type CreateRetentionResponse
- type CreateSecretRequest
- type CreateSecretRequestContentType
- type CreateSecretRequestContentTypeEnum
- type CreateSecretResponse
- type CreateTriggerRequest
- type CreateTriggerRequestBody
- type CreateTriggerRequestContentType
- type CreateTriggerRequestContentTypeEnum
- type CreateTriggerResponse
- type CreateUserRepositoryAuthRequest
- type CreateUserRepositoryAuthRequestContentType
- type CreateUserRepositoryAuthRequestContentTypeEnum
- type CreateUserRepositoryAuthResponse
- type DeleteImageSyncRepoRequest
- type DeleteImageSyncRepoRequestBody
- type DeleteImageSyncRepoRequestContentType
- type DeleteImageSyncRepoRequestContentTypeEnum
- type DeleteImageSyncRepoResponse
- type DeleteNamespaceAuthRequest
- type DeleteNamespaceAuthRequestContentType
- type DeleteNamespaceAuthRequestContentTypeEnum
- type DeleteNamespaceAuthResponse
- type DeleteNamespacesRequest
- type DeleteNamespacesRequestContentType
- type DeleteNamespacesRequestContentTypeEnum
- type DeleteNamespacesResponse
- type DeleteRepoDomainsRequest
- type DeleteRepoDomainsRequestContentType
- type DeleteRepoDomainsRequestContentTypeEnum
- type DeleteRepoDomainsResponse
- type DeleteRepoRequest
- type DeleteRepoRequestContentType
- type DeleteRepoRequestContentTypeEnum
- type DeleteRepoResponse
- type DeleteRepoTagRequest
- type DeleteRepoTagRequestContentType
- type DeleteRepoTagRequestContentTypeEnum
- type DeleteRepoTagResponse
- type DeleteRetentionRequest
- type DeleteRetentionRequestContentType
- type DeleteRetentionRequestContentTypeEnum
- type DeleteRetentionResponse
- type DeleteTriggerRequest
- type DeleteTriggerRequestContentType
- type DeleteTriggerRequestContentTypeEnum
- type DeleteTriggerResponse
- type DeleteUserRepositoryAuthRequest
- type DeleteUserRepositoryAuthRequestContentType
- type DeleteUserRepositoryAuthRequestContentTypeEnum
- type DeleteUserRepositoryAuthResponse
- type ImageTag
- type Link
- type ListApiVersionsRequest
- type ListApiVersionsRequestContentType
- type ListApiVersionsRequestContentTypeEnum
- type ListApiVersionsResponse
- type ListImageAutoSyncReposDetailsRequest
- type ListImageAutoSyncReposDetailsRequestContentType
- type ListImageAutoSyncReposDetailsRequestContentTypeEnum
- type ListImageAutoSyncReposDetailsResponse
- type ListNamespacesRequest
- type ListNamespacesRequestContentType
- type ListNamespacesRequestContentTypeEnum
- type ListNamespacesResponse
- type ListQuotasRequest
- type ListQuotasRequestContentType
- type ListQuotasRequestContentTypeEnum
- type ListQuotasResponse
- type ListRepoDomainsRequest
- type ListRepoDomainsRequestContentType
- type ListRepoDomainsRequestContentTypeEnum
- type ListRepoDomainsResponse
- type ListReposDetailsRequest
- type ListReposDetailsRequestContentType
- type ListReposDetailsRequestContentTypeEnum
- type ListReposDetailsResponse
- type ListRepositoryTagsRequest
- type ListRepositoryTagsRequestContentType
- type ListRepositoryTagsRequestContentTypeEnum
- type ListRepositoryTagsResponse
- type ListRetentionHistoriesRequest
- type ListRetentionHistoriesRequestContentType
- type ListRetentionHistoriesRequestContentTypeEnum
- type ListRetentionHistoriesResponse
- type ListRetentionsRequest
- type ListRetentionsRequestContentType
- type ListRetentionsRequestContentTypeEnum
- type ListRetentionsResponse
- type ListSharedReposDetailsRequest
- type ListSharedReposDetailsRequestContentType
- type ListSharedReposDetailsRequestContentTypeEnum
- type ListSharedReposDetailsResponse
- type ListTriggersDetailsRequest
- type ListTriggersDetailsRequestContentType
- type ListTriggersDetailsRequestContentTypeEnum
- type ListTriggersDetailsResponse
- type Retention
- type RetentionLog
- type Rule
- type RuleTemplate
- type RuleTemplateEnum
- type ShowAccessDomainRequest
- type ShowAccessDomainRequestContentType
- type ShowAccessDomainRequestContentTypeEnum
- type ShowAccessDomainResponse
- type ShowApiVersionRequest
- type ShowApiVersionRequestContentType
- type ShowApiVersionRequestContentTypeEnum
- type ShowApiVersionResponse
- type ShowNamespace
- type ShowNamespaceAuth
- type ShowNamespaceAuthEnum
- type ShowNamespaceAuthRequest
- type ShowNamespaceAuthRequestContentType
- type ShowNamespaceAuthRequestContentTypeEnum
- type ShowNamespaceAuthResponse
- type ShowNamespaceRequest
- type ShowNamespaceRequestContentType
- type ShowNamespaceRequestContentTypeEnum
- type ShowNamespaceResponse
- type ShowNamespaceResponseAuth
- type ShowNamespaceResponseAuthEnum
- type ShowQuota
- type ShowRepoDomainsResponse
- type ShowReposResp
- type ShowReposTagResp
- type ShowRepositoryRequest
- type ShowRepositoryRequestContentType
- type ShowRepositoryRequestContentTypeEnum
- type ShowRepositoryResponse
- type ShowRetentionRequest
- type ShowRetentionRequestContentType
- type ShowRetentionRequestContentTypeEnum
- type ShowRetentionResponse
- type ShowSyncJobRequest
- type ShowSyncJobRequestContentType
- type ShowSyncJobRequestContentTypeEnum
- type ShowSyncJobResponse
- type ShowTriggerRequest
- type ShowTriggerRequestContentType
- type ShowTriggerRequestContentTypeEnum
- type ShowTriggerResponse
- type ShowUserRepositoryAuthRequest
- type ShowUserRepositoryAuthRequestContentType
- type ShowUserRepositoryAuthRequestContentTypeEnum
- type ShowUserRepositoryAuthResponse
- type SyncJob
- type SyncRepo
- type TagSelector
- type Trigger
- type TriggerHistories
- type UpdateNamespaceAuthRequest
- type UpdateNamespaceAuthRequestContentType
- type UpdateNamespaceAuthRequestContentTypeEnum
- type UpdateNamespaceAuthResponse
- type UpdateRepoDomainsRequest
- type UpdateRepoDomainsRequestBody
- type UpdateRepoDomainsRequestContentType
- type UpdateRepoDomainsRequestContentTypeEnum
- type UpdateRepoDomainsResponse
- type UpdateRepoRequest
- type UpdateRepoRequestBody
- type UpdateRepoRequestBodyCategory
- type UpdateRepoRequestBodyCategoryEnum
- type UpdateRepoRequestContentType
- type UpdateRepoRequestContentTypeEnum
- type UpdateRepoResponse
- type UpdateRetentionRequest
- type UpdateRetentionRequestBody
- type UpdateRetentionRequestContentType
- type UpdateRetentionRequestContentTypeEnum
- type UpdateRetentionResponse
- type UpdateTriggerRequest
- type UpdateTriggerRequestBody
- type UpdateTriggerRequestContentType
- type UpdateTriggerRequestContentTypeEnum
- type UpdateTriggerResponse
- type UpdateUserRepositoryAuthRequest
- type UpdateUserRepositoryAuthRequestContentType
- type UpdateUserRepositoryAuthRequestContentTypeEnum
- type UpdateUserRepositoryAuthResponse
- type UserAuth
- type UserAuthAuth
- type UserAuthAuthEnum
- type VersionDetail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateImageSyncRepoRequest ¶
type CreateImageSyncRepoRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType CreateImageSyncRepoRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` Body *CreateImageSyncRepoRequestBody `json:"body,omitempty"` }
Request Object
func (CreateImageSyncRepoRequest) String ¶
func (o CreateImageSyncRepoRequest) String() string
type CreateImageSyncRepoRequestBody ¶
type CreateImageSyncRepoRequestBody struct { // 目标region ID。 RemoteRegionId string `json:"remoteRegionId"` // 目标组织 RemoteNamespace string `json:"remoteNamespace"` // 自动同步,默认为false SyncAuto *bool `json:"syncAuto,omitempty"` // 是否覆盖,默认为false Override *bool `json:"override,omitempty"` }
func (CreateImageSyncRepoRequestBody) String ¶
func (o CreateImageSyncRepoRequestBody) String() string
type CreateImageSyncRepoRequestContentType ¶
type CreateImageSyncRepoRequestContentType struct {
// contains filtered or unexported fields
}
func (CreateImageSyncRepoRequestContentType) MarshalJSON ¶
func (c CreateImageSyncRepoRequestContentType) MarshalJSON() ([]byte, error)
func (*CreateImageSyncRepoRequestContentType) UnmarshalJSON ¶
func (c *CreateImageSyncRepoRequestContentType) UnmarshalJSON(b []byte) error
func (CreateImageSyncRepoRequestContentType) Value ¶ added in v0.0.90
func (c CreateImageSyncRepoRequestContentType) Value() string
type CreateImageSyncRepoRequestContentTypeEnum ¶
type CreateImageSyncRepoRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 CreateImageSyncRepoRequestContentType APPLICATION_JSON CreateImageSyncRepoRequestContentType }
func GetCreateImageSyncRepoRequestContentTypeEnum ¶
func GetCreateImageSyncRepoRequestContentTypeEnum() CreateImageSyncRepoRequestContentTypeEnum
type CreateImageSyncRepoResponse ¶
type CreateImageSyncRepoResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateImageSyncRepoResponse) String ¶
func (o CreateImageSyncRepoResponse) String() string
type CreateManualImageSyncRepoRequest ¶
type CreateManualImageSyncRepoRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType CreateManualImageSyncRepoRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` Body *CreateManualImageSyncRepoRequestBody `json:"body,omitempty"` }
Request Object
func (CreateManualImageSyncRepoRequest) String ¶
func (o CreateManualImageSyncRepoRequest) String() string
type CreateManualImageSyncRepoRequestBody ¶
type CreateManualImageSyncRepoRequestBody struct { // 版本列表 ImageTag []string `json:"imageTag"` // 是否覆盖,默认为false Override *bool `json:"override,omitempty"` // 目标组织 RemoteNamespace string `json:"remoteNamespace"` // 目标region ID。 RemoteRegionId string `json:"remoteRegionId"` }
手动同步镜像需要的参数
func (CreateManualImageSyncRepoRequestBody) String ¶
func (o CreateManualImageSyncRepoRequestBody) String() string
type CreateManualImageSyncRepoRequestContentType ¶
type CreateManualImageSyncRepoRequestContentType struct {
// contains filtered or unexported fields
}
func (CreateManualImageSyncRepoRequestContentType) MarshalJSON ¶
func (c CreateManualImageSyncRepoRequestContentType) MarshalJSON() ([]byte, error)
func (*CreateManualImageSyncRepoRequestContentType) UnmarshalJSON ¶
func (c *CreateManualImageSyncRepoRequestContentType) UnmarshalJSON(b []byte) error
func (CreateManualImageSyncRepoRequestContentType) Value ¶ added in v0.0.90
func (c CreateManualImageSyncRepoRequestContentType) Value() string
type CreateManualImageSyncRepoRequestContentTypeEnum ¶
type CreateManualImageSyncRepoRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 CreateManualImageSyncRepoRequestContentType APPLICATION_JSON CreateManualImageSyncRepoRequestContentType }
func GetCreateManualImageSyncRepoRequestContentTypeEnum ¶
func GetCreateManualImageSyncRepoRequestContentTypeEnum() CreateManualImageSyncRepoRequestContentTypeEnum
type CreateManualImageSyncRepoResponse ¶
type CreateManualImageSyncRepoResponse struct { Body *[]string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateManualImageSyncRepoResponse) String ¶
func (o CreateManualImageSyncRepoResponse) String() string
type CreateNamespaceAuthRequest ¶
type CreateNamespaceAuthRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType CreateNamespaceAuthRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` Body *[]UserAuth `json:"body,omitempty"` }
Request Object
func (CreateNamespaceAuthRequest) String ¶
func (o CreateNamespaceAuthRequest) String() string
type CreateNamespaceAuthRequestContentType ¶
type CreateNamespaceAuthRequestContentType struct {
// contains filtered or unexported fields
}
func (CreateNamespaceAuthRequestContentType) MarshalJSON ¶
func (c CreateNamespaceAuthRequestContentType) MarshalJSON() ([]byte, error)
func (*CreateNamespaceAuthRequestContentType) UnmarshalJSON ¶
func (c *CreateNamespaceAuthRequestContentType) UnmarshalJSON(b []byte) error
func (CreateNamespaceAuthRequestContentType) Value ¶ added in v0.0.90
func (c CreateNamespaceAuthRequestContentType) Value() string
type CreateNamespaceAuthRequestContentTypeEnum ¶
type CreateNamespaceAuthRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 CreateNamespaceAuthRequestContentType APPLICATION_JSON CreateNamespaceAuthRequestContentType }
func GetCreateNamespaceAuthRequestContentTypeEnum ¶
func GetCreateNamespaceAuthRequestContentTypeEnum() CreateNamespaceAuthRequestContentTypeEnum
type CreateNamespaceAuthResponse ¶
type CreateNamespaceAuthResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateNamespaceAuthResponse) String ¶
func (o CreateNamespaceAuthResponse) String() string
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType CreateNamespaceRequestContentType `json:"Content-Type"` Body *CreateNamespaceRequestBody `json:"body,omitempty"` }
Request Object
func (CreateNamespaceRequest) String ¶
func (o CreateNamespaceRequest) String() string
type CreateNamespaceRequestBody ¶
type CreateNamespaceRequestBody struct { // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` }
func (CreateNamespaceRequestBody) String ¶
func (o CreateNamespaceRequestBody) String() string
type CreateNamespaceRequestContentType ¶
type CreateNamespaceRequestContentType struct {
// contains filtered or unexported fields
}
func (CreateNamespaceRequestContentType) MarshalJSON ¶
func (c CreateNamespaceRequestContentType) MarshalJSON() ([]byte, error)
func (*CreateNamespaceRequestContentType) UnmarshalJSON ¶
func (c *CreateNamespaceRequestContentType) UnmarshalJSON(b []byte) error
func (CreateNamespaceRequestContentType) Value ¶ added in v0.0.90
func (c CreateNamespaceRequestContentType) Value() string
type CreateNamespaceRequestContentTypeEnum ¶
type CreateNamespaceRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 CreateNamespaceRequestContentType APPLICATION_JSON CreateNamespaceRequestContentType }
func GetCreateNamespaceRequestContentTypeEnum ¶
func GetCreateNamespaceRequestContentTypeEnum() CreateNamespaceRequestContentTypeEnum
type CreateNamespaceResponse ¶
type CreateNamespaceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateNamespaceResponse) String ¶
func (o CreateNamespaceResponse) String() string
type CreateRepoDomainsRequest ¶
type CreateRepoDomainsRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType CreateRepoDomainsRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` Body *CreateRepoDomainsRequestBody `json:"body,omitempty"` }
Request Object
func (CreateRepoDomainsRequest) String ¶
func (o CreateRepoDomainsRequest) String() string
type CreateRepoDomainsRequestBody ¶
type CreateRepoDomainsRequestBody struct { // 共享租户名称 AccessDomain string `json:"access_domain"` // 当前只支持read权限 Permit string `json:"permit"` // 截止时间,UTC时间格式。永久有效为forever Deadline string `json:"deadline"` // 描述 Description *string `json:"description,omitempty"` }
func (CreateRepoDomainsRequestBody) String ¶
func (o CreateRepoDomainsRequestBody) String() string
type CreateRepoDomainsRequestContentType ¶
type CreateRepoDomainsRequestContentType struct {
// contains filtered or unexported fields
}
func (CreateRepoDomainsRequestContentType) MarshalJSON ¶
func (c CreateRepoDomainsRequestContentType) MarshalJSON() ([]byte, error)
func (*CreateRepoDomainsRequestContentType) UnmarshalJSON ¶
func (c *CreateRepoDomainsRequestContentType) UnmarshalJSON(b []byte) error
func (CreateRepoDomainsRequestContentType) Value ¶ added in v0.0.90
func (c CreateRepoDomainsRequestContentType) Value() string
type CreateRepoDomainsRequestContentTypeEnum ¶
type CreateRepoDomainsRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 CreateRepoDomainsRequestContentType APPLICATION_JSON CreateRepoDomainsRequestContentType }
func GetCreateRepoDomainsRequestContentTypeEnum ¶
func GetCreateRepoDomainsRequestContentTypeEnum() CreateRepoDomainsRequestContentTypeEnum
type CreateRepoDomainsResponse ¶
type CreateRepoDomainsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateRepoDomainsResponse) String ¶
func (o CreateRepoDomainsResponse) String() string
type CreateRepoRequest ¶
type CreateRepoRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType CreateRepoRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` Body *CreateRepoRequestBody `json:"body,omitempty"` }
Request Object
func (CreateRepoRequest) String ¶
func (o CreateRepoRequest) String() string
type CreateRepoRequestBody ¶
type CreateRepoRequestBody struct { // 镜像仓库名称。小写字母或数字开头,后面跟小写字母、数字、小数点、斜杠、下划线或中划线(其中下划线最多允许连续两个,小数点、斜杠、下划线、中划线不能直接相连),小写字母或数字结尾,1-128个字符。 Repository string `json:"repository"` // 是否为公共仓库,可选值为true或false。 IsPublic bool `json:"is_public"` // 仓库类型,可设置为app_server, linux, framework_app, database, lang, other, windows, arm。 Category *CreateRepoRequestBodyCategory `json:"category,omitempty"` // 镜像仓库的描述信息。 Description *string `json:"description,omitempty"` }
func (CreateRepoRequestBody) String ¶
func (o CreateRepoRequestBody) String() string
type CreateRepoRequestBodyCategory ¶
type CreateRepoRequestBodyCategory struct {
// contains filtered or unexported fields
}
func (CreateRepoRequestBodyCategory) MarshalJSON ¶
func (c CreateRepoRequestBodyCategory) MarshalJSON() ([]byte, error)
func (*CreateRepoRequestBodyCategory) UnmarshalJSON ¶
func (c *CreateRepoRequestBodyCategory) UnmarshalJSON(b []byte) error
func (CreateRepoRequestBodyCategory) Value ¶ added in v0.0.90
func (c CreateRepoRequestBodyCategory) Value() string
type CreateRepoRequestBodyCategoryEnum ¶
type CreateRepoRequestBodyCategoryEnum struct { APP_SERVER CreateRepoRequestBodyCategory LINUX CreateRepoRequestBodyCategory FRAMEWORK_APP CreateRepoRequestBodyCategory DATABASE CreateRepoRequestBodyCategory LANG CreateRepoRequestBodyCategory WINDOWS CreateRepoRequestBodyCategory ARMS CreateRepoRequestBodyCategory OTHER CreateRepoRequestBodyCategory }
func GetCreateRepoRequestBodyCategoryEnum ¶
func GetCreateRepoRequestBodyCategoryEnum() CreateRepoRequestBodyCategoryEnum
type CreateRepoRequestContentType ¶
type CreateRepoRequestContentType struct {
// contains filtered or unexported fields
}
func (CreateRepoRequestContentType) MarshalJSON ¶
func (c CreateRepoRequestContentType) MarshalJSON() ([]byte, error)
func (*CreateRepoRequestContentType) UnmarshalJSON ¶
func (c *CreateRepoRequestContentType) UnmarshalJSON(b []byte) error
func (CreateRepoRequestContentType) Value ¶ added in v0.0.90
func (c CreateRepoRequestContentType) Value() string
type CreateRepoRequestContentTypeEnum ¶
type CreateRepoRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 CreateRepoRequestContentType APPLICATION_JSON CreateRepoRequestContentType }
func GetCreateRepoRequestContentTypeEnum ¶
func GetCreateRepoRequestContentTypeEnum() CreateRepoRequestContentTypeEnum
type CreateRepoResponse ¶
type CreateRepoResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateRepoResponse) String ¶
func (o CreateRepoResponse) String() string
type CreateRetentionRequest ¶
type CreateRetentionRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType CreateRetentionRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` Body *CreateRetentionRequestBody `json:"body,omitempty"` }
Request Object
func (CreateRetentionRequest) String ¶
func (o CreateRetentionRequest) String() string
type CreateRetentionRequestBody ¶
type CreateRetentionRequestBody struct { // 回收规则匹配策略,固定为\"or\" Algorithm string `json:"algorithm"` // 镜像老化规则 Rules []Rule `json:"rules"` }
func (CreateRetentionRequestBody) String ¶
func (o CreateRetentionRequestBody) String() string
type CreateRetentionRequestContentType ¶
type CreateRetentionRequestContentType struct {
// contains filtered or unexported fields
}
func (CreateRetentionRequestContentType) MarshalJSON ¶
func (c CreateRetentionRequestContentType) MarshalJSON() ([]byte, error)
func (*CreateRetentionRequestContentType) UnmarshalJSON ¶
func (c *CreateRetentionRequestContentType) UnmarshalJSON(b []byte) error
func (CreateRetentionRequestContentType) Value ¶ added in v0.0.90
func (c CreateRetentionRequestContentType) Value() string
type CreateRetentionRequestContentTypeEnum ¶
type CreateRetentionRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 CreateRetentionRequestContentType APPLICATION_JSON CreateRetentionRequestContentType }
func GetCreateRetentionRequestContentTypeEnum ¶
func GetCreateRetentionRequestContentTypeEnum() CreateRetentionRequestContentTypeEnum
type CreateRetentionResponse ¶
type CreateRetentionResponse struct { // 镜像老化规则id Id *int32 `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateRetentionResponse) String ¶
func (o CreateRetentionResponse) String() string
type CreateSecretRequest ¶
type CreateSecretRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType CreateSecretRequestContentType `json:"Content-Type"` // 项目名称,缺省值默认为区域名称,例如:cn-north-1。 Projectname *string `json:"projectname,omitempty"` }
Request Object
func (CreateSecretRequest) String ¶
func (o CreateSecretRequest) String() string
type CreateSecretRequestContentType ¶
type CreateSecretRequestContentType struct {
// contains filtered or unexported fields
}
func (CreateSecretRequestContentType) MarshalJSON ¶
func (c CreateSecretRequestContentType) MarshalJSON() ([]byte, error)
func (*CreateSecretRequestContentType) UnmarshalJSON ¶
func (c *CreateSecretRequestContentType) UnmarshalJSON(b []byte) error
func (CreateSecretRequestContentType) Value ¶ added in v0.0.90
func (c CreateSecretRequestContentType) Value() string
type CreateSecretRequestContentTypeEnum ¶
type CreateSecretRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 CreateSecretRequestContentType APPLICATION_JSON CreateSecretRequestContentType }
func GetCreateSecretRequestContentTypeEnum ¶
func GetCreateSecretRequestContentTypeEnum() CreateSecretRequestContentTypeEnum
type CreateSecretResponse ¶
type CreateSecretResponse struct { // 认证信息 Auths map[string]AuthInfo `json:"auths,omitempty"` XSwrDockerlogin *string `json:"X-Swr-Dockerlogin,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSecretResponse) String ¶
func (o CreateSecretResponse) String() string
type CreateTriggerRequest ¶
type CreateTriggerRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType CreateTriggerRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` Body *CreateTriggerRequestBody `json:"body,omitempty"` }
Request Object
func (CreateTriggerRequest) String ¶
func (o CreateTriggerRequest) String() string
type CreateTriggerRequestBody ¶
type CreateTriggerRequestBody struct { // 触发动作,update Action string `json:"action"` // 应用类型,deployments、statefulsets AppType string `json:"app_type"` // 应用名 Application string `json:"application"` // 集群ID(trigger_mode设置为cci时为空) ClusterId *string `json:"cluster_id,omitempty"` // 集群名(trigger_mode设置为cci时为空) ClusterName *string `json:"cluster_name,omitempty"` // 应用名所在的namespace ClusterNs string `json:"cluster_ns"` // 触发条件,type为all时为.*,type为tag时为tag名,type为regular时为正则表达式 Condition string `json:"condition"` // 需更新的container名,默认为所有container Container *string `json:"container,omitempty"` // 是否生效 Enable string `json:"enable"` // 触发器名 Name string `json:"name"` // 触发器类型,cce、cci,默认为cce TriggerMode *string `json:"trigger_mode,omitempty"` // 触发条件,all、tag、regular TriggerType string `json:"trigger_type"` }
需要创建触发器的信息
func (CreateTriggerRequestBody) String ¶
func (o CreateTriggerRequestBody) String() string
type CreateTriggerRequestContentType ¶
type CreateTriggerRequestContentType struct {
// contains filtered or unexported fields
}
func (CreateTriggerRequestContentType) MarshalJSON ¶
func (c CreateTriggerRequestContentType) MarshalJSON() ([]byte, error)
func (*CreateTriggerRequestContentType) UnmarshalJSON ¶
func (c *CreateTriggerRequestContentType) UnmarshalJSON(b []byte) error
func (CreateTriggerRequestContentType) Value ¶ added in v0.0.90
func (c CreateTriggerRequestContentType) Value() string
type CreateTriggerRequestContentTypeEnum ¶
type CreateTriggerRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 CreateTriggerRequestContentType APPLICATION_JSON CreateTriggerRequestContentType }
func GetCreateTriggerRequestContentTypeEnum ¶
func GetCreateTriggerRequestContentTypeEnum() CreateTriggerRequestContentTypeEnum
type CreateTriggerResponse ¶
type CreateTriggerResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateTriggerResponse) String ¶
func (o CreateTriggerResponse) String() string
type CreateUserRepositoryAuthRequest ¶
type CreateUserRepositoryAuthRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType CreateUserRepositoryAuthRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` Body *[]UserAuth `json:"body,omitempty"` }
Request Object
func (CreateUserRepositoryAuthRequest) String ¶
func (o CreateUserRepositoryAuthRequest) String() string
type CreateUserRepositoryAuthRequestContentType ¶
type CreateUserRepositoryAuthRequestContentType struct {
// contains filtered or unexported fields
}
func (CreateUserRepositoryAuthRequestContentType) MarshalJSON ¶
func (c CreateUserRepositoryAuthRequestContentType) MarshalJSON() ([]byte, error)
func (*CreateUserRepositoryAuthRequestContentType) UnmarshalJSON ¶
func (c *CreateUserRepositoryAuthRequestContentType) UnmarshalJSON(b []byte) error
func (CreateUserRepositoryAuthRequestContentType) Value ¶ added in v0.0.90
func (c CreateUserRepositoryAuthRequestContentType) Value() string
type CreateUserRepositoryAuthRequestContentTypeEnum ¶
type CreateUserRepositoryAuthRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 CreateUserRepositoryAuthRequestContentType APPLICATION_JSON CreateUserRepositoryAuthRequestContentType }
func GetCreateUserRepositoryAuthRequestContentTypeEnum ¶
func GetCreateUserRepositoryAuthRequestContentTypeEnum() CreateUserRepositoryAuthRequestContentTypeEnum
type CreateUserRepositoryAuthResponse ¶
type CreateUserRepositoryAuthResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateUserRepositoryAuthResponse) String ¶
func (o CreateUserRepositoryAuthResponse) String() string
type DeleteImageSyncRepoRequest ¶
type DeleteImageSyncRepoRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType DeleteImageSyncRepoRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` Body *DeleteImageSyncRepoRequestBody `json:"body,omitempty"` }
Request Object
func (DeleteImageSyncRepoRequest) String ¶
func (o DeleteImageSyncRepoRequest) String() string
type DeleteImageSyncRepoRequestBody ¶
type DeleteImageSyncRepoRequestBody struct { // 目标region ID。 RemoteRegionId string `json:"remoteRegionId"` // 目标组织 RemoteNamespace string `json:"remoteNamespace"` }
需要删除镜像自动同步任务的信息
func (DeleteImageSyncRepoRequestBody) String ¶
func (o DeleteImageSyncRepoRequestBody) String() string
type DeleteImageSyncRepoRequestContentType ¶
type DeleteImageSyncRepoRequestContentType struct {
// contains filtered or unexported fields
}
func (DeleteImageSyncRepoRequestContentType) MarshalJSON ¶
func (c DeleteImageSyncRepoRequestContentType) MarshalJSON() ([]byte, error)
func (*DeleteImageSyncRepoRequestContentType) UnmarshalJSON ¶
func (c *DeleteImageSyncRepoRequestContentType) UnmarshalJSON(b []byte) error
func (DeleteImageSyncRepoRequestContentType) Value ¶ added in v0.0.90
func (c DeleteImageSyncRepoRequestContentType) Value() string
type DeleteImageSyncRepoRequestContentTypeEnum ¶
type DeleteImageSyncRepoRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 DeleteImageSyncRepoRequestContentType APPLICATION_JSON DeleteImageSyncRepoRequestContentType }
func GetDeleteImageSyncRepoRequestContentTypeEnum ¶
func GetDeleteImageSyncRepoRequestContentTypeEnum() DeleteImageSyncRepoRequestContentTypeEnum
type DeleteImageSyncRepoResponse ¶
type DeleteImageSyncRepoResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteImageSyncRepoResponse) String ¶
func (o DeleteImageSyncRepoResponse) String() string
type DeleteNamespaceAuthRequest ¶
type DeleteNamespaceAuthRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType DeleteNamespaceAuthRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` Body *[]string `json:"body,omitempty"` }
Request Object
func (DeleteNamespaceAuthRequest) String ¶
func (o DeleteNamespaceAuthRequest) String() string
type DeleteNamespaceAuthRequestContentType ¶
type DeleteNamespaceAuthRequestContentType struct {
// contains filtered or unexported fields
}
func (DeleteNamespaceAuthRequestContentType) MarshalJSON ¶
func (c DeleteNamespaceAuthRequestContentType) MarshalJSON() ([]byte, error)
func (*DeleteNamespaceAuthRequestContentType) UnmarshalJSON ¶
func (c *DeleteNamespaceAuthRequestContentType) UnmarshalJSON(b []byte) error
func (DeleteNamespaceAuthRequestContentType) Value ¶ added in v0.0.90
func (c DeleteNamespaceAuthRequestContentType) Value() string
type DeleteNamespaceAuthRequestContentTypeEnum ¶
type DeleteNamespaceAuthRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 DeleteNamespaceAuthRequestContentType APPLICATION_JSON DeleteNamespaceAuthRequestContentType }
func GetDeleteNamespaceAuthRequestContentTypeEnum ¶
func GetDeleteNamespaceAuthRequestContentTypeEnum() DeleteNamespaceAuthRequestContentTypeEnum
type DeleteNamespaceAuthResponse ¶
type DeleteNamespaceAuthResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteNamespaceAuthResponse) String ¶
func (o DeleteNamespaceAuthResponse) String() string
type DeleteNamespacesRequest ¶
type DeleteNamespacesRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType DeleteNamespacesRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` }
Request Object
func (DeleteNamespacesRequest) String ¶
func (o DeleteNamespacesRequest) String() string
type DeleteNamespacesRequestContentType ¶
type DeleteNamespacesRequestContentType struct {
// contains filtered or unexported fields
}
func (DeleteNamespacesRequestContentType) MarshalJSON ¶
func (c DeleteNamespacesRequestContentType) MarshalJSON() ([]byte, error)
func (*DeleteNamespacesRequestContentType) UnmarshalJSON ¶
func (c *DeleteNamespacesRequestContentType) UnmarshalJSON(b []byte) error
func (DeleteNamespacesRequestContentType) Value ¶ added in v0.0.90
func (c DeleteNamespacesRequestContentType) Value() string
type DeleteNamespacesRequestContentTypeEnum ¶
type DeleteNamespacesRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 DeleteNamespacesRequestContentType APPLICATION_JSON DeleteNamespacesRequestContentType }
func GetDeleteNamespacesRequestContentTypeEnum ¶
func GetDeleteNamespacesRequestContentTypeEnum() DeleteNamespacesRequestContentTypeEnum
type DeleteNamespacesResponse ¶
type DeleteNamespacesResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteNamespacesResponse) String ¶
func (o DeleteNamespacesResponse) String() string
type DeleteRepoDomainsRequest ¶
type DeleteRepoDomainsRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType DeleteRepoDomainsRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 共享租户名 AccessDomain string `json:"access_domain"` }
Request Object
func (DeleteRepoDomainsRequest) String ¶
func (o DeleteRepoDomainsRequest) String() string
type DeleteRepoDomainsRequestContentType ¶
type DeleteRepoDomainsRequestContentType struct {
// contains filtered or unexported fields
}
func (DeleteRepoDomainsRequestContentType) MarshalJSON ¶
func (c DeleteRepoDomainsRequestContentType) MarshalJSON() ([]byte, error)
func (*DeleteRepoDomainsRequestContentType) UnmarshalJSON ¶
func (c *DeleteRepoDomainsRequestContentType) UnmarshalJSON(b []byte) error
func (DeleteRepoDomainsRequestContentType) Value ¶ added in v0.0.90
func (c DeleteRepoDomainsRequestContentType) Value() string
type DeleteRepoDomainsRequestContentTypeEnum ¶
type DeleteRepoDomainsRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 DeleteRepoDomainsRequestContentType APPLICATION_JSON DeleteRepoDomainsRequestContentType }
func GetDeleteRepoDomainsRequestContentTypeEnum ¶
func GetDeleteRepoDomainsRequestContentTypeEnum() DeleteRepoDomainsRequestContentTypeEnum
type DeleteRepoDomainsResponse ¶
type DeleteRepoDomainsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteRepoDomainsResponse) String ¶
func (o DeleteRepoDomainsResponse) String() string
type DeleteRepoRequest ¶
type DeleteRepoRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType DeleteRepoRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` }
Request Object
func (DeleteRepoRequest) String ¶
func (o DeleteRepoRequest) String() string
type DeleteRepoRequestContentType ¶
type DeleteRepoRequestContentType struct {
// contains filtered or unexported fields
}
func (DeleteRepoRequestContentType) MarshalJSON ¶
func (c DeleteRepoRequestContentType) MarshalJSON() ([]byte, error)
func (*DeleteRepoRequestContentType) UnmarshalJSON ¶
func (c *DeleteRepoRequestContentType) UnmarshalJSON(b []byte) error
func (DeleteRepoRequestContentType) Value ¶ added in v0.0.90
func (c DeleteRepoRequestContentType) Value() string
type DeleteRepoRequestContentTypeEnum ¶
type DeleteRepoRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 DeleteRepoRequestContentType APPLICATION_JSON DeleteRepoRequestContentType }
func GetDeleteRepoRequestContentTypeEnum ¶
func GetDeleteRepoRequestContentTypeEnum() DeleteRepoRequestContentTypeEnum
type DeleteRepoResponse ¶
type DeleteRepoResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteRepoResponse) String ¶
func (o DeleteRepoResponse) String() string
type DeleteRepoTagRequest ¶
type DeleteRepoTagRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType DeleteRepoTagRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 镜像版本名称 Tag string `json:"tag"` }
Request Object
func (DeleteRepoTagRequest) String ¶
func (o DeleteRepoTagRequest) String() string
type DeleteRepoTagRequestContentType ¶
type DeleteRepoTagRequestContentType struct {
// contains filtered or unexported fields
}
func (DeleteRepoTagRequestContentType) MarshalJSON ¶
func (c DeleteRepoTagRequestContentType) MarshalJSON() ([]byte, error)
func (*DeleteRepoTagRequestContentType) UnmarshalJSON ¶
func (c *DeleteRepoTagRequestContentType) UnmarshalJSON(b []byte) error
func (DeleteRepoTagRequestContentType) Value ¶ added in v0.0.90
func (c DeleteRepoTagRequestContentType) Value() string
type DeleteRepoTagRequestContentTypeEnum ¶
type DeleteRepoTagRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 DeleteRepoTagRequestContentType APPLICATION_JSON DeleteRepoTagRequestContentType }
func GetDeleteRepoTagRequestContentTypeEnum ¶
func GetDeleteRepoTagRequestContentTypeEnum() DeleteRepoTagRequestContentTypeEnum
type DeleteRepoTagResponse ¶
type DeleteRepoTagResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteRepoTagResponse) String ¶
func (o DeleteRepoTagResponse) String() string
type DeleteRetentionRequest ¶
type DeleteRetentionRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType DeleteRetentionRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 镜像老化规则id RetentionId int32 `json:"retention_id"` }
Request Object
func (DeleteRetentionRequest) String ¶
func (o DeleteRetentionRequest) String() string
type DeleteRetentionRequestContentType ¶
type DeleteRetentionRequestContentType struct {
// contains filtered or unexported fields
}
func (DeleteRetentionRequestContentType) MarshalJSON ¶
func (c DeleteRetentionRequestContentType) MarshalJSON() ([]byte, error)
func (*DeleteRetentionRequestContentType) UnmarshalJSON ¶
func (c *DeleteRetentionRequestContentType) UnmarshalJSON(b []byte) error
func (DeleteRetentionRequestContentType) Value ¶ added in v0.0.90
func (c DeleteRetentionRequestContentType) Value() string
type DeleteRetentionRequestContentTypeEnum ¶
type DeleteRetentionRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 DeleteRetentionRequestContentType APPLICATION_JSON DeleteRetentionRequestContentType }
func GetDeleteRetentionRequestContentTypeEnum ¶
func GetDeleteRetentionRequestContentTypeEnum() DeleteRetentionRequestContentTypeEnum
type DeleteRetentionResponse ¶
type DeleteRetentionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteRetentionResponse) String ¶
func (o DeleteRetentionResponse) String() string
type DeleteTriggerRequest ¶
type DeleteTriggerRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType DeleteTriggerRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 触发器名称 Trigger string `json:"trigger"` }
Request Object
func (DeleteTriggerRequest) String ¶
func (o DeleteTriggerRequest) String() string
type DeleteTriggerRequestContentType ¶
type DeleteTriggerRequestContentType struct {
// contains filtered or unexported fields
}
func (DeleteTriggerRequestContentType) MarshalJSON ¶
func (c DeleteTriggerRequestContentType) MarshalJSON() ([]byte, error)
func (*DeleteTriggerRequestContentType) UnmarshalJSON ¶
func (c *DeleteTriggerRequestContentType) UnmarshalJSON(b []byte) error
func (DeleteTriggerRequestContentType) Value ¶ added in v0.0.90
func (c DeleteTriggerRequestContentType) Value() string
type DeleteTriggerRequestContentTypeEnum ¶
type DeleteTriggerRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 DeleteTriggerRequestContentType APPLICATION_JSON DeleteTriggerRequestContentType }
func GetDeleteTriggerRequestContentTypeEnum ¶
func GetDeleteTriggerRequestContentTypeEnum() DeleteTriggerRequestContentTypeEnum
type DeleteTriggerResponse ¶
type DeleteTriggerResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteTriggerResponse) String ¶
func (o DeleteTriggerResponse) String() string
type DeleteUserRepositoryAuthRequest ¶
type DeleteUserRepositoryAuthRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType DeleteUserRepositoryAuthRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` Body *[]string `json:"body,omitempty"` }
Request Object
func (DeleteUserRepositoryAuthRequest) String ¶
func (o DeleteUserRepositoryAuthRequest) String() string
type DeleteUserRepositoryAuthRequestContentType ¶
type DeleteUserRepositoryAuthRequestContentType struct {
// contains filtered or unexported fields
}
func (DeleteUserRepositoryAuthRequestContentType) MarshalJSON ¶
func (c DeleteUserRepositoryAuthRequestContentType) MarshalJSON() ([]byte, error)
func (*DeleteUserRepositoryAuthRequestContentType) UnmarshalJSON ¶
func (c *DeleteUserRepositoryAuthRequestContentType) UnmarshalJSON(b []byte) error
func (DeleteUserRepositoryAuthRequestContentType) Value ¶ added in v0.0.90
func (c DeleteUserRepositoryAuthRequestContentType) Value() string
type DeleteUserRepositoryAuthRequestContentTypeEnum ¶
type DeleteUserRepositoryAuthRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 DeleteUserRepositoryAuthRequestContentType APPLICATION_JSON DeleteUserRepositoryAuthRequestContentType }
func GetDeleteUserRepositoryAuthRequestContentTypeEnum ¶
func GetDeleteUserRepositoryAuthRequestContentTypeEnum() DeleteUserRepositoryAuthRequestContentTypeEnum
type DeleteUserRepositoryAuthResponse ¶
type DeleteUserRepositoryAuthResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteUserRepositoryAuthResponse) String ¶
func (o DeleteUserRepositoryAuthResponse) String() string
type ListApiVersionsRequest ¶
type ListApiVersionsRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ListApiVersionsRequestContentType `json:"Content-Type"` }
Request Object
func (ListApiVersionsRequest) String ¶
func (o ListApiVersionsRequest) String() string
type ListApiVersionsRequestContentType ¶
type ListApiVersionsRequestContentType struct {
// contains filtered or unexported fields
}
func (ListApiVersionsRequestContentType) MarshalJSON ¶
func (c ListApiVersionsRequestContentType) MarshalJSON() ([]byte, error)
func (*ListApiVersionsRequestContentType) UnmarshalJSON ¶
func (c *ListApiVersionsRequestContentType) UnmarshalJSON(b []byte) error
func (ListApiVersionsRequestContentType) Value ¶ added in v0.0.90
func (c ListApiVersionsRequestContentType) Value() string
type ListApiVersionsRequestContentTypeEnum ¶
type ListApiVersionsRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ListApiVersionsRequestContentType APPLICATION_JSON ListApiVersionsRequestContentType }
func GetListApiVersionsRequestContentTypeEnum ¶
func GetListApiVersionsRequestContentTypeEnum() ListApiVersionsRequestContentTypeEnum
type ListApiVersionsResponse ¶
type ListApiVersionsResponse struct { // 描述version相关对象的列表 Versions *[]VersionDetail `json:"versions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiVersionsResponse) String ¶
func (o ListApiVersionsResponse) String() string
type ListImageAutoSyncReposDetailsRequest ¶
type ListImageAutoSyncReposDetailsRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ListImageAutoSyncReposDetailsRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` }
Request Object
func (ListImageAutoSyncReposDetailsRequest) String ¶
func (o ListImageAutoSyncReposDetailsRequest) String() string
type ListImageAutoSyncReposDetailsRequestContentType ¶
type ListImageAutoSyncReposDetailsRequestContentType struct {
// contains filtered or unexported fields
}
func (ListImageAutoSyncReposDetailsRequestContentType) MarshalJSON ¶
func (c ListImageAutoSyncReposDetailsRequestContentType) MarshalJSON() ([]byte, error)
func (*ListImageAutoSyncReposDetailsRequestContentType) UnmarshalJSON ¶
func (c *ListImageAutoSyncReposDetailsRequestContentType) UnmarshalJSON(b []byte) error
func (ListImageAutoSyncReposDetailsRequestContentType) Value ¶ added in v0.0.90
func (c ListImageAutoSyncReposDetailsRequestContentType) Value() string
type ListImageAutoSyncReposDetailsRequestContentTypeEnum ¶
type ListImageAutoSyncReposDetailsRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ListImageAutoSyncReposDetailsRequestContentType APPLICATION_JSON ListImageAutoSyncReposDetailsRequestContentType }
func GetListImageAutoSyncReposDetailsRequestContentTypeEnum ¶
func GetListImageAutoSyncReposDetailsRequestContentTypeEnum() ListImageAutoSyncReposDetailsRequestContentTypeEnum
type ListImageAutoSyncReposDetailsResponse ¶
type ListImageAutoSyncReposDetailsResponse struct { // 镜像自动同步规则 Body *[]SyncRepo `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListImageAutoSyncReposDetailsResponse) String ¶
func (o ListImageAutoSyncReposDetailsResponse) String() string
type ListNamespacesRequest ¶
type ListNamespacesRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ListNamespacesRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace *string `json:"namespace,omitempty"` // 应填写namespace::{namespace}|mode::{mode}。其中{namespace}是组织名称,{mode}如果不设置,查看有权限的组织列表;设置为visible,查看可见的组织列表(部分组织:仓库有权限,组织没有权限)。 Filter *string `json:"filter,omitempty"` }
Request Object
func (ListNamespacesRequest) String ¶
func (o ListNamespacesRequest) String() string
type ListNamespacesRequestContentType ¶
type ListNamespacesRequestContentType struct {
// contains filtered or unexported fields
}
func (ListNamespacesRequestContentType) MarshalJSON ¶
func (c ListNamespacesRequestContentType) MarshalJSON() ([]byte, error)
func (*ListNamespacesRequestContentType) UnmarshalJSON ¶
func (c *ListNamespacesRequestContentType) UnmarshalJSON(b []byte) error
func (ListNamespacesRequestContentType) Value ¶ added in v0.0.90
func (c ListNamespacesRequestContentType) Value() string
type ListNamespacesRequestContentTypeEnum ¶
type ListNamespacesRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ListNamespacesRequestContentType APPLICATION_JSON ListNamespacesRequestContentType }
func GetListNamespacesRequestContentTypeEnum ¶
func GetListNamespacesRequestContentTypeEnum() ListNamespacesRequestContentTypeEnum
type ListNamespacesResponse ¶
type ListNamespacesResponse struct { // 组织列表 Namespaces *[]ShowNamespace `json:"namespaces,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListNamespacesResponse) String ¶
func (o ListNamespacesResponse) String() string
type ListQuotasRequest ¶ added in v0.0.71
type ListQuotasRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ListQuotasRequestContentType `json:"Content-Type"` }
Request Object
func (ListQuotasRequest) String ¶ added in v0.0.71
func (o ListQuotasRequest) String() string
type ListQuotasRequestContentType ¶ added in v0.0.71
type ListQuotasRequestContentType struct {
// contains filtered or unexported fields
}
func (ListQuotasRequestContentType) MarshalJSON ¶ added in v0.0.71
func (c ListQuotasRequestContentType) MarshalJSON() ([]byte, error)
func (*ListQuotasRequestContentType) UnmarshalJSON ¶ added in v0.0.71
func (c *ListQuotasRequestContentType) UnmarshalJSON(b []byte) error
func (ListQuotasRequestContentType) Value ¶ added in v0.0.90
func (c ListQuotasRequestContentType) Value() string
type ListQuotasRequestContentTypeEnum ¶ added in v0.0.71
type ListQuotasRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ListQuotasRequestContentType APPLICATION_JSON ListQuotasRequestContentType }
func GetListQuotasRequestContentTypeEnum ¶ added in v0.0.71
func GetListQuotasRequestContentTypeEnum() ListQuotasRequestContentTypeEnum
type ListQuotasResponse ¶ added in v0.0.71
type ListQuotasResponse struct { // 配额列表 Quotas *[]ShowQuota `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListQuotasResponse) String ¶ added in v0.0.71
func (o ListQuotasResponse) String() string
type ListRepoDomainsRequest ¶
type ListRepoDomainsRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ListRepoDomainsRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` }
Request Object
func (ListRepoDomainsRequest) String ¶
func (o ListRepoDomainsRequest) String() string
type ListRepoDomainsRequestContentType ¶
type ListRepoDomainsRequestContentType struct {
// contains filtered or unexported fields
}
func (ListRepoDomainsRequestContentType) MarshalJSON ¶
func (c ListRepoDomainsRequestContentType) MarshalJSON() ([]byte, error)
func (*ListRepoDomainsRequestContentType) UnmarshalJSON ¶
func (c *ListRepoDomainsRequestContentType) UnmarshalJSON(b []byte) error
func (ListRepoDomainsRequestContentType) Value ¶ added in v0.0.90
func (c ListRepoDomainsRequestContentType) Value() string
type ListRepoDomainsRequestContentTypeEnum ¶
type ListRepoDomainsRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ListRepoDomainsRequestContentType APPLICATION_JSON ListRepoDomainsRequestContentType }
func GetListRepoDomainsRequestContentTypeEnum ¶
func GetListRepoDomainsRequestContentTypeEnum() ListRepoDomainsRequestContentTypeEnum
type ListRepoDomainsResponse ¶
type ListRepoDomainsResponse struct { // 共享租户列表 Body *[]ShowRepoDomainsResponse `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRepoDomainsResponse) String ¶
func (o ListRepoDomainsResponse) String() string
type ListReposDetailsRequest ¶
type ListReposDetailsRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ListReposDetailsRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。注意:和filter最好分开使用,如果同时使用,此过滤参数将失效,以filter为准。 Namespace *string `json:"namespace,omitempty"` // 镜像仓库名称。注意:和filter最好分开使用,如果同时使用,此过滤参数将失效,以filter为准。 Name *string `json:"name,omitempty"` // 镜像仓库分类,可设置为app_server, linux, framework_app, database, lang, other, windows, arm。注意:和filter最好分开使用,如果同时使用,此过滤参数将失效,以filter为准。 Category *string `json:"category,omitempty"` // 返回条数。注意:offset和limit参数需要配套使用。 Limit *string `json:"limit,omitempty"` // 起始索引。注意:offset和limit参数需要配套使用。 Offset *string `json:"offset,omitempty"` // 按列排序,可设置为updated_at(按更新时间排序)。注意:order_column和order_type参数需要配套使用。 OrderColumn *string `json:"order_column,omitempty"` // 排序类型,可设置为desc(降序)、asc(升序)。注意:order_column和order_type参数需要配套使用。 OrderType *string `json:"order_type,omitempty"` // 注意:如果使用filter至少要传递一个filter参数。应填写 namespace::{namespace}|name::{name}|limit::{limit}|offset::{offset}|order_column::{order_column}|order_type::{order_type},其中{namespace}为组织名称。 {name}为镜像仓库名称,模糊匹配。{category}为镜像仓库分类,可设置为app_server、linux、framework_app、database、lang、other、windows、arm。 {limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型, 可设置为desc(降序)、asc(升序),注意:order_column和order_type参数需要配套使用。 Filter *string `json:"filter,omitempty"` }
Request Object
func (ListReposDetailsRequest) String ¶
func (o ListReposDetailsRequest) String() string
type ListReposDetailsRequestContentType ¶
type ListReposDetailsRequestContentType struct {
// contains filtered or unexported fields
}
func (ListReposDetailsRequestContentType) MarshalJSON ¶
func (c ListReposDetailsRequestContentType) MarshalJSON() ([]byte, error)
func (*ListReposDetailsRequestContentType) UnmarshalJSON ¶
func (c *ListReposDetailsRequestContentType) UnmarshalJSON(b []byte) error
func (ListReposDetailsRequestContentType) Value ¶ added in v0.0.90
func (c ListReposDetailsRequestContentType) Value() string
type ListReposDetailsRequestContentTypeEnum ¶
type ListReposDetailsRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ListReposDetailsRequestContentType APPLICATION_JSON ListReposDetailsRequestContentType }
func GetListReposDetailsRequestContentTypeEnum ¶
func GetListReposDetailsRequestContentTypeEnum() ListReposDetailsRequestContentTypeEnum
type ListReposDetailsResponse ¶
type ListReposDetailsResponse struct { Body *[]ShowReposResp `json:"body,omitempty"` ContentRange *string `json:"Content-Range,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListReposDetailsResponse) String ¶
func (o ListReposDetailsResponse) String() string
type ListRepositoryTagsRequest ¶
type ListRepositoryTagsRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ListRepositoryTagsRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 返回条数。注意:offset和limit参数需要配套使用。 Limit *string `json:"limit,omitempty"` // 起始索引。注意:offset和limit参数需要配套使用。 Offset *string `json:"offset,omitempty"` // 按列排序,可设置为updated_at(按更新时间排序)。注意:order_column和order_type参数需要配套使用。 OrderColumn *string `json:"order_column,omitempty"` // 排序类型,可设置为desc(降序)、asc(升序)。注意:order_column和order_type参数需要配套使用。 OrderType *string `json:"order_type,omitempty"` // 镜像版本名。 Tag *string `json:"tag,omitempty"` // 应填写 offset::{offset}|limit::{limit}|order_column::{order_column}|order_type::{order_type}|tag::{tag} ,其中{limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。 {order_column}为按列排序,可设置为updated_at(按更新时间排序),{order_type}为排序类型,可设置为desc(降序)、asc(升序),{tag}为镜像版本名。 Filter *string `json:"filter,omitempty"` }
Request Object
func (ListRepositoryTagsRequest) String ¶
func (o ListRepositoryTagsRequest) String() string
type ListRepositoryTagsRequestContentType ¶
type ListRepositoryTagsRequestContentType struct {
// contains filtered or unexported fields
}
func (ListRepositoryTagsRequestContentType) MarshalJSON ¶
func (c ListRepositoryTagsRequestContentType) MarshalJSON() ([]byte, error)
func (*ListRepositoryTagsRequestContentType) UnmarshalJSON ¶
func (c *ListRepositoryTagsRequestContentType) UnmarshalJSON(b []byte) error
func (ListRepositoryTagsRequestContentType) Value ¶ added in v0.0.90
func (c ListRepositoryTagsRequestContentType) Value() string
type ListRepositoryTagsRequestContentTypeEnum ¶
type ListRepositoryTagsRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ListRepositoryTagsRequestContentType APPLICATION_JSON ListRepositoryTagsRequestContentType }
func GetListRepositoryTagsRequestContentTypeEnum ¶
func GetListRepositoryTagsRequestContentTypeEnum() ListRepositoryTagsRequestContentTypeEnum
type ListRepositoryTagsResponse ¶
type ListRepositoryTagsResponse struct { // 镜像tag列表 Body *[]ShowReposTagResp `json:"body,omitempty"` ContentRange *string `json:"Content-Range,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRepositoryTagsResponse) String ¶
func (o ListRepositoryTagsResponse) String() string
type ListRetentionHistoriesRequest ¶
type ListRetentionHistoriesRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ListRetentionHistoriesRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 应填写 limit::{limit}|offset::{offset}, 其中{limit}为返回条数,{offset}为起始索引, 注意:offset和limit参数需要配套使用 Filter *string `json:"filter,omitempty"` }
Request Object
func (ListRetentionHistoriesRequest) String ¶
func (o ListRetentionHistoriesRequest) String() string
type ListRetentionHistoriesRequestContentType ¶
type ListRetentionHistoriesRequestContentType struct {
// contains filtered or unexported fields
}
func (ListRetentionHistoriesRequestContentType) MarshalJSON ¶
func (c ListRetentionHistoriesRequestContentType) MarshalJSON() ([]byte, error)
func (*ListRetentionHistoriesRequestContentType) UnmarshalJSON ¶
func (c *ListRetentionHistoriesRequestContentType) UnmarshalJSON(b []byte) error
func (ListRetentionHistoriesRequestContentType) Value ¶ added in v0.0.90
func (c ListRetentionHistoriesRequestContentType) Value() string
type ListRetentionHistoriesRequestContentTypeEnum ¶
type ListRetentionHistoriesRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ListRetentionHistoriesRequestContentType APPLICATION_JSON ListRetentionHistoriesRequestContentType }
func GetListRetentionHistoriesRequestContentTypeEnum ¶
func GetListRetentionHistoriesRequestContentTypeEnum() ListRetentionHistoriesRequestContentTypeEnum
type ListRetentionHistoriesResponse ¶
type ListRetentionHistoriesResponse struct { // 镜像老化日志 RetentionLog *[]RetentionLog `json:"retention_log,omitempty"` // 总个数 Total *int32 `json:"total,omitempty"` ContentRange *string `json:"Content-Range,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRetentionHistoriesResponse) String ¶
func (o ListRetentionHistoriesResponse) String() string
type ListRetentionsRequest ¶
type ListRetentionsRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ListRetentionsRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` }
Request Object
func (ListRetentionsRequest) String ¶
func (o ListRetentionsRequest) String() string
type ListRetentionsRequestContentType ¶
type ListRetentionsRequestContentType struct {
// contains filtered or unexported fields
}
func (ListRetentionsRequestContentType) MarshalJSON ¶
func (c ListRetentionsRequestContentType) MarshalJSON() ([]byte, error)
func (*ListRetentionsRequestContentType) UnmarshalJSON ¶
func (c *ListRetentionsRequestContentType) UnmarshalJSON(b []byte) error
func (ListRetentionsRequestContentType) Value ¶ added in v0.0.90
func (c ListRetentionsRequestContentType) Value() string
type ListRetentionsRequestContentTypeEnum ¶
type ListRetentionsRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ListRetentionsRequestContentType APPLICATION_JSON ListRetentionsRequestContentType }
func GetListRetentionsRequestContentTypeEnum ¶
func GetListRetentionsRequestContentTypeEnum() ListRetentionsRequestContentTypeEnum
type ListRetentionsResponse ¶
type ListRetentionsResponse struct { Body *[]Retention `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRetentionsResponse) String ¶
func (o ListRetentionsResponse) String() string
type ListSharedReposDetailsRequest ¶
type ListSharedReposDetailsRequest struct { ListSharedReposDetailsRequestContentType `json:"Content-Type"` Namespace *string `json:"namespace,omitempty"` Name *string `json:"name,omitempty"` Center *string `json:"center,omitempty"` Limit *string `json:"limit,omitempty"` Offset *string `json:"offset,omitempty"` OrderColumn *string `json:"order_column,omitempty"` OrderType *string `json:"order_type,omitempty"` Filter *string `json:"filter,omitempty"` }ContentType
Request Object
func (ListSharedReposDetailsRequest) String ¶
func (o ListSharedReposDetailsRequest) String() string
type ListSharedReposDetailsRequestContentType ¶
type ListSharedReposDetailsRequestContentType struct {
// contains filtered or unexported fields
}
func (ListSharedReposDetailsRequestContentType) MarshalJSON ¶
func (c ListSharedReposDetailsRequestContentType) MarshalJSON() ([]byte, error)
func (*ListSharedReposDetailsRequestContentType) UnmarshalJSON ¶
func (c *ListSharedReposDetailsRequestContentType) UnmarshalJSON(b []byte) error
func (ListSharedReposDetailsRequestContentType) Value ¶ added in v0.0.90
func (c ListSharedReposDetailsRequestContentType) Value() string
type ListSharedReposDetailsRequestContentTypeEnum ¶
type ListSharedReposDetailsRequestContentTypeEnum struct {}
func GetListSharedReposDetailsRequestContentTypeEnum ¶
func GetListSharedReposDetailsRequestContentTypeEnum() ListSharedReposDetailsRequestContentTypeEnum
type ListSharedReposDetailsResponse ¶
type ListSharedReposDetailsResponse struct {}
Response Object
func (ListSharedReposDetailsResponse) String ¶
func (o ListSharedReposDetailsResponse) String() string
type ListTriggersDetailsRequest ¶
type ListTriggersDetailsRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ListTriggersDetailsRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` }
Request Object
func (ListTriggersDetailsRequest) String ¶
func (o ListTriggersDetailsRequest) String() string
type ListTriggersDetailsRequestContentType ¶
type ListTriggersDetailsRequestContentType struct {
// contains filtered or unexported fields
}
func (ListTriggersDetailsRequestContentType) MarshalJSON ¶
func (c ListTriggersDetailsRequestContentType) MarshalJSON() ([]byte, error)
func (*ListTriggersDetailsRequestContentType) UnmarshalJSON ¶
func (c *ListTriggersDetailsRequestContentType) UnmarshalJSON(b []byte) error
func (ListTriggersDetailsRequestContentType) Value ¶ added in v0.0.90
func (c ListTriggersDetailsRequestContentType) Value() string
type ListTriggersDetailsRequestContentTypeEnum ¶
type ListTriggersDetailsRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ListTriggersDetailsRequestContentType APPLICATION_JSON ListTriggersDetailsRequestContentType }
func GetListTriggersDetailsRequestContentTypeEnum ¶
func GetListTriggersDetailsRequestContentTypeEnum() ListTriggersDetailsRequestContentTypeEnum
type ListTriggersDetailsResponse ¶
type ListTriggersDetailsResponse struct { // 触发器列表 Body *[]Trigger `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTriggersDetailsResponse) String ¶
func (o ListTriggersDetailsResponse) String() string
type Retention ¶
type Retention struct { // 回收规则匹配策略,or Algorithm string `json:"algorithm"` // ID Id int32 `json:"id"` // 镜像老化规则 Rules []Rule `json:"rules"` // 保留字段 Scope string `json:"scope"` }
镜像老化规则
type RetentionLog ¶
type RetentionLog struct { // 创建时间 CreatedAt string `json:"created_at"` // ID Id int32 `json:"id"` // 组织名 Namespace string `json:"namespace"` // 镜像仓库名 Repo string `json:"repo"` // 老化规则ID RetentionId int32 `json:"retention_id"` // 规则 RuleType string `json:"rule_type"` // 镜像版本 Tag string `json:"tag"` }
func (RetentionLog) String ¶
func (o RetentionLog) String() string
type Rule ¶
type Rule struct { // 回收类型,date_rule、tag_rule Template RuleTemplate `json:"template"` // template是date_rule时,设置params为{\"days\": \"xxx\"} template是tag_rule时,设置params为{\"num\": \"xxx\"} Params *interface{} `json:"params"` // 例外镜像 TagSelectors []TagSelector `json:"tag_selectors"` }
type RuleTemplate ¶
type RuleTemplate struct {
// contains filtered or unexported fields
}
func (RuleTemplate) MarshalJSON ¶
func (c RuleTemplate) MarshalJSON() ([]byte, error)
func (*RuleTemplate) UnmarshalJSON ¶
func (c *RuleTemplate) UnmarshalJSON(b []byte) error
func (RuleTemplate) Value ¶ added in v0.0.90
func (c RuleTemplate) Value() string
type RuleTemplateEnum ¶
type RuleTemplateEnum struct { DATE_RULE RuleTemplate TAG_RULE RuleTemplate }
func GetRuleTemplateEnum ¶
func GetRuleTemplateEnum() RuleTemplateEnum
type ShowAccessDomainRequest ¶
type ShowAccessDomainRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ShowAccessDomainRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 共享帐号 AccessDomain string `json:"access_domain"` }
Request Object
func (ShowAccessDomainRequest) String ¶
func (o ShowAccessDomainRequest) String() string
type ShowAccessDomainRequestContentType ¶
type ShowAccessDomainRequestContentType struct {
// contains filtered or unexported fields
}
func (ShowAccessDomainRequestContentType) MarshalJSON ¶
func (c ShowAccessDomainRequestContentType) MarshalJSON() ([]byte, error)
func (*ShowAccessDomainRequestContentType) UnmarshalJSON ¶
func (c *ShowAccessDomainRequestContentType) UnmarshalJSON(b []byte) error
func (ShowAccessDomainRequestContentType) Value ¶ added in v0.0.90
func (c ShowAccessDomainRequestContentType) Value() string
type ShowAccessDomainRequestContentTypeEnum ¶
type ShowAccessDomainRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ShowAccessDomainRequestContentType APPLICATION_JSON ShowAccessDomainRequestContentType }
func GetShowAccessDomainRequestContentTypeEnum ¶
func GetShowAccessDomainRequestContentTypeEnum() ShowAccessDomainRequestContentTypeEnum
type ShowAccessDomainResponse ¶
type ShowAccessDomainResponse struct { // true:存在;false:不存在 Exist *bool `json:"exist,omitempty"` // 组织名称 Namespace *string `json:"namespace,omitempty"` // 镜像仓库名称 Repository *string `json:"repository,omitempty"` // 共享帐号名 AccessDomain *string `json:"access_domain,omitempty"` // 权限 Permit *string `json:"permit,omitempty"` // 截止时间 Deadline *string `json:"deadline,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 创建者ID CreatorId *string `json:"creator_id,omitempty"` // 创建者名称 CreatorName *string `json:"creator_name,omitempty"` // 镜像创建时间,UTC时间格式,时间为UTC标准时间 Created *string `json:"created,omitempty"` // 镜像更新时间,UTC时间格式,时间为UTC标准时间 Updated *string `json:"updated,omitempty"` // 是否过期,true:有效;false:过期 Status *bool `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAccessDomainResponse) String ¶
func (o ShowAccessDomainResponse) String() string
type ShowApiVersionRequest ¶
type ShowApiVersionRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ShowApiVersionRequestContentType `json:"Content-Type"` // API版本号。 ApiVersion string `json:"api_version"` }
Request Object
func (ShowApiVersionRequest) String ¶
func (o ShowApiVersionRequest) String() string
type ShowApiVersionRequestContentType ¶
type ShowApiVersionRequestContentType struct {
// contains filtered or unexported fields
}
func (ShowApiVersionRequestContentType) MarshalJSON ¶
func (c ShowApiVersionRequestContentType) MarshalJSON() ([]byte, error)
func (*ShowApiVersionRequestContentType) UnmarshalJSON ¶
func (c *ShowApiVersionRequestContentType) UnmarshalJSON(b []byte) error
func (ShowApiVersionRequestContentType) Value ¶ added in v0.0.90
func (c ShowApiVersionRequestContentType) Value() string
type ShowApiVersionRequestContentTypeEnum ¶
type ShowApiVersionRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ShowApiVersionRequestContentType APPLICATION_JSON ShowApiVersionRequestContentType }
func GetShowApiVersionRequestContentTypeEnum ¶
func GetShowApiVersionRequestContentTypeEnum() ShowApiVersionRequestContentTypeEnum
type ShowApiVersionResponse ¶
type ShowApiVersionResponse struct { Version *VersionDetail `json:"version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowApiVersionResponse) String ¶
func (o ShowApiVersionResponse) String() string
type ShowNamespace ¶
type ShowNamespace struct { // id Id int32 `json:"id"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Name string `json:"name"` // IAM用户名 CreatorName string `json:"creator_name"` // 用户权限。7表示管理权限,3表示编辑权限,1表示读取权限。 Auth ShowNamespaceAuth `json:"auth"` }
func (ShowNamespace) String ¶
func (o ShowNamespace) String() string
type ShowNamespaceAuth ¶
type ShowNamespaceAuth struct {
// contains filtered or unexported fields
}
func (ShowNamespaceAuth) MarshalJSON ¶
func (c ShowNamespaceAuth) MarshalJSON() ([]byte, error)
func (*ShowNamespaceAuth) UnmarshalJSON ¶
func (c *ShowNamespaceAuth) UnmarshalJSON(b []byte) error
func (ShowNamespaceAuth) Value ¶ added in v0.0.90
func (c ShowNamespaceAuth) Value() int32
type ShowNamespaceAuthEnum ¶
type ShowNamespaceAuthEnum struct { E_7 ShowNamespaceAuth E_3 ShowNamespaceAuth E_1 ShowNamespaceAuth }
func GetShowNamespaceAuthEnum ¶
func GetShowNamespaceAuthEnum() ShowNamespaceAuthEnum
type ShowNamespaceAuthRequest ¶
type ShowNamespaceAuthRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ShowNamespaceAuthRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` }
Request Object
func (ShowNamespaceAuthRequest) String ¶
func (o ShowNamespaceAuthRequest) String() string
type ShowNamespaceAuthRequestContentType ¶
type ShowNamespaceAuthRequestContentType struct {
// contains filtered or unexported fields
}
func (ShowNamespaceAuthRequestContentType) MarshalJSON ¶
func (c ShowNamespaceAuthRequestContentType) MarshalJSON() ([]byte, error)
func (*ShowNamespaceAuthRequestContentType) UnmarshalJSON ¶
func (c *ShowNamespaceAuthRequestContentType) UnmarshalJSON(b []byte) error
func (ShowNamespaceAuthRequestContentType) Value ¶ added in v0.0.90
func (c ShowNamespaceAuthRequestContentType) Value() string
type ShowNamespaceAuthRequestContentTypeEnum ¶
type ShowNamespaceAuthRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ShowNamespaceAuthRequestContentType APPLICATION_JSON ShowNamespaceAuthRequestContentType }
func GetShowNamespaceAuthRequestContentTypeEnum ¶
func GetShowNamespaceAuthRequestContentTypeEnum() ShowNamespaceAuthRequestContentTypeEnum
type ShowNamespaceAuthResponse ¶
type ShowNamespaceAuthResponse struct { // id Id *int32 `json:"id,omitempty"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Name *string `json:"name,omitempty"` // 组织创建者 CreatorName *string `json:"creator_name,omitempty"` SelfAuth *UserAuth `json:"self_auth,omitempty"` // 其他用户的权限 OthersAuths *[]UserAuth `json:"others_auths,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowNamespaceAuthResponse) String ¶
func (o ShowNamespaceAuthResponse) String() string
type ShowNamespaceRequest ¶
type ShowNamespaceRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ShowNamespaceRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` }
Request Object
func (ShowNamespaceRequest) String ¶
func (o ShowNamespaceRequest) String() string
type ShowNamespaceRequestContentType ¶
type ShowNamespaceRequestContentType struct {
// contains filtered or unexported fields
}
func (ShowNamespaceRequestContentType) MarshalJSON ¶
func (c ShowNamespaceRequestContentType) MarshalJSON() ([]byte, error)
func (*ShowNamespaceRequestContentType) UnmarshalJSON ¶
func (c *ShowNamespaceRequestContentType) UnmarshalJSON(b []byte) error
func (ShowNamespaceRequestContentType) Value ¶ added in v0.0.90
func (c ShowNamespaceRequestContentType) Value() string
type ShowNamespaceRequestContentTypeEnum ¶
type ShowNamespaceRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ShowNamespaceRequestContentType APPLICATION_JSON ShowNamespaceRequestContentType }
func GetShowNamespaceRequestContentTypeEnum ¶
func GetShowNamespaceRequestContentTypeEnum() ShowNamespaceRequestContentTypeEnum
type ShowNamespaceResponse ¶
type ShowNamespaceResponse struct { // id Id *int32 `json:"id,omitempty"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Name *string `json:"name,omitempty"` // IAM用户名 CreatorName *string `json:"creator_name,omitempty"` // 用户权限。7表示管理权限,3表示编辑权限,1表示读取权限。 Auth *ShowNamespaceResponseAuth `json:"auth,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowNamespaceResponse) String ¶
func (o ShowNamespaceResponse) String() string
type ShowNamespaceResponseAuth ¶
type ShowNamespaceResponseAuth struct {
// contains filtered or unexported fields
}
func (ShowNamespaceResponseAuth) MarshalJSON ¶
func (c ShowNamespaceResponseAuth) MarshalJSON() ([]byte, error)
func (*ShowNamespaceResponseAuth) UnmarshalJSON ¶
func (c *ShowNamespaceResponseAuth) UnmarshalJSON(b []byte) error
func (ShowNamespaceResponseAuth) Value ¶ added in v0.0.90
func (c ShowNamespaceResponseAuth) Value() int32
type ShowNamespaceResponseAuthEnum ¶
type ShowNamespaceResponseAuthEnum struct { E_7 ShowNamespaceResponseAuth E_3 ShowNamespaceResponseAuth E_1 ShowNamespaceResponseAuth }
func GetShowNamespaceResponseAuthEnum ¶
func GetShowNamespaceResponseAuthEnum() ShowNamespaceResponseAuthEnum
type ShowQuota ¶ added in v0.0.71
type ShowRepoDomainsResponse ¶
type ShowRepoDomainsResponse struct { // 组织 Namespace string `json:"namespace"` // 镜像仓库 Repository string `json:"repository"` // 共享租户名 AccessDomain string `json:"access_domain"` // 权限 Permit string `json:"permit"` // 截止时间 Deadline string `json:"deadline"` // 描述 Description string `json:"description"` // 创建者ID CreatorId string `json:"creator_id"` // 创建者名称 CreatorName string `json:"creator_name"` // 镜像创建时间,UTC时间格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 Created string `json:"created"` // 镜像更新时间,UTC时间格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 Updated string `json:"updated"` // 是否过期:true:有效;false:过期 Status bool `json:"status"` }
func (ShowRepoDomainsResponse) String ¶
func (o ShowRepoDomainsResponse) String() string
type ShowReposResp ¶
type ShowReposResp struct { // 仓库名称 Name string `json:"name"` // 仓库类型(计划改造,每个镜像会有多个lable标示) Category string `json:"category"` // 仓库描述信息 Description string `json:"description"` // 仓库大小 Size int64 `json:"size"` // 仓库是否为公共仓库,值为true或false IsPublic bool `json:"is_public"` // 仓库中镜像个数,0 ~ 9223372036854775807 NumImages int64 `json:"num_images"` // 仓库下载次数 NumDownload int64 `json:"num_download"` // 仓库创建时间,UTC日期格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 CreatedAt string `json:"created_at"` // 仓库更新时间,UTC日期格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 UpdatedAt string `json:"updated_at"` // 仓库logo地址(暂时未用) Logo string `json:"logo"` // 仓库logo图片的URL,URL格式。(暂时未用) Url string `json:"url"` // 镜像pull路径,格式为 swr.cn-north-1.myhuaweicloud.com/namespace/repository Path string `json:"path"` // 镜像pull路径,格式为 10.125.0.198:20202/namespace/repository InternalPath string `json:"internal_path"` // 租户名 DomainName string `json:"domain_name"` // 租户的组织名称 Namespace string `json:"namespace"` // 镜像版本列表 Tags []string `json:"tags"` // 查询他人共享镜像:共享是否过期 查询我共享的镜像:默认为false,无意义 Status bool `json:"status"` // 总记录条数 TotalRange int64 `json:"total_range"` }
func (ShowReposResp) String ¶
func (o ShowReposResp) String() string
type ShowReposTagResp ¶
type ShowReposTagResp struct { // tag编号 Id int64 `json:"id"` // 仓库编号 RepoId int64 `json:"repo_id"` // Tag版本名称 Tag string `json:"Tag"` // 镜像id ImageId string `json:"image_id"` // 镜像manifest Manifest string `json:"manifest"` // 镜像hash值 Digest string `json:"digest"` // docker协议版本,值为1或2 Schema int64 `json:"schema"` // 镜像pull地址,格式为swr.cn-north-1.myhuaweicloud.com/namespace/repository:tag Path string `json:"path"` // cce集群内镜像pull路径,格式为 10.125.0.198:20202/namespace/repository:tag InternalPath string `json:"internal_path"` // 镜像大小,0 ~ 9223372036854775807 Size int64 `json:"size"` // 默认值为false IsTrusted bool `json:"is_trusted"` // 镜像创建时间,UTC时间格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 Created string `json:"created"` // 镜像更新时间,UTC时间格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 Updated string `json:"updated"` // 镜像删除时间,UTC时间格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 Deleted string `json:"deleted"` // 帐号ID DomainId string `json:"domain_id"` // 镜像是否被扫描过 Scanned bool `json:"scanned"` // 0:manifest类型;1:manifest list类型 TagType int64 `json:"tag_type"` }
func (ShowReposTagResp) String ¶
func (o ShowReposTagResp) String() string
type ShowRepositoryRequest ¶
type ShowRepositoryRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ShowRepositoryRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` }
Request Object
func (ShowRepositoryRequest) String ¶
func (o ShowRepositoryRequest) String() string
type ShowRepositoryRequestContentType ¶
type ShowRepositoryRequestContentType struct {
// contains filtered or unexported fields
}
func (ShowRepositoryRequestContentType) MarshalJSON ¶
func (c ShowRepositoryRequestContentType) MarshalJSON() ([]byte, error)
func (*ShowRepositoryRequestContentType) UnmarshalJSON ¶
func (c *ShowRepositoryRequestContentType) UnmarshalJSON(b []byte) error
func (ShowRepositoryRequestContentType) Value ¶ added in v0.0.90
func (c ShowRepositoryRequestContentType) Value() string
type ShowRepositoryRequestContentTypeEnum ¶
type ShowRepositoryRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ShowRepositoryRequestContentType APPLICATION_JSON ShowRepositoryRequestContentType }
func GetShowRepositoryRequestContentTypeEnum ¶
func GetShowRepositoryRequestContentTypeEnum() ShowRepositoryRequestContentTypeEnum
type ShowRepositoryResponse ¶
type ShowRepositoryResponse struct { // 仓库编号 Id *int64 `json:"id,omitempty"` // 组织编号 NsId *int64 `json:"ns_id,omitempty"` // 仓库名称 Name *string `json:"name,omitempty"` // 仓库类型(计划改造,每个镜像会有多个lable标示) Category *string `json:"category,omitempty"` // 仓库描述信息 Description *string `json:"description,omitempty"` // 仓库创建者id CreatorId *string `json:"creator_id,omitempty"` // 仓库创建者 CreatorName *string `json:"creator_name,omitempty"` // 仓库大小 Size *int64 `json:"size,omitempty"` // 仓库是否为公共仓库,值为true或false IsPublic *bool `json:"is_public,omitempty"` // 仓库中镜像个数,0 ~ 9223372036854775807 NumImages *int64 `json:"num_images,omitempty"` // 仓库下载次数 NumDownload *int64 `json:"num_download,omitempty"` // 仓库logo图片的URL,URL格式。(暂时未用) Url *string `json:"url,omitempty"` // 镜像pull路径,格式为 swr.cn-north-1.myhuaweicloud.com/namespace/repository Path *string `json:"path,omitempty"` // 镜像pull路径,格式为 10.125.0.198:20202/namespace/repository InternalPath *string `json:"internal_path,omitempty"` // 仓库创建时间,UTC日期格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 Created *string `json:"created,omitempty"` // 仓库更新时间,UTC日期格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 Updated *string `json:"updated,omitempty"` // 帐号ID DomainId *string `json:"domain_id,omitempty"` // 镜像排序优先级 Priority *int32 `json:"priority,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRepositoryResponse) String ¶
func (o ShowRepositoryResponse) String() string
type ShowRetentionRequest ¶
type ShowRetentionRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ShowRetentionRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 镜像老化规则id RetentionId int32 `json:"retention_id"` }
Request Object
func (ShowRetentionRequest) String ¶
func (o ShowRetentionRequest) String() string
type ShowRetentionRequestContentType ¶
type ShowRetentionRequestContentType struct {
// contains filtered or unexported fields
}
func (ShowRetentionRequestContentType) MarshalJSON ¶
func (c ShowRetentionRequestContentType) MarshalJSON() ([]byte, error)
func (*ShowRetentionRequestContentType) UnmarshalJSON ¶
func (c *ShowRetentionRequestContentType) UnmarshalJSON(b []byte) error
func (ShowRetentionRequestContentType) Value ¶ added in v0.0.90
func (c ShowRetentionRequestContentType) Value() string
type ShowRetentionRequestContentTypeEnum ¶
type ShowRetentionRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ShowRetentionRequestContentType APPLICATION_JSON ShowRetentionRequestContentType }
func GetShowRetentionRequestContentTypeEnum ¶
func GetShowRetentionRequestContentTypeEnum() ShowRetentionRequestContentTypeEnum
type ShowRetentionResponse ¶
type ShowRetentionResponse struct { // 回收规则匹配策略,or Algorithm *string `json:"algorithm,omitempty"` // ID Id *int32 `json:"id,omitempty"` // 镜像老化规则 Rules *[]Rule `json:"rules,omitempty"` // 保留字段 Scope *string `json:"scope,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRetentionResponse) String ¶
func (o ShowRetentionResponse) String() string
type ShowSyncJobRequest ¶
type ShowSyncJobRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ShowSyncJobRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 应填写 limit::{limit}|offset::{offset}|order::{order} ,其中{limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用,且必选。{order}为排序类型(可选),可设置为desc(降序)、asc(升序) Filter string `json:"filter"` }
Request Object
func (ShowSyncJobRequest) String ¶
func (o ShowSyncJobRequest) String() string
type ShowSyncJobRequestContentType ¶
type ShowSyncJobRequestContentType struct {
// contains filtered or unexported fields
}
func (ShowSyncJobRequestContentType) MarshalJSON ¶
func (c ShowSyncJobRequestContentType) MarshalJSON() ([]byte, error)
func (*ShowSyncJobRequestContentType) UnmarshalJSON ¶
func (c *ShowSyncJobRequestContentType) UnmarshalJSON(b []byte) error
func (ShowSyncJobRequestContentType) Value ¶ added in v0.0.90
func (c ShowSyncJobRequestContentType) Value() string
type ShowSyncJobRequestContentTypeEnum ¶
type ShowSyncJobRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ShowSyncJobRequestContentType APPLICATION_JSON ShowSyncJobRequestContentType }
func GetShowSyncJobRequestContentTypeEnum ¶
func GetShowSyncJobRequestContentTypeEnum() ShowSyncJobRequestContentTypeEnum
type ShowSyncJobResponse ¶
type ShowSyncJobResponse struct { Body *[]SyncJob `json:"body,omitempty"` ContentRange *string `json:"Content-Range,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowSyncJobResponse) String ¶
func (o ShowSyncJobResponse) String() string
type ShowTriggerRequest ¶
type ShowTriggerRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ShowTriggerRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 触发器名称 Trigger string `json:"trigger"` }
Request Object
func (ShowTriggerRequest) String ¶
func (o ShowTriggerRequest) String() string
type ShowTriggerRequestContentType ¶
type ShowTriggerRequestContentType struct {
// contains filtered or unexported fields
}
func (ShowTriggerRequestContentType) MarshalJSON ¶
func (c ShowTriggerRequestContentType) MarshalJSON() ([]byte, error)
func (*ShowTriggerRequestContentType) UnmarshalJSON ¶
func (c *ShowTriggerRequestContentType) UnmarshalJSON(b []byte) error
func (ShowTriggerRequestContentType) Value ¶ added in v0.0.90
func (c ShowTriggerRequestContentType) Value() string
type ShowTriggerRequestContentTypeEnum ¶
type ShowTriggerRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ShowTriggerRequestContentType APPLICATION_JSON ShowTriggerRequestContentType }
func GetShowTriggerRequestContentTypeEnum ¶
func GetShowTriggerRequestContentTypeEnum() ShowTriggerRequestContentTypeEnum
type ShowTriggerResponse ¶
type ShowTriggerResponse struct { // 触发动作,update Action *string `json:"action,omitempty"` // 应用类型,deployments、statefulsets AppType *string `json:"app_type,omitempty"` // 应用名 Application *string `json:"application,omitempty"` // 集群ID(cci时为空) ClusterId *string `json:"cluster_id,omitempty"` // 集群名(cci时为空) ClusterName *string `json:"cluster_name,omitempty"` // 应用名所在的namespace ClusterNs *string `json:"cluster_ns,omitempty"` // 触发条件,type为all时为.*,type为tag时为tag名,type为regular时为正则表达式 Condition *string `json:"condition,omitempty"` // 需更新的container名,默认为所有container Container *string `json:"container,omitempty"` // 创建时间 CreatedAt *string `json:"created_at,omitempty"` // 创建人 CreatorName *string `json:"creator_name,omitempty"` // 是否生效 Enable *string `json:"enable,omitempty"` // 触发器名 Name *string `json:"name,omitempty"` // 触发器历史 TriggerHistory *[]TriggerHistories `json:"trigger_history,omitempty"` // 触发器类型,cce、cci TriggerMode *string `json:"trigger_mode,omitempty"` // 触发条件,all、tag、regular TriggerType *string `json:"trigger_type,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTriggerResponse) String ¶
func (o ShowTriggerResponse) String() string
type ShowUserRepositoryAuthRequest ¶
type ShowUserRepositoryAuthRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType ShowUserRepositoryAuthRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` }
Request Object
func (ShowUserRepositoryAuthRequest) String ¶
func (o ShowUserRepositoryAuthRequest) String() string
type ShowUserRepositoryAuthRequestContentType ¶
type ShowUserRepositoryAuthRequestContentType struct {
// contains filtered or unexported fields
}
func (ShowUserRepositoryAuthRequestContentType) MarshalJSON ¶
func (c ShowUserRepositoryAuthRequestContentType) MarshalJSON() ([]byte, error)
func (*ShowUserRepositoryAuthRequestContentType) UnmarshalJSON ¶
func (c *ShowUserRepositoryAuthRequestContentType) UnmarshalJSON(b []byte) error
func (ShowUserRepositoryAuthRequestContentType) Value ¶ added in v0.0.90
func (c ShowUserRepositoryAuthRequestContentType) Value() string
type ShowUserRepositoryAuthRequestContentTypeEnum ¶
type ShowUserRepositoryAuthRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 ShowUserRepositoryAuthRequestContentType APPLICATION_JSON ShowUserRepositoryAuthRequestContentType }
func GetShowUserRepositoryAuthRequestContentTypeEnum ¶
func GetShowUserRepositoryAuthRequestContentTypeEnum() ShowUserRepositoryAuthRequestContentTypeEnum
type ShowUserRepositoryAuthResponse ¶
type ShowUserRepositoryAuthResponse struct { // id Id *int32 `json:"id,omitempty"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Name *string `json:"name,omitempty"` SelfAuth *UserAuth `json:"self_auth,omitempty"` // 其他用户的权限 OthersAuths *[]UserAuth `json:"others_auths,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowUserRepositoryAuthResponse) String ¶
func (o ShowUserRepositoryAuthResponse) String() string
type SyncJob ¶
type SyncJob struct { // 创建时间,UTC日期格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 CreatedAt string `json:"createdAt"` // 租户ID DomainID string `json:"domainID"` // 租户名 DomainName string `json:"domainName"` // ID Id int32 `json:"id"` // 组织名 Namespace string `json:"namespace"` // 是否覆盖 Override bool `json:"override"` // 目的组织 RemoteNamespace string `json:"remoteNamespace"` // 目的region RemoteRegionId string `json:"remoteRegionId"` // 仓库名 RepoName string `json:"repoName"` // 同步状态,waiting、running、success、failed、timeout、cancel、existed Status string `json:"status"` // 操作用户ID SyncOperatorId string `json:"syncOperatorId"` // 操作用户名 SyncOperatorName string `json:"syncOperatorName"` // 镜像版本 Tag string `json:"tag"` // updatedAt UpdatedAt string `json:"updatedAt"` }
type SyncRepo ¶
type SyncRepo struct { // 创建时间,UTC日期格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 CreatedAt string `json:"createdAt"` // 租户ID DomainID string `json:"domainID"` // 租户名 DomainName string `json:"domainName"` // ID Id int32 `json:"id"` // 组织名 Namespace string `json:"namespace"` // 是否覆盖 Override bool `json:"override"` // 目的组织 RemoteNamespace string `json:"remoteNamespace"` // 目的region RemoteRegionId string `json:"remoteRegionId"` // 仓库名 RepoName string `json:"repoName"` // 自动同步 SyncAuto bool `json:"syncAuto"` // 更新时间,UTC日期格式,时间为UTC标准时间,用户需要根据本地时间计算偏移量;如东8区需要+8:00 UpdatedAt string `json:"updatedAt"` }
type TagSelector ¶
type TagSelector struct { // 匹配规则,label、regexp Kind string `json:"kind"` // kind是label时,设置为镜像版本,kind是regexp时,设置为正则表达式 Pattern string `json:"pattern"` }
func (TagSelector) String ¶
func (o TagSelector) String() string
type Trigger ¶
type Trigger struct { // 触发动作,update Action string `json:"action"` // 应用类型,deployments、statefulsets AppType string `json:"app_type"` // 应用名 Application string `json:"application"` // 集群ID(cci时为空) ClusterId string `json:"cluster_id"` // 集群名(cci时为空) ClusterName string `json:"cluster_name"` // 应用名所在的namespace ClusterNs string `json:"cluster_ns"` // 触发条件,type为all时为.*,type为tag时为tag名,type为regular时为正则表达式 Condition string `json:"condition"` // 需更新的container名,默认为所有container Container string `json:"container"` // 创建时间 CreatedAt string `json:"created_at"` // 创建人 CreatorName string `json:"creator_name"` // 是否生效 Enable string `json:"enable"` // 触发器名 Name string `json:"name"` // 触发器历史 TriggerHistory []TriggerHistories `json:"trigger_history"` // 触发器类型,cce、cci TriggerMode string `json:"trigger_mode"` // 触发条件,all、tag、regular TriggerType string `json:"trigger_type"` }
type TriggerHistories ¶
type TriggerHistories struct { // 触发动作,update Action string `json:"action"` // 应用类型,deployments、statefulsets AppType string `json:"app_type"` // 应用名 Application string `json:"application"` // 集群ID(cci时为空) ClusterId string `json:"cluster_id"` // 集群名(cci时为空) ClusterName string `json:"cluster_name"` // 应用名所在的namespace ClusterNs string `json:"cluster_ns"` // 触发条件,type为all时为.*,type为tag时为tag名,type为regular时为正则表达式 Condition string `json:"condition"` // 需更新的container名,默认为所有container Container string `json:"container"` // 创建时间 CreatedAt string `json:"created_at"` // 创建人 CreatorName string `json:"creator_name"` // 详情 Detail string `json:"detail"` // 更新结果,success、failed Result string `json:"result"` // 触发的版本号 Tag string `json:"tag"` }
func (TriggerHistories) String ¶
func (o TriggerHistories) String() string
type UpdateNamespaceAuthRequest ¶
type UpdateNamespaceAuthRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType UpdateNamespaceAuthRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` Body *[]UserAuth `json:"body,omitempty"` }
Request Object
func (UpdateNamespaceAuthRequest) String ¶
func (o UpdateNamespaceAuthRequest) String() string
type UpdateNamespaceAuthRequestContentType ¶
type UpdateNamespaceAuthRequestContentType struct {
// contains filtered or unexported fields
}
func (UpdateNamespaceAuthRequestContentType) MarshalJSON ¶
func (c UpdateNamespaceAuthRequestContentType) MarshalJSON() ([]byte, error)
func (*UpdateNamespaceAuthRequestContentType) UnmarshalJSON ¶
func (c *UpdateNamespaceAuthRequestContentType) UnmarshalJSON(b []byte) error
func (UpdateNamespaceAuthRequestContentType) Value ¶ added in v0.0.90
func (c UpdateNamespaceAuthRequestContentType) Value() string
type UpdateNamespaceAuthRequestContentTypeEnum ¶
type UpdateNamespaceAuthRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 UpdateNamespaceAuthRequestContentType APPLICATION_JSON UpdateNamespaceAuthRequestContentType }
func GetUpdateNamespaceAuthRequestContentTypeEnum ¶
func GetUpdateNamespaceAuthRequestContentTypeEnum() UpdateNamespaceAuthRequestContentTypeEnum
type UpdateNamespaceAuthResponse ¶
type UpdateNamespaceAuthResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateNamespaceAuthResponse) String ¶
func (o UpdateNamespaceAuthResponse) String() string
type UpdateRepoDomainsRequest ¶
type UpdateRepoDomainsRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType UpdateRepoDomainsRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 共享帐号 AccessDomain string `json:"access_domain"` Body *UpdateRepoDomainsRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateRepoDomainsRequest) String ¶
func (o UpdateRepoDomainsRequest) String() string
type UpdateRepoDomainsRequestBody ¶
type UpdateRepoDomainsRequestBody struct { // 当前只支持read权限 Permit string `json:"permit"` // 截止时间,UTC时间格式。永久有效为forever Deadline string `json:"deadline"` // 描述。默认值为空字符串 Description *string `json:"description,omitempty"` }
func (UpdateRepoDomainsRequestBody) String ¶
func (o UpdateRepoDomainsRequestBody) String() string
type UpdateRepoDomainsRequestContentType ¶
type UpdateRepoDomainsRequestContentType struct {
// contains filtered or unexported fields
}
func (UpdateRepoDomainsRequestContentType) MarshalJSON ¶
func (c UpdateRepoDomainsRequestContentType) MarshalJSON() ([]byte, error)
func (*UpdateRepoDomainsRequestContentType) UnmarshalJSON ¶
func (c *UpdateRepoDomainsRequestContentType) UnmarshalJSON(b []byte) error
func (UpdateRepoDomainsRequestContentType) Value ¶ added in v0.0.90
func (c UpdateRepoDomainsRequestContentType) Value() string
type UpdateRepoDomainsRequestContentTypeEnum ¶
type UpdateRepoDomainsRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 UpdateRepoDomainsRequestContentType APPLICATION_JSON UpdateRepoDomainsRequestContentType }
func GetUpdateRepoDomainsRequestContentTypeEnum ¶
func GetUpdateRepoDomainsRequestContentTypeEnum() UpdateRepoDomainsRequestContentTypeEnum
type UpdateRepoDomainsResponse ¶
type UpdateRepoDomainsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateRepoDomainsResponse) String ¶
func (o UpdateRepoDomainsResponse) String() string
type UpdateRepoRequest ¶
type UpdateRepoRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType UpdateRepoRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称。小写字母或数字开头,后面跟小写字母、数字、小数点、斜杠、下划线或中划线(其中下划线最多允许连续两个,小数点、斜杠、下划线、中划线不能直接相连),小写字母或数字结尾,1-128个字符。 Repository string `json:"repository"` Body *UpdateRepoRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateRepoRequest) String ¶
func (o UpdateRepoRequest) String() string
type UpdateRepoRequestBody ¶
type UpdateRepoRequestBody struct { // 是否为公共仓库,可选值为true或false。 IsPublic bool `json:"is_public"` // 仓库类型,可设置为app_server, linux, framework_app, database, lang, other, windows, arm。 Category *UpdateRepoRequestBodyCategory `json:"category,omitempty"` // 镜像仓库的描述信息。 Description *string `json:"description,omitempty"` }
func (UpdateRepoRequestBody) String ¶
func (o UpdateRepoRequestBody) String() string
type UpdateRepoRequestBodyCategory ¶
type UpdateRepoRequestBodyCategory struct {
// contains filtered or unexported fields
}
func (UpdateRepoRequestBodyCategory) MarshalJSON ¶
func (c UpdateRepoRequestBodyCategory) MarshalJSON() ([]byte, error)
func (*UpdateRepoRequestBodyCategory) UnmarshalJSON ¶
func (c *UpdateRepoRequestBodyCategory) UnmarshalJSON(b []byte) error
func (UpdateRepoRequestBodyCategory) Value ¶ added in v0.0.90
func (c UpdateRepoRequestBodyCategory) Value() string
type UpdateRepoRequestBodyCategoryEnum ¶
type UpdateRepoRequestBodyCategoryEnum struct { APP_SERVER UpdateRepoRequestBodyCategory LINUX UpdateRepoRequestBodyCategory FRAMEWORK_APP UpdateRepoRequestBodyCategory DATABASE UpdateRepoRequestBodyCategory LANG UpdateRepoRequestBodyCategory WINDOWS UpdateRepoRequestBodyCategory ARMS UpdateRepoRequestBodyCategory OTHER UpdateRepoRequestBodyCategory }
func GetUpdateRepoRequestBodyCategoryEnum ¶
func GetUpdateRepoRequestBodyCategoryEnum() UpdateRepoRequestBodyCategoryEnum
type UpdateRepoRequestContentType ¶
type UpdateRepoRequestContentType struct {
// contains filtered or unexported fields
}
func (UpdateRepoRequestContentType) MarshalJSON ¶
func (c UpdateRepoRequestContentType) MarshalJSON() ([]byte, error)
func (*UpdateRepoRequestContentType) UnmarshalJSON ¶
func (c *UpdateRepoRequestContentType) UnmarshalJSON(b []byte) error
func (UpdateRepoRequestContentType) Value ¶ added in v0.0.90
func (c UpdateRepoRequestContentType) Value() string
type UpdateRepoRequestContentTypeEnum ¶
type UpdateRepoRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 UpdateRepoRequestContentType APPLICATION_JSON UpdateRepoRequestContentType }
func GetUpdateRepoRequestContentTypeEnum ¶
func GetUpdateRepoRequestContentTypeEnum() UpdateRepoRequestContentTypeEnum
type UpdateRepoResponse ¶
type UpdateRepoResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateRepoResponse) String ¶
func (o UpdateRepoResponse) String() string
type UpdateRetentionRequest ¶
type UpdateRetentionRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType UpdateRetentionRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 镜像老化规则id RetentionId int32 `json:"retention_id"` Body *UpdateRetentionRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateRetentionRequest) String ¶
func (o UpdateRetentionRequest) String() string
type UpdateRetentionRequestBody ¶
type UpdateRetentionRequestBody struct { // 老化规则匹配策略,固定为\"or\" Algorithm string `json:"algorithm"` // 镜像老化规则 Rules []Rule `json:"rules"` }
func (UpdateRetentionRequestBody) String ¶
func (o UpdateRetentionRequestBody) String() string
type UpdateRetentionRequestContentType ¶
type UpdateRetentionRequestContentType struct {
// contains filtered or unexported fields
}
func (UpdateRetentionRequestContentType) MarshalJSON ¶
func (c UpdateRetentionRequestContentType) MarshalJSON() ([]byte, error)
func (*UpdateRetentionRequestContentType) UnmarshalJSON ¶
func (c *UpdateRetentionRequestContentType) UnmarshalJSON(b []byte) error
func (UpdateRetentionRequestContentType) Value ¶ added in v0.0.90
func (c UpdateRetentionRequestContentType) Value() string
type UpdateRetentionRequestContentTypeEnum ¶
type UpdateRetentionRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 UpdateRetentionRequestContentType APPLICATION_JSON UpdateRetentionRequestContentType }
func GetUpdateRetentionRequestContentTypeEnum ¶
func GetUpdateRetentionRequestContentTypeEnum() UpdateRetentionRequestContentTypeEnum
type UpdateRetentionResponse ¶
type UpdateRetentionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateRetentionResponse) String ¶
func (o UpdateRetentionResponse) String() string
type UpdateTriggerRequest ¶
type UpdateTriggerRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType UpdateTriggerRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` // 触发器名称 Trigger string `json:"trigger"` Body *UpdateTriggerRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateTriggerRequest) String ¶
func (o UpdateTriggerRequest) String() string
type UpdateTriggerRequestBody ¶
type UpdateTriggerRequestBody struct { // 是否生效,true启用,false不启用 Enable string `json:"enable"` }
func (UpdateTriggerRequestBody) String ¶
func (o UpdateTriggerRequestBody) String() string
type UpdateTriggerRequestContentType ¶
type UpdateTriggerRequestContentType struct {
// contains filtered or unexported fields
}
func (UpdateTriggerRequestContentType) MarshalJSON ¶
func (c UpdateTriggerRequestContentType) MarshalJSON() ([]byte, error)
func (*UpdateTriggerRequestContentType) UnmarshalJSON ¶
func (c *UpdateTriggerRequestContentType) UnmarshalJSON(b []byte) error
func (UpdateTriggerRequestContentType) Value ¶ added in v0.0.90
func (c UpdateTriggerRequestContentType) Value() string
type UpdateTriggerRequestContentTypeEnum ¶
type UpdateTriggerRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 UpdateTriggerRequestContentType APPLICATION_JSON UpdateTriggerRequestContentType }
func GetUpdateTriggerRequestContentTypeEnum ¶
func GetUpdateTriggerRequestContentTypeEnum() UpdateTriggerRequestContentTypeEnum
type UpdateTriggerResponse ¶
type UpdateTriggerResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateTriggerResponse) String ¶
func (o UpdateTriggerResponse) String() string
type UpdateUserRepositoryAuthRequest ¶
type UpdateUserRepositoryAuthRequest struct { // 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json ContentType UpdateUserRepositoryAuthRequestContentType `json:"Content-Type"` // 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 Namespace string `json:"namespace"` // 镜像仓库名称 Repository string `json:"repository"` Body *[]UserAuth `json:"body,omitempty"` }
Request Object
func (UpdateUserRepositoryAuthRequest) String ¶
func (o UpdateUserRepositoryAuthRequest) String() string
type UpdateUserRepositoryAuthRequestContentType ¶
type UpdateUserRepositoryAuthRequestContentType struct {
// contains filtered or unexported fields
}
func (UpdateUserRepositoryAuthRequestContentType) MarshalJSON ¶
func (c UpdateUserRepositoryAuthRequestContentType) MarshalJSON() ([]byte, error)
func (*UpdateUserRepositoryAuthRequestContentType) UnmarshalJSON ¶
func (c *UpdateUserRepositoryAuthRequestContentType) UnmarshalJSON(b []byte) error
func (UpdateUserRepositoryAuthRequestContentType) Value ¶ added in v0.0.90
func (c UpdateUserRepositoryAuthRequestContentType) Value() string
type UpdateUserRepositoryAuthRequestContentTypeEnum ¶
type UpdateUserRepositoryAuthRequestContentTypeEnum struct { APPLICATION_JSONCHARSETUTF_8 UpdateUserRepositoryAuthRequestContentType APPLICATION_JSON UpdateUserRepositoryAuthRequestContentType }
func GetUpdateUserRepositoryAuthRequestContentTypeEnum ¶
func GetUpdateUserRepositoryAuthRequestContentTypeEnum() UpdateUserRepositoryAuthRequestContentTypeEnum
type UpdateUserRepositoryAuthResponse ¶
type UpdateUserRepositoryAuthResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateUserRepositoryAuthResponse) String ¶
func (o UpdateUserRepositoryAuthResponse) String() string
type UserAuth ¶
type UserAuth struct { // 用户id,需要从IAM服务获取 UserId string `json:"user_id"` // 用户名,需要从IAM服务获取 UserName string `json:"user_name"` // 用户权限,7表示管理权限,3表示编辑权限,1表示读取权限 Auth UserAuthAuth `json:"auth"` }
type UserAuthAuth ¶
type UserAuthAuth struct {
// contains filtered or unexported fields
}
func (UserAuthAuth) MarshalJSON ¶
func (c UserAuthAuth) MarshalJSON() ([]byte, error)
func (*UserAuthAuth) UnmarshalJSON ¶
func (c *UserAuthAuth) UnmarshalJSON(b []byte) error
func (UserAuthAuth) Value ¶ added in v0.0.90
func (c UserAuthAuth) Value() int64
type UserAuthAuthEnum ¶
type UserAuthAuthEnum struct { E_7 UserAuthAuth E_3 UserAuthAuth E_1 UserAuthAuth }
func GetUserAuthAuthEnum ¶
func GetUserAuthAuthEnum() UserAuthAuthEnum
type VersionDetail ¶
type VersionDetail struct { // 版本ID(版本号)。 Id string `json:"id"` Links *Link `json:"links"` // 若该版本API支持微版本,则填支持的最大微版本号,如果不支持微版本,则填空。 Version string `json:"version"` // 版本状态,为如下3种: CURRENT:表示该版本为主推版本; SUPPORTED:表示为老版本,但是现在还继续支持; DEPRECATED:表示为废弃版本,存在后续删除的可能。 Status string `json:"status"` // 版本发布时间,要求用UTC时间表示。如v1发布的时间2014-06-28T12:20:21Z。 Updated string `json:"updated"` // 若该版本API 支持微版本,则填支持的最小微版本号, 如果不支持微版本,则填空。 MinVersion string `json:"min_version"` }
func (VersionDetail) String ¶
func (o VersionDetail) String() string
Source Files ¶
- model_auth_info.go
- model_create_image_sync_repo_request.go
- model_create_image_sync_repo_request_body.go
- model_create_image_sync_repo_response.go
- model_create_manual_image_sync_repo_request.go
- model_create_manual_image_sync_repo_request_body.go
- model_create_manual_image_sync_repo_response.go
- model_create_namespace_auth_request.go
- model_create_namespace_auth_response.go
- model_create_namespace_request.go
- model_create_namespace_request_body.go
- model_create_namespace_response.go
- model_create_repo_domains_request.go
- model_create_repo_domains_request_body.go
- model_create_repo_domains_response.go
- model_create_repo_request.go
- model_create_repo_request_body.go
- model_create_repo_response.go
- model_create_retention_request.go
- model_create_retention_request_body.go
- model_create_retention_response.go
- model_create_secret_request.go
- model_create_secret_response.go
- model_create_trigger_request.go
- model_create_trigger_request_body.go
- model_create_trigger_response.go
- model_create_user_repository_auth_request.go
- model_create_user_repository_auth_response.go
- model_delete_image_sync_repo_request.go
- model_delete_image_sync_repo_request_body.go
- model_delete_image_sync_repo_response.go
- model_delete_namespace_auth_request.go
- model_delete_namespace_auth_response.go
- model_delete_namespaces_request.go
- model_delete_namespaces_response.go
- model_delete_repo_domains_request.go
- model_delete_repo_domains_response.go
- model_delete_repo_request.go
- model_delete_repo_response.go
- model_delete_repo_tag_request.go
- model_delete_repo_tag_response.go
- model_delete_retention_request.go
- model_delete_retention_response.go
- model_delete_trigger_request.go
- model_delete_trigger_response.go
- model_delete_user_repository_auth_request.go
- model_delete_user_repository_auth_response.go
- model_image_tag.go
- model_link.go
- model_list_api_versions_request.go
- model_list_api_versions_response.go
- model_list_image_auto_sync_repos_details_request.go
- model_list_image_auto_sync_repos_details_response.go
- model_list_namespaces_request.go
- model_list_namespaces_response.go
- model_list_quotas_request.go
- model_list_quotas_response.go
- model_list_repo_domains_request.go
- model_list_repo_domains_response.go
- model_list_repos_details_request.go
- model_list_repos_details_response.go
- model_list_repository_tags_request.go
- model_list_repository_tags_response.go
- model_list_retention_histories_request.go
- model_list_retention_histories_response.go
- model_list_retentions_request.go
- model_list_retentions_response.go
- model_list_shared_repos_details_request.go
- model_list_shared_repos_details_response.go
- model_list_triggers_details_request.go
- model_list_triggers_details_response.go
- model_retention.go
- model_retention_log.go
- model_rule.go
- model_show_access_domain_request.go
- model_show_access_domain_response.go
- model_show_api_version_request.go
- model_show_api_version_response.go
- model_show_namespace.go
- model_show_namespace_auth_request.go
- model_show_namespace_auth_response.go
- model_show_namespace_request.go
- model_show_namespace_response.go
- model_show_quota.go
- model_show_repo_domains_response.go
- model_show_repos_resp.go
- model_show_repos_tag_resp.go
- model_show_repository_request.go
- model_show_repository_response.go
- model_show_retention_request.go
- model_show_retention_response.go
- model_show_sync_job_request.go
- model_show_sync_job_response.go
- model_show_trigger_request.go
- model_show_trigger_response.go
- model_show_user_repository_auth_request.go
- model_show_user_repository_auth_response.go
- model_sync_job.go
- model_sync_repo.go
- model_tag_selector.go
- model_trigger.go
- model_trigger_histories.go
- model_update_namespace_auth_request.go
- model_update_namespace_auth_response.go
- model_update_repo_domains_request.go
- model_update_repo_domains_request_body.go
- model_update_repo_domains_response.go
- model_update_repo_request.go
- model_update_repo_request_body.go
- model_update_repo_response.go
- model_update_retention_request.go
- model_update_retention_request_body.go
- model_update_retention_response.go
- model_update_trigger_request.go
- model_update_trigger_request_body.go
- model_update_trigger_response.go
- model_update_user_repository_auth_request.go
- model_update_user_repository_auth_response.go
- model_user_auth.go
- model_version_detail.go