Class SecretsApi
java.lang.Object
io.github.alersrt.pod4j.openapi.api.SecretsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCreate a secretokhttp3.CallsecretCreateLibpodAsync(String name, String driver, String driveropts, String labels, String request, ApiCallback<SecretCreateLibpod201Response> _callback) Create a secret (asynchronously)okhttp3.CallsecretCreateLibpodCall(String name, String driver, String driveropts, String labels, String request, ApiCallback _callback) Build call for secretCreateLibpodsecretCreateLibpodWithHttpInfo(String name, String driver, String driveropts, String labels, String request) Create a secretvoidsecretDeleteLibpod(String name, Boolean all) Remove secretokhttp3.CallsecretDeleteLibpodAsync(String name, Boolean all, ApiCallback<Void> _callback) Remove secret (asynchronously)okhttp3.CallsecretDeleteLibpodCall(String name, Boolean all, ApiCallback _callback) Build call for secretDeleteLibpodsecretDeleteLibpodWithHttpInfo(String name, Boolean all) Remove secretvoidsecretExistsLibpod(String name) Secret existsokhttp3.CallsecretExistsLibpodAsync(String name, ApiCallback<Void> _callback) Secret exists (asynchronously)okhttp3.CallsecretExistsLibpodCall(String name, ApiCallback _callback) Build call for secretExistsLibpodSecret existssecretInspectLibpod(String name, Boolean showsecret) Inspect secretokhttp3.CallsecretInspectLibpodAsync(String name, Boolean showsecret, ApiCallback<SecretInfoReport> _callback) Inspect secret (asynchronously)okhttp3.CallsecretInspectLibpodCall(String name, Boolean showsecret, ApiCallback _callback) Build call for secretInspectLibpodsecretInspectLibpodWithHttpInfo(String name, Boolean showsecret) Inspect secretsecretListLibpod(String filters) List secrets Returns a list of secretsokhttp3.CallsecretListLibpodAsync(String filters, ApiCallback<List<SecretInfoReport>> _callback) List secrets (asynchronously) Returns a list of secretsokhttp3.CallsecretListLibpodCall(String filters, ApiCallback _callback) Build call for secretListLibpodsecretListLibpodWithHttpInfo(String filters) List secrets Returns a list of secretsvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
SecretsApi
public SecretsApi() -
SecretsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
secretCreateLibpodCall
public okhttp3.Call secretCreateLibpodCall(String name, String driver, String driveropts, String labels, String request, ApiCallback _callback) throws ApiException Build call for secretCreateLibpod- Parameters:
name- User-defined name of the secret. (required)driver- Secret driver (optional, default to file)driveropts- Secret driver options (optional)labels- Labels on the secret (optional)request- 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 - 500 Internal server error -
-
secretCreateLibpod
public SecretCreateLibpod201Response secretCreateLibpod(String name, String driver, String driveropts, String labels, String request) throws ApiException Create a secret- Parameters:
name- User-defined name of the secret. (required)driver- Secret driver (optional, default to file)driveropts- Secret driver options (optional)labels- Labels on the secret (optional)request- 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 - 500 Internal server error -
-
secretCreateLibpodWithHttpInfo
public ApiResponse<SecretCreateLibpod201Response> secretCreateLibpodWithHttpInfo(String name, String driver, String driveropts, String labels, String request) throws ApiException Create a secret- Parameters:
name- User-defined name of the secret. (required)driver- Secret driver (optional, default to file)driveropts- Secret driver options (optional)labels- Labels on the secret (optional)request- 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 - 500 Internal server error -
-
secretCreateLibpodAsync
public okhttp3.Call secretCreateLibpodAsync(String name, String driver, String driveropts, String labels, String request, ApiCallback<SecretCreateLibpod201Response> _callback) throws ApiException Create a secret (asynchronously)- Parameters:
name- User-defined name of the secret. (required)driver- Secret driver (optional, default to file)driveropts- Secret driver options (optional)labels- Labels on the secret (optional)request- 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 - 500 Internal server error -
-
secretDeleteLibpodCall
public okhttp3.Call secretDeleteLibpodCall(String name, Boolean all, ApiCallback _callback) throws ApiException Build call for secretDeleteLibpod- Parameters:
name- the name or ID of the secret (required)all- Remove all secrets (optional, default to false)_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 -
-
secretDeleteLibpod
Remove secret- Parameters:
name- the name or ID of the secret (required)all- Remove all secrets (optional, default to false)- 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 -
-
secretDeleteLibpodWithHttpInfo
public ApiResponse<Void> secretDeleteLibpodWithHttpInfo(String name, Boolean all) throws ApiException Remove secret- Parameters:
name- the name or ID of the secret (required)all- Remove all secrets (optional, default to false)- 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 -
-
secretDeleteLibpodAsync
public okhttp3.Call secretDeleteLibpodAsync(String name, Boolean all, ApiCallback<Void> _callback) throws ApiException Remove secret (asynchronously)- Parameters:
name- the name or ID of the secret (required)all- Remove all secrets (optional, default to false)_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 -
-
secretExistsLibpodCall
Build call for secretExistsLibpod- 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 secret exists - 404 No such secret - 500 Internal server error -
-
secretExistsLibpod
Secret exists- 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 secret exists - 404 No such secret - 500 Internal server error -
-
secretExistsLibpodWithHttpInfo
Secret exists- 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 secret exists - 404 No such secret - 500 Internal server error -
-
secretExistsLibpodAsync
public okhttp3.Call secretExistsLibpodAsync(String name, ApiCallback<Void> _callback) throws ApiException Secret exists (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 secret exists - 404 No such secret - 500 Internal server error -
-
secretInspectLibpodCall
public okhttp3.Call secretInspectLibpodCall(String name, Boolean showsecret, ApiCallback _callback) throws ApiException Build call for secretInspectLibpod- Parameters:
name- the name or ID of the secret (required)showsecret- Display Secret (optional, default to false)_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 response - 404 No such secret - 500 Internal server error -
-
secretInspectLibpod
Inspect secret- Parameters:
name- the name or ID of the secret (required)showsecret- Display Secret (optional, default to false)- Returns:
- SecretInfoReport
- 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 response - 404 No such secret - 500 Internal server error -
-
secretInspectLibpodWithHttpInfo
public ApiResponse<SecretInfoReport> secretInspectLibpodWithHttpInfo(String name, Boolean showsecret) throws ApiException Inspect secret- Parameters:
name- the name or ID of the secret (required)showsecret- Display Secret (optional, default to false)- Returns:
- ApiResponse<SecretInfoReport>
- 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 response - 404 No such secret - 500 Internal server error -
-
secretInspectLibpodAsync
public okhttp3.Call secretInspectLibpodAsync(String name, Boolean showsecret, ApiCallback<SecretInfoReport> _callback) throws ApiException Inspect secret (asynchronously)- Parameters:
name- the name or ID of the secret (required)showsecret- Display Secret (optional, default to false)_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 response - 404 No such secret - 500 Internal server error -
-
secretListLibpodCall
Build call for secretListLibpod- 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 -
-
secretListLibpod
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<SecretInfoReport>
- 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 -
-
secretListLibpodWithHttpInfo
public ApiResponse<List<SecretInfoReport>> secretListLibpodWithHttpInfo(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<SecretInfoReport>>
- 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 -
-
secretListLibpodAsync
public okhttp3.Call secretListLibpodAsync(String filters, ApiCallback<List<SecretInfoReport>> _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 -
-