AS AgentScopeAPI 手册 / API Reference

DockerClientConfig

public class DockerClientConfig extends BaseClientConfig
源码Source io/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:21–90

Docker 客户端配置,保存相关配置项。位于 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()
static

返回构建器实例。

Returns the builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:36–38

getHost

public String getHost()

获取 getHost。

Returns the host.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:40–42

setHost

public void setHost(String host)

设置 setHost。

Sets the host.

参数Parameters
名称Name类型Type说明Description
hostStringhost(类型 `String`)。The host.
源码Source io/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:44–46

getPort

public int getPort()

获取 getPort。

Returns the port.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:48–50

setPort

public void setPort(int port)

设置 setPort。

Sets the port.

参数Parameters
名称Name类型Type说明Description
portintport(类型 `int`)。The port.
源码Source io/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:52–54

getCertPath

public String getCertPath()

获取 getCertPath。

Returns the cert path.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/client/config/DockerClientConfig.java:56–58

setCertPath

public void setCertPath(String certPath)

设置 setCertPath。

Sets the cert path.

参数Parameters
名称Name类型Type说明Description
certPathStringcert 路径(类型 `String`)。The cert path.
源码Source 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.

继承成员Inherited Members

继承自Methods inherited from BaseClientConfig
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.