包package
io.agentscope.extensions.sandbox.kubernetes.client.internal.strategyio.agentscope.extensions.sandbox.kubernetes.client.internal.strategy
package io.agentscope.extensions.sandbox.kubernetes.client.internal.strategy
io.agentscope.extensions.sandbox.kubernetes.client.internal.strategy 属于沙箱与执行环境,隔离执行代码与工具。 该包共收录 5 个公开类型。
io.agentscope.extensions.sandbox.kubernetes.client.internal.strategy belongs to the Sandboxes & execution layer and contains 5 public types.
接口Interfaces
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
ConnectionStrategy | 接口interface | 定义连接 Strategy契约的接口。 Strategy for discovering the HTTP base URL used to reach a sandbox. |
类Classes
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
DirectStrategy | 类class | Direct Strategy,在隔离环境中安全执行代码和工具。 Direct connection strategy — uses a pre-configured API URL. |
GatewayStrategy | 类class | 网关 Strategy,在隔离环境中安全执行代码和工具。 Gateway connection strategy — watches a Kubernetes Gateway resource for an
external address, then routes through the sandbox-router. |
InClusterStrategy | 类class | In 集群 Strategy,在隔离环境中安全执行代码和工具。 Direct in-cluster connectivity to a sandbox pod, bypassing the router. |
PortForwardStrategy | 类class | Port Forward Strategy,在隔离环境中安全执行代码和工具。 Port-forward connection strategy — establishes a fabric8 port-forward tunnel
to the sandbox-router service for development / out-of-cluster mode. |