KubernetesClientConfig
public class KubernetesClientConfig extends BaseClientConfig
io/agentscope/runtime/sandbox/manager/client/config/KubernetesClientConfig.java:22–78Kubernetes 客户端配置,保存相关配置项。位于 io.agentscope.runtime.sandbox.manager.client.config 包,继承自 BaseClientConfig。核心成员包括 builder、getNamespace、setNamespace、getKubeConfigPath、setKubeConfigPath。
A class in io.agentscope.runtime.sandbox.manager.client.config that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.manager.client.config. Extends BaseClientConfig.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.runtime.sandbox.manager.client.config that deploys, schedules and serves agents. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public static Builder builder()static | 返回构建器实例。 Returns the builder. |
public String getNamespace() | 获取命名空间。 Returns the namespace. |
public void setNamespace(String namespace) | 设置命名空间。 Sets the namespace. |
public String getKubeConfigPath() | 获取 `getKubeConfigPath`。 Returns the kube config path. |
public void setKubeConfigPath(String kubeConfigPath) | 设置 `setKubeConfigPath`。 Sets the kube config path. |
方法详情Method Detail
builder
public static Builder builder()
返回构建器实例。
Returns the builder.
Builderio/agentscope/runtime/sandbox/manager/client/config/KubernetesClientConfig.java:37–39getNamespace
public String getNamespace()
获取命名空间。
Returns the namespace.
Stringio/agentscope/runtime/sandbox/manager/client/config/KubernetesClientConfig.java:41–43setNamespace
public void setNamespace(String namespace)
设置命名空间。
Sets the namespace.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
namespace | String | 命名空间(类型 `String`)。The namespace. |
io/agentscope/runtime/sandbox/manager/client/config/KubernetesClientConfig.java:45–47getKubeConfigPath
public String getKubeConfigPath()
获取 getKubeConfigPath。
Returns the kube config path.
Stringio/agentscope/runtime/sandbox/manager/client/config/KubernetesClientConfig.java:49–51setKubeConfigPath
public void setKubeConfigPath(String kubeConfigPath)
设置 setKubeConfigPath。
Sets the kube config path.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
kubeConfigPath | String | kube 配置路径(类型 `String`)。The kube config path. |
io/agentscope/runtime/sandbox/manager/client/config/KubernetesClientConfig.java:53–55嵌套类详情Nested Class Detail
Builder
public static class Builder构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.manager.client.config 包。核心成员包括 kubeConfigPath、namespace、build。
A class in io.agentscope.runtime.sandbox.manager.client.config that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.manager.client.config.