Class SecretsApi.APIsecretCreateLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.SecretsApi.APIsecretCreateLibpodRequest
- Enclosing class:
- SecretsApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for secretCreateLibpodSet driverdriveropts(String driveropts) Set driveroptsexecute()Execute secretCreateLibpod requestokhttp3.CallexecuteAsync(ApiCallback<ContainerUpdateLibpod201Response> _callback) Execute secretCreateLibpod request (asynchronously)Execute secretCreateLibpod request with HTTP info returnedSet labelsSet request
-
Method Details
-
driver
Set driver- Parameters:
driver- Secret driver (optional, default to file)- Returns:
- APIsecretCreateLibpodRequest
-
driveropts
Set driveropts- Parameters:
driveropts- Secret driver options (optional)- Returns:
- APIsecretCreateLibpodRequest
-
labels
Set labels- Parameters:
labels- Labels on the secret (optional)- Returns:
- APIsecretCreateLibpodRequest
-
request
Set request- Parameters:
request- Secret (optional)- Returns:
- APIsecretCreateLibpodRequest
-
buildCall
Build call for secretCreateLibpod- 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 201 Secret create response - 500 Internal server error -
-
execute
Execute secretCreateLibpod request- Returns:
- ContainerUpdateLibpod201Response
- 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 201 Secret create response - 500 Internal server error -
-
executeWithHttpInfo
Execute secretCreateLibpod request with HTTP info returned- Returns:
- ApiResponse<ContainerUpdateLibpod201Response>
- 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 201 Secret create response - 500 Internal server error -
-
executeAsync
public okhttp3.Call executeAsync(ApiCallback<ContainerUpdateLibpod201Response> _callback) throws ApiException Execute secretCreateLibpod 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 201 Secret create response - 500 Internal server error -
-