Constants
public final class Constants
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:19–43Constants,在隔离环境中安全执行代码和工具。位于 io.agentscope.extensions.sandbox.kubernetes.client 包。核心成员包括 GATEWAY_API_GROUP、GATEWAY_API_VERSION、GATEWAY_PLURAL、CLAIM_API_GROUP、CLAIM_API_VERSION、CLAIM_PLURAL_NAME。
Constants for agent-sandbox CRDs and labels, mirroring the Python SDK.
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
GATEWAY_API_GROUPstaticfinal | String | 网关 API 组字段。 The GATEWAY API GROUP field. |
GATEWAY_API_VERSIONstaticfinal | String | 网关 API 版本字段。 The GATEWAY API VERSION field. |
GATEWAY_PLURALstaticfinal | String | 网关 PLURAL字段。 The GATEWAY PLURAL field. |
CLAIM_API_GROUPstaticfinal | String | CLAIM API 组字段。 The CLAIM API GROUP field. |
CLAIM_API_VERSIONstaticfinal | String | CLAIM API 版本字段。 The CLAIM API VERSION field. |
CLAIM_PLURAL_NAMEstaticfinal | String | CLAIM PLURAL 名称字段。 The CLAIM PLURAL NAME field. |
SANDBOX_API_GROUPstaticfinal | String | 沙箱 API 组字段。 The SANDBOX API GROUP field. |
SANDBOX_API_VERSIONstaticfinal | String | 沙箱 API 版本字段。 The SANDBOX API VERSION field. |
SANDBOX_PLURAL_NAMEstaticfinal | String | 沙箱 PLURAL 名称字段。 The SANDBOX PLURAL NAME field. |
POD_NAME_ANNOTATIONstaticfinal | String | POD 名称注解字段。 The POD NAME ANNOTATION field. |
CREATED_BY_LABELstaticfinal | String | 已创建通过标签字段。 The CREATED BY LABEL field. |
CREATED_BY_VALUEstaticfinal | String | 已创建通过值字段。 The CREATED BY VALUE field. |
SANDBOX_NAME_HASH_LABELstaticfinal | String | 沙箱名称 HASH 标签字段。 The SANDBOX NAME HASH LABEL field. |
ROUTER_SERVICE_NAMEstaticfinal | String | 路由器服务名称字段。 The ROUTER SERVICE NAME field. |
ROUTER_PORTstaticfinal | int | 路由器 PORT字段。 The ROUTER PORT field. |
DEFAULT_SERVER_PORTstaticfinal | int | 默认服务端 PORT字段。 The DEFAULT SERVER PORT field. |
字段详情Field Detail
GATEWAY_API_GROUP
public static final String GATEWAY_API_GROUP
网关 API 组字段。声明为 public static final String GATEWAY_API_GROUP。
The GATEWAY API GROUP field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:21GATEWAY_API_VERSION
public static final String GATEWAY_API_VERSION
网关 API 版本字段。声明为 public static final String GATEWAY_API_VERSION。
The GATEWAY API VERSION field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:22GATEWAY_PLURAL
public static final String GATEWAY_PLURAL
网关 PLURAL字段。声明为 public static final String GATEWAY_PLURAL。
The GATEWAY PLURAL field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:23CLAIM_API_GROUP
public static final String CLAIM_API_GROUP
CLAIM API 组字段。声明为 public static final String CLAIM_API_GROUP。
The CLAIM API GROUP field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:25CLAIM_API_VERSION
public static final String CLAIM_API_VERSION
CLAIM API 版本字段。声明为 public static final String CLAIM_API_VERSION。
The CLAIM API VERSION field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:26CLAIM_PLURAL_NAME
public static final String CLAIM_PLURAL_NAME
CLAIM PLURAL 名称字段。声明为 public static final String CLAIM_PLURAL_NAME。
The CLAIM PLURAL NAME field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:27SANDBOX_API_GROUP
public static final String SANDBOX_API_GROUP
沙箱 API 组字段。声明为 public static final String SANDBOX_API_GROUP。
The SANDBOX API GROUP field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:29SANDBOX_API_VERSION
public static final String SANDBOX_API_VERSION
沙箱 API 版本字段。声明为 public static final String SANDBOX_API_VERSION。
The SANDBOX API VERSION field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:30SANDBOX_PLURAL_NAME
public static final String SANDBOX_PLURAL_NAME
沙箱 PLURAL 名称字段。声明为 public static final String SANDBOX_PLURAL_NAME。
The SANDBOX PLURAL NAME field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:31POD_NAME_ANNOTATION
public static final String POD_NAME_ANNOTATION
POD 名称注解字段。声明为 public static final String POD_NAME_ANNOTATION。
The POD NAME ANNOTATION field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:33CREATED_BY_LABEL
public static final String CREATED_BY_LABEL
已创建通过标签字段。声明为 public static final String CREATED_BY_LABEL。
The CREATED BY LABEL field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:34CREATED_BY_VALUE
public static final String CREATED_BY_VALUE
已创建通过值字段。声明为 public static final String CREATED_BY_VALUE。
The CREATED BY VALUE field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:35SANDBOX_NAME_HASH_LABEL
public static final String SANDBOX_NAME_HASH_LABEL
沙箱名称 HASH 标签字段。声明为 public static final String SANDBOX_NAME_HASH_LABEL。
The SANDBOX NAME HASH LABEL field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:36ROUTER_SERVICE_NAME
public static final String ROUTER_SERVICE_NAME
路由器服务名称字段。声明为 public static final String ROUTER_SERVICE_NAME。
The ROUTER SERVICE NAME field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:38ROUTER_PORT
public static final int ROUTER_PORT
路由器 PORT字段。声明为 public static final int ROUTER_PORT。
The ROUTER PORT field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:39DEFAULT_SERVER_PORT
public static final int DEFAULT_SERVER_PORT
默认服务端 PORT字段。声明为 public static final int DEFAULT_SERVER_PORT。
The DEFAULT SERVER PORT field.
io/agentscope/extensions/sandbox/kubernetes/client/Constants.java:40