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)
    • manifestAddLibpod

      public ManifestsApi.APImanifestAddLibpodRequest manifestAddLibpod(String name)
      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)
      Returns:
      APImanifestAddLibpodRequest
      Http Response Details
      Status Code Description Response Headers
      200 -
      404 No such manifest -
      409 Bad parameter in request -
      500 Internal server error -
    • manifestCreateLibpod

      public ManifestsApi.APImanifestCreateLibpodRequest manifestCreateLibpod(String name, String images)
      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)
      Returns:
      APImanifestCreateLibpodRequest
      Http Response Details
      Status Code Description Response Headers
      201 -
      400 Bad parameter in request -
      404 No such image -
      500 Internal server error -
    • manifestDeleteLibpod

      public ManifestsApi.APImanifestDeleteLibpodRequest manifestDeleteLibpod(String name)
      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:
      APImanifestDeleteLibpodRequest
      Http Response Details
      Status Code Description Response Headers
      200 Image Remove -
      404 No such manifest -
      500 Internal server error -
    • manifestExistsLibpod

      public ManifestsApi.APImanifestExistsLibpodRequest manifestExistsLibpod(String name)
      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:
      APImanifestExistsLibpodRequest
      Http Response Details
      Status Code Description Response Headers
      204 manifest list exists -
      404 No such manifest -
      500 Internal server error -
    • manifestInspectLibpod

      public ManifestsApi.APImanifestInspectLibpodRequest manifestInspectLibpod(String name)
      Inspect Display attributes of given manifest list
      Parameters:
      name - the name or ID of the manifest list (required)
      Returns:
      APImanifestInspectLibpodRequest
      Http Response Details
      Status Code Description Response Headers
      200 Inspect Manifest -
      404 No such manifest -
      500 Internal server error -
    • manifestModifyLibpod

      public ManifestsApi.APImanifestModifyLibpodRequest manifestModifyLibpod(String name, ManifestModifyOptions options)
      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)
      Returns:
      APImanifestModifyLibpodRequest
      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 -
    • manifestPushLibpod

      public ManifestsApi.APImanifestPushLibpodRequest manifestPushLibpod(String name, String destination)
      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)
      Returns:
      APImanifestPushLibpodRequest
      Http Response Details
      Status Code Description Response Headers
      200 -
      400 Bad parameter in request -
      404 No such manifest -
      500 Internal server error -
    • manifestPushV3Libpod

      public ManifestsApi.APImanifestPushV3LibpodRequest manifestPushV3Libpod(String name, String destination)
      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)
      Returns:
      APImanifestPushV3LibpodRequest
      Http Response Details
      Status Code Description Response Headers
      200 -
      400 Bad parameter in request -
      404 No such manifest -
      500 Internal server error -