Class ContainersApi.APIcontainerListLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ContainersApi.APIcontainerListLibpodRequest
- Enclosing class:
- ContainersApi
-
Method Summary
Modifier and TypeMethodDescriptionSet allokhttp3.CallbuildCall(ApiCallback _callback) Build call for containerListLibpodexecute()Execute containerListLibpod requestokhttp3.CallexecuteAsync(ApiCallback<List<ListContainer>> _callback) Execute containerListLibpod request (asynchronously)Execute containerListLibpod request with HTTP info returnedSet filtersSet limitSet namespaceSet podSet sizeSet sync
-
Method Details
-
all
Set all- Parameters:
all- Return all containers. By default, only running containers are shown (optional, default to false)- Returns:
- APIcontainerListLibpodRequest
-
limit
Set limit- Parameters:
limit- Return this number of most recently created containers, including non-running ones. (optional)- Returns:
- APIcontainerListLibpodRequest
-
namespace
Set namespace- Parameters:
namespace- Include namespace information (optional, default to false)- Returns:
- APIcontainerListLibpodRequest
-
pod
Set pod- Parameters:
pod- Ignored. Previously included details on pod name and ID that are currently included by default. (optional, default to false)- Returns:
- APIcontainerListLibpodRequest
-
size
Set size- Parameters:
size- Return the size of container as fields SizeRw and SizeRootFs. (optional, default to false)- Returns:
- APIcontainerListLibpodRequest
-
sync
Set sync- Parameters:
sync- Sync container state with OCI runtime (optional, default to false)- Returns:
- APIcontainerListLibpodRequest
-
filters
Set filters- Parameters:
filters- A JSON encoded value of the filters (a `map[string][]string`) to process on the containers list. Available filters: - `ancestor`=(`<image-name>[:<tag>]`, `<image id>`, or `<image@digest>`) - `before`=(`<container id>` or `<container name>`) - `expose`=(`<port>[/<proto>]` or `<startport-endport>/[<proto>]`) - `exited=<int>` containers with exit code of `<int>` - `health`=(`starting`, `healthy`, `unhealthy` or `none`) - `id=<ID>` a container's ID - `is-task`=(`true` or `false`) - `label`=(`key` or `\"key=value\"`) of a container label - `name=<name>` a container's name - `network`=(`<network id>` or `<network name>`) - `pod`=(`<pod id>` or `<pod name>`) - `publish`=(`<port>[/<proto>]` or `<startport-endport>/[<proto>]`) - `since`=(`<container id>` or `<container name>`) - `status`=(`created`, `restarting`, `running`, `removing`, `paused`, `exited` or `dead`) - `volume`=(`<volume name>` or `<mount point destination>`) (optional)- Returns:
- APIcontainerListLibpodRequest
-
buildCall
Build call for containerListLibpod- 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 List Containers - 400 Bad parameter in request - 500 Internal server error -
-
execute
Execute containerListLibpod request- Returns:
- List<ListContainer>
- 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 List Containers - 400 Bad parameter in request - 500 Internal server error -
-
executeWithHttpInfo
Execute containerListLibpod request with HTTP info returned- Returns:
- ApiResponse<List<ListContainer>>
- 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 List Containers - 400 Bad parameter in request - 500 Internal server error -
-
executeAsync
Execute containerListLibpod 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 List Containers - 400 Bad parameter in request - 500 Internal server error -
-