DockerClientConfig
public class DockerClientConfig extends BaseClientConfig
io/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:21–90Docker 客户端配置,保存相关配置项。位于 io.agentscope.runtime.sandbox.manager.client.config 包,继承自 BaseClientConfig。核心成员包括 builder、getHost、setHost、getPort、setPort、getCertPath。
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 getHost() | 获取 `getHost`。 Returns the host. |
public void setHost(String host) | 设置 `setHost`。 Sets the host. |
public int getPort() | 获取 `getPort`。 Returns the port. |
public void setPort(int port) | 设置 `setPort`。 Sets the port. |
public String getCertPath() | 获取 `getCertPath`。 Returns the cert path. |
public void setCertPath(String certPath) | 设置 `setCertPath`。 Sets the cert path. |
方法详情Method Detail
builder
public static Builder builder()
返回构建器实例。
Returns the builder.
Builderio/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:36–38getHost
public String getHost()
获取 getHost。
Returns the host.
Stringio/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:40–42setHost
public void setHost(String host)
设置 setHost。
Sets the host.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
host | String | host(类型 `String`)。The host. |
io/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:44–46getPort
public int getPort()
获取 getPort。
Returns the port.
intio/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:48–50setPort
public void setPort(int port)
设置 setPort。
Sets the port.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
port | int | port(类型 `int`)。The port. |
io/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:52–54getCertPath
public String getCertPath()
获取 getCertPath。
Returns the cert path.
Stringio/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:56–58setCertPath
public void setCertPath(String certPath)
设置 setCertPath。
Sets the cert path.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
certPath | String | cert 路径(类型 `String`)。The cert path. |
io/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:60–62嵌套类详情Nested Class Detail
Builder
public static class Builder构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.manager.client.config 包。核心成员包括 host、port、certPath、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.