Class LocalTunnelConnectionConfig
java.lang.Object
io.agentscope.extensions.sandbox.kubernetes.client.config.LocalTunnelConnectionConfig
- All Implemented Interfaces:
SandboxConnectionConfig
Configuration for connecting via a local port-forward tunnel to the
sandbox-router service (development / out-of-cluster mode).
-
Constructor Summary
ConstructorsConstructorDescriptionLocalTunnelConnectionConfig(long portForwardReadyTimeoutSeconds, int serverPort, String routerNamespace) -
Method Summary
Modifier and TypeMethodDescriptionlongintPort the sandbox container listens on (sent asX-Sandbox-Port).
-
Constructor Details
-
LocalTunnelConnectionConfig
public LocalTunnelConnectionConfig() -
LocalTunnelConnectionConfig
public LocalTunnelConnectionConfig(long portForwardReadyTimeoutSeconds, int serverPort, String routerNamespace)
-
-
Method Details
-
portForwardReadyTimeoutSeconds
public long portForwardReadyTimeoutSeconds() -
routerNamespace
-
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
-