Class VolumesCompatApi.APIvolumePruneRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.VolumesCompatApi.APIvolumePruneRequest
- Enclosing class:
- VolumesCompatApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for volumePruneexecute()Execute volumePrune requestokhttp3.CallexecuteAsync(ApiCallback<PruneReport> _callback) Execute volumePrune request (asynchronously)Execute volumePrune request with HTTP info returnedSet filters
-
Method Details
-
filters
Set filters- Parameters:
filters- JSON encoded value of filters (a map[string][]string) to match volumes against before pruning. Available filters: - `until=<timestamp>` Prune volumes 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. - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune volumes with (or without, in case `label!=...` is used) the specified labels. (optional)- Returns:
- APIvolumePruneRequest
-
buildCall
Build call for volumePrune- 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 Volume prune - 500 Internal server error -
-
execute
Execute volumePrune request- Returns:
- PruneReport
- 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 Volume prune - 500 Internal server error -
-
executeWithHttpInfo
Execute volumePrune request with HTTP info returned- Returns:
- ApiResponse<PruneReport>
- 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 Volume prune - 500 Internal server error -
-
executeAsync
Execute volumePrune 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 Volume prune - 500 Internal server error -
-