AS AgentScopeAPI 手册 / API Reference
包package 2.x

agentscope-extensions-sandbox-kubernetes

AgentScope Java - Extensions - Sandbox - Kubernetes · 2.0.4

AgentScope Sandbox - Kubernetes backend

groupIdGroupIdio.agentscope
版本Version2.0.4
版本线Line2.x
分类Categoryextension
包Packages8
类型Types39 top-level / 47 total

包Packages

io.agentscope.extensions.sandbox.kubernetes6
io.agentscope.extensions.sandbox.kubernetes.client6
io.agentscope.extensions.sandbox.kubernetes.client.config5
io.agentscope.extensions.sandbox.kubernetes.client.crd4
io.agentscope.extensions.sandbox.kubernetes.client.exceptions8
io.agentscope.extensions.sandbox.kubernetes.client.internal2
io.agentscope.extensions.sandbox.kubernetes.client.internal.strategy5
io.agentscope.extensions.sandbox.kubernetes.client.model3

类型Types

类型Type种类Kind包Package说明Description
KubernetesFilesystemSpec类classio.agentscope.extensions.sandbox.kubernetes
Kubernetes 文件系统规格,在隔离环境中安全执行代码和工具。
`SandboxFilesystemSpec` for the agent-sandbox backed Kubernetes sandbox store.
KubernetesHarnessSandboxJacksonModule类classio.agentscope.extensions.sandbox.kubernetes
Kubernetes Harness 沙箱 Jackson Module,在隔离环境中安全执行代码和工具。
Registers Jackson `com.fasterxml.jackson.databind.jsontype.NamedType` entries for the Kubernetes sandbox store.
KubernetesSandbox类classio.agentscope.extensions.sandbox.kubernetes
Kubernetes 沙箱,在隔离环境中安全执行代码和工具。
Harness `io.agentscope.harness.agent.sandbox.Sandbox` backed by an agent-sandbox CRD via the Java client SDK.
KubernetesSandboxClient类classio.agentscope.extensions.sandbox.kubernetes
Kubernetes 沙箱客户端,封装与远端服务的连接和调用。
Harness `io.agentscope.harness.agent.sandbox.SandboxClient` for agent-sandbox backed Kubernetes sandboxes.
KubernetesSandboxClientOptions类classio.agentscope.extensions.sandbox.kubernetes
Kubernetes 沙箱客户端选项,保存相关配置项。
Options for `KubernetesSandboxClient` (agent-sandbox mode).
KubernetesSandboxState类classio.agentscope.extensions.sandbox.kubernetes
Kubernetes 沙箱状态,在隔离环境中安全执行代码和工具。
Serializable state for an agent-sandbox-backed Kubernetes sandbox.
CommandExecutor类classio.agentscope.extensions.sandbox.kubernetes.client
命令执行器,在隔离环境中安全执行代码和工具。
Executes commands inside a sandbox via `POST /execute`.
Constants类classio.agentscope.extensions.sandbox.kubernetes.client
Constants,在隔离环境中安全执行代码和工具。
Constants for agent-sandbox CRDs and labels, mirroring the Python SDK.
CreateSandboxOptions类classio.agentscope.extensions.sandbox.kubernetes.client
用于`SandboxClient#createSandbox(CreateSandboxOptions)`的选项。
Options for `SandboxClient#createSandbox(CreateSandboxOptions)`.
Filesystem类classio.agentscope.extensions.sandbox.kubernetes.client
文件系统,在隔离环境中安全执行代码和工具。
File operations inside a sandbox via the runtime HTTP API.
Sandbox类classio.agentscope.extensions.sandbox.kubernetes.client
处理用于运行中沙箱实例。
Handle for a running Sandbox instance.
SandboxClient类classio.agentscope.extensions.sandbox.kubernetes.client
沙箱客户端,封装与远端服务的连接和调用。
Client for managing agent-sandbox lifecycles.
DirectConnectionConfig类classio.agentscope.extensions.sandbox.kubernetes.client.config
Direct 连接配置,保存相关配置项。
Configuration for connecting directly to a known sandbox-router URL.
GatewayConnectionConfig类classio.agentscope.extensions.sandbox.kubernetes.client.config
网关连接配置,保存相关配置项。
Configuration for connecting via the Kubernetes Gateway API.
InClusterConnectionConfig类classio.agentscope.extensions.sandbox.kubernetes.client.config
In 集群连接配置,保存相关配置项。
Direct in-cluster connection to the sandbox pod, bypassing the router.
LocalTunnelConnectionConfig类classio.agentscope.extensions.sandbox.kubernetes.client.config
本地 Tunnel 连接配置,保存相关配置项。
Configuration for connecting via a local port-forward tunnel to the sandbox-router service (development / out-of-cluster mode).
SandboxConnectionConfig接口interfaceio.agentscope.extensions.sandbox.kubernetes.client.config
定义沙箱连接配置契约的接口。
Connection configuration for reaching a sandbox via the sandbox-router (or directly in-cluster).
SandboxClaim类classio.agentscope.extensions.sandbox.kubernetes.client.crd
用于`SandboxClaim`(扩展.智能体.x-k8s.io/v1beta1)的Fabric8 CRD 绑定。
Fabric8 CRD binding for `SandboxClaim` (extensions.agents.x-k8s.io/v1beta1).
SandboxClaimSpec类classio.agentscope.extensions.sandbox.kubernetes.client.crd
用于`SandboxClaim`的规格。
Spec for `SandboxClaim`.
SandboxClaimStatus类classio.agentscope.extensions.sandbox.kubernetes.client.crd
用于`SandboxClaim`的状态。
Status for `SandboxClaim`.
SandboxResource类classio.agentscope.extensions.sandbox.kubernetes.client.crd
沙箱资源,在隔离环境中安全执行代码和工具。
Minimal Fabric8 CRD binding for `Sandbox` (agents.x-k8s.io/v1beta1).
SandboxException类classio.agentscope.extensions.sandbox.kubernetes.client.exceptions
沙箱异常,表示执行过程中的错误。
Base class for all agent-sandbox client errors.
SandboxMetadataException类classio.agentscope.extensions.sandbox.kubernetes.client.exceptions
沙箱元数据异常,表示执行过程中的错误。
Raised when the sandbox object is missing expected metadata.
SandboxNotFoundException类classio.agentscope.extensions.sandbox.kubernetes.client.exceptions
沙箱未找到异常,表示执行过程中的错误。
Raised when the sandbox or sandbox claim cannot be found or was deleted.
SandboxNotReadyException类classio.agentscope.extensions.sandbox.kubernetes.client.exceptions
沙箱不就绪异常,表示执行过程中的错误。
Raised when the sandbox is not ready for communication.
SandboxPortForwardException类classio.agentscope.extensions.sandbox.kubernetes.client.exceptions
沙箱 Port Forward 异常,表示执行过程中的错误。
Raised when the port-forward tunnel fails.
SandboxRequestException类classio.agentscope.extensions.sandbox.kubernetes.client.exceptions
沙箱请求异常,表示执行过程中的错误。
Raised when an HTTP request to the sandbox fails.
SandboxTemplateNotFoundException类classio.agentscope.extensions.sandbox.kubernetes.client.exceptions
沙箱模板未找到异常,表示执行过程中的错误。
Raised when the requested sandbox template does not exist.
SandboxWarmPoolNotFoundException类classio.agentscope.extensions.sandbox.kubernetes.client.exceptions
沙箱 Warm 连接池未找到异常,表示执行过程中的错误。
Raised when the requested sandbox warm pool does not exist.
K8sHelper类classio.agentscope.extensions.sandbox.kubernetes.client.internal
K 8 s Helper,在隔离环境中安全执行代码和工具。
Encapsulates Kubernetes CRD operations for agent-sandbox lifecycle management.
SandboxConnector类classio.agentscope.extensions.sandbox.kubernetes.client.internal
沙箱 Connector,在隔离环境中安全执行代码和工具。
Manages HTTP connectivity to the sandbox (via router or in-cluster), including URL discovery, retry logic, and header injection.
ConnectionStrategy接口interfaceio.agentscope.extensions.sandbox.kubernetes.client.internal.strategy
定义连接 Strategy契约的接口。
Strategy for discovering the HTTP base URL used to reach a sandbox.
DirectStrategy类classio.agentscope.extensions.sandbox.kubernetes.client.internal.strategy
Direct Strategy,在隔离环境中安全执行代码和工具。
Direct connection strategy — uses a pre-configured API URL.
GatewayStrategy类classio.agentscope.extensions.sandbox.kubernetes.client.internal.strategy
网关 Strategy,在隔离环境中安全执行代码和工具。
Gateway connection strategy — watches a Kubernetes Gateway resource for an external address, then routes through the sandbox-router.
InClusterStrategy类classio.agentscope.extensions.sandbox.kubernetes.client.internal.strategy
In 集群 Strategy,在隔离环境中安全执行代码和工具。
Direct in-cluster connectivity to a sandbox pod, bypassing the router.
PortForwardStrategy类classio.agentscope.extensions.sandbox.kubernetes.client.internal.strategy
Port Forward Strategy,在隔离环境中安全执行代码和工具。
Port-forward connection strategy — establishes a fabric8 port-forward tunnel to the sandbox-router service for development / out-of-cluster mode.
ExecutionResult类classio.agentscope.extensions.sandbox.kubernetes.client.model
执行结果,与模型服务通信并返回生成或向量化结果。
Result of a command execution inside the sandbox.
FileEntry类classio.agentscope.extensions.sandbox.kubernetes.client.model
文件条目,与模型服务通信并返回生成或向量化结果。
A file or directory entry returned by the sandbox filesystem list API.
SandboxStatus记录recordio.agentscope.extensions.sandbox.kubernetes.client.model
承载沙箱状态数据的记录类型。
Status of a Sandbox resource, corresponding to the Python SDK `status()` return value.