Class K8sClient

java.lang.Object
io.kubernetes.client.openapi.ApiClient
org.jdrupes.vmoperator.common.K8sClient

public class K8sClient extends io.kubernetes.client.openapi.ApiClient
A client with some additional properties.
  • Constructor Details

  • Method Details

    • defaultPatchOptions

      public io.kubernetes.client.util.generic.options.PatchOptions defaultPatchOptions()
      Gets the default patch options.
      Returns:
      the defaultPatchOptions
    • with

      public K8sClient with(io.kubernetes.client.util.generic.options.PatchOptions patchOptions)
      Changes the default patch options.
      Parameters:
      patchOptions - the patch options
      Returns:
      the client
    • getBasePath

      public String getBasePath()
      Gets the base path.
      Overrides:
      getBasePath in class io.kubernetes.client.openapi.ApiClient
      Returns:
      the base path
      See Also:
      • ApiClient.getBasePath()
    • setBasePath

      public io.kubernetes.client.openapi.ApiClient setBasePath(String basePath)
      Sets the base path.
      Overrides:
      setBasePath in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      basePath - the base path
      Returns:
      the api client
      See Also:
      • ApiClient.setBasePath(java.lang.String)
    • getHttpClient

      public okhttp3.OkHttpClient getHttpClient()
      Gets the http client.
      Overrides:
      getHttpClient in class io.kubernetes.client.openapi.ApiClient
      Returns:
      the http client
      See Also:
      • ApiClient.getHttpClient()
    • setHttpClient

      public io.kubernetes.client.openapi.ApiClient setHttpClient(okhttp3.OkHttpClient newHttpClient)
      Sets the http client.
      Overrides:
      setHttpClient in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      newHttpClient - the new http client
      Returns:
      the api client
      See Also:
      • ApiClient.setHttpClient(okhttp3.OkHttpClient)
    • getJSON

      public io.kubernetes.client.openapi.JSON getJSON()
      Gets the json.
      Overrides:
      getJSON in class io.kubernetes.client.openapi.ApiClient
      Returns:
      the json
      See Also:
      • ApiClient.getJSON()
    • setJSON

      public io.kubernetes.client.openapi.ApiClient setJSON(io.kubernetes.client.openapi.JSON json)
      Sets the JSON.
      Overrides:
      setJSON in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      json - the json
      Returns:
      the api client
      See Also:
      • ApiClient.setJSON(io.kubernetes.client.openapi.JSON)
    • isVerifyingSsl

      public boolean isVerifyingSsl()
      Checks if is verifying ssl.
      Overrides:
      isVerifyingSsl in class io.kubernetes.client.openapi.ApiClient
      Returns:
      true, if is verifying ssl
      See Also:
      • ApiClient.isVerifyingSsl()
    • setVerifyingSsl

      public io.kubernetes.client.openapi.ApiClient setVerifyingSsl(boolean verifyingSsl)
      Sets the verifying ssl.
      Overrides:
      setVerifyingSsl in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      verifyingSsl - the verifying ssl
      Returns:
      the api client
      See Also:
      • ApiClient.setVerifyingSsl(boolean)
    • getSslCaCert

      Gets the ssl ca cert.
      Overrides:
      getSslCaCert in class io.kubernetes.client.openapi.ApiClient
      Returns:
      the ssl ca cert
      See Also:
      • ApiClient.getSslCaCert()
    • setSslCaCert

      public io.kubernetes.client.openapi.ApiClient setSslCaCert(InputStream sslCaCert)
      Sets the ssl ca cert.
      Overrides:
      setSslCaCert in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      sslCaCert - the ssl ca cert
      Returns:
      the api client
      See Also:
      • ApiClient.setSslCaCert(java.io.InputStream)
    • getKeyManagers

      Gets the key managers.
      Overrides:
      getKeyManagers in class io.kubernetes.client.openapi.ApiClient
      Returns:
      the key managers
      See Also:
      • ApiClient.getKeyManagers()
    • setKeyManagers

      public io.kubernetes.client.openapi.ApiClient setKeyManagers(KeyManager[] managers)
      Sets the key managers.
      Overrides:
      setKeyManagers in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      managers - the managers
      Returns:
      the api client
      See Also:
      • ApiClient.setKeyManagers(javax.net.ssl.KeyManager[])
    • getDateFormat

      Gets the date format.
      Overrides:
      getDateFormat in class io.kubernetes.client.openapi.ApiClient
      Returns:
      the date format
      See Also:
      • ApiClient.getDateFormat()
    • setDateFormat

      public io.kubernetes.client.openapi.ApiClient setDateFormat(DateFormat dateFormat)
      Sets the date format.
      Overrides:
      setDateFormat in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      dateFormat - the date format
      Returns:
      the api client
      See Also:
      • ApiClient.setDateFormat(java.text.DateFormat)
    • setSqlDateFormat

      public io.kubernetes.client.openapi.ApiClient setSqlDateFormat(DateFormat dateFormat)
      Sets the sql date format.
      Overrides:
      setSqlDateFormat in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      dateFormat - the date format
      Returns:
      the api client
      See Also:
      • ApiClient.setSqlDateFormat(java.text.DateFormat)
    • setOffsetDateTimeFormat

      public io.kubernetes.client.openapi.ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat)
      Sets the offset date time format.
      Overrides:
      setOffsetDateTimeFormat in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      dateFormat - the date format
      Returns:
      the api client
      See Also:
      • ApiClient.setOffsetDateTimeFormat(java.time.format.DateTimeFormatter)
    • setLocalDateFormat

      public io.kubernetes.client.openapi.ApiClient setLocalDateFormat(DateTimeFormatter dateFormat)
      Sets the local date format.
      Overrides:
      setLocalDateFormat in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      dateFormat - the date format
      Returns:
      the api client
      See Also:
      • ApiClient.setLocalDateFormat(java.time.format.DateTimeFormatter)
    • setLenientOnJson

      public io.kubernetes.client.openapi.ApiClient setLenientOnJson(boolean lenientOnJson)
      Sets the lenient on json.
      Overrides:
      setLenientOnJson in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      lenientOnJson - the lenient on json
      Returns:
      the api client
      See Also:
      • ApiClient.setLenientOnJson(boolean)
    • getAuthentications

      public Map<String,io.kubernetes.client.openapi.auth.Authentication> getAuthentications()
      Gets the authentications.
      Overrides:
      getAuthentications in class io.kubernetes.client.openapi.ApiClient
      Returns:
      the authentications
      See Also:
      • ApiClient.getAuthentications()
    • getAuthentication

      public io.kubernetes.client.openapi.auth.Authentication getAuthentication(String authName)
      Gets the authentication.
      Overrides:
      getAuthentication in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      authName - the auth name
      Returns:
      the authentication
      See Also:
      • ApiClient.getAuthentication(java.lang.String)
    • setUsername

      public void setUsername(String username)
      Sets the username.
      Overrides:
      setUsername in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      username - the new username
      See Also:
      • ApiClient.setUsername(java.lang.String)
    • setPassword

      public void setPassword(String password)
      Sets the password.
      Overrides:
      setPassword in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      password - the new password
      See Also:
      • ApiClient.setPassword(java.lang.String)
    • setApiKey

      public void setApiKey(String apiKey)
      Sets the api key.
      Overrides:
      setApiKey in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      apiKey - the new api key
      See Also:
      • ApiClient.setApiKey(java.lang.String)
    • setApiKeyPrefix

      public void setApiKeyPrefix(String apiKeyPrefix)
      Sets the api key prefix.
      Overrides:
      setApiKeyPrefix in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      apiKeyPrefix - the new api key prefix
      See Also:
      • ApiClient.setApiKeyPrefix(java.lang.String)
    • setAccessToken

      public void setAccessToken(String accessToken)
      Sets the access token.
      Overrides:
      setAccessToken in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      accessToken - the new access token
      See Also:
      • ApiClient.setAccessToken(java.lang.String)
    • setUserAgent

      public io.kubernetes.client.openapi.ApiClient setUserAgent(String userAgent)
      Sets the user agent.
      Overrides:
      setUserAgent in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      userAgent - the user agent
      Returns:
      the api client
      See Also:
      • ApiClient.setUserAgent(java.lang.String)
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object
      Returns:
      the string
      See Also:
    • addDefaultHeader

      public io.kubernetes.client.openapi.ApiClient addDefaultHeader(String key, String value)
      Adds the default header.
      Overrides:
      addDefaultHeader in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      key - the key
      value - the value
      Returns:
      the api client
      See Also:
      • ApiClient.addDefaultHeader(java.lang.String, java.lang.String)
    • addDefaultCookie

      public io.kubernetes.client.openapi.ApiClient addDefaultCookie(String key, String value)
      Adds the default cookie.
      Overrides:
      addDefaultCookie in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      key - the key
      value - the value
      Returns:
      the api client
      See Also:
      • ApiClient.addDefaultCookie(java.lang.String, java.lang.String)
    • isDebugging

      public boolean isDebugging()
      Checks if is debugging.
      Overrides:
      isDebugging in class io.kubernetes.client.openapi.ApiClient
      Returns:
      true, if is debugging
      See Also:
      • ApiClient.isDebugging()
    • setDebugging

      public io.kubernetes.client.openapi.ApiClient setDebugging(boolean debugging)
      Sets the debugging.
      Overrides:
      setDebugging in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      debugging - the debugging
      Returns:
      the api client
      See Also:
      • ApiClient.setDebugging(boolean)
    • getTempFolderPath

      Gets the temp folder path.
      Overrides:
      getTempFolderPath in class io.kubernetes.client.openapi.ApiClient
      Returns:
      the temp folder path
      See Also:
      • ApiClient.getTempFolderPath()
    • setTempFolderPath

      public io.kubernetes.client.openapi.ApiClient setTempFolderPath(String tempFolderPath)
      Sets the temp folder path.
      Overrides:
      setTempFolderPath in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      tempFolderPath - the temp folder path
      Returns:
      the api client
      See Also:
      • ApiClient.setTempFolderPath(java.lang.String)
    • getConnectTimeout

      public int getConnectTimeout()
      Gets the connect timeout.
      Overrides:
      getConnectTimeout in class io.kubernetes.client.openapi.ApiClient
      Returns:
      the connect timeout
      See Also:
      • ApiClient.getConnectTimeout()
    • setConnectTimeout

      public io.kubernetes.client.openapi.ApiClient setConnectTimeout(int connectionTimeout)
      Sets the connect timeout.
      Overrides:
      setConnectTimeout in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      connectionTimeout - the connection timeout
      Returns:
      the api client
      See Also:
      • ApiClient.setConnectTimeout(int)
    • getReadTimeout

      public int getReadTimeout()
      Gets the read timeout.
      Overrides:
      getReadTimeout in class io.kubernetes.client.openapi.ApiClient
      Returns:
      the read timeout
      See Also:
      • ApiClient.getReadTimeout()
    • setReadTimeout

      public io.kubernetes.client.openapi.ApiClient setReadTimeout(int readTimeout)
      Sets the read timeout.
      Overrides:
      setReadTimeout in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      readTimeout - the read timeout
      Returns:
      the api client
      See Also:
      • ApiClient.setReadTimeout(int)
    • getWriteTimeout

      public int getWriteTimeout()
      Gets the write timeout.
      Overrides:
      getWriteTimeout in class io.kubernetes.client.openapi.ApiClient
      Returns:
      the write timeout
      See Also:
      • ApiClient.getWriteTimeout()
    • setWriteTimeout

      public io.kubernetes.client.openapi.ApiClient setWriteTimeout(int writeTimeout)
      Sets the write timeout.
      Overrides:
      setWriteTimeout in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      writeTimeout - the write timeout
      Returns:
      the api client
      See Also:
      • ApiClient.setWriteTimeout(int)
    • parameterToString

      Parameter to string.
      Overrides:
      parameterToString in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      param - the param
      Returns:
      the string
      See Also:
      • ApiClient.parameterToString(java.lang.Object)
    • parameterToPair

      public List<io.kubernetes.client.openapi.Pair> parameterToPair(String name, Object value)
      Parameter to pair.
      Overrides:
      parameterToPair in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      name - the name
      value - the value
      Returns:
      the list
      See Also:
      • ApiClient.parameterToPair(java.lang.String, java.lang.Object)
    • parameterToPairs

      public List<io.kubernetes.client.openapi.Pair> parameterToPairs(String collectionFormat, String name, Collection value)
      Parameter to pairs.
      Overrides:
      parameterToPairs in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      collectionFormat - the collection format
      name - the name
      value - the value
      Returns:
      the list
      See Also:
      • ApiClient.parameterToPairs(java.lang.String, java.lang.String, java.util.Collection)
    • collectionPathParameterToString

      public String collectionPathParameterToString(String collectionFormat, Collection value)
      Collection path parameter to string.
      Overrides:
      collectionPathParameterToString in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      collectionFormat - the collection format
      value - the value
      Returns:
      the string
      See Also:
      • ApiClient.collectionPathParameterToString(java.lang.String, java.util.Collection)
    • sanitizeFilename

      public String sanitizeFilename(String filename)
      Sanitize filename.
      Overrides:
      sanitizeFilename in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      filename - the filename
      Returns:
      the string
      See Also:
      • ApiClient.sanitizeFilename(java.lang.String)
    • isJsonMime

      public boolean isJsonMime(String mime)
      Checks if is json mime.
      Overrides:
      isJsonMime in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      mime - the mime
      Returns:
      true, if is json mime
      See Also:
      • ApiClient.isJsonMime(java.lang.String)
    • selectHeaderAccept

      public String selectHeaderAccept(String[] accepts)
      Select header accept.
      Overrides:
      selectHeaderAccept in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      accepts - the accepts
      Returns:
      the string
      See Also:
      • ApiClient.selectHeaderAccept(java.lang.String[])
    • selectHeaderContentType

      public String selectHeaderContentType(String[] contentTypes)
      Select header content type.
      Overrides:
      selectHeaderContentType in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      contentTypes - the content types
      Returns:
      the string
      See Also:
      • ApiClient.selectHeaderContentType(java.lang.String[])
    • escapeString

      public String escapeString(String str)
      Escape string.
      Overrides:
      escapeString in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      str - the str
      Returns:
      the string
      See Also:
      • ApiClient.escapeString(java.lang.String)
    • deserialize

      public <T> T deserialize(okhttp3.Response response, Type returnType) throws io.kubernetes.client.openapi.ApiException
      Deserialize.
      Overrides:
      deserialize in class io.kubernetes.client.openapi.ApiClient
      Type Parameters:
      T - the generic type
      Parameters:
      response - the response
      returnType - the return type
      Returns:
      the t
      Throws:
      io.kubernetes.client.openapi.ApiException - the api exception
      See Also:
      • ApiClient.deserialize(okhttp3.Response, java.lang.reflect.Type)
    • serialize

      public okhttp3.RequestBody serialize(Object obj, String contentType) throws io.kubernetes.client.openapi.ApiException
      Serialize.
      Overrides:
      serialize in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      obj - the obj
      contentType - the content type
      Returns:
      the request body
      Throws:
      io.kubernetes.client.openapi.ApiException - the api exception
      See Also:
      • ApiClient.serialize(java.lang.Object, java.lang.String)
    • downloadFileFromResponse

      public File downloadFileFromResponse(okhttp3.Response response) throws io.kubernetes.client.openapi.ApiException
      Download file from response.
      Overrides:
      downloadFileFromResponse in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      response - the response
      Returns:
      the file
      Throws:
      io.kubernetes.client.openapi.ApiException - the api exception
      See Also:
      • ApiClient.downloadFileFromResponse(okhttp3.Response)
    • prepareDownloadFile

      public File prepareDownloadFile(okhttp3.Response response) throws IOException
      Prepare download file.
      Overrides:
      prepareDownloadFile in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      response - the response
      Returns:
      the file
      Throws:
      IOException - Signals that an I/O exception has occurred.
      See Also:
      • ApiClient.prepareDownloadFile(okhttp3.Response)
    • execute

      public <T> io.kubernetes.client.openapi.ApiResponse<T> execute(okhttp3.Call call) throws io.kubernetes.client.openapi.ApiException
      Execute.
      Overrides:
      execute in class io.kubernetes.client.openapi.ApiClient
      Type Parameters:
      T - the generic type
      Parameters:
      call - the call
      Returns:
      the api response
      Throws:
      io.kubernetes.client.openapi.ApiException - the api exception
      See Also:
      • ApiClient.execute(okhttp3.Call)
    • execute

      public <T> io.kubernetes.client.openapi.ApiResponse<T> execute(okhttp3.Call call, Type returnType) throws io.kubernetes.client.openapi.ApiException
      Execute.
      Overrides:
      execute in class io.kubernetes.client.openapi.ApiClient
      Type Parameters:
      T - the generic type
      Parameters:
      call - the call
      returnType - the return type
      Returns:
      the api response
      Throws:
      io.kubernetes.client.openapi.ApiException - the api exception
      See Also:
      • ApiClient.execute(okhttp3.Call, java.lang.reflect.Type)
    • executeAsync

      public <T> void executeAsync(okhttp3.Call call, io.kubernetes.client.openapi.ApiCallback<T> callback)
      Execute async.
      Overrides:
      executeAsync in class io.kubernetes.client.openapi.ApiClient
      Type Parameters:
      T - the generic type
      Parameters:
      call - the call
      callback - the callback
      See Also:
      • ApiClient.executeAsync(okhttp3.Call, io.kubernetes.client.openapi.ApiCallback)
    • executeAsync

      public <T> void executeAsync(okhttp3.Call call, Type returnType, io.kubernetes.client.openapi.ApiCallback<T> callback)
      Execute async.
      Overrides:
      executeAsync in class io.kubernetes.client.openapi.ApiClient
      Type Parameters:
      T - the generic type
      Parameters:
      call - the call
      returnType - the return type
      callback - the callback
      See Also:
      • ApiClient.executeAsync(okhttp3.Call, java.lang.reflect.Type, io.kubernetes.client.openapi.ApiCallback)
    • handleResponse

      public <T> T handleResponse(okhttp3.Response response, Type returnType) throws io.kubernetes.client.openapi.ApiException
      Handle response.
      Overrides:
      handleResponse in class io.kubernetes.client.openapi.ApiClient
      Type Parameters:
      T - the generic type
      Parameters:
      response - the response
      returnType - the return type
      Returns:
      the t
      Throws:
      io.kubernetes.client.openapi.ApiException - the api exception
      See Also:
      • ApiClient.handleResponse(okhttp3.Response, java.lang.reflect.Type)
    • buildCall

      public okhttp3.Call buildCall(String path, String method, List<io.kubernetes.client.openapi.Pair> queryParams, List<io.kubernetes.client.openapi.Pair> collectionQueryParams, Object body, Map<String,String> headerParams, Map<String,String> cookieParams, Map<String,Object> formParams, String[] authNames, io.kubernetes.client.openapi.ApiCallback callback) throws io.kubernetes.client.openapi.ApiException
      Builds the call.
      Overrides:
      buildCall in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      path - the path
      method - the method
      queryParams - the query params
      collectionQueryParams - the collection query params
      body - the body
      headerParams - the header params
      cookieParams - the cookie params
      formParams - the form params
      authNames - the auth names
      callback - the callback
      Returns:
      the call
      Throws:
      io.kubernetes.client.openapi.ApiException - the api exception
      See Also:
      • ApiClient.buildCall(java.lang.String, java.lang.String, java.util.List, java.util.List, java.lang.Object, java.util.Map, java.util.Map, java.util.Map, java.lang.String[], io.kubernetes.client.openapi.ApiCallback)
    • buildRequest

      public okhttp3.Request buildRequest(String path, String method, List<io.kubernetes.client.openapi.Pair> queryParams, List<io.kubernetes.client.openapi.Pair> collectionQueryParams, Object body, Map<String,String> headerParams, Map<String,String> cookieParams, Map<String,Object> formParams, String[] authNames, io.kubernetes.client.openapi.ApiCallback callback) throws io.kubernetes.client.openapi.ApiException
      Builds the request.
      Overrides:
      buildRequest in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      path - the path
      method - the method
      queryParams - the query params
      collectionQueryParams - the collection query params
      body - the body
      headerParams - the header params
      cookieParams - the cookie params
      formParams - the form params
      authNames - the auth names
      callback - the callback
      Returns:
      the request
      Throws:
      io.kubernetes.client.openapi.ApiException - the api exception
      See Also:
      • ApiClient.buildRequest(java.lang.String, java.lang.String, java.util.List, java.util.List, java.lang.Object, java.util.Map, java.util.Map, java.util.Map, java.lang.String[], io.kubernetes.client.openapi.ApiCallback)
    • buildUrl

      public String buildUrl(String path, List<io.kubernetes.client.openapi.Pair> queryParams, List<io.kubernetes.client.openapi.Pair> collectionQueryParams)
      Builds the url.
      Overrides:
      buildUrl in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      path - the path
      queryParams - the query params
      collectionQueryParams - the collection query params
      Returns:
      the string
      See Also:
      • ApiClient.buildUrl(java.lang.String, java.util.List, java.util.List)
    • processHeaderParams

      public void processHeaderParams(Map<String,String> headerParams, okhttp3.Request.Builder reqBuilder)
      Process header params.
      Overrides:
      processHeaderParams in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      headerParams - the header params
      reqBuilder - the req builder
      See Also:
      • ApiClient.processHeaderParams(java.util.Map, okhttp3.Request.Builder)
    • processCookieParams

      public void processCookieParams(Map<String,String> cookieParams, okhttp3.Request.Builder reqBuilder)
      Process cookie params.
      Overrides:
      processCookieParams in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      cookieParams - the cookie params
      reqBuilder - the req builder
      See Also:
      • ApiClient.processCookieParams(java.util.Map, okhttp3.Request.Builder)
    • updateParamsForAuth

      public void updateParamsForAuth(String[] authNames, List<io.kubernetes.client.openapi.Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams)
      Update params for auth.
      Overrides:
      updateParamsForAuth in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      authNames - the auth names
      queryParams - the query params
      headerParams - the header params
      cookieParams - the cookie params
      See Also:
      • ApiClient.updateParamsForAuth(java.lang.String[], java.util.List, java.util.Map, java.util.Map)
    • buildRequestBodyFormEncoding

      public okhttp3.RequestBody buildRequestBodyFormEncoding(Map<String,Object> formParams)
      Builds the request body form encoding.
      Overrides:
      buildRequestBodyFormEncoding in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      formParams - the form params
      Returns:
      the request body
      See Also:
      • ApiClient.buildRequestBodyFormEncoding(java.util.Map)
    • buildRequestBodyMultipart

      public okhttp3.RequestBody buildRequestBodyMultipart(Map<String,Object> formParams)
      Builds the request body multipart.
      Overrides:
      buildRequestBodyMultipart in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      formParams - the form params
      Returns:
      the request body
      See Also:
      • ApiClient.buildRequestBodyMultipart(java.util.Map)
    • guessContentTypeFromFile

      Guess content type from file.
      Overrides:
      guessContentTypeFromFile in class io.kubernetes.client.openapi.ApiClient
      Parameters:
      file - the file
      Returns:
      the string
      See Also:
      • ApiClient.guessContentTypeFromFile(java.io.File)