Class InClusterApiClient

java.lang.Object
io.kubernetes.client.openapi.ApiClient

public class InClusterApiClient extends LoggingApiClient
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.predic8.kubernetesclient.client.NamespacedApiClient

    NamespacedApiClient.ByteArrayBase64StringTypeAdapter
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static File
     
    void
     

    Methods inherited from class de.predic8.kubernetesclient.client.LoggingApiClient

    gkm, setupTLS

    Methods inherited from class io.kubernetes.client.openapi.ApiClient

    addDefaultCookie, addDefaultHeader, buildCall, buildRequest, buildRequestBodyFormEncoding, buildRequestBodyMultipart, buildUrl, collectionPathParameterToString, deserialize, downloadFileFromResponse, escapeString, execute, execute, executeAsync, executeAsync, getAuthentication, getAuthentications, getBasePath, getConnectTimeout, getDateFormat, getHttpClient, getJSON, getKeyManagers, getReadTimeout, getSslCaCert, getTempFolderPath, getWriteTimeout, guessContentTypeFromFile, handleResponse, isDebugging, isJsonMime, isVerifyingSsl, parameterToPair, parameterToPairs, parameterToString, prepareDownloadFile, processCookieParams, processHeaderParams, sanitizeFilename, selectHeaderAccept, selectHeaderContentType, serialize, setAccessToken, setApiKey, setApiKeyPrefix, setBasePath, setConnectTimeout, setDateFormat, setDebugging, setHttpClient, setJSON, setKeyManagers, setLenientOnJson, setLocalDateFormat, setOffsetDateTimeFormat, setPassword, setReadTimeout, setSqlDateFormat, setSslCaCert, setTempFolderPath, setUserAgent, setUsername, setVerifyingSsl, setWriteTimeout, updateParamsForAuth

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InClusterApiClient

      public InClusterApiClient()
  • Method Details

    • getTokenFile

      public static File getTokenFile()
    • init

      @PostConstruct public void init()
      Overrides:
      init in class LoggingApiClient
    • getMyNamespace

      public String getMyNamespace()
      Specified by:
      getMyNamespace in class NamespacedApiClient
      Returns:
      "default" (overrideable using the "kubernetes.client.namespace" Spring property) if running outside of the cluster, the pod's own namespace, if running on the inside.