Documentation ¶
Index ¶
- type CheckRegistryNameRequest
- type CheckRegistryNameResponse
- type CheckRegistryNameResult
- type CheckRepositoryNameRequest
- func NewCheckRepositoryNameRequest(regionId string, registryName string, repositoryName string) *CheckRepositoryNameRequest
- func NewCheckRepositoryNameRequestWithAllParams(regionId string, registryName string, repositoryName string) *CheckRepositoryNameRequest
- func NewCheckRepositoryNameRequestWithoutParam() *CheckRepositoryNameRequest
- type CheckRepositoryNameResponse
- type CheckRepositoryNameResult
- type CreateRegistryRequest
- type CreateRegistryResponse
- type CreateRegistryResult
- type CreateRepositoryRequest
- func NewCreateRepositoryRequest(regionId string, registryName string, repositoryName string) *CreateRepositoryRequest
- func NewCreateRepositoryRequestWithAllParams(regionId string, registryName string, repositoryName string, ...) *CreateRepositoryRequest
- func NewCreateRepositoryRequestWithoutParam() *CreateRepositoryRequest
- func (r CreateRepositoryRequest) GetRegionId() string
- func (r *CreateRepositoryRequest) SetDescription(description string)
- func (r *CreateRepositoryRequest) SetRegionId(regionId string)
- func (r *CreateRepositoryRequest) SetRegistryName(registryName string)
- func (r *CreateRepositoryRequest) SetRepositoryName(repositoryName string)
- type CreateRepositoryResponse
- type CreateRepositoryResult
- type DeleteImageRequest
- func (r DeleteImageRequest) GetRegionId() string
- func (r *DeleteImageRequest) SetImageDigest(imageDigest string)
- func (r *DeleteImageRequest) SetImageTag(imageTag string)
- func (r *DeleteImageRequest) SetImageTagStatus(imageTagStatus string)
- func (r *DeleteImageRequest) SetRegionId(regionId string)
- func (r *DeleteImageRequest) SetRegistryName(registryName string)
- func (r *DeleteImageRequest) SetRepositoryName(repositoryName string)
- type DeleteImageResponse
- type DeleteImageResult
- type DeleteRegistryRequest
- type DeleteRegistryResponse
- type DeleteRegistryResult
- type DeleteRepositoryRequest
- func NewDeleteRepositoryRequest(regionId string, registryName string, repositoryName string) *DeleteRepositoryRequest
- func NewDeleteRepositoryRequestWithAllParams(regionId string, registryName string, repositoryName string) *DeleteRepositoryRequest
- func NewDeleteRepositoryRequestWithoutParam() *DeleteRepositoryRequest
- type DeleteRepositoryResponse
- type DeleteRepositoryResult
- type DescribeAuthorizationTokensRequest
- func NewDescribeAuthorizationTokensRequest(regionId string, registryName string) *DescribeAuthorizationTokensRequest
- func NewDescribeAuthorizationTokensRequestWithAllParams(regionId string, registryName string, filters []common.Filter, pageNumber *int, ...) *DescribeAuthorizationTokensRequest
- func NewDescribeAuthorizationTokensRequestWithoutParam() *DescribeAuthorizationTokensRequest
- func (r DescribeAuthorizationTokensRequest) GetRegionId() string
- func (r *DescribeAuthorizationTokensRequest) SetFilters(filters []common.Filter)
- func (r *DescribeAuthorizationTokensRequest) SetPageNumber(pageNumber int)
- func (r *DescribeAuthorizationTokensRequest) SetPageSize(pageSize int)
- func (r *DescribeAuthorizationTokensRequest) SetRegionId(regionId string)
- func (r *DescribeAuthorizationTokensRequest) SetRegistryName(registryName string)
- type DescribeAuthorizationTokensResponse
- type DescribeAuthorizationTokensResult
- type DescribeImagesRequest
- func (r DescribeImagesRequest) GetRegionId() string
- func (r *DescribeImagesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeImagesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeImagesRequest) SetPageSize(pageSize int)
- func (r *DescribeImagesRequest) SetRegionId(regionId string)
- type DescribeImagesResponse
- type DescribeImagesResult
- type DescribeQuotasRequest
- type DescribeQuotasResponse
- type DescribeQuotasResult
- type DescribeRegistriesRequest
- type DescribeRegistriesResponse
- type DescribeRegistriesResult
- type DescribeRegistryRequest
- type DescribeRegistryResponse
- type DescribeRegistryResult
- type DescribeRepositoriesRequest
- func NewDescribeRepositoriesRequest(regionId string) *DescribeRepositoriesRequest
- func NewDescribeRepositoriesRequestWithAllParams(regionId string, filters []common.Filter, pageNumber *int, pageSize *int) *DescribeRepositoriesRequest
- func NewDescribeRepositoriesRequestWithoutParam() *DescribeRepositoriesRequest
- func (r DescribeRepositoriesRequest) GetRegionId() string
- func (r *DescribeRepositoriesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeRepositoriesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeRepositoriesRequest) SetPageSize(pageSize int)
- func (r *DescribeRepositoriesRequest) SetRegionId(regionId string)
- type DescribeRepositoriesResponse
- type DescribeRepositoriesResult
- type GetAuthorizationTokenRequest
- func NewGetAuthorizationTokenRequest(regionId string, registryName string) *GetAuthorizationTokenRequest
- func NewGetAuthorizationTokenRequestWithAllParams(regionId string, registryName string, expiredAfterHours *int) *GetAuthorizationTokenRequest
- func NewGetAuthorizationTokenRequestWithoutParam() *GetAuthorizationTokenRequest
- type GetAuthorizationTokenResponse
- type GetAuthorizationTokenResult
- type ReleaseAuthorizationTokenRequest
- func NewReleaseAuthorizationTokenRequest(regionId string, registryName string) *ReleaseAuthorizationTokenRequest
- func NewReleaseAuthorizationTokenRequestWithAllParams(regionId string, registryName string, authorizationToken *string, ...) *ReleaseAuthorizationTokenRequest
- func NewReleaseAuthorizationTokenRequestWithoutParam() *ReleaseAuthorizationTokenRequest
- func (r ReleaseAuthorizationTokenRequest) GetRegionId() string
- func (r *ReleaseAuthorizationTokenRequest) SetAuthorizationToken(authorizationToken string)
- func (r *ReleaseAuthorizationTokenRequest) SetForceAll(forceAll bool)
- func (r *ReleaseAuthorizationTokenRequest) SetRegionId(regionId string)
- func (r *ReleaseAuthorizationTokenRequest) SetRegistryName(registryName string)
- type ReleaseAuthorizationTokenResponse
- type ReleaseAuthorizationTokenResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckRegistryNameRequest ¶ added in v1.1.0
type CheckRegistryNameRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 待验证的注册表名。 */ RegistryName string `json:"registryName"` }
func NewCheckRegistryNameRequest ¶ added in v1.1.0
func NewCheckRegistryNameRequest( regionId string, registryName string, ) *CheckRegistryNameRequest
* param regionId: Region ID (Required) * param registryName: 待验证的注册表名。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCheckRegistryNameRequestWithAllParams ¶ added in v1.1.0
func NewCheckRegistryNameRequestWithAllParams( regionId string, registryName string, ) *CheckRegistryNameRequest
* param regionId: Region ID (Required) * param registryName: 待验证的注册表名。 (Required)
func NewCheckRegistryNameRequestWithoutParam ¶ added in v1.1.0
func NewCheckRegistryNameRequestWithoutParam() *CheckRegistryNameRequest
This constructor has better compatible ability when API parameters changed
func (CheckRegistryNameRequest) GetRegionId ¶ added in v1.1.0
func (r CheckRegistryNameRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CheckRegistryNameRequest) SetRegionId ¶ added in v1.1.0
func (r *CheckRegistryNameRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CheckRegistryNameRequest) SetRegistryName ¶ added in v1.1.0
func (r *CheckRegistryNameRequest) SetRegistryName(registryName string)
param registryName: 待验证的注册表名。(Required)
type CheckRegistryNameResponse ¶ added in v1.1.0
type CheckRegistryNameResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CheckRegistryNameResult `json:"result"` }
type CheckRegistryNameResult ¶ added in v1.1.0
type CheckRepositoryNameRequest ¶ added in v1.1.2
type CheckRepositoryNameRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 注册表名。 */ RegistryName string `json:"registryName"` /* 待验证的镜像仓库名。 */ RepositoryName string `json:"repositoryName"` }
func NewCheckRepositoryNameRequest ¶ added in v1.1.2
func NewCheckRepositoryNameRequest( regionId string, registryName string, repositoryName string, ) *CheckRepositoryNameRequest
* param regionId: Region ID (Required) * param registryName: 注册表名。 (Required) * param repositoryName: 待验证的镜像仓库名。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCheckRepositoryNameRequestWithAllParams ¶ added in v1.1.2
func NewCheckRepositoryNameRequestWithAllParams( regionId string, registryName string, repositoryName string, ) *CheckRepositoryNameRequest
* param regionId: Region ID (Required) * param registryName: 注册表名。 (Required) * param repositoryName: 待验证的镜像仓库名。 (Required)
func NewCheckRepositoryNameRequestWithoutParam ¶ added in v1.1.2
func NewCheckRepositoryNameRequestWithoutParam() *CheckRepositoryNameRequest
This constructor has better compatible ability when API parameters changed
func (CheckRepositoryNameRequest) GetRegionId ¶ added in v1.1.2
func (r CheckRepositoryNameRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CheckRepositoryNameRequest) SetRegionId ¶ added in v1.1.2
func (r *CheckRepositoryNameRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CheckRepositoryNameRequest) SetRegistryName ¶ added in v1.1.2
func (r *CheckRepositoryNameRequest) SetRegistryName(registryName string)
param registryName: 注册表名。(Required)
func (*CheckRepositoryNameRequest) SetRepositoryName ¶ added in v1.1.2
func (r *CheckRepositoryNameRequest) SetRepositoryName(repositoryName string)
param repositoryName: 待验证的镜像仓库名。(Required)
type CheckRepositoryNameResponse ¶ added in v1.1.2
type CheckRepositoryNameResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CheckRepositoryNameResult `json:"result"` }
type CheckRepositoryNameResult ¶ added in v1.1.2
type CreateRegistryRequest ¶
type CreateRegistryRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 用户定义的registry名称。<br> DNS兼容registry名称规则如下: <br> 不可为空,且不能超过32字符 <br> 以小写字母开始和结尾,支持使用小写字母、数字、中划线(-) */ RegistryName string `json:"registryName"` /* 注册表描述,<a href="https://www.jdcloud.com/help/detail/3870/isCatalog/1">参考公共参数规范</a>。 (Optional) */ Description *string `json:"description"` }
func NewCreateRegistryRequest ¶
func NewCreateRegistryRequest( regionId string, registryName string, ) *CreateRegistryRequest
* param regionId: Region ID (Required) * param registryName: 用户定义的registry名称。<br> DNS兼容registry名称规则如下: <br> 不可为空,且不能超过32字符 <br> 以小写字母开始和结尾,支持使用小写字母、数字、中划线(-) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRegistryRequestWithAllParams ¶
func NewCreateRegistryRequestWithAllParams( regionId string, registryName string, description *string, ) *CreateRegistryRequest
* param regionId: Region ID (Required) * param registryName: 用户定义的registry名称。<br> DNS兼容registry名称规则如下: <br> 不可为空,且不能超过32字符 <br> 以小写字母开始和结尾,支持使用小写字母、数字、中划线(-) (Required) * param description: 注册表描述,<a href="https://www.jdcloud.com/help/detail/3870/isCatalog/1">参考公共参数规范</a>。 (Optional)
func NewCreateRegistryRequestWithoutParam ¶
func NewCreateRegistryRequestWithoutParam() *CreateRegistryRequest
This constructor has better compatible ability when API parameters changed
func (CreateRegistryRequest) GetRegionId ¶
func (r CreateRegistryRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRegistryRequest) SetDescription ¶
func (r *CreateRegistryRequest) SetDescription(description string)
param description: 注册表描述,<a href="https://www.jdcloud.com/help/detail/3870/isCatalog/1">参考公共参数规范</a>。
(Optional)
func (*CreateRegistryRequest) SetRegionId ¶
func (r *CreateRegistryRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateRegistryRequest) SetRegistryName ¶
func (r *CreateRegistryRequest) SetRegistryName(registryName string)
param registryName: 用户定义的registry名称。<br> DNS兼容registry名称规则如下: <br> 不可为空,且不能超过32字符 <br> 以小写字母开始和结尾,支持使用小写字母、数字、中划线(-)
(Required)
type CreateRegistryResponse ¶
type CreateRegistryResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateRegistryResult `json:"result"` }
type CreateRegistryResult ¶
type CreateRepositoryRequest ¶
type CreateRepositoryRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 注册表名称 */ RegistryName string `json:"registryName"` /* 镜像仓库名称。 可以专有模式如默认命名空间nginx-web-app;或者和命名空间一起将多个仓库聚集在一起如 project-a/nginx-web-app。 */ RepositoryName string `json:"repositoryName"` /* 注册表描述,<a href="https://www.jdcloud.com/help/detail/3870/isCatalog/1">参考公共参数规范</a>。 (Optional) */ Description *string `json:"description"` }
func NewCreateRepositoryRequest ¶
func NewCreateRepositoryRequest( regionId string, registryName string, repositoryName string, ) *CreateRepositoryRequest
- param regionId: Region ID (Required)
- param registryName: 注册表名称 (Required)
- param repositoryName: 镜像仓库名称。
可以专有模式如默认命名空间nginx-web-app;或者和命名空间一起将多个仓库聚集在一起如 project-a/nginx-web-app。
(Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRepositoryRequestWithAllParams ¶
func NewCreateRepositoryRequestWithAllParams( regionId string, registryName string, repositoryName string, description *string, ) *CreateRepositoryRequest
- param regionId: Region ID (Required)
- param registryName: 注册表名称 (Required)
- param repositoryName: 镜像仓库名称。
可以专有模式如默认命名空间nginx-web-app;或者和命名空间一起将多个仓库聚集在一起如 project-a/nginx-web-app。
(Required) * param description: 注册表描述,<a href="https://www.jdcloud.com/help/detail/3870/isCatalog/1">参考公共参数规范</a>。 (Optional)
func NewCreateRepositoryRequestWithoutParam ¶
func NewCreateRepositoryRequestWithoutParam() *CreateRepositoryRequest
This constructor has better compatible ability when API parameters changed
func (CreateRepositoryRequest) GetRegionId ¶
func (r CreateRepositoryRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRepositoryRequest) SetDescription ¶
func (r *CreateRepositoryRequest) SetDescription(description string)
param description: 注册表描述,<a href="https://www.jdcloud.com/help/detail/3870/isCatalog/1">参考公共参数规范</a>。
(Optional)
func (*CreateRepositoryRequest) SetRegionId ¶
func (r *CreateRepositoryRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateRepositoryRequest) SetRegistryName ¶
func (r *CreateRepositoryRequest) SetRegistryName(registryName string)
param registryName: 注册表名称(Required)
func (*CreateRepositoryRequest) SetRepositoryName ¶
func (r *CreateRepositoryRequest) SetRepositoryName(repositoryName string)
param repositoryName: 镜像仓库名称。
可以专有模式如默认命名空间nginx-web-app;或者和命名空间一起将多个仓库聚集在一起如 project-a/nginx-web-app。 (Required)
type CreateRepositoryResponse ¶
type CreateRepositoryResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateRepositoryResult `json:"result"` }
type CreateRepositoryResult ¶
type CreateRepositoryResult struct {
Repository cr.RepositoryShort `json:"repository"`
}
type DeleteImageRequest ¶ added in v1.1.2
type DeleteImageRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 注册表名称 */ RegistryName string `json:"registryName"` /* 镜像仓库表名称 */ RepositoryName string `json:"repositoryName"` /* sha256哈希,image manifest的digest. (Optional) */ ImageDigest *string `json:"imageDigest"` /* image使用的tag (Optional) */ ImageTag *string `json:"imageTag"` /* 枚举中的一个值,如 tagged 和 untagged. (Optional) */ ImageTagStatus *string `json:"imageTagStatus"` }
func NewDeleteImageRequest ¶ added in v1.1.2
func NewDeleteImageRequest( regionId string, registryName string, repositoryName string, ) *DeleteImageRequest
* param regionId: Region ID (Required) * param registryName: 注册表名称 (Required) * param repositoryName: 镜像仓库表名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteImageRequestWithAllParams ¶ added in v1.1.2
func NewDeleteImageRequestWithAllParams( regionId string, registryName string, repositoryName string, imageDigest *string, imageTag *string, imageTagStatus *string, ) *DeleteImageRequest
* param regionId: Region ID (Required) * param registryName: 注册表名称 (Required) * param repositoryName: 镜像仓库表名称 (Required) * param imageDigest: sha256哈希,image manifest的digest. (Optional) * param imageTag: image使用的tag (Optional) * param imageTagStatus: 枚举中的一个值,如 tagged 和 untagged. (Optional)
func NewDeleteImageRequestWithoutParam ¶ added in v1.1.2
func NewDeleteImageRequestWithoutParam() *DeleteImageRequest
This constructor has better compatible ability when API parameters changed
func (DeleteImageRequest) GetRegionId ¶ added in v1.1.2
func (r DeleteImageRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteImageRequest) SetImageDigest ¶ added in v1.1.2
func (r *DeleteImageRequest) SetImageDigest(imageDigest string)
param imageDigest: sha256哈希,image manifest的digest.(Optional)
func (*DeleteImageRequest) SetImageTag ¶ added in v1.1.2
func (r *DeleteImageRequest) SetImageTag(imageTag string)
param imageTag: image使用的tag(Optional)
func (*DeleteImageRequest) SetImageTagStatus ¶ added in v1.1.2
func (r *DeleteImageRequest) SetImageTagStatus(imageTagStatus string)
param imageTagStatus: 枚举中的一个值,如 tagged 和 untagged.(Optional)
func (*DeleteImageRequest) SetRegionId ¶ added in v1.1.2
func (r *DeleteImageRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteImageRequest) SetRegistryName ¶ added in v1.1.2
func (r *DeleteImageRequest) SetRegistryName(registryName string)
param registryName: 注册表名称(Required)
func (*DeleteImageRequest) SetRepositoryName ¶ added in v1.1.2
func (r *DeleteImageRequest) SetRepositoryName(repositoryName string)
param repositoryName: 镜像仓库表名称(Required)
type DeleteImageResponse ¶ added in v1.1.2
type DeleteImageResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteImageResult `json:"result"` }
type DeleteImageResult ¶ added in v1.1.2
type DeleteImageResult struct { }
type DeleteRegistryRequest ¶ added in v1.1.2
type DeleteRegistryRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 注册表名称 */ RegistryName string `json:"registryName"` }
func NewDeleteRegistryRequest ¶ added in v1.1.2
func NewDeleteRegistryRequest( regionId string, registryName string, ) *DeleteRegistryRequest
* param regionId: Region ID (Required) * param registryName: 注册表名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteRegistryRequestWithAllParams ¶ added in v1.1.2
func NewDeleteRegistryRequestWithAllParams( regionId string, registryName string, ) *DeleteRegistryRequest
* param regionId: Region ID (Required) * param registryName: 注册表名称 (Required)
func NewDeleteRegistryRequestWithoutParam ¶ added in v1.1.2
func NewDeleteRegistryRequestWithoutParam() *DeleteRegistryRequest
This constructor has better compatible ability when API parameters changed
func (DeleteRegistryRequest) GetRegionId ¶ added in v1.1.2
func (r DeleteRegistryRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteRegistryRequest) SetRegionId ¶ added in v1.1.2
func (r *DeleteRegistryRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteRegistryRequest) SetRegistryName ¶ added in v1.1.2
func (r *DeleteRegistryRequest) SetRegistryName(registryName string)
param registryName: 注册表名称(Required)
type DeleteRegistryResponse ¶ added in v1.1.2
type DeleteRegistryResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteRegistryResult `json:"result"` }
type DeleteRegistryResult ¶ added in v1.1.2
type DeleteRegistryResult struct { }
type DeleteRepositoryRequest ¶ added in v1.1.2
type DeleteRepositoryRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 注册表名称 */ RegistryName string `json:"registryName"` /* 镜像仓库名称 */ RepositoryName string `json:"repositoryName"` }
func NewDeleteRepositoryRequest ¶ added in v1.1.2
func NewDeleteRepositoryRequest( regionId string, registryName string, repositoryName string, ) *DeleteRepositoryRequest
* param regionId: Region ID (Required) * param registryName: 注册表名称 (Required) * param repositoryName: 镜像仓库名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteRepositoryRequestWithAllParams ¶ added in v1.1.2
func NewDeleteRepositoryRequestWithAllParams( regionId string, registryName string, repositoryName string, ) *DeleteRepositoryRequest
* param regionId: Region ID (Required) * param registryName: 注册表名称 (Required) * param repositoryName: 镜像仓库名称 (Required)
func NewDeleteRepositoryRequestWithoutParam ¶ added in v1.1.2
func NewDeleteRepositoryRequestWithoutParam() *DeleteRepositoryRequest
This constructor has better compatible ability when API parameters changed
func (DeleteRepositoryRequest) GetRegionId ¶ added in v1.1.2
func (r DeleteRepositoryRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteRepositoryRequest) SetRegionId ¶ added in v1.1.2
func (r *DeleteRepositoryRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteRepositoryRequest) SetRegistryName ¶ added in v1.1.2
func (r *DeleteRepositoryRequest) SetRegistryName(registryName string)
param registryName: 注册表名称(Required)
func (*DeleteRepositoryRequest) SetRepositoryName ¶ added in v1.1.2
func (r *DeleteRepositoryRequest) SetRepositoryName(repositoryName string)
param repositoryName: 镜像仓库名称(Required)
type DeleteRepositoryResponse ¶ added in v1.1.2
type DeleteRepositoryResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteRepositoryResult `json:"result"` }
type DeleteRepositoryResult ¶ added in v1.1.2
type DeleteRepositoryResult struct { }
type DescribeAuthorizationTokensRequest ¶ added in v1.1.2
type DescribeAuthorizationTokensRequest struct { core.JDCloudRequest /* 地域 ID */ RegionId string `json:"regionId"` /* 注册表名称 */ RegistryName string `json:"registryName"` /* token - 令牌 ID,支持多个 (Optional) */ Filters []common.Filter `json:"filters"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeAuthorizationTokensRequest ¶ added in v1.1.2
func NewDescribeAuthorizationTokensRequest( regionId string, registryName string, ) *DescribeAuthorizationTokensRequest
* param regionId: 地域 ID (Required) * param registryName: 注册表名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAuthorizationTokensRequestWithAllParams ¶ added in v1.1.2
func NewDescribeAuthorizationTokensRequestWithAllParams( regionId string, registryName string, filters []common.Filter, pageNumber *int, pageSize *int, ) *DescribeAuthorizationTokensRequest
* param regionId: 地域 ID (Required) * param registryName: 注册表名称 (Required) * param filters: token - 令牌 ID,支持多个 (Optional) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)
func NewDescribeAuthorizationTokensRequestWithoutParam ¶ added in v1.1.2
func NewDescribeAuthorizationTokensRequestWithoutParam() *DescribeAuthorizationTokensRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAuthorizationTokensRequest) GetRegionId ¶ added in v1.1.2
func (r DescribeAuthorizationTokensRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAuthorizationTokensRequest) SetFilters ¶ added in v1.1.2
func (r *DescribeAuthorizationTokensRequest) SetFilters(filters []common.Filter)
param filters: token - 令牌 ID,支持多个
(Optional)
func (*DescribeAuthorizationTokensRequest) SetPageNumber ¶ added in v1.1.2
func (r *DescribeAuthorizationTokensRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeAuthorizationTokensRequest) SetPageSize ¶ added in v1.1.2
func (r *DescribeAuthorizationTokensRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[10, 100](Optional)
func (*DescribeAuthorizationTokensRequest) SetRegionId ¶ added in v1.1.2
func (r *DescribeAuthorizationTokensRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
func (*DescribeAuthorizationTokensRequest) SetRegistryName ¶ added in v1.1.2
func (r *DescribeAuthorizationTokensRequest) SetRegistryName(registryName string)
param registryName: 注册表名称(Required)
type DescribeAuthorizationTokensResponse ¶ added in v1.1.2
type DescribeAuthorizationTokensResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAuthorizationTokensResult `json:"result"` }
type DescribeAuthorizationTokensResult ¶ added in v1.1.2
type DescribeAuthorizationTokensResult struct { AuthorizationTokens []cr.AuthorizationData `json:"authorizationTokens"` TotalCount int `json:"totalCount"` }
type DescribeImagesRequest ¶
type DescribeImagesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* registryName - 镜像仓储名称 repositoryName - 镜像库名称 imageDigest - 镜像哈希值 imageTag - 镜像标签 tagStatus - 打标TAGGED或没打标UNTAGGED (Optional) */ Filters []common.Filter `json:"filters"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeImagesRequest ¶
func NewDescribeImagesRequest( regionId string, ) *DescribeImagesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeImagesRequestWithAllParams ¶
func NewDescribeImagesRequestWithAllParams( regionId string, filters []common.Filter, pageNumber *int, pageSize *int, ) *DescribeImagesRequest
- param regionId: Region ID (Required)
- param filters: registryName - 镜像仓储名称
repositoryName - 镜像库名称 imageDigest - 镜像哈希值 imageTag - 镜像标签 tagStatus - 打标TAGGED或没打标UNTAGGED
(Optional) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)
func NewDescribeImagesRequestWithoutParam ¶
func NewDescribeImagesRequestWithoutParam() *DescribeImagesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeImagesRequest) GetRegionId ¶
func (r DescribeImagesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeImagesRequest) SetFilters ¶
func (r *DescribeImagesRequest) SetFilters(filters []common.Filter)
param filters: registryName - 镜像仓储名称
repositoryName - 镜像库名称 imageDigest - 镜像哈希值 imageTag - 镜像标签 tagStatus - 打标TAGGED或没打标UNTAGGED (Optional)
func (*DescribeImagesRequest) SetPageNumber ¶
func (r *DescribeImagesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeImagesRequest) SetPageSize ¶
func (r *DescribeImagesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[10, 100](Optional)
func (*DescribeImagesRequest) SetRegionId ¶
func (r *DescribeImagesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeImagesResponse ¶
type DescribeImagesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeImagesResult `json:"result"` }
type DescribeImagesResult ¶
type DescribeImagesResult struct { ImageDetails []cr.ImageDetail `json:"imageDetails"` TotalCount int `json:"totalCount"` }
type DescribeQuotasRequest ¶
type DescribeQuotasRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* resourceTypes - 资源类型,暂时只支持 [registry, repository],支持同时查询两种配额。 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeQuotasRequest ¶
func NewDescribeQuotasRequest( regionId string, ) *DescribeQuotasRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeQuotasRequestWithAllParams ¶
func NewDescribeQuotasRequestWithAllParams( regionId string, filters []common.Filter, ) *DescribeQuotasRequest
* param regionId: Region ID (Required) * param filters: resourceTypes - 资源类型,暂时只支持 [registry, repository],支持同时查询两种配额。 (Optional)
func NewDescribeQuotasRequestWithoutParam ¶
func NewDescribeQuotasRequestWithoutParam() *DescribeQuotasRequest
This constructor has better compatible ability when API parameters changed
func (DescribeQuotasRequest) GetRegionId ¶
func (r DescribeQuotasRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeQuotasRequest) SetFilters ¶
func (r *DescribeQuotasRequest) SetFilters(filters []common.Filter)
param filters: resourceTypes - 资源类型,暂时只支持 [registry, repository],支持同时查询两种配额。
(Optional)
func (*DescribeQuotasRequest) SetRegionId ¶
func (r *DescribeQuotasRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeQuotasResponse ¶
type DescribeQuotasResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeQuotasResult `json:"result"` }
type DescribeQuotasResult ¶
type DescribeRegistriesRequest ¶ added in v1.1.2
type DescribeRegistriesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` }
func NewDescribeRegistriesRequest ¶ added in v1.1.2
func NewDescribeRegistriesRequest( regionId string, ) *DescribeRegistriesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRegistriesRequestWithAllParams ¶ added in v1.1.2
func NewDescribeRegistriesRequestWithAllParams( regionId string, ) *DescribeRegistriesRequest
* param regionId: Region ID (Required)
func NewDescribeRegistriesRequestWithoutParam ¶ added in v1.1.2
func NewDescribeRegistriesRequestWithoutParam() *DescribeRegistriesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRegistriesRequest) GetRegionId ¶ added in v1.1.2
func (r DescribeRegistriesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRegistriesRequest) SetRegionId ¶ added in v1.1.2
func (r *DescribeRegistriesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeRegistriesResponse ¶ added in v1.1.2
type DescribeRegistriesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRegistriesResult `json:"result"` }
type DescribeRegistriesResult ¶ added in v1.1.2
type DescribeRegistryRequest ¶ added in v1.1.2
type DescribeRegistryRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 注册表名称 */ RegistryName string `json:"registryName"` }
func NewDescribeRegistryRequest ¶ added in v1.1.2
func NewDescribeRegistryRequest( regionId string, registryName string, ) *DescribeRegistryRequest
* param regionId: Region ID (Required) * param registryName: 注册表名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRegistryRequestWithAllParams ¶ added in v1.1.2
func NewDescribeRegistryRequestWithAllParams( regionId string, registryName string, ) *DescribeRegistryRequest
* param regionId: Region ID (Required) * param registryName: 注册表名称 (Required)
func NewDescribeRegistryRequestWithoutParam ¶ added in v1.1.2
func NewDescribeRegistryRequestWithoutParam() *DescribeRegistryRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRegistryRequest) GetRegionId ¶ added in v1.1.2
func (r DescribeRegistryRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRegistryRequest) SetRegionId ¶ added in v1.1.2
func (r *DescribeRegistryRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeRegistryRequest) SetRegistryName ¶ added in v1.1.2
func (r *DescribeRegistryRequest) SetRegistryName(registryName string)
param registryName: 注册表名称(Required)
type DescribeRegistryResponse ¶ added in v1.1.2
type DescribeRegistryResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRegistryResult `json:"result"` }
type DescribeRegistryResult ¶ added in v1.1.2
type DescribeRepositoriesRequest ¶ added in v1.1.2
type DescribeRepositoriesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* name - 仓库名称,模糊匹配,支持单个 (Optional) */ Filters []common.Filter `json:"filters"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeRepositoriesRequest ¶ added in v1.1.2
func NewDescribeRepositoriesRequest( regionId string, ) *DescribeRepositoriesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRepositoriesRequestWithAllParams ¶ added in v1.1.2
func NewDescribeRepositoriesRequestWithAllParams( regionId string, filters []common.Filter, pageNumber *int, pageSize *int, ) *DescribeRepositoriesRequest
* param regionId: Region ID (Required) * param filters: name - 仓库名称,模糊匹配,支持单个 (Optional) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)
func NewDescribeRepositoriesRequestWithoutParam ¶ added in v1.1.2
func NewDescribeRepositoriesRequestWithoutParam() *DescribeRepositoriesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRepositoriesRequest) GetRegionId ¶ added in v1.1.2
func (r DescribeRepositoriesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRepositoriesRequest) SetFilters ¶ added in v1.1.2
func (r *DescribeRepositoriesRequest) SetFilters(filters []common.Filter)
param filters: name - 仓库名称,模糊匹配,支持单个
(Optional)
func (*DescribeRepositoriesRequest) SetPageNumber ¶ added in v1.1.2
func (r *DescribeRepositoriesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeRepositoriesRequest) SetPageSize ¶ added in v1.1.2
func (r *DescribeRepositoriesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[10, 100](Optional)
func (*DescribeRepositoriesRequest) SetRegionId ¶ added in v1.1.2
func (r *DescribeRepositoriesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeRepositoriesResponse ¶ added in v1.1.2
type DescribeRepositoriesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRepositoriesResult `json:"result"` }
type DescribeRepositoriesResult ¶ added in v1.1.2
type DescribeRepositoriesResult struct { Repositories []cr.Repository `json:"repositories"` TotalCount int `json:"totalCount"` }
type GetAuthorizationTokenRequest ¶
type GetAuthorizationTokenRequest struct { core.JDCloudRequest /* 地域 ID */ RegionId string `json:"regionId"` /* 注册表名称 */ RegistryName string `json:"registryName"` /* issue新token的过期时间, 可选参数为新生成令牌的过期时间,最大值为24小时,最小值为1小时,为空则默认为12小时过期时间。 (Optional) */ ExpiredAfterHours *int `json:"expiredAfterHours"` }
func NewGetAuthorizationTokenRequest ¶
func NewGetAuthorizationTokenRequest( regionId string, registryName string, ) *GetAuthorizationTokenRequest
* param regionId: 地域 ID (Required) * param registryName: 注册表名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetAuthorizationTokenRequestWithAllParams ¶
func NewGetAuthorizationTokenRequestWithAllParams( regionId string, registryName string, expiredAfterHours *int, ) *GetAuthorizationTokenRequest
* param regionId: 地域 ID (Required) * param registryName: 注册表名称 (Required) * param expiredAfterHours: issue新token的过期时间, 可选参数为新生成令牌的过期时间,最大值为24小时,最小值为1小时,为空则默认为12小时过期时间。 (Optional)
func NewGetAuthorizationTokenRequestWithoutParam ¶
func NewGetAuthorizationTokenRequestWithoutParam() *GetAuthorizationTokenRequest
This constructor has better compatible ability when API parameters changed
func (GetAuthorizationTokenRequest) GetRegionId ¶
func (r GetAuthorizationTokenRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetAuthorizationTokenRequest) SetExpiredAfterHours ¶
func (r *GetAuthorizationTokenRequest) SetExpiredAfterHours(expiredAfterHours int)
param expiredAfterHours: issue新token的过期时间, 可选参数为新生成令牌的过期时间,最大值为24小时,最小值为1小时,为空则默认为12小时过期时间。
(Optional)
func (*GetAuthorizationTokenRequest) SetRegionId ¶
func (r *GetAuthorizationTokenRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
func (*GetAuthorizationTokenRequest) SetRegistryName ¶
func (r *GetAuthorizationTokenRequest) SetRegistryName(registryName string)
param registryName: 注册表名称(Required)
type GetAuthorizationTokenResponse ¶
type GetAuthorizationTokenResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetAuthorizationTokenResult `json:"result"` }
type ReleaseAuthorizationTokenRequest ¶ added in v1.1.2
type ReleaseAuthorizationTokenRequest struct { core.JDCloudRequest /* 地域 ID */ RegionId string `json:"regionId"` /* 注册表名称 */ RegistryName string `json:"registryName"` /* 准备释放的 token ID,功能为指定token释放。 (Optional) */ AuthorizationToken *string `json:"authorizationToken"` /* true 表示强制删除用户当前registry下所有有效token的标志;false 表示删除所有有效token。 (Optional) */ ForceAll *bool `json:"forceAll"` }
func NewReleaseAuthorizationTokenRequest ¶ added in v1.1.2
func NewReleaseAuthorizationTokenRequest( regionId string, registryName string, ) *ReleaseAuthorizationTokenRequest
* param regionId: 地域 ID (Required) * param registryName: 注册表名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewReleaseAuthorizationTokenRequestWithAllParams ¶ added in v1.1.2
func NewReleaseAuthorizationTokenRequestWithAllParams( regionId string, registryName string, authorizationToken *string, forceAll *bool, ) *ReleaseAuthorizationTokenRequest
* param regionId: 地域 ID (Required) * param registryName: 注册表名称 (Required) * param authorizationToken: 准备释放的 token ID,功能为指定token释放。 (Optional) * param forceAll: true 表示强制删除用户当前registry下所有有效token的标志;false 表示删除所有有效token。 (Optional)
func NewReleaseAuthorizationTokenRequestWithoutParam ¶ added in v1.1.2
func NewReleaseAuthorizationTokenRequestWithoutParam() *ReleaseAuthorizationTokenRequest
This constructor has better compatible ability when API parameters changed
func (ReleaseAuthorizationTokenRequest) GetRegionId ¶ added in v1.1.2
func (r ReleaseAuthorizationTokenRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ReleaseAuthorizationTokenRequest) SetAuthorizationToken ¶ added in v1.1.2
func (r *ReleaseAuthorizationTokenRequest) SetAuthorizationToken(authorizationToken string)
param authorizationToken: 准备释放的 token ID,功能为指定token释放。(Optional)
func (*ReleaseAuthorizationTokenRequest) SetForceAll ¶ added in v1.1.2
func (r *ReleaseAuthorizationTokenRequest) SetForceAll(forceAll bool)
param forceAll: true 表示强制删除用户当前registry下所有有效token的标志;false 表示删除所有有效token。(Optional)
func (*ReleaseAuthorizationTokenRequest) SetRegionId ¶ added in v1.1.2
func (r *ReleaseAuthorizationTokenRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
func (*ReleaseAuthorizationTokenRequest) SetRegistryName ¶ added in v1.1.2
func (r *ReleaseAuthorizationTokenRequest) SetRegistryName(registryName string)
param registryName: 注册表名称(Required)
type ReleaseAuthorizationTokenResponse ¶ added in v1.1.2
type ReleaseAuthorizationTokenResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ReleaseAuthorizationTokenResult `json:"result"` }
type ReleaseAuthorizationTokenResult ¶ added in v1.1.2
type ReleaseAuthorizationTokenResult struct { }
Source Files ¶
- CheckRegistryName.go
- CheckRepositoryName.go
- CreateRegistry.go
- CreateRepository.go
- DeleteImage.go
- DeleteRegistry.go
- DeleteRepository.go
- DescribeAuthorizationTokens.go
- DescribeImages.go
- DescribeQuotas.go
- DescribeRegistries.go
- DescribeRegistry.go
- DescribeRepositories.go
- GetAuthorizationToken.go
- ReleaseAuthorizationToken.go