Class ContainersApi.APIkubeApplyLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ContainersApi.APIkubeApplyLibpodRequest
- Enclosing class:
- ContainersApi
-
Method Summary
Modifier and TypeMethodDescriptionSet _fileokhttp3.CallbuildCall(ApiCallback _callback) Build call for kubeApplyLibpodcaCertFile(String caCertFile) Set caCertFileexecute()Execute kubeApplyLibpod requestokhttp3.CallexecuteAsync(ApiCallback<File> _callback) Execute kubeApplyLibpod request (asynchronously)Execute kubeApplyLibpod request with HTTP info returnedkubeConfig(String kubeConfig) Set kubeConfigSet namespaceSet requestSet service
-
Method Details
-
caCertFile
Set caCertFile- Parameters:
caCertFile- Path to the CA cert file for the Kubernetes cluster. (optional)- Returns:
- APIkubeApplyLibpodRequest
-
kubeConfig
Set kubeConfig- Parameters:
kubeConfig- Path to the kubeconfig file for the Kubernetes cluster. (optional)- Returns:
- APIkubeApplyLibpodRequest
-
namespace
Set namespace- Parameters:
namespace- The namespace to deploy the workload to on the Kubernetes cluster. (optional)- Returns:
- APIkubeApplyLibpodRequest
-
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
Set request- Parameters:
request- Kubernetes YAML file. (optional)- Returns:
- APIkubeApplyLibpodRequest
-
buildCall
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
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
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
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 -
-