FcClientStarter
public class FcClientStarter extends BaseClientStarter
io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:28–202Fc 客户端启动器,承载智能体的部署、调度与服务化运行。位于 io.agentscope.runtime.sandbox.client.fc 包,继承自 BaseClientStarter。核心成员包括 getFcAccessKeyId、getFcAccessKeySecret、getFcAccountId、getFcRegionId、getFcCpu、getFcMemory。
A class in io.agentscope.runtime.sandbox.client.fc that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.client.fc. Extends BaseClientStarter.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.runtime.sandbox.client.fc that deploys, schedules and serves agents. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getFcAccessKeyId() | 获取Fc 访问键标识。 Returns the fc access key id. |
public String getFcAccessKeySecret() | 获取Fc 访问键密钥。 Returns the fc access key secret. |
public String getFcAccountId() | 获取 `getFcAccountId`。 Returns the fc account id. |
public String getFcRegionId() | 获取Fc 区域标识。 Returns the fc region id. |
public float getFcCpu() | 获取 `getFcCpu`。 Returns the fc cpu. |
public int getFcMemory() | 获取Fc 记忆。 Returns the fc memory. |
public String getFcVpcId() | 获取 `getFcVpcId`。 Returns the fc vpc id. |
public List<String> getFcVswitchIds() | 获取 `getFcVswitchIds`。 Returns the fc vswitch ids. |
public String getFcSecurityGroupId() | 获取 `getFcSecurityGroupId`。 Returns the fc security group id. |
public String getFcPrefix() | 获取 `getFcPrefix`。 Returns the fc prefix. |
public String getFcLogProject() | 获取 `getFcLogProject`。 Returns the fc log project. |
public String getFcLogStore() | 获取Fc 日志存储。 Returns the fc log store. |
public static Builder builder()static | 返回构建器实例。 Returns the builder. |
public BaseClient startClient(PortManager portManager) | 启动客户端。 Starts the client. |
方法详情Method Detail
getFcAccessKeyId
public String getFcAccessKeyId()
获取Fc 访问键标识。
Returns the fc access key id.
Stringio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:59–61getFcAccessKeySecret
public String getFcAccessKeySecret()
获取Fc 访问键密钥。
Returns the fc access key secret.
Stringio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:63–65getFcAccountId
public String getFcAccountId()
获取 getFcAccountId。
Returns the fc account id.
Stringio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:67–69getFcRegionId
public String getFcRegionId()
获取Fc 区域标识。
Returns the fc region id.
Stringio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:71–73getFcCpu
public float getFcCpu()
获取 getFcCpu。
Returns the fc cpu.
floatio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:75–77getFcMemory
public int getFcMemory()
获取Fc 记忆。
Returns the fc memory.
intio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:79–81getFcVpcId
public String getFcVpcId()
获取 getFcVpcId。
Returns the fc vpc id.
Stringio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:83–85getFcVswitchIds
public List<String> getFcVswitchIds()
获取 getFcVswitchIds。
Returns the fc vswitch ids.
List<String>io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:87–89getFcSecurityGroupId
public String getFcSecurityGroupId()
获取 getFcSecurityGroupId。
Returns the fc security group id.
Stringio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:91–93getFcPrefix
public String getFcPrefix()
获取 getFcPrefix。
Returns the fc prefix.
Stringio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:95–97getFcLogProject
public String getFcLogProject()
获取 getFcLogProject。
Returns the fc log project.
Stringio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:99–101getFcLogStore
public String getFcLogStore()
获取Fc 日志存储。
Returns the fc log store.
Stringio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:103–105builder
public static Builder builder()
返回构建器实例。
Returns the builder.
Builderio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:107–109startClient
public BaseClient startClient(PortManager portManager)
启动客户端。
Starts the client.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
portManager | PortManager | port 管理器(类型 `PortManager`)。The port manager. |
BaseClientio/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:111–122嵌套类详情Nested Class Detail
Builder
public static class Builder构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.client.fc 包。核心成员包括 FcAccessKeyId、FcAccessKeySecret、FcAccountId、FcRegionId、FcCpu、FcMemory。
A class in io.agentscope.runtime.sandbox.client.fc that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.client.fc.