Class SystemApi.APIsystemCheckLibpodRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.SystemApi.APIsystemCheckLibpodRequest
Enclosing class:
SystemApi

public class SystemApi.APIsystemCheckLibpodRequest extends Object
  • 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

      public SystemApi.APIsystemCheckLibpodRequest repairLossy(Boolean 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

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      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

      public SystemCheckReport execute() throws ApiException
      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

      public ApiResponse<SystemCheckReport> executeWithHttpInfo() throws ApiException
      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

      public okhttp3.Call executeAsync(ApiCallback<SystemCheckReport> _callback) throws ApiException
      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 -