Class KubernetesClientSslBuilder
java.lang.Object
io.micronaut.http.ssl.SslBuilder<io.netty.handler.ssl.SslContext>
io.micronaut.http.client.netty.ssl.NettyClientSslBuilder
io.micronaut.kubernetes.client.openapi.ssl.KubernetesClientSslBuilder
- All Implemented Interfaces:
io.micronaut.http.client.netty.ssl.ClientSslBuilder
@Internal
public final class KubernetesClientSslBuilder
extends io.micronaut.http.client.netty.ssl.NettyClientSslBuilder
The ssl builder which uses data from a kube config file to create a key store and trust store.
-
Constructor Summary
ConstructorDescriptionKubernetesClientSslBuilder
(io.micronaut.core.io.ResourceResolver resourceResolver, KubeConfig kubeConfig, KubernetesPrivateKeyLoader kubernetesPrivateKeyLoader, KubernetesClientConfiguration kubernetesClientConfiguration) -
Method Summary
Modifier and TypeMethodDescriptiongetKeyStore
(io.micronaut.http.ssl.SslConfiguration ssl) getTrustStore
(io.micronaut.http.ssl.SslConfiguration ssl) Methods inherited from class io.micronaut.http.client.netty.ssl.NettyClientSslBuilder
build, build, build, buildHttp3, getKeyManagerFactory, getTrustManagerFactory
Methods inherited from class io.micronaut.http.ssl.SslBuilder
getTrustManagerFactory, load
-
Constructor Details
-
KubernetesClientSslBuilder
public KubernetesClientSslBuilder(io.micronaut.core.io.ResourceResolver resourceResolver, KubeConfig kubeConfig, KubernetesPrivateKeyLoader kubernetesPrivateKeyLoader, KubernetesClientConfiguration kubernetesClientConfiguration)
-
-
Method Details
-
getKeyStore
protected Optional<KeyStore> getKeyStore(io.micronaut.http.ssl.SslConfiguration ssl) throws Exception - Overrides:
getKeyStore
in classio.micronaut.http.ssl.SslBuilder<io.netty.handler.ssl.SslContext>
- Throws:
Exception
-
getTrustStore
protected Optional<KeyStore> getTrustStore(io.micronaut.http.ssl.SslConfiguration ssl) throws Exception - Overrides:
getTrustStore
in classio.micronaut.http.ssl.SslBuilder<io.netty.handler.ssl.SslContext>
- Throws:
Exception
-