检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
API请求的组成,并以调用IAM服务的管理员创建IAM用户接口说明如何调用API。 您还可以通过这个视频教程了解如何构造请求调用API:https://bbs.huaweicloud.com/videos/102987。 请求URI 请求URI由如下部分组成: {URI-schem
参数类型 描述 auth String Base64加密的认证信息 请求示例 POST https://{endpoint}/v2/manage/utils/secret POST https://{endpoint}/v2/manage/utils/secret 响应示例 状态码:
任务。 操作步骤 下载image-syncer到执行机上,解压并运行工具。 以v1.3.1版本为例,您也可以选择其他版本。 wget https://github.com/AliyunContainerService/image-syncer/releases/download/v1
ENTRYPOINT脚本中使用exec 在前文的ENTRYPOINT脚本中,使用了exec命令运行node应用。不使用exec的话,则不能顺利地关闭容器,因为SIGTERM信号会被bash脚本进程吞没。exec命令启动的进程可以取代脚本进程,因此所有的信号都会正常工作。 优先使用COPY
/v2/manage/namespaces/{namespace}/repos/{repository}/access 详情请参见“创建镜像权限”。 请求示例 POST https://{endpoint}/v2/manage/namespaces/group/repos/test/access Body: [
”,则调用接口时将“X-Auth-Token: ABCDEFJ....”加到请求消息头即可,如下所示。 1 2 3 POST https://iam.cn-north-1.myhuaweicloud.com/v3/auth/projects Content-Type: application/json
enable_image_label Boolean 是否支持镜像标签 enable_pipeline Boolean 是否支持流水线服务 请求示例 GET https://{endpoint}/v2/manage/projects/{project_id}/feature-gates 响应示例 状态码:
通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。 响应参数 无 请求示例 DELETE https://{endpoint}/v2/manage/namespaces/{namespace}/repos/{repository}/triggers/{trigger}
creator_name String IAM用户名 auth Integer 用户权限。7表示管理权限,3表示编辑权限,1表示读取权限。 请求示例 GET https://{endpoint}/v2/manage/namespaces/{namespace} 响应示例 状态码: 200 查询成功 {
destination_tag 是 String 目标镜像版本名称 override 否 Boolean 是否覆盖 响应参数 无 请求示例 POST https://{endpoint}/v2/manage/namespaces/{namespace}/repos/{repository}/tags
下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 响应参数 无 请求示例 POST https://{endpoint}/v2/manage/namespaces { "namespace" : "group" } 响应示例
匹配规则,label、regexp pattern String kind是label时,设置为镜像版本,kind是regexp时,设置为正则表达式 请求示例 GET https://{endpoint}/v2/manage/namespaces/{namespace}/repos/{repository}/retentions
retention_id Integer 老化规则ID rule_type String 规则 tag String 镜像版本 请求示例 GET https://{endpoint}/v2/manage/namespaces/{namespace}/repos/{repository}/retentions/histories
[数组元素] 是 Array of strings 需要删除权限的用户id列表,需要从IAM服务获取 响应参数 无 请求示例 DELETE https://{endpoint}/v2/manage/namespaces/{namespace}/access [ "fb3f175c1f
描述 [数组元素] 是 Array of strings 用户ID,需从华为云IAM服务获取。 响应参数 无 请求示例 DELETE https://{endpoint}/v2/manage/namespaces/{namespace}/repos/{repository}/access
镜像更新时间,UTC时间格式,时间为UTC标准时间 status Boolean 是否过期,true:有效;false:过期 请求示例 GET https://{endpoint}/v2/manage/namespaces/{namespace}/repositories/{reposit
地时间计算偏移量;如东8区需要+8:00 status Boolean 是否过期:true:有效;false:过期 请求示例 GET https://{endpoint}/v2/manage/namespaces/{namespace}/repositories/{repository}/access-domains
creator_name String IAM用户名 auth Integer 用户权限。7表示管理权限,3表示编辑权限,1表示读取权限。 请求示例 GET https://{endpoint}/v2/manage/namespaces?filter=namespace::{namespace} 响应示例
用户名,需要从IAM服务获取 auth 是 Long 用户权限,7表示管理权限,3表示编辑权限,1表示读取权限 响应参数 无 请求示例 PATCH https://{endpoint}/v2/manage/namespaces/{namespace}/access [ { "user_id"
截止时间,UTC时间格式。永久有效为forever description 否 String 描述。默认值为空字符串 响应参数 无 请求示例 PATCH https://{endpoint}/v2/manage/namespaces/{namespace}/repositories/{repository}/access-domains