Class DirectConnectionConfig
java.lang.Object
io.agentscope.extensions.sandbox.kubernetes.client.config.DirectConnectionConfig
- All Implemented Interfaces:
SandboxConnectionConfig
Configuration for connecting directly to a known sandbox-router URL.
-
Constructor Summary
ConstructorsConstructorDescriptionDirectConnectionConfig(String apiUrl) DirectConnectionConfig(String apiUrl, int serverPort) -
Method Summary
Modifier and TypeMethodDescriptionapiUrl()intPort the sandbox container listens on (sent asX-Sandbox-Port).
-
Constructor Details
-
DirectConnectionConfig
-
DirectConnectionConfig
-
-
Method Details
-
apiUrl
-
serverPort
public int serverPort()Description copied from interface:SandboxConnectionConfigPort the sandbox container listens on (sent asX-Sandbox-Port).- Specified by:
serverPortin interfaceSandboxConnectionConfig- Returns:
- server port, default 8888
-