Class PodsApi.APIpodListLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.PodsApi.APIpodListLibpodRequest
- Enclosing class:
- PodsApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for podListLibpodexecute()Execute podListLibpod requestokhttp3.CallexecuteAsync(ApiCallback<List<ListPodsReport>> _callback) Execute podListLibpod request (asynchronously)Execute podListLibpod request with HTTP info returnedSet filters
-
Method Details
-
filters
Set filters- Parameters:
filters- JSON encoded value of the filters (a map[string][]string) to process on the pods list. Available filters: - `id=<pod-id>` Matches all of pod id. - `label=<key>` or `label=<key>:<value>` Matches pods based on the presence of a label alone or a label and a value. - `name=<pod-name>` Matches all of pod name. - `until=<timestamp>` List pods created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time. - `status=<pod-status>` Pod's status: `stopped`, `running`, `paused`, `exited`, `dead`, `created`, `degraded`. - `network=<pod-network>` Name or full ID of network. - `ctr-names=<pod-ctr-names>` Container name within the pod. - `ctr-ids=<pod-ctr-ids>` Container ID within the pod. - `ctr-status=<pod-ctr-status>` Container status within the pod. - `ctr-number=<pod-ctr-number>` Number of containers in the pod. (optional)- Returns:
- APIpodListLibpodRequest
-
buildCall
Build call for podListLibpod- 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 pods - 400 Bad parameter in request - 500 Internal server error -
-
execute
Execute podListLibpod request- Returns:
- List<ListPodsReport>
- 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 pods - 400 Bad parameter in request - 500 Internal server error -
-
executeWithHttpInfo
Execute podListLibpod request with HTTP info returned- Returns:
- ApiResponse<List<ListPodsReport>>
- 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 pods - 400 Bad parameter in request - 500 Internal server error -
-
executeAsync
Execute podListLibpod 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 pods - 400 Bad parameter in request - 500 Internal server error -
-