Class ManifestsApi

java.lang.Object
io.github.alersrt.pod4j.openapi.api.ManifestsApi

public class ManifestsApi extends Object
  • Constructor Details

    • ManifestsApi

      public ManifestsApi()
    • ManifestsApi

      public ManifestsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • manifestAddLibpodCall

      public okhttp3.Call manifestAddLibpodCall(String name, ManifestAddOptions options, ApiCallback _callback) throws ApiException
      Build call for manifestAddLibpod
      Parameters:
      name - the name or ID of the manifest (required)
      options - options for creating a manifest (optional)
      _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 -
      404 No such manifest -
      409 Bad parameter in request -
      500 Internal server error -
    • manifestAddLibpod

      public IdResponse manifestAddLibpod(String name, ManifestAddOptions options) throws ApiException
      Add image Add an image to a manifest list Deprecated: As of 4.0.0 use ManifestModifyLibpod instead
      Parameters:
      name - the name or ID of the manifest (required)
      options - options for creating a manifest (optional)
      Returns:
      IdResponse
      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 -
      404 No such manifest -
      409 Bad parameter in request -
      500 Internal server error -
    • manifestAddLibpodWithHttpInfo

      public ApiResponse<IdResponse> manifestAddLibpodWithHttpInfo(@NotNull @NotNull String name, ManifestAddOptions options) throws ApiException
      Add image Add an image to a manifest list Deprecated: As of 4.0.0 use ManifestModifyLibpod instead
      Parameters:
      name - the name or ID of the manifest (required)
      options - options for creating a manifest (optional)
      Returns:
      ApiResponse<IdResponse>
      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 -
      404 No such manifest -
      409 Bad parameter in request -
      500 Internal server error -
    • manifestAddLibpodAsync

      public okhttp3.Call manifestAddLibpodAsync(String name, ManifestAddOptions options, ApiCallback<IdResponse> _callback) throws ApiException
      Add image (asynchronously) Add an image to a manifest list Deprecated: As of 4.0.0 use ManifestModifyLibpod instead
      Parameters:
      name - the name or ID of the manifest (required)
      options - options for creating a manifest (optional)
      _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 -
      404 No such manifest -
      409 Bad parameter in request -
      500 Internal server error -
    • manifestCreateLibpodCall

      public okhttp3.Call manifestCreateLibpodCall(String name, String images, Boolean all, Boolean amend, ManifestModifyOptions options, ApiCallback _callback) throws ApiException
      Build call for manifestCreateLibpod
      Parameters:
      name - manifest list or index name to create (required)
      images - One or more names of an image or a manifest list. Repeat parameter as needed. Support for multiple images, as of version 4.0.0 Alias of `image` is support for compatibility with < 4.0.0 Response status code is 200 with < 4.0.0 for compatibility (required)
      all - add all contents if given list (optional)
      amend - modify an existing list if one with the desired name already exists (optional)
      options - options for new manifest (optional)
      _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
      201 -
      400 Bad parameter in request -
      404 No such image -
      500 Internal server error -
    • manifestCreateLibpod

      public IdResponse manifestCreateLibpod(String name, String images, Boolean all, Boolean amend, ManifestModifyOptions options) throws ApiException
      Create Create a manifest list
      Parameters:
      name - manifest list or index name to create (required)
      images - One or more names of an image or a manifest list. Repeat parameter as needed. Support for multiple images, as of version 4.0.0 Alias of `image` is support for compatibility with < 4.0.0 Response status code is 200 with < 4.0.0 for compatibility (required)
      all - add all contents if given list (optional)
      amend - modify an existing list if one with the desired name already exists (optional)
      options - options for new manifest (optional)
      Returns:
      IdResponse
      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
      201 -
      400 Bad parameter in request -
      404 No such image -
      500 Internal server error -
    • manifestCreateLibpodWithHttpInfo

      public ApiResponse<IdResponse> manifestCreateLibpodWithHttpInfo(@NotNull @NotNull String name, @NotNull @NotNull String images, Boolean all, Boolean amend, ManifestModifyOptions options) throws ApiException
      Create Create a manifest list
      Parameters:
      name - manifest list or index name to create (required)
      images - One or more names of an image or a manifest list. Repeat parameter as needed. Support for multiple images, as of version 4.0.0 Alias of `image` is support for compatibility with < 4.0.0 Response status code is 200 with < 4.0.0 for compatibility (required)
      all - add all contents if given list (optional)
      amend - modify an existing list if one with the desired name already exists (optional)
      options - options for new manifest (optional)
      Returns:
      ApiResponse<IdResponse>
      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
      201 -
      400 Bad parameter in request -
      404 No such image -
      500 Internal server error -
    • manifestCreateLibpodAsync

      public okhttp3.Call manifestCreateLibpodAsync(String name, String images, Boolean all, Boolean amend, ManifestModifyOptions options, ApiCallback<IdResponse> _callback) throws ApiException
      Create (asynchronously) Create a manifest list
      Parameters:
      name - manifest list or index name to create (required)
      images - One or more names of an image or a manifest list. Repeat parameter as needed. Support for multiple images, as of version 4.0.0 Alias of `image` is support for compatibility with < 4.0.0 Response status code is 200 with < 4.0.0 for compatibility (required)
      all - add all contents if given list (optional)
      amend - modify an existing list if one with the desired name already exists (optional)
      options - options for new manifest (optional)
      _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
      201 -
      400 Bad parameter in request -
      404 No such image -
      500 Internal server error -
    • manifestDeleteLibpodCall

      public okhttp3.Call manifestDeleteLibpodCall(String name, ApiCallback _callback) throws ApiException
      Build call for manifestDeleteLibpod
      Parameters:
      name - The name or ID of the list to be deleted (required)
      _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 Image Remove -
      404 No such manifest -
      500 Internal server error -
    • manifestDeleteLibpod

      public LibpodImagesRemoveReport manifestDeleteLibpod(String name) throws ApiException
      Delete manifest list Delete named manifest list As of v4.0.0
      Parameters:
      name - The name or ID of the list to be deleted (required)
      Returns:
      LibpodImagesRemoveReport
      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 Image Remove -
      404 No such manifest -
      500 Internal server error -
    • manifestDeleteLibpodWithHttpInfo

      public ApiResponse<LibpodImagesRemoveReport> manifestDeleteLibpodWithHttpInfo(@NotNull @NotNull String name) throws ApiException
      Delete manifest list Delete named manifest list As of v4.0.0
      Parameters:
      name - The name or ID of the list to be deleted (required)
      Returns:
      ApiResponse<LibpodImagesRemoveReport>
      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 Image Remove -
      404 No such manifest -
      500 Internal server error -
    • manifestDeleteLibpodAsync

      public okhttp3.Call manifestDeleteLibpodAsync(String name, ApiCallback<LibpodImagesRemoveReport> _callback) throws ApiException
      Delete manifest list (asynchronously) Delete named manifest list As of v4.0.0
      Parameters:
      name - The name or ID of the list to be deleted (required)
      _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 Image Remove -
      404 No such manifest -
      500 Internal server error -
    • manifestExistsLibpodCall

      public okhttp3.Call manifestExistsLibpodCall(String name, ApiCallback _callback) throws ApiException
      Build call for manifestExistsLibpod
      Parameters:
      name - the name or ID of the manifest list (required)
      _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
      204 manifest list exists -
      404 No such manifest -
      500 Internal server error -
    • manifestExistsLibpod

      public void manifestExistsLibpod(String name) throws ApiException
      Exists Check if manifest list exists Note: There is no contract that the manifest list will exist for a follow-on operation
      Parameters:
      name - the name or ID of the manifest list (required)
      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
      204 manifest list exists -
      404 No such manifest -
      500 Internal server error -
    • manifestExistsLibpodWithHttpInfo

      public ApiResponse<Void> manifestExistsLibpodWithHttpInfo(@NotNull @NotNull String name) throws ApiException
      Exists Check if manifest list exists Note: There is no contract that the manifest list will exist for a follow-on operation
      Parameters:
      name - the name or ID of the manifest list (required)
      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
      204 manifest list exists -
      404 No such manifest -
      500 Internal server error -
    • manifestExistsLibpodAsync

      public okhttp3.Call manifestExistsLibpodAsync(String name, ApiCallback<Void> _callback) throws ApiException
      Exists (asynchronously) Check if manifest list exists Note: There is no contract that the manifest list will exist for a follow-on operation
      Parameters:
      name - the name or ID of the manifest list (required)
      _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
      204 manifest list exists -
      404 No such manifest -
      500 Internal server error -
    • manifestInspectLibpodCall

      public okhttp3.Call manifestInspectLibpodCall(String name, Boolean tlsVerify, ApiCallback _callback) throws ApiException
      Build call for manifestInspectLibpod
      Parameters:
      name - the name or ID of the manifest list (required)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (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 Inspect Manifest -
      404 No such manifest -
      500 Internal server error -
    • manifestInspectLibpod

      public Schema2ListPublic manifestInspectLibpod(String name, Boolean tlsVerify) throws ApiException
      Inspect Display attributes of given manifest list
      Parameters:
      name - the name or ID of the manifest list (required)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (optional, default to true)
      Returns:
      Schema2ListPublic
      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 Inspect Manifest -
      404 No such manifest -
      500 Internal server error -
    • manifestInspectLibpodWithHttpInfo

      public ApiResponse<Schema2ListPublic> manifestInspectLibpodWithHttpInfo(@NotNull @NotNull String name, Boolean tlsVerify) throws ApiException
      Inspect Display attributes of given manifest list
      Parameters:
      name - the name or ID of the manifest list (required)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (optional, default to true)
      Returns:
      ApiResponse<Schema2ListPublic>
      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 Inspect Manifest -
      404 No such manifest -
      500 Internal server error -
    • manifestInspectLibpodAsync

      public okhttp3.Call manifestInspectLibpodAsync(String name, Boolean tlsVerify, ApiCallback<Schema2ListPublic> _callback) throws ApiException
      Inspect (asynchronously) Display attributes of given manifest list
      Parameters:
      name - the name or ID of the manifest list (required)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (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 Inspect Manifest -
      404 No such manifest -
      500 Internal server error -
    • manifestModifyLibpodCall

      public okhttp3.Call manifestModifyLibpodCall(String name, ManifestModifyOptions options, Boolean tlsVerify, ApiCallback _callback) throws ApiException
      Build call for manifestModifyLibpod
      Parameters:
      name - the name or ID of the manifest (required)
      options - options for mutating a manifest (required)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (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 -
      400 Bad parameter in request -
      404 No such manifest -
      409 Operation had partial success, both Images and Errors may have members -
      500 Internal server error -
    • manifestModifyLibpod

      public ManifestModifyReport manifestModifyLibpod(String name, ManifestModifyOptions options, Boolean tlsVerify) throws ApiException
      Modify manifest list Add/Remove an image(s) to a manifest list Note: operations are not atomic when multiple Images are provided. As of v4.0.0
      Parameters:
      name - the name or ID of the manifest (required)
      options - options for mutating a manifest (required)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (optional, default to true)
      Returns:
      ManifestModifyReport
      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 -
      400 Bad parameter in request -
      404 No such manifest -
      409 Operation had partial success, both Images and Errors may have members -
      500 Internal server error -
    • manifestModifyLibpodWithHttpInfo

      public ApiResponse<ManifestModifyReport> manifestModifyLibpodWithHttpInfo(@NotNull @NotNull String name, @NotNull @NotNull ManifestModifyOptions options, Boolean tlsVerify) throws ApiException
      Modify manifest list Add/Remove an image(s) to a manifest list Note: operations are not atomic when multiple Images are provided. As of v4.0.0
      Parameters:
      name - the name or ID of the manifest (required)
      options - options for mutating a manifest (required)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (optional, default to true)
      Returns:
      ApiResponse<ManifestModifyReport>
      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 -
      400 Bad parameter in request -
      404 No such manifest -
      409 Operation had partial success, both Images and Errors may have members -
      500 Internal server error -
    • manifestModifyLibpodAsync

      public okhttp3.Call manifestModifyLibpodAsync(String name, ManifestModifyOptions options, Boolean tlsVerify, ApiCallback<ManifestModifyReport> _callback) throws ApiException
      Modify manifest list (asynchronously) Add/Remove an image(s) to a manifest list Note: operations are not atomic when multiple Images are provided. As of v4.0.0
      Parameters:
      name - the name or ID of the manifest (required)
      options - options for mutating a manifest (required)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (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 -
      400 Bad parameter in request -
      404 No such manifest -
      409 Operation had partial success, both Images and Errors may have members -
      500 Internal server error -
    • manifestPushLibpodCall

      public okhttp3.Call manifestPushLibpodCall(String name, String destination, List<String> addCompression, Boolean forceCompressionFormat, Boolean all, Boolean tlsVerify, Boolean quiet, ApiCallback _callback) throws ApiException
      Build call for manifestPushLibpod
      Parameters:
      name - the name or ID of the manifest list (required)
      destination - the registry for the manifest list (required)
      addCompression - add existing instances with requested compression algorithms to manifest list (optional)
      forceCompressionFormat - Enforce compressing the layers with the specified --compression and do not reuse differently compressed blobs on the registry. (optional, default to false)
      all - push all images (optional, default to true)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (optional, default to true)
      quiet - silences extra stream data on push (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 -
      400 Bad parameter in request -
      404 No such manifest -
      500 Internal server error -
    • manifestPushLibpod

      public IdResponse manifestPushLibpod(String name, String destination, List<String> addCompression, Boolean forceCompressionFormat, Boolean all, Boolean tlsVerify, Boolean quiet) throws ApiException
      Push manifest list to registry Push a manifest list or image index to the named registry As of v4.0.0
      Parameters:
      name - the name or ID of the manifest list (required)
      destination - the registry for the manifest list (required)
      addCompression - add existing instances with requested compression algorithms to manifest list (optional)
      forceCompressionFormat - Enforce compressing the layers with the specified --compression and do not reuse differently compressed blobs on the registry. (optional, default to false)
      all - push all images (optional, default to true)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (optional, default to true)
      quiet - silences extra stream data on push (optional, default to true)
      Returns:
      IdResponse
      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 -
      400 Bad parameter in request -
      404 No such manifest -
      500 Internal server error -
    • manifestPushLibpodWithHttpInfo

      public ApiResponse<IdResponse> manifestPushLibpodWithHttpInfo(@NotNull @NotNull String name, @NotNull @NotNull String destination, List<String> addCompression, Boolean forceCompressionFormat, Boolean all, Boolean tlsVerify, Boolean quiet) throws ApiException
      Push manifest list to registry Push a manifest list or image index to the named registry As of v4.0.0
      Parameters:
      name - the name or ID of the manifest list (required)
      destination - the registry for the manifest list (required)
      addCompression - add existing instances with requested compression algorithms to manifest list (optional)
      forceCompressionFormat - Enforce compressing the layers with the specified --compression and do not reuse differently compressed blobs on the registry. (optional, default to false)
      all - push all images (optional, default to true)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (optional, default to true)
      quiet - silences extra stream data on push (optional, default to true)
      Returns:
      ApiResponse<IdResponse>
      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 -
      400 Bad parameter in request -
      404 No such manifest -
      500 Internal server error -
    • manifestPushLibpodAsync

      public okhttp3.Call manifestPushLibpodAsync(String name, String destination, List<String> addCompression, Boolean forceCompressionFormat, Boolean all, Boolean tlsVerify, Boolean quiet, ApiCallback<IdResponse> _callback) throws ApiException
      Push manifest list to registry (asynchronously) Push a manifest list or image index to the named registry As of v4.0.0
      Parameters:
      name - the name or ID of the manifest list (required)
      destination - the registry for the manifest list (required)
      addCompression - add existing instances with requested compression algorithms to manifest list (optional)
      forceCompressionFormat - Enforce compressing the layers with the specified --compression and do not reuse differently compressed blobs on the registry. (optional, default to false)
      all - push all images (optional, default to true)
      tlsVerify - Require HTTPS and verify signatures when contacting registries. (optional, default to true)
      quiet - silences extra stream data on push (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 -
      400 Bad parameter in request -
      404 No such manifest -
      500 Internal server error -
    • manifestPushV3LibpodCall

      public okhttp3.Call manifestPushV3LibpodCall(String name, String destination, Boolean all, ApiCallback _callback) throws ApiException
      Build call for manifestPushV3Libpod
      Parameters:
      name - the name or ID of the manifest (required)
      destination - the destination for the manifest (required)
      all - push all images (optional)
      _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 -
      400 Bad parameter in request -
      404 No such manifest -
      500 Internal server error -
    • manifestPushV3Libpod

      public IdResponse manifestPushV3Libpod(String name, String destination, Boolean all) throws ApiException
      Push manifest to registry Push a manifest list or image index to a registry Deprecated: As of 4.0.0 use ManifestPushLibpod instead
      Parameters:
      name - the name or ID of the manifest (required)
      destination - the destination for the manifest (required)
      all - push all images (optional)
      Returns:
      IdResponse
      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 -
      400 Bad parameter in request -
      404 No such manifest -
      500 Internal server error -
    • manifestPushV3LibpodWithHttpInfo

      public ApiResponse<IdResponse> manifestPushV3LibpodWithHttpInfo(@NotNull @NotNull String name, @NotNull @NotNull String destination, Boolean all) throws ApiException
      Push manifest to registry Push a manifest list or image index to a registry Deprecated: As of 4.0.0 use ManifestPushLibpod instead
      Parameters:
      name - the name or ID of the manifest (required)
      destination - the destination for the manifest (required)
      all - push all images (optional)
      Returns:
      ApiResponse<IdResponse>
      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 -
      400 Bad parameter in request -
      404 No such manifest -
      500 Internal server error -
    • manifestPushV3LibpodAsync

      public okhttp3.Call manifestPushV3LibpodAsync(String name, String destination, Boolean all, ApiCallback<IdResponse> _callback) throws ApiException
      Push manifest to registry (asynchronously) Push a manifest list or image index to a registry Deprecated: As of 4.0.0 use ManifestPushLibpod instead
      Parameters:
      name - the name or ID of the manifest (required)
      destination - the destination for the manifest (required)
      all - push all images (optional)
      _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 -
      400 Bad parameter in request -
      404 No such manifest -
      500 Internal server error -