Next Tag: 25
PUT /v1/imageintegrations/{id}
PutImageIntegration 修改给定的镜像集成,无需使用存储的凭证协调。
代码 (Code) | 消息 (Message) | 数据类型 (Datatype) |
---|---|---|
200 |
成功的响应。(A successful response.) |
|
0 |
意外的错误响应。(An unexpected error response.) |
授权数据表示 IAM 身份验证凭据,可用于访问 IAM 主体有权访问的任何 Amazon ECR 注册表。(An authorization data represents the IAM authentication credentials and can be used to access any Amazon ECR registry that the IAM principal has access to.)
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
用户名 (username) |
字符串 (String) |
||||
密码 (password) |
字符串 (String) |
||||
过期时间 (expiresAt) |
日期 (Date) |
日期时间 (date-time) |
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
代码 (code) |
整数 (Integer) |
int32 |
|||
消息 (message) |
字符串 (String) |
||||
详情 (details) |
ProtobufAny 列表 (ProtobufAny list) |
Next Tag: 25
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
名称 (name) |
字符串 (String) |
||||
类型 (type) |
字符串 (String) |
||||
类别 |
|||||
clairify |
|||||
scannerV4 |
|||||
docker |
|||||
quay |
|||||
ecr |
|||||
clair |
|||||
clairV4 |
|||||
ibm |
|||||
azure |
|||||
自动生成 |
布尔值 |
||||
集群ID |
字符串 (String) |
||||
跳过测试集成 |
布尔值 |
||||
来源 |
Any
包含任意序列化协议缓冲区消息以及描述序列化消息类型的URL。
Protobuf库提供支持,以实用程序函数或Any类型的附加生成方法的形式打包/解包Any值。
示例1:在C++中打包和解包消息。
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
示例2:在Java中打包和解包消息。
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } // or ... if (any.isSameTypeAs(Foo.getDefaultInstance())) { foo = any.unpack(Foo.getDefaultInstance()); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
Protobuf库提供的打包方法默认使用“type.googleapis.com/full.type.name”作为类型URL,解包方法仅使用类型URL中最后一个“/”后的完全限定类型名称,例如“foo.bar.com/x/y.z”将产生类型名称“y.z”。
Any
值的JSON表示使用反序列化的嵌入式消息的常规表示,并添加一个包含类型URL的附加字段@type
。示例
package google.profile; message Person { string first_name = 1; string last_name = 2; }
{ "@type": "type.googleapis.com/google.profile.Person", "firstName": <string>, "lastName": <string> }
如果嵌入式消息类型是众所周知的并且具有自定义JSON表示,则该表示将被嵌入,并添加一个字段value
,该字段除了@type
字段外还包含自定义JSON。示例(对于消息[google.protobuf.Duration][])
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
@type |
字符串 (String) |
唯一标识序列化协议缓冲区消息类型的URL/资源名称。此字符串必须包含至少一个“/”字符。URL路径的最后一部分必须表示类型的完全限定名称(如 |
Robot account is Quay's named tokens that can be granted permissions on multiple repositories under an organization. It's Quay's recommended authentication model when possible (i.e. registry integration)
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
用户名 (username) |
字符串 (String) |
||||
密码 (password) |
字符串 (String) |
服务器将在响应和日志中屏蔽此密码的值。 |
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
端点 |
字符串 (String) |
||||
用户名 (username) |
字符串 (String) |
||||
密码 (password) |
字符串 (String) |
集成的密码。服务器将在响应和日志中屏蔽此凭据的值。 |
|||
wifEnabled |
布尔值 |
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
端点 |
字符串 (String) |
||||
不安全 |
布尔值 |
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
端点 |
字符串 (String) |
||||
不安全 |
布尔值 |
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
端点 |
字符串 (String) |
||||
grpc端点 |
字符串 (String) |
||||
并发扫描数 |
整数 (Integer) |
int32 |
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
端点 |
字符串 (String) |
||||
用户名 (username) |
字符串 (String) |
||||
密码 (password) |
字符串 (String) |
集成的密码。服务器将在响应和日志中屏蔽此凭据的值。 |
|||
不安全 |
布尔值 |
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
注册表ID |
字符串 (String) |
||||
访问密钥ID |
字符串 (String) |
集成的访问密钥ID。服务器将在响应和日志中屏蔽此凭据的值。 |
|||
秘密访问密钥 |
字符串 (String) |
集成的秘密访问密钥。服务器将在响应和日志中屏蔽此凭据的值。 |
|||
区域 |
字符串 (String) |
||||
使用IAM |
布尔值 |
||||
端点 |
字符串 (String) |
||||
使用AssumeRole |
布尔值 |
||||
AssumeRole ID |
字符串 (String) |
||||
AssumeRole外部ID |
字符串 (String) |
||||
授权数据 |
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
端点 |
字符串 (String) |
||||
服务账户 |
字符串 (String) |
集成的服务账户。服务器将在响应和日志中屏蔽此凭据的值。 |
|||
项目 |
字符串 (String) |
||||
wifEnabled |
布尔值 |
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
端点 |
字符串 (String) |
||||
API密钥 |
字符串 (String) |
集成的API密钥。服务器将在响应和日志中屏蔽此凭据的值。 |
NODE_SCANNER:图像和节点集成目前在UI中的相同表单上完成,因此图像集成目前也用于节点集成。做出这个决定是因为我们目前只支持一个节点扫描器(我们的扫描器)。
枚举值 |
---|
注册表 |
扫描器 |
NODE_SCANNER |
字段名称 (Field Name) | 必填 (Required) | 可为空 (Nullable) | 类型 (Type) | 描述 (Description) | 格式 (Format) |
---|---|---|---|---|---|
集群ID |
字符串 (String) |
||||
命名空间 |
字符串 (String) |
||||
imagePullSecretName |
字符串 (String) |