Class SystemApi
java.lang.Object
io.github.alersrt.pod4j.openapi.api.SystemApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) systemCheckLibpod(Boolean quick, Boolean repair, Boolean repairLossy, String unreferencedLayerMaxAge) Performs consistency checks on storage, optionally removing items which fail checksokhttp3.CallsystemCheckLibpodAsync(Boolean quick, Boolean repair, Boolean repairLossy, String unreferencedLayerMaxAge, ApiCallback<SystemCheckReport> _callback) Performs consistency checks on storage, optionally removing items which fail checks (asynchronously)okhttp3.CallsystemCheckLibpodCall(Boolean quick, Boolean repair, Boolean repairLossy, String unreferencedLayerMaxAge, ApiCallback _callback) Build call for systemCheckLibpodsystemCheckLibpodWithHttpInfo(Boolean quick, Boolean repair, Boolean repairLossy, String unreferencedLayerMaxAge) Performs consistency checks on storage, optionally removing items which fail checksShow disk usage Return information about disk usage for containers, images, and volumesokhttp3.CallsystemDataUsageLibpodAsync(ApiCallback<SystemDfReport> _callback) Show disk usage (asynchronously) Return information about disk usage for containers, images, and volumesokhttp3.CallsystemDataUsageLibpodCall(ApiCallback _callback) Build call for systemDataUsageLibpodShow disk usage Return information about disk usage for containers, images, and volumesvoidsystemEventsLibpod(String since, String until, String filters, Boolean stream) Get events Returns events filtered on query parametersokhttp3.CallsystemEventsLibpodAsync(String since, String until, String filters, Boolean stream, ApiCallback<Void> _callback) Get events (asynchronously) Returns events filtered on query parametersokhttp3.CallsystemEventsLibpodCall(String since, String until, String filters, Boolean stream, ApiCallback _callback) Build call for systemEventsLibpodsystemEventsLibpodWithHttpInfo(String since, String until, String filters, Boolean stream) Get events Returns events filtered on query parametersGet info Returns information on the system and libpod configurationokhttp3.CallsystemInfoLibpodAsync(ApiCallback<LibpodInfo> _callback) Get info (asynchronously) Returns information on the system and libpod configurationokhttp3.CallsystemInfoLibpodCall(ApiCallback _callback) Build call for systemInfoLibpodGet info Returns information on the system and libpod configurationPing service Return protocol information in response headers.okhttp3.CallsystemPingAsync(ApiCallback<String> _callback) Ping service (asynchronously) Return protocol information in response headers.okhttp3.CallsystemPingCall(ApiCallback _callback) Build call for systemPingPing service Return protocol information in response headers.Prune unused dataokhttp3.CallsystemPruneLibpodAsync(ApiCallback<SystemPruneReport> _callback) Prune unused data (asynchronously)okhttp3.CallsystemPruneLibpodCall(ApiCallback _callback) Build call for systemPruneLibpodPrune unused dataComponent Version informationokhttp3.CallComponent Version information (asynchronously)okhttp3.CallsystemVersionLibpodCall(ApiCallback _callback) Build call for systemVersionLibpodComponent Version information
-
Constructor Details
-
SystemApi
public SystemApi() -
SystemApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
systemCheckLibpodCall
public okhttp3.Call systemCheckLibpodCall(Boolean quick, Boolean repair, Boolean repairLossy, String unreferencedLayerMaxAge, ApiCallback _callback) throws ApiException Build call for systemCheckLibpod- Parameters:
quick- Skip time-consuming checks (optional)repair- Remove inconsistent images (optional)repairLossy- Remove inconsistent containers and images (optional)unreferencedLayerMaxAge- Maximum allowed age of unreferenced layers (optional, default to 24h0m0s)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 Check - 400 Bad parameter in request - 500 Internal server error -
-
systemCheckLibpod
public SystemCheckReport systemCheckLibpod(Boolean quick, Boolean repair, Boolean repairLossy, String unreferencedLayerMaxAge) throws ApiException Performs consistency checks on storage, optionally removing items which fail checks- Parameters:
quick- Skip time-consuming checks (optional)repair- Remove inconsistent images (optional)repairLossy- Remove inconsistent containers and images (optional)unreferencedLayerMaxAge- Maximum allowed age of unreferenced layers (optional, default to 24h0m0s)- Returns:
- SystemCheckReport
- 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 Check - 400 Bad parameter in request - 500 Internal server error -
-
systemCheckLibpodWithHttpInfo
public ApiResponse<SystemCheckReport> systemCheckLibpodWithHttpInfo(Boolean quick, Boolean repair, Boolean repairLossy, String unreferencedLayerMaxAge) throws ApiException Performs consistency checks on storage, optionally removing items which fail checks- Parameters:
quick- Skip time-consuming checks (optional)repair- Remove inconsistent images (optional)repairLossy- Remove inconsistent containers and images (optional)unreferencedLayerMaxAge- Maximum allowed age of unreferenced layers (optional, default to 24h0m0s)- Returns:
- ApiResponse<SystemCheckReport>
- 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 Check - 400 Bad parameter in request - 500 Internal server error -
-
systemCheckLibpodAsync
public okhttp3.Call systemCheckLibpodAsync(Boolean quick, Boolean repair, Boolean repairLossy, String unreferencedLayerMaxAge, ApiCallback<SystemCheckReport> _callback) throws ApiException Performs consistency checks on storage, optionally removing items which fail checks (asynchronously)- Parameters:
quick- Skip time-consuming checks (optional)repair- Remove inconsistent images (optional)repairLossy- Remove inconsistent containers and images (optional)unreferencedLayerMaxAge- Maximum allowed age of unreferenced layers (optional, default to 24h0m0s)_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 Check - 400 Bad parameter in request - 500 Internal server error -
-
systemDataUsageLibpodCall
Build call for systemDataUsageLibpod- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 Disk usage - 500 Internal server error -
-
systemDataUsageLibpod
Show disk usage Return information about disk usage for containers, images, and volumes- Returns:
- SystemDfReport
- 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 Disk usage - 500 Internal server error -
-
systemDataUsageLibpodWithHttpInfo
Show disk usage Return information about disk usage for containers, images, and volumes- Returns:
- ApiResponse<SystemDfReport>
- 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 Disk usage - 500 Internal server error -
-
systemDataUsageLibpodAsync
public okhttp3.Call systemDataUsageLibpodAsync(ApiCallback<SystemDfReport> _callback) throws ApiException Show disk usage (asynchronously) Return information about disk usage for containers, images, and volumes- 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 Disk usage - 500 Internal server error -
-
systemEventsLibpodCall
public okhttp3.Call systemEventsLibpodCall(String since, String until, String filters, Boolean stream, ApiCallback _callback) throws ApiException Build call for systemEventsLibpod- Parameters:
since- start streaming events from this time (optional)until- stop streaming events later than this (optional)filters- JSON encoded map[string][]string of constraints (optional)stream- when false, do not follow events (optional, default to true)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 returns a string of json data describing an event - 500 Internal server error -
-
systemEventsLibpod
public void systemEventsLibpod(String since, String until, String filters, Boolean stream) throws ApiException Get events Returns events filtered on query parameters- Parameters:
since- start streaming events from this time (optional)until- stop streaming events later than this (optional)filters- JSON encoded map[string][]string of constraints (optional)stream- when false, do not follow events (optional, default to true)- 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 returns a string of json data describing an event - 500 Internal server error -
-
systemEventsLibpodWithHttpInfo
public ApiResponse<Void> systemEventsLibpodWithHttpInfo(String since, String until, String filters, Boolean stream) throws ApiException Get events Returns events filtered on query parameters- Parameters:
since- start streaming events from this time (optional)until- stop streaming events later than this (optional)filters- JSON encoded map[string][]string of constraints (optional)stream- when false, do not follow events (optional, default to true)- 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 200 returns a string of json data describing an event - 500 Internal server error -
-
systemEventsLibpodAsync
public okhttp3.Call systemEventsLibpodAsync(String since, String until, String filters, Boolean stream, ApiCallback<Void> _callback) throws ApiException Get events (asynchronously) Returns events filtered on query parameters- Parameters:
since- start streaming events from this time (optional)until- stop streaming events later than this (optional)filters- JSON encoded map[string][]string of constraints (optional)stream- when false, do not follow events (optional, default to true)_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 returns a string of json data describing an event - 500 Internal server error -
-
systemInfoLibpodCall
Build call for systemInfoLibpod- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 Info - 500 Internal server error -
-
systemInfoLibpod
Get info Returns information on the system and libpod configuration- Returns:
- LibpodInfo
- 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 Info - 500 Internal server error -
-
systemInfoLibpodWithHttpInfo
Get info Returns information on the system and libpod configuration- Returns:
- ApiResponse<LibpodInfo>
- 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 Info - 500 Internal server error -
-
systemInfoLibpodAsync
Get info (asynchronously) Returns information on the system and libpod configuration- 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 Info - 500 Internal server error -
-
systemPingCall
Build call for systemPing- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 Success * Docker-Experimental - If the server is running with experimental mode enabled, always true
* Cache-Control - always no-cache
* Libpod-Buildah-Version - Default version of libpod image builder. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine
* Libpod-API-Version - Max Podman API Version the server supports. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine
* BuildKit-Version - Default version of docker image builder
* Pragma - always no-cache
* API-Version - Max compatibility API Version the server supports
500 Internal server error -
-
systemPing
Ping service Return protocol information in response headers. `HEAD /libpod/_ping` is also supported. `/_ping` is available for compatibility with other engines. The '_ping' endpoints are not versioned.- Returns:
- String
- 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 Success * Docker-Experimental - If the server is running with experimental mode enabled, always true
* Cache-Control - always no-cache
* Libpod-Buildah-Version - Default version of libpod image builder. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine
* Libpod-API-Version - Max Podman API Version the server supports. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine
* BuildKit-Version - Default version of docker image builder
* Pragma - always no-cache
* API-Version - Max compatibility API Version the server supports
500 Internal server error -
-
systemPingWithHttpInfo
Ping service Return protocol information in response headers. `HEAD /libpod/_ping` is also supported. `/_ping` is available for compatibility with other engines. The '_ping' endpoints are not versioned.- Returns:
- ApiResponse<String>
- 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 Success * Docker-Experimental - If the server is running with experimental mode enabled, always true
* Cache-Control - always no-cache
* Libpod-Buildah-Version - Default version of libpod image builder. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine
* Libpod-API-Version - Max Podman API Version the server supports. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine
* BuildKit-Version - Default version of docker image builder
* Pragma - always no-cache
* API-Version - Max compatibility API Version the server supports
500 Internal server error -
-
systemPingAsync
Ping service (asynchronously) Return protocol information in response headers. `HEAD /libpod/_ping` is also supported. `/_ping` is available for compatibility with other engines. The '_ping' endpoints are not versioned.- 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 Success * Docker-Experimental - If the server is running with experimental mode enabled, always true
* Cache-Control - always no-cache
* Libpod-Buildah-Version - Default version of libpod image builder. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine
* Libpod-API-Version - Max Podman API Version the server supports. Available if service is backed by Podman, therefore may be used to determine if talking to Podman engine or another engine
* BuildKit-Version - Default version of docker image builder
* Pragma - always no-cache
* API-Version - Max compatibility API Version the server supports
500 Internal server error -
-
systemPruneLibpodCall
Build call for systemPruneLibpod- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 System Prune results - 400 Bad parameter in request - 500 Internal server error -
-
systemPruneLibpod
Prune unused data- Returns:
- SystemPruneReport
- 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 System Prune results - 400 Bad parameter in request - 500 Internal server error -
-
systemPruneLibpodWithHttpInfo
Prune unused data- Returns:
- ApiResponse<SystemPruneReport>
- 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 System Prune results - 400 Bad parameter in request - 500 Internal server error -
-
systemPruneLibpodAsync
public okhttp3.Call systemPruneLibpodAsync(ApiCallback<SystemPruneReport> _callback) throws ApiException Prune unused data (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 System Prune results - 400 Bad parameter in request - 500 Internal server error -
-
systemVersionLibpodCall
Build call for systemVersionLibpod- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 Version -
-
systemVersionLibpod
Component Version information- Returns:
- SystemComponentVersion
- 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 Version -
-
systemVersionLibpodWithHttpInfo
Component Version information- Returns:
- ApiResponse<SystemComponentVersion>
- 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 Version -
-
systemVersionLibpodAsync
public okhttp3.Call systemVersionLibpodAsync(ApiCallback<SystemComponentVersion> _callback) throws ApiException Component Version information (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 Version -
-