public class Config extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FALLBACK_HOST |
static String |
ENV_KUBECONFIG |
static String |
ENV_SERVICE_HOST |
static String |
ENV_SERVICE_PORT |
static String |
SERVICEACCOUNT_CA_PATH |
static String |
SERVICEACCOUNT_ROOT |
static String |
SERVICEACCOUNT_TOKEN_PATH |
Constructor and Description |
---|
Config() |
Modifier and Type | Method and Description |
---|---|
static io.kubernetes.client.openapi.ApiClient |
defaultClient()
Easy client creation, follows this plan
If $KUBECONFIG is defined, use that config file.
|
static io.kubernetes.client.openapi.ApiClient |
fromCluster() |
static io.kubernetes.client.openapi.ApiClient |
fromConfig(InputStream stream) |
static io.kubernetes.client.openapi.ApiClient |
fromConfig(KubeConfig config) |
static io.kubernetes.client.openapi.ApiClient |
fromConfig(Reader input) |
static io.kubernetes.client.openapi.ApiClient |
fromConfig(String fileName) |
static io.kubernetes.client.openapi.ApiClient |
fromToken(String url,
String token) |
static io.kubernetes.client.openapi.ApiClient |
fromToken(String url,
String token,
boolean validateSSL) |
static io.kubernetes.client.openapi.ApiClient |
fromUrl(String url) |
static io.kubernetes.client.openapi.ApiClient |
fromUrl(String url,
boolean validateSSL) |
static io.kubernetes.client.openapi.ApiClient |
fromUserPassword(String url,
String user,
String password) |
static io.kubernetes.client.openapi.ApiClient |
fromUserPassword(String url,
String user,
String password,
boolean validateSSL) |
public static final String SERVICEACCOUNT_ROOT
public static final String SERVICEACCOUNT_CA_PATH
public static final String SERVICEACCOUNT_TOKEN_PATH
public static final String ENV_KUBECONFIG
public static final String ENV_SERVICE_HOST
public static final String ENV_SERVICE_PORT
public static final String DEFAULT_FALLBACK_HOST
public static io.kubernetes.client.openapi.ApiClient fromCluster() throws IOException
IOException
public static io.kubernetes.client.openapi.ApiClient fromUrl(String url)
public static io.kubernetes.client.openapi.ApiClient fromUrl(String url, boolean validateSSL)
public static io.kubernetes.client.openapi.ApiClient fromUserPassword(String url, String user, String password)
public static io.kubernetes.client.openapi.ApiClient fromUserPassword(String url, String user, String password, boolean validateSSL)
public static io.kubernetes.client.openapi.ApiClient fromToken(String url, String token, boolean validateSSL)
public static io.kubernetes.client.openapi.ApiClient fromConfig(String fileName) throws IOException
IOException
public static io.kubernetes.client.openapi.ApiClient fromConfig(InputStream stream) throws IOException
IOException
public static io.kubernetes.client.openapi.ApiClient fromConfig(Reader input) throws IOException
IOException
public static io.kubernetes.client.openapi.ApiClient fromConfig(KubeConfig config) throws IOException
IOException
public static io.kubernetes.client.openapi.ApiClient defaultClient() throws IOException
IOException
Copyright © 2020. All rights reserved.