Class SystemApi.APIsystemCheckLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.SystemApi.APIsystemCheckLibpodRequest
- Enclosing class:
- SystemApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for systemCheckLibpodexecute()Execute systemCheckLibpod requestokhttp3.CallexecuteAsync(ApiCallback<SystemCheckReport> _callback) Execute systemCheckLibpod request (asynchronously)Execute systemCheckLibpod request with HTTP info returnedSet quickSet repairrepairLossy(Boolean repairLossy) Set repairLossyunreferencedLayerMaxAge(String unreferencedLayerMaxAge) Set unreferencedLayerMaxAge
-
Method Details
-
quick
Set quick- Parameters:
quick- Skip time-consuming checks (optional)- Returns:
- APIsystemCheckLibpodRequest
-
repair
Set repair- Parameters:
repair- Remove inconsistent images (optional)- Returns:
- APIsystemCheckLibpodRequest
-
repairLossy
Set repairLossy- Parameters:
repairLossy- Remove inconsistent containers and images (optional)- Returns:
- APIsystemCheckLibpodRequest
-
unreferencedLayerMaxAge
public SystemApi.APIsystemCheckLibpodRequest unreferencedLayerMaxAge(String unreferencedLayerMaxAge) Set unreferencedLayerMaxAge- Parameters:
unreferencedLayerMaxAge- Maximum allowed age of unreferenced layers (optional, default to 24h0m0s)- Returns:
- APIsystemCheckLibpodRequest
-
buildCall
Build call for systemCheckLibpod- 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 Check - 400 Bad parameter in request - 500 Internal server error -
-
execute
Execute systemCheckLibpod request- 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 -
-
executeWithHttpInfo
Execute systemCheckLibpod request with HTTP info returned- 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 -
-
executeAsync
Execute systemCheckLibpod 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 Check - 400 Bad parameter in request - 500 Internal server error -
-