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