Class PodsApi.APIkubeApplyLibpodRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.PodsApi.APIkubeApplyLibpodRequest
Enclosing class:
PodsApi

public class PodsApi.APIkubeApplyLibpodRequest extends Object
  • Method Details

    • caCertFile

      public PodsApi.APIkubeApplyLibpodRequest caCertFile(String caCertFile)
      Set caCertFile
      Parameters:
      caCertFile - Path to the CA cert file for the Kubernetes cluster. (optional)
      Returns:
      APIkubeApplyLibpodRequest
    • kubeConfig

      public PodsApi.APIkubeApplyLibpodRequest kubeConfig(String kubeConfig)
      Set kubeConfig
      Parameters:
      kubeConfig - Path to the kubeconfig file for the Kubernetes cluster. (optional)
      Returns:
      APIkubeApplyLibpodRequest
    • namespace

      public PodsApi.APIkubeApplyLibpodRequest namespace(String namespace)
      Set namespace
      Parameters:
      namespace - The namespace to deploy the workload to on the Kubernetes cluster. (optional)
      Returns:
      APIkubeApplyLibpodRequest
    • service

      public PodsApi.APIkubeApplyLibpodRequest service(Boolean service)
      Set service
      Parameters:
      service - Create a service object for the container being deployed. (optional)
      Returns:
      APIkubeApplyLibpodRequest
    • _file

      Set _file
      Parameters:
      _file - Path to the Kubernetes yaml file to deploy. (optional)
      Returns:
      APIkubeApplyLibpodRequest
    • request

      public PodsApi.APIkubeApplyLibpodRequest request(String request)
      Set request
      Parameters:
      request - Kubernetes YAML file. (optional)
      Returns:
      APIkubeApplyLibpodRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      Build call for kubeApplyLibpod
      Parameters:
      _callback - ApiCallback API callback
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Status Code Description Response Headers
      200 Kubernetes YAML file successfully deployed to cluster -
      500 Internal server error -
    • execute

      public File execute() throws ApiException
      Execute kubeApplyLibpod request
      Returns:
      File
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Status Code Description Response Headers
      200 Kubernetes YAML file successfully deployed to cluster -
      500 Internal server error -
    • executeWithHttpInfo

      public ApiResponse<File> executeWithHttpInfo() throws ApiException
      Execute kubeApplyLibpod request with HTTP info returned
      Returns:
      ApiResponse<File>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Status Code Description Response Headers
      200 Kubernetes YAML file successfully deployed to cluster -
      500 Internal server error -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<File> _callback) throws ApiException
      Execute kubeApplyLibpod request (asynchronously)
      Parameters:
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Status Code Description Response Headers
      200 Kubernetes YAML file successfully deployed to cluster -
      500 Internal server error -