Class ContainersApi.APIcontainerAttachLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ContainersApi.APIcontainerAttachLibpodRequest
- Enclosing class:
- ContainersApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for containerAttachLibpoddetachKeys(String detachKeys) Set detachKeysvoidexecute()Execute containerAttachLibpod requestokhttp3.CallexecuteAsync(ApiCallback<Void> _callback) Execute containerAttachLibpod request (asynchronously)Execute containerAttachLibpod request with HTTP info returnedSet logsSet stderrSet stdinSet stdoutSet stream
-
Method Details
-
detachKeys
Set detachKeys- Parameters:
detachKeys- keys to use for detaching from the container (optional)- Returns:
- APIcontainerAttachLibpodRequest
-
logs
Set logs- Parameters:
logs- Stream all logs from the container across the connection. Happens before streaming attach (if requested). At least one of logs or stream must be set (optional)- Returns:
- APIcontainerAttachLibpodRequest
-
stream
Set stream- Parameters:
stream- Attach to the container. If unset, and logs is set, only the container's logs will be sent. At least one of stream or logs must be set (optional, default to true)- Returns:
- APIcontainerAttachLibpodRequest
-
stdout
Set stdout- Parameters:
stdout- Attach to container STDOUT (optional)- Returns:
- APIcontainerAttachLibpodRequest
-
stderr
Set stderr- Parameters:
stderr- Attach to container STDERR (optional)- Returns:
- APIcontainerAttachLibpodRequest
-
stdin
Set stdin- Parameters:
stdin- Attach to container STDIN (optional)- Returns:
- APIcontainerAttachLibpodRequest
-
buildCall
Build call for containerAttachLibpod- 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 101 No error, connection has been hijacked for transporting streams. - 400 Bad parameter in request - 404 No such container - 500 Internal server error -
-
execute
Execute containerAttachLibpod request- 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 101 No error, connection has been hijacked for transporting streams. - 400 Bad parameter in request - 404 No such container - 500 Internal server error -
-
executeWithHttpInfo
Execute containerAttachLibpod request with HTTP info returned- Returns:
- ApiResponse<Void>
- 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 101 No error, connection has been hijacked for transporting streams. - 400 Bad parameter in request - 404 No such container - 500 Internal server error -
-
executeAsync
Execute containerAttachLibpod 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 101 No error, connection has been hijacked for transporting streams. - 400 Bad parameter in request - 404 No such container - 500 Internal server error -
-