Class KubernetesSandboxClientOptions

java.lang.Object
io.agentscope.harness.agent.sandbox.SandboxClientOptions
io.agentscope.extensions.sandbox.kubernetes.KubernetesSandboxClientOptions

public class KubernetesSandboxClientOptions extends io.agentscope.harness.agent.sandbox.SandboxClientOptions
Options for KubernetesSandboxClient (agent-sandbox mode).
  • Constructor Details

    • KubernetesSandboxClientOptions

      public KubernetesSandboxClientOptions()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in class io.agentscope.harness.agent.sandbox.SandboxClientOptions
    • createClient

      public io.agentscope.harness.agent.sandbox.SandboxClient<? extends io.agentscope.harness.agent.sandbox.SandboxClientOptions> createClient()
      Specified by:
      createClient in class io.agentscope.harness.agent.sandbox.SandboxClientOptions
    • getKubernetesClient

      public io.fabric8.kubernetes.client.KubernetesClient getKubernetesClient()
    • setKubernetesClient

      public void setKubernetesClient(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)
    • getKubernetesConfig

      public io.fabric8.kubernetes.client.Config getKubernetesConfig()
    • setKubernetesConfig

      public void setKubernetesConfig(io.fabric8.kubernetes.client.Config kubernetesConfig)
    • getNamespace

      public String getNamespace()
    • setNamespace

      public void setNamespace(String namespace)
    • getWarmPoolName

      public String getWarmPoolName()
    • setWarmPoolName

      public void setWarmPoolName(String warmPoolName)
    • getWorkspaceRoot

      public String getWorkspaceRoot()
      Overrides:
      getWorkspaceRoot in class io.agentscope.harness.agent.sandbox.SandboxClientOptions
    • setWorkspaceRoot

      public void setWorkspaceRoot(String workspaceRoot)
    • getFileApiBaseDir

      public String getFileApiBaseDir()
    • setFileApiBaseDir

      public void setFileApiBaseDir(String fileApiBaseDir)
    • getApiUrl

      public String getApiUrl()
    • setApiUrl

      public void setApiUrl(String apiUrl)
    • getGatewayName

      public String getGatewayName()
    • setGatewayName

      public void setGatewayName(String gatewayName)
    • getGatewayNamespace

      public String getGatewayNamespace()
    • setGatewayNamespace

      public void setGatewayNamespace(String gatewayNamespace)
    • getGatewayScheme

      public String getGatewayScheme()
    • setGatewayScheme

      public void setGatewayScheme(String gatewayScheme)
    • getServerPort

      public int getServerPort()
    • setServerPort

      public void setServerPort(int serverPort)
    • getSandboxReadyTimeoutSeconds

      public long getSandboxReadyTimeoutSeconds()
    • setSandboxReadyTimeoutSeconds

      public void setSandboxReadyTimeoutSeconds(long sandboxReadyTimeoutSeconds)
    • getCleanupTimeoutSeconds

      public long getCleanupTimeoutSeconds()
    • setCleanupTimeoutSeconds

      public void setCleanupTimeoutSeconds(long cleanupTimeoutSeconds)
    • getRequestTimeoutSeconds

      public long getRequestTimeoutSeconds()
    • setRequestTimeoutSeconds

      public void setRequestTimeoutSeconds(long requestTimeoutSeconds)
    • getPerAttemptTimeoutSeconds

      public long getPerAttemptTimeoutSeconds()
    • setPerAttemptTimeoutSeconds

      public void setPerAttemptTimeoutSeconds(long perAttemptTimeoutSeconds)
    • getPortForwardTimeoutSeconds

      public long getPortForwardTimeoutSeconds()
    • setPortForwardTimeoutSeconds

      public void setPortForwardTimeoutSeconds(long portForwardTimeoutSeconds)