Class LocalTunnelConnectionConfig

java.lang.Object
io.agentscope.extensions.sandbox.kubernetes.client.config.LocalTunnelConnectionConfig
All Implemented Interfaces:
SandboxConnectionConfig

public final class LocalTunnelConnectionConfig extends Object implements SandboxConnectionConfig
Configuration for connecting via a local port-forward tunnel to the sandbox-router service (development / out-of-cluster mode).
  • Constructor Details

    • LocalTunnelConnectionConfig

      public LocalTunnelConnectionConfig()
    • LocalTunnelConnectionConfig

      public LocalTunnelConnectionConfig(long portForwardReadyTimeoutSeconds, int serverPort, String routerNamespace)
  • Method Details

    • portForwardReadyTimeoutSeconds

      public long portForwardReadyTimeoutSeconds()
    • routerNamespace

      public String routerNamespace()
    • serverPort

      public int serverPort()
      Description copied from interface: SandboxConnectionConfig
      Port the sandbox container listens on (sent as X-Sandbox-Port).
      Specified by:
      serverPort in interface SandboxConnectionConfig
      Returns:
      server port, default 8888