| Modifier and Type | Method and Description |
|---|---|
static Config |
Config.autoConfigure(String context)
Does auto detection with some opinionated defaults.
|
Config |
ConfigBuilder.build() |
static Config |
Config.empty()
Create an empty
Config class without any automatic configuration
(i.e. |
static Config |
Config.fromKubeconfig(String kubeconfigContents) |
static Config |
Config.fromKubeconfig(String context,
String kubeconfigContents,
String kubeconfigPath) |
Config |
Client.getConfiguration() |
Config |
Config.refresh() |
| Modifier and Type | Method and Description |
|---|---|
static void |
Config.configFromSysPropsOrEnvVars(Config config) |
static void |
Config.setRequestConfig(Config config,
RequestConfig requestConfig) |
KubernetesClientBuilder |
KubernetesClientBuilder.withConfig(Config config) |
| Constructor and Description |
|---|
ConfigBuilder(Config instance) |
ConfigBuilder(Config instance,
Boolean validationEnabled) |
ConfigBuilder(ConfigFluent<?> fluent,
Config instance) |
ConfigBuilder(ConfigFluent<?> fluent,
Config instance,
Boolean validationEnabled) |
ConfigFluentImpl(Config instance) |
DefaultKubernetesClient(Config config)
Deprecated.
|
DefaultKubernetesClient(HttpClient httpClient,
Config config)
Deprecated.
|
DefaultKubernetesClient(HttpClient httpClient,
Config config,
KubernetesClientBuilder.ExecutorSupplier executorSupplier)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Config |
ClientAdapter.getConfiguration() |
| Constructor and Description |
|---|
ExtensionRootClientAdapter(Config configuration) |
| Modifier and Type | Field and Description |
|---|---|
protected Config |
StandardHttpClientBuilder.requestConfig |
| Modifier and Type | Method and Description |
|---|---|
default HttpClient.Builder |
HttpClient.Factory.newBuilder(Config config)
Create a builder that is customized by the
Config. |
T |
StandardHttpClientBuilder.requestConfig(Config requestConfig) |
HttpClient.DerivedClientBuilder |
HttpClient.DerivedClientBuilder.requestConfig(Config config)
|
static UnaryOperator<Interceptor> |
Interceptor.useConfig(Config config) |
default Interceptor |
Interceptor.withConfig(Config config)
Interceptors that rely upon the Config, in particular the RequestConfig, must implement
this method to receive the modified configuration |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SSLUtils.isHttpsAvailable(Config config) |
static KeyManager[] |
SSLUtils.keyManagers(Config config) |
static SSLContext |
SSLUtils.sslContext(Config config) |
static TrustManager[] |
SSLUtils.trustManagers(Config config) |
| Modifier and Type | Method and Description |
|---|---|
static void |
HttpClientUtils.applyCommonConfiguration(Config config,
HttpClient.Builder builder,
HttpClient.Factory factory) |
static Map<String,Interceptor> |
HttpClientUtils.createApplicableInterceptors(Config config,
HttpClient.Factory factory) |
static HttpClient |
HttpClientUtils.createHttpClient(Config config)
Deprecated.
you should not need to call this method directly. Please create your own HttpClient.Factory
should you need to customize your clients.
|
static URL |
HttpClientUtils.getProxyUrl(Config config) |
Interceptor |
ImpersonatorInterceptor.withConfig(Config config) |
Interceptor |
TokenRefreshInterceptor.withConfig(Config config) |
| Constructor and Description |
|---|
ImpersonatorInterceptor(Config config) |
TokenRefreshInterceptor(Config config,
HttpClient.Factory factory,
Instant latestRefreshTimestamp) |
Copyright © 2015–2022 Red Hat. All rights reserved.