Class ContainersCompatApi.APIcontainerStatsRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ContainersCompatApi.APIcontainerStatsRequest
- Enclosing class:
- ContainersCompatApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for containerStatsexecute()Execute containerStats requestokhttp3.CallexecuteAsync(ApiCallback<Object> _callback) Execute containerStats request (asynchronously)Execute containerStats request with HTTP info returnedSet oneShotSet stream
-
Method Details
-
stream
Set stream- Parameters:
stream- Stream the output (optional, default to true)- Returns:
- APIcontainerStatsRequest
-
oneShot
Set oneShot- Parameters:
oneShot- Provide a one-shot response in which preCPU stats are blank, resulting in a single cycle return. (optional, default to false)- Returns:
- APIcontainerStatsRequest
-
buildCall
Build call for containerStats- 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 no error - 404 No such container - 500 Internal server error -
-
execute
Execute containerStats request- Returns:
- Object
- 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 no error - 404 No such container - 500 Internal server error -
-
executeWithHttpInfo
Execute containerStats request with HTTP info returned- Returns:
- ApiResponse<Object>
- 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 no error - 404 No such container - 500 Internal server error -
-
executeAsync
Execute containerStats 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 no error - 404 No such container - 500 Internal server error -
-