AS AgentScopeAPI 手册 / API Reference

ClaimSandboxStatus

@JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_NULL) public static class ClaimSandboxStatus
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:50–74

Claim 沙箱状态,在隔离环境中安全执行代码和工具。位于 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.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:59–61

setName

public void setName(String name)

设置名称。

Sets the name.

参数Parameters
名称Name类型Type说明Description
nameString名称(类型 `String`)。The name.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:63–65

getPodIPs

public List<String> getPodIPs()

获取 getPodIPs。

Returns the pod i ps.

返回Returns List<String>
返回列出。Returns list.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:67–69

setPodIPs

public void setPodIPs(List<String> podIPs)

设置 setPodIPs。

Sets the pod i ps.

参数Parameters
名称Name类型Type说明Description
podIPsList<String>pod I Ps(类型 `List`)。The pod i ps.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:71–73
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.