AS AgentScopeAPI 手册 / API Reference

SandboxStatus

public record SandboxStatus(String status, String message)
源码Source io/agentscope/extensions/sandbox/kubernetes/client/model/SandboxStatus.java:24–29

承载沙箱状态数据的记录类型。位于 io.agentscope.extensions.sandbox.kubernetes.client.model 包。核心成员包括 status、message、READY、NOT_READY、NOT_FOUND。

Status of a Sandbox resource, corresponding to the Python SDK status() return value.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
statusString
执行状态相关操作。
one of `SandboxReady`, `SandboxNotReady`, or `SandboxNotFound`
messageString
执行消息相关操作。
Kubernetes condition message when available

字段摘要Field Summary

字段Field类型Type说明Description
READY
staticfinal
String
就绪字段。
The READY field.
NOT_READY
staticfinal
String
不就绪字段。
The NOT READY field.
NOT_FOUND
staticfinal
String
未找到字段。
The NOT FOUND field.

记录组件详情Record Component Detail

status

String status

执行状态相关操作。

one of SandboxReady, SandboxNotReady, or SandboxNotFound

源码Source io/agentscope/extensions/sandbox/kubernetes/client/model/SandboxStatus.java:24–29

message

String message

执行消息相关操作。

Kubernetes condition message when available

源码Source io/agentscope/extensions/sandbox/kubernetes/client/model/SandboxStatus.java:24–29

字段详情Field Detail

READY

public static final String READY
staticfinal

就绪字段。声明为 public static final String READY。

The READY field.

源码Source io/agentscope/extensions/sandbox/kubernetes/client/model/SandboxStatus.java:26

NOT_READY

public static final String NOT_READY
staticfinal

不就绪字段。声明为 public static final String NOT_READY。

The NOT READY field.

源码Source io/agentscope/extensions/sandbox/kubernetes/client/model/SandboxStatus.java:27

NOT_FOUND

public static final String NOT_FOUND
staticfinal

未找到字段。声明为 public static final String NOT_FOUND。

The NOT FOUND field.

源码Source io/agentscope/extensions/sandbox/kubernetes/client/model/SandboxStatus.java:28
基于官方固定版本源码静态生成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.