Class SecretsCompatApi
java.lang.Object
io.github.alersrt.pod4j.openapi.api.SecretsCompatApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintsecretCreate(SecretCreate create) Create a secretokhttp3.CallsecretCreateAsync(SecretCreate create, ApiCallback<SecretCreateLibpod201Response> _callback) Create a secret (asynchronously)okhttp3.CallsecretCreateCall(SecretCreate create, ApiCallback _callback) Build call for secretCreatesecretCreateWithHttpInfo(SecretCreate create) Create a secretvoidsecretDelete(String name) Remove secretokhttp3.CallsecretDeleteAsync(String name, ApiCallback<Void> _callback) Remove secret (asynchronously)okhttp3.CallsecretDeleteCall(String name, ApiCallback _callback) Build call for secretDeleteRemove secretsecretInspect(String name) Inspect secretokhttp3.CallsecretInspectAsync(String name, ApiCallback<SecretInfoReportCompat> _callback) Inspect secret (asynchronously)okhttp3.CallsecretInspectCall(String name, ApiCallback _callback) Build call for secretInspectInspect secretsecretList(String filters) List secrets Returns a list of secretsokhttp3.CallsecretListAsync(String filters, ApiCallback<List<SecretInfoReportCompat>> _callback) List secrets (asynchronously) Returns a list of secretsokhttp3.CallsecretListCall(String filters, ApiCallback _callback) Build call for secretListsecretListWithHttpInfo(String filters) List secrets Returns a list of secretsvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
SecretsCompatApi
public SecretsCompatApi() -
SecretsCompatApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
secretCreateCall
public okhttp3.Call secretCreateCall(SecretCreate create, ApiCallback _callback) throws ApiException Build call for secretCreate- Parameters:
create- attributes for creating a secret (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 Secret create response - 409 Secret in use - 500 Internal server error -
-
secretCreate
Create a secret- Parameters:
create- attributes for creating a secret (optional)- Returns:
- SecretCreateLibpod201Response
- 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 Secret create response - 409 Secret in use - 500 Internal server error -
-
secretCreateWithHttpInfo
public ApiResponse<SecretCreateLibpod201Response> secretCreateWithHttpInfo(SecretCreate create) throws ApiException Create a secret- Parameters:
create- attributes for creating a secret (optional)- Returns:
- ApiResponse<SecretCreateLibpod201Response>
- 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 Secret create response - 409 Secret in use - 500 Internal server error -
-
secretCreateAsync
public okhttp3.Call secretCreateAsync(SecretCreate create, ApiCallback<SecretCreateLibpod201Response> _callback) throws ApiException Create a secret (asynchronously)- Parameters:
create- attributes for creating a secret (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 Secret create response - 409 Secret in use - 500 Internal server error -
-
secretDeleteCall
Build call for secretDelete- Parameters:
name- the name or ID of the secret (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 no error - 404 No such secret - 500 Internal server error -
-
secretDelete
Remove secret- Parameters:
name- the name or ID of the secret (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 no error - 404 No such secret - 500 Internal server error -
-
secretDeleteWithHttpInfo
Remove secret- Parameters:
name- the name or ID of the secret (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 no error - 404 No such secret - 500 Internal server error -
-
secretDeleteAsync
Remove secret (asynchronously)- Parameters:
name- the name or ID of the secret (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 no error - 404 No such secret - 500 Internal server error -
-
secretInspectCall
Build call for secretInspect- Parameters:
name- the name or ID of the secret (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 Secret inspect compat - 404 No such secret - 500 Internal server error -
-
secretInspect
Inspect secret- Parameters:
name- the name or ID of the secret (required)- Returns:
- SecretInfoReportCompat
- 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 Secret inspect compat - 404 No such secret - 500 Internal server error -
-
secretInspectWithHttpInfo
public ApiResponse<SecretInfoReportCompat> secretInspectWithHttpInfo(String name) throws ApiException Inspect secret- Parameters:
name- the name or ID of the secret (required)- Returns:
- ApiResponse<SecretInfoReportCompat>
- 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 Secret inspect compat - 404 No such secret - 500 Internal server error -
-
secretInspectAsync
public okhttp3.Call secretInspectAsync(String name, ApiCallback<SecretInfoReportCompat> _callback) throws ApiException Inspect secret (asynchronously)- Parameters:
name- the name or ID of the secret (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 Secret inspect compat - 404 No such secret - 500 Internal server error -
-
secretListCall
Build call for secretList- Parameters:
filters- JSON encoded value of the filters (a `map[string][]string`) to process on the secrets list. Currently available filters: - `name=[name]` Matches secrets name (accepts regex). - `id=[id]` Matches for full or partial ID. (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 Secret list response - 500 Internal server error -
-
secretList
List secrets Returns a list of secrets- Parameters:
filters- JSON encoded value of the filters (a `map[string][]string`) to process on the secrets list. Currently available filters: - `name=[name]` Matches secrets name (accepts regex). - `id=[id]` Matches for full or partial ID. (optional)- Returns:
- List<SecretInfoReportCompat>
- 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 Secret list response - 500 Internal server error -
-
secretListWithHttpInfo
public ApiResponse<List<SecretInfoReportCompat>> secretListWithHttpInfo(String filters) throws ApiException List secrets Returns a list of secrets- Parameters:
filters- JSON encoded value of the filters (a `map[string][]string`) to process on the secrets list. Currently available filters: - `name=[name]` Matches secrets name (accepts regex). - `id=[id]` Matches for full or partial ID. (optional)- Returns:
- ApiResponse<List<SecretInfoReportCompat>>
- 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 Secret list response - 500 Internal server error -
-
secretListAsync
public okhttp3.Call secretListAsync(String filters, ApiCallback<List<SecretInfoReportCompat>> _callback) throws ApiException List secrets (asynchronously) Returns a list of secrets- Parameters:
filters- JSON encoded value of the filters (a `map[string][]string`) to process on the secrets list. Currently available filters: - `name=[name]` Matches secrets name (accepts regex). - `id=[id]` Matches for full or partial ID. (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 Secret list response - 500 Internal server error -
-