Class GatewayConnectionConfig

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

public final class GatewayConnectionConfig extends Object implements SandboxConnectionConfig
Configuration for connecting via the Kubernetes Gateway API.
  • Constructor Details

    • GatewayConnectionConfig

      public GatewayConnectionConfig(String gatewayName)
    • GatewayConnectionConfig

      public GatewayConnectionConfig(String gatewayName, String gatewayNamespace, String gatewayScheme, long gatewayReadyTimeoutSeconds, int serverPort)
  • Method Details

    • gatewayName

      public String gatewayName()
    • gatewayNamespace

      public String gatewayNamespace()
    • gatewayScheme

      public String gatewayScheme()
    • gatewayReadyTimeoutSeconds

      public long gatewayReadyTimeoutSeconds()
    • 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