Class ImagesCompatApi.APIimageSearchRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ImagesCompatApi.APIimageSearchRequest
- Enclosing class:
- ImagesCompatApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for imageSearchexecute()Execute imageSearch requestokhttp3.CallexecuteAsync(ApiCallback<ImageSearch200Response> _callback) Execute imageSearch request (asynchronously)Execute imageSearch request with HTTP info returnedSet filtersSet limitSet listTagsSet termSet tlsVerify
-
Method Details
-
term
Set term- Parameters:
term- term to search (optional)- Returns:
- APIimageSearchRequest
-
limit
Set limit- Parameters:
limit- maximum number of results (optional, default to 25)- Returns:
- APIimageSearchRequest
-
filters
Set filters- Parameters:
filters- A JSON encoded value of the filters (a `map[string][]string`) to process on the images list. Available filters: - `is-automated=(true|false)` - `is-official=(true|false)` - `stars=<number>` Matches images that have at least 'number' stars. (optional)- Returns:
- APIimageSearchRequest
-
tlsVerify
Set tlsVerify- Parameters:
tlsVerify- Require HTTPS and verify signatures when contacting registries. (optional, default to true)- Returns:
- APIimageSearchRequest
-
listTags
Set listTags- Parameters:
listTags- list the available tags in the repository (optional)- Returns:
- APIimageSearchRequest
-
buildCall
Build call for imageSearch- 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 Registry Search - 400 Bad parameter in request - 500 Internal server error -
-
execute
Execute imageSearch request- Returns:
- ImageSearch200Response
- 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 Registry Search - 400 Bad parameter in request - 500 Internal server error -
-
executeWithHttpInfo
Execute imageSearch request with HTTP info returned- Returns:
- ApiResponse<ImageSearch200Response>
- 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 Registry Search - 400 Bad parameter in request - 500 Internal server error -
-
executeAsync
Execute imageSearch 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 Registry Search - 400 Bad parameter in request - 500 Internal server error -
-