Class SecretsCompatApi

java.lang.Object
io.github.alersrt.pod4j.openapi.api.SecretsCompatApi

public class SecretsCompatApi extends Object
  • Constructor Details

    • SecretsCompatApi

      public SecretsCompatApi()
    • SecretsCompatApi

      public SecretsCompatApi(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)
    • 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

      public SecretCreateLibpod201Response secretCreate(SecretCreate create) throws ApiException
      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

      public okhttp3.Call secretDeleteCall(String name, ApiCallback _callback) throws ApiException
      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

      public void secretDelete(String name) throws ApiException
      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

      public ApiResponse<Void> secretDeleteWithHttpInfo(@NotNull @NotNull String name) throws ApiException
      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

      public okhttp3.Call secretDeleteAsync(String name, ApiCallback<Void> _callback) throws ApiException
      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

      public okhttp3.Call secretInspectCall(String name, ApiCallback _callback) throws ApiException
      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

      public SecretInfoReportCompat secretInspect(String name) throws ApiException
      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(@NotNull @NotNull 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

      public okhttp3.Call secretListCall(String filters, ApiCallback _callback) throws ApiException
      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

      public List<SecretInfoReportCompat> secretList(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:
      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 -