Class GatewayConnectionConfig
java.lang.Object
io.agentscope.extensions.sandbox.kubernetes.client.config.GatewayConnectionConfig
- All Implemented Interfaces:
SandboxConnectionConfig
Configuration for connecting via the Kubernetes Gateway API.
-
Constructor Summary
ConstructorsConstructorDescriptionGatewayConnectionConfig(String gatewayName) GatewayConnectionConfig(String gatewayName, String gatewayNamespace, String gatewayScheme, long gatewayReadyTimeoutSeconds, int serverPort) -
Method Summary
Modifier and TypeMethodDescriptionlongintPort the sandbox container listens on (sent asX-Sandbox-Port).
-
Constructor Details
-
GatewayConnectionConfig
-
GatewayConnectionConfig
-
-
Method Details
-
gatewayName
-
gatewayNamespace
-
gatewayScheme
-
gatewayReadyTimeoutSeconds
public long gatewayReadyTimeoutSeconds() -
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
-