model

package
v0.1.55 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInfo

type AuthInfo struct {

	// Base64加密的认证信息
	Auth string `json:"auth"`
}

func (AuthInfo) String

func (o AuthInfo) String() string

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"`
}

CreateImageSyncRepoRequest Request Object

func (CreateImageSyncRepoRequest) 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

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

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:"-"`
}

CreateImageSyncRepoResponse Response Object

func (CreateImageSyncRepoResponse) 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"`
}

CreateManualImageSyncRepoRequest Request Object

func (CreateManualImageSyncRepoRequest) 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"`
}

CreateManualImageSyncRepoRequestBody 手动同步镜像需要的参数

func (CreateManualImageSyncRepoRequestBody) String

type CreateManualImageSyncRepoRequestContentType

type CreateManualImageSyncRepoRequestContentType struct {
	// contains filtered or unexported fields
}

func (CreateManualImageSyncRepoRequestContentType) MarshalJSON

func (*CreateManualImageSyncRepoRequestContentType) UnmarshalJSON

func (CreateManualImageSyncRepoRequestContentType) Value added in v0.0.90

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:"-"`
}

CreateManualImageSyncRepoResponse Response Object

func (CreateManualImageSyncRepoResponse) 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"`
}

CreateNamespaceAuthRequest Request Object

func (CreateNamespaceAuthRequest) 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

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:"-"`
}

CreateNamespaceAuthResponse Response Object

func (CreateNamespaceAuthResponse) String

type CreateNamespaceRequest

type CreateNamespaceRequest struct {

	// 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json
	ContentType CreateNamespaceRequestContentType `json:"Content-Type"`

	Body *CreateNamespaceRequestBody `json:"body,omitempty"`
}

CreateNamespaceRequest Request Object

func (CreateNamespaceRequest) String

func (o CreateNamespaceRequest) String() string

type CreateNamespaceRequestBody

type CreateNamespaceRequestBody struct {

	// 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
	Namespace string `json:"namespace"`
}

func (CreateNamespaceRequestBody) 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

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:"-"`
}

CreateNamespaceResponse 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"`
}

CreateRepoDomainsRequest 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

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

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:"-"`
}

CreateRepoDomainsResponse 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"`
}

CreateRepoRequest 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

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

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:"-"`
}

CreateRepoResponse 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"`
}

CreateRetentionRequest 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

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

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:"-"`
}

CreateRetentionResponse 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"`
}

CreateSecretRequest 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

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:"-"`
}

CreateSecretResponse 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"`
}

CreateTriggerRequest 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"`
}

CreateTriggerRequestBody 需要创建触发器的信息

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

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:"-"`
}

CreateTriggerResponse 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"`
}

CreateUserRepositoryAuthRequest Request Object

func (CreateUserRepositoryAuthRequest) String

type CreateUserRepositoryAuthRequestContentType

type CreateUserRepositoryAuthRequestContentType struct {
	// contains filtered or unexported fields
}

func (CreateUserRepositoryAuthRequestContentType) MarshalJSON

func (*CreateUserRepositoryAuthRequestContentType) UnmarshalJSON

func (CreateUserRepositoryAuthRequestContentType) Value added in v0.0.90

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:"-"`
}

CreateUserRepositoryAuthResponse Response Object

func (CreateUserRepositoryAuthResponse) 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"`
}

DeleteImageSyncRepoRequest Request Object

func (DeleteImageSyncRepoRequest) String

type DeleteImageSyncRepoRequestBody

type DeleteImageSyncRepoRequestBody struct {

	// 目标region ID。
	RemoteRegionId string `json:"remoteRegionId"`

	// 目标组织
	RemoteNamespace string `json:"remoteNamespace"`
}

DeleteImageSyncRepoRequestBody 需要删除镜像自动同步任务的信息

func (DeleteImageSyncRepoRequestBody) 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

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:"-"`
}

DeleteImageSyncRepoResponse Response Object

func (DeleteImageSyncRepoResponse) 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"`
}

DeleteNamespaceAuthRequest Request Object

func (DeleteNamespaceAuthRequest) 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

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:"-"`
}

DeleteNamespaceAuthResponse Response Object

func (DeleteNamespaceAuthResponse) String

type DeleteNamespacesRequest

type DeleteNamespacesRequest struct {

	// 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json
	ContentType DeleteNamespacesRequestContentType `json:"Content-Type"`

	// 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
	Namespace string `json:"namespace"`
}

DeleteNamespacesRequest 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

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:"-"`
}

DeleteNamespacesResponse 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"`
}

DeleteRepoDomainsRequest 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

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:"-"`
}

DeleteRepoDomainsResponse 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"`
}

DeleteRepoRequest 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

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:"-"`
}

DeleteRepoResponse 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"`
}

DeleteRepoTagRequest 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

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:"-"`
}

DeleteRepoTagResponse 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"`
}

DeleteRetentionRequest 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

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:"-"`
}

DeleteRetentionResponse 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"`
}

DeleteTriggerRequest 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

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:"-"`
}

DeleteTriggerResponse 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"`
}

DeleteUserRepositoryAuthRequest Request Object

func (DeleteUserRepositoryAuthRequest) String

type DeleteUserRepositoryAuthRequestContentType

type DeleteUserRepositoryAuthRequestContentType struct {
	// contains filtered or unexported fields
}

func (DeleteUserRepositoryAuthRequestContentType) MarshalJSON

func (*DeleteUserRepositoryAuthRequestContentType) UnmarshalJSON

func (DeleteUserRepositoryAuthRequestContentType) Value added in v0.0.90

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:"-"`
}

DeleteUserRepositoryAuthResponse Response Object

func (DeleteUserRepositoryAuthResponse) String

type ImageTag added in v0.0.71

type ImageTag struct {
}

ImageTag 版本

func (ImageTag) String added in v0.0.71

func (o ImageTag) String() string
type Link struct {

	// 链接
	Href string `json:"href"`

	// 描述
	Rel string `json:"rel"`
}

func (Link) String

func (o Link) String() string

type ListApiVersionsRequest

type ListApiVersionsRequest struct {

	// 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json
	ContentType ListApiVersionsRequestContentType `json:"Content-Type"`
}

ListApiVersionsRequest 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

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:"-"`
}

ListApiVersionsResponse 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"`
}

ListImageAutoSyncReposDetailsRequest Request Object

func (ListImageAutoSyncReposDetailsRequest) String

type ListImageAutoSyncReposDetailsRequestContentType

type ListImageAutoSyncReposDetailsRequestContentType struct {
	// contains filtered or unexported fields
}

func (ListImageAutoSyncReposDetailsRequestContentType) MarshalJSON

func (*ListImageAutoSyncReposDetailsRequestContentType) UnmarshalJSON

func (ListImageAutoSyncReposDetailsRequestContentType) Value added in v0.0.90

type ListImageAutoSyncReposDetailsRequestContentTypeEnum

type ListImageAutoSyncReposDetailsRequestContentTypeEnum struct {
	APPLICATION_JSONCHARSETUTF_8 ListImageAutoSyncReposDetailsRequestContentType
	APPLICATION_JSON             ListImageAutoSyncReposDetailsRequestContentType
}

type ListImageAutoSyncReposDetailsResponse

type ListImageAutoSyncReposDetailsResponse struct {

	// 镜像自动同步规则
	Body           *[]SyncRepo `json:"body,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListImageAutoSyncReposDetailsResponse Response Object

func (ListImageAutoSyncReposDetailsResponse) 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"`
}

ListNamespacesRequest 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

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:"-"`
}

ListNamespacesResponse 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"`
}

ListQuotasRequest 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

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:"-"`
}

ListQuotasResponse 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"`
}

ListRepoDomainsRequest 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

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:"-"`
}

ListRepoDomainsResponse 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"`
}

ListReposDetailsRequest 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

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:"-"`
}

ListReposDetailsResponse 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"`
}

ListRepositoryTagsRequest 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

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:"-"`
}

ListRepositoryTagsResponse Response Object

func (ListRepositoryTagsResponse) 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"`
}

ListRetentionHistoriesRequest Request Object

func (ListRetentionHistoriesRequest) String

type ListRetentionHistoriesRequestContentType

type ListRetentionHistoriesRequestContentType struct {
	// contains filtered or unexported fields
}

func (ListRetentionHistoriesRequestContentType) MarshalJSON

func (*ListRetentionHistoriesRequestContentType) UnmarshalJSON

func (c *ListRetentionHistoriesRequestContentType) UnmarshalJSON(b []byte) error

func (ListRetentionHistoriesRequestContentType) Value added in v0.0.90

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:"-"`
}

ListRetentionHistoriesResponse Response Object

func (ListRetentionHistoriesResponse) 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"`
}

ListRetentionsRequest 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

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:"-"`
}

ListRetentionsResponse Response Object

func (ListRetentionsResponse) String

func (o ListRetentionsResponse) String() string

type ListSharedReposDetailsRequest

type ListSharedReposDetailsRequest struct {

	// 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json
	ContentType ListSharedReposDetailsRequestContentType `json:"Content-Type"`

	// 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
	Namespace *string `json:"namespace,omitempty"`

	// 镜像仓库名称
	Name *string `json:"name,omitempty"`

	// self: 我共享的镜像。thirdparty: 他人共享给我的镜像
	Center *string `json:"center,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"`

	// 应填写 center::{center}|name::{name}|limit::{limit}|offset::{offset}|namespace::{namespace}|order_column::{order_column}|order_type::{order_type} ,其中 {center}可选为self: 我共享的镜像。thirdparty: 他人共享给我的镜像,namespace为组织名称,name为镜像仓库名称, {limit}为返回条数,{offset}为起始索引,{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型,可设置为desc(降序)、asc(升序)
	Filter *string `json:"filter,omitempty"`
}

ListSharedReposDetailsRequest Request Object

func (ListSharedReposDetailsRequest) String

type ListSharedReposDetailsRequestContentType

type ListSharedReposDetailsRequestContentType struct {
	// contains filtered or unexported fields
}

func (ListSharedReposDetailsRequestContentType) MarshalJSON

func (*ListSharedReposDetailsRequestContentType) UnmarshalJSON

func (c *ListSharedReposDetailsRequestContentType) UnmarshalJSON(b []byte) error

func (ListSharedReposDetailsRequestContentType) Value added in v0.0.90

type ListSharedReposDetailsRequestContentTypeEnum

type ListSharedReposDetailsRequestContentTypeEnum struct {
	APPLICATION_JSONCHARSETUTF_8 ListSharedReposDetailsRequestContentType
	APPLICATION_JSON             ListSharedReposDetailsRequestContentType
}

func GetListSharedReposDetailsRequestContentTypeEnum

func GetListSharedReposDetailsRequestContentTypeEnum() ListSharedReposDetailsRequestContentTypeEnum

type ListSharedReposDetailsResponse

type ListSharedReposDetailsResponse struct {
	Body *[]ShowReposResp `json:"body,omitempty"`

	ContentRange   *string `json:"Content-Range,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListSharedReposDetailsResponse Response Object

func (ListSharedReposDetailsResponse) 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"`
}

ListTriggersDetailsRequest Request Object

func (ListTriggersDetailsRequest) 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

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:"-"`
}

ListTriggersDetailsResponse Response Object

func (ListTriggersDetailsResponse) String

type Retention

type Retention struct {

	// 回收规则匹配策略,or
	Algorithm string `json:"algorithm"`

	// ID
	Id int32 `json:"id"`

	// 镜像老化规则
	Rules []Rule `json:"rules"`

	// 保留字段
	Scope string `json:"scope"`
}

Retention 镜像老化规则

func (Retention) String

func (o Retention) String() string

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"`
}

func (Rule) String

func (o Rule) String() string

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"`
}

ShowAccessDomainRequest 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

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:"-"`
}

ShowAccessDomainResponse 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"`
}

ShowApiVersionRequest 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

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:"-"`
}

ShowApiVersionResponse 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"`
}

ShowNamespaceAuthRequest 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

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:"-"`
}

ShowNamespaceAuthResponse 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"`
}

ShowNamespaceRequest 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

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:"-"`
}

ShowNamespaceResponse 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 ShowQuota struct {

	// 配额限制
	QuotaLimit int32 `json:"quota_limit"`

	// 配额类型
	QuotaKey string `json:"quota_key"`

	// 单位
	Unit string `json:"unit"`

	// 已用配额
	Used int32 `json:"used"`
}

func (ShowQuota) String added in v0.0.71

func (o ShowQuota) String() string

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 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"`
}

ShowRepositoryRequest 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

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:"-"`
}

ShowRepositoryResponse 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"`
}

ShowRetentionRequest 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

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:"-"`
}

ShowRetentionResponse 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"`
}

ShowSyncJobRequest 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

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:"-"`
}

ShowSyncJobResponse 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"`
}

ShowTriggerRequest 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

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:"-"`
}

ShowTriggerResponse 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"`
}

ShowUserRepositoryAuthRequest Request Object

func (ShowUserRepositoryAuthRequest) String

type ShowUserRepositoryAuthRequestContentType

type ShowUserRepositoryAuthRequestContentType struct {
	// contains filtered or unexported fields
}

func (ShowUserRepositoryAuthRequestContentType) MarshalJSON

func (*ShowUserRepositoryAuthRequestContentType) UnmarshalJSON

func (c *ShowUserRepositoryAuthRequestContentType) UnmarshalJSON(b []byte) error

func (ShowUserRepositoryAuthRequestContentType) Value added in v0.0.90

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:"-"`
}

ShowUserRepositoryAuthResponse Response Object

func (ShowUserRepositoryAuthResponse) 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"`
}

func (SyncJob) String

func (o SyncJob) String() string

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"`
}

func (SyncRepo) String

func (o SyncRepo) String() string

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"`
}

func (Trigger) String

func (o Trigger) String() string

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"`
}

UpdateNamespaceAuthRequest Request Object

func (UpdateNamespaceAuthRequest) 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

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:"-"`
}

UpdateNamespaceAuthResponse Response Object

func (UpdateNamespaceAuthResponse) 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"`
}

UpdateRepoDomainsRequest 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

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

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:"-"`
}

UpdateRepoDomainsResponse 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"`
}

UpdateRepoRequest 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

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

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:"-"`
}

UpdateRepoResponse 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"`
}

UpdateRetentionRequest 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

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

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:"-"`
}

UpdateRetentionResponse 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"`
}

UpdateTriggerRequest 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

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:"-"`
}

UpdateTriggerResponse 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"`
}

UpdateUserRepositoryAuthRequest Request Object

func (UpdateUserRepositoryAuthRequest) String

type UpdateUserRepositoryAuthRequestContentType

type UpdateUserRepositoryAuthRequestContentType struct {
	// contains filtered or unexported fields
}

func (UpdateUserRepositoryAuthRequestContentType) MarshalJSON

func (*UpdateUserRepositoryAuthRequestContentType) UnmarshalJSON

func (UpdateUserRepositoryAuthRequestContentType) Value added in v0.0.90

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:"-"`
}

UpdateUserRepositoryAuthResponse Response Object

func (UpdateUserRepositoryAuthResponse) 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"`
}

func (UserAuth) String

func (o UserAuth) String() string

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

Jump to

Keyboard shortcuts

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