ClaimSandboxStatus
@JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_NULL) public static class ClaimSandboxStatus
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:50–74Claim 沙箱状态,在隔离环境中安全执行代码和工具。位于 io.agentscope.extensions.sandbox.kubernetes.client.crd 包。核心成员包括 getName、setName、getPodIPs、setPodIPs。
A class in io.agentscope.extensions.sandbox.kubernetes.client.crd that executes code and tools inside isolated environments. Declared in io.agentscope.extensions.sandbox.kubernetes.client.crd.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getName() | 获取名称。 Returns the name. |
public void setName(String name) | 设置名称。 Sets the name. |
public List<String> getPodIPs() | 获取 `getPodIPs`。 Returns the pod i ps. |
public void setPodIPs(List<String> podIPs) | 设置 `setPodIPs`。 Sets the pod i ps. |
方法详情Method Detail
getName
public String getName()
获取名称。
Returns the name.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:59–61setName
public void setName(String name)
设置名称。
Sets the name.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
name | String | 名称(类型 `String`)。The name. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:63–65getPodIPs
public List<String> getPodIPs()
获取 getPodIPs。
Returns the pod i ps.
List<String>返回列出。Returns list.
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:67–69setPodIPs
public void setPodIPs(List<String> podIPs)
设置 setPodIPs。
Sets the pod i ps.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
podIPs | List<String> | pod I Ps(类型 `List`)。The pod i ps. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:71–73