Class ImagesCompatApi.APIimagePushRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ImagesCompatApi.APIimagePushRequest
- Enclosing class:
- ImagesCompatApi
-
Method Summary
Modifier and TypeMethodDescriptionSet allokhttp3.CallbuildCall(ApiCallback _callback) Build call for imagePushSet compressdestination(String destination) Set destinationexecute()Execute imagePush requestokhttp3.CallexecuteAsync(ApiCallback<File> _callback) Execute imagePush request (asynchronously)Execute imagePush request with HTTP info returnedSet formatSet tagSet tlsVerifyxRegistryAuth(String xRegistryAuth) Set xRegistryAuth
-
Method Details
-
tag
Set tag- Parameters:
tag- The tag to associate with the image on the registry. (optional)- Returns:
- APIimagePushRequest
-
all
Set all- Parameters:
all- All indicates whether to push all images related to the image list (optional)- Returns:
- APIimagePushRequest
-
compress
Set compress- Parameters:
compress- Use compression on image. (optional)- Returns:
- APIimagePushRequest
-
destination
Set destination- Parameters:
destination- Allows for pushing the image to a different destination than the image refers to. (optional)- Returns:
- APIimagePushRequest
-
format
Set format- Parameters:
format- Manifest type (oci, v2s1, or v2s2) to use when pushing an image. Default is manifest type of source, with fallbacks. (optional)- Returns:
- APIimagePushRequest
-
tlsVerify
Set tlsVerify- Parameters:
tlsVerify- Require TLS verification. (optional, default to true)- Returns:
- APIimagePushRequest
-
xRegistryAuth
Set xRegistryAuth- Parameters:
xRegistryAuth- A base64-encoded auth configuration. (optional)- Returns:
- APIimagePushRequest
-
buildCall
Build call for imagePush- 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 no error - 404 No such image - 500 Internal server error -
-
execute
Execute imagePush request- Returns:
- File
- 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 no error - 404 No such image - 500 Internal server error -
-
executeWithHttpInfo
Execute imagePush request with HTTP info returned- Returns:
- ApiResponse<File>
- 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 no error - 404 No such image - 500 Internal server error -
-
executeAsync
Execute imagePush 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 no error - 404 No such image - 500 Internal server error -
-