Attributes
- Companion
- object
- Source
- EmberKubernetesClient.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Inherited methods
Attributes
- Definition Classes
-
PlatformCompanion -> JVMPlatform
- Inherited from:
- PlatformCompanion (hidden)
- Source
- PlatformCompanion.scala
Build kubernetes client kubectl config file found from default locations.
Build kubernetes client kubectl config file found from default locations. It tries:
KUBECONFIG
from env~/.kube/config
pod's service account in /var/run/secrets/kubernetes.io/serviceaccount
Attributes
- Inherited from:
- Http4sKubernetesClient (hidden)
- Source
- Http4sKubernetesClient.scala
Build kubernetes client using the certificate files.
Build kubernetes client using the certificate files.
Value parameters
- authentication
-
Authentication parameters
- ca
-
certificate authority file
- clientCert
-
client certificate file
- clientKey
-
client key file
- clientKeyPassword
-
password for client key if any
- server
-
Server address
Attributes
- Definition Classes
- Inherited from:
- JVMPlatform (hidden)
- Source
- JVMPlatform.scala
Attributes
- Inherited from:
- Http4sKubernetesClient (hidden)
- Source
- Http4sKubernetesClient.scala
Build kubernetes client from Config data structure
Build kubernetes client from Config data structure
Value parameters
- config
-
Config to use
- context
-
If provided, overrides the config's current context
Attributes
- Definition Classes
-
valsslContext:F[SSLContext]=F.blocking[SSLContext](SSLContexts.from(`cluster₃`,auth)) Resource.eval[F,SSLContext](sslContext).flatMap[Client[F]](JVMPlatform.this.buildWithSSLContext).map[Http4sBackend[F,T]](((_$5:Client[F])=>Http4sBackend.fromClient[F,T](_$5)(F,enc,dec,builder,reader))).map[HttpClient[F]&StreamingClient[[_$2>:Nothing<:Any]=>Stream[F,_$2]]](((_$6:Http4sBackend[F,T])=>HttpClient.streaming[F,[_$2>:Nothing<:Any]=>Stream[F,_$2]](server,_$6,AuthenticationParams.from(auth)))) } }">JVMPlatform -> Http4sKubernetesClient
- Inherited from:
- valsslContext:F[SSLContext]=F.blocking[SSLContext](SSLContexts.from(`cluster₃`,auth)) Resource.eval[F,SSLContext](sslContext).flatMap[Client[F]](JVMPlatform.this.buildWithSSLContext).map[Http4sBackend[F,T]](((_$5:Client[F])=>Http4sBackend.fromClient[F,T](_$5)(F,enc,dec,builder,reader))).map[HttpClient[F]&StreamingClient[[_$2>:Nothing<:Any]=>Stream[F,_$2]]](((_$6:Http4sBackend[F,T])=>HttpClient.streaming[F,[_$2>:Nothing<:Any]=>Stream[F,_$2]](server,_$6,AuthenticationParams.from(auth)))) } }">JVMPlatform (hidden)
- Source
- JVMPlatform.scala
Attributes
- Inherited from:
- Http4sKubernetesClient (hidden)
- Source
- Http4sKubernetesClient.scala
Build kubernetes client from kubectl config file found from default locations.
Build kubernetes client from kubectl config file found from default locations. It tries:
KUBECONFIG
from env~/.kube/config
Value parameters
- cluster
-
If provided, overrides the config's current cluster
- context
-
If provided, overrides the config's current context
Attributes
- Inherited from:
- Http4sKubernetesClient (hidden)
- Source
- Http4sKubernetesClient.scala
Build kubernetes client from kubectl config file
Build kubernetes client from kubectl config file
Value parameters
- cluster
-
If provided, overrides the config's current cluster
- config
-
Path to kubeconfig file
- context
-
If provided, overrides the config's current context
Attributes
- Inherited from:
- Http4sKubernetesClient (hidden)
- Source
- Http4sKubernetesClient.scala
Build kubernetes client from kubectl config file
Build kubernetes client from kubectl config file
Value parameters
- cluster
-
If provided, overrides the config's current cluster
- config
-
Path to kubeconfig file
- context
-
If provided, overrides the config's current context
Attributes
- Inherited from:
- Http4sKubernetesClient (hidden)
- Source
- Http4sKubernetesClient.scala
Build kubernetes client from service account credentials inside pod from /var/run/secrets/kubernetes.io/serviceaccount
Build kubernetes client from service account credentials inside pod from /var/run/secrets/kubernetes.io/serviceaccount
Attributes
- Inherited from:
- :Nothing<:Any]=>F[x],AuthenticationParams]=Resource.eval[[x>:Nothing<:Any]=>F[x],String](Files.readUtf8(token).compile[[x>:Nothing<:Any]=>F[x],[x>:Nothing<:Any]=>F[x],String](target[[x>:Nothing<:Any]=>F[x]](forConcurrent[[x>:Nothing<:Any]=>F[x]](F))).string(refl[String])).map[AuthenticationParams](((_$3:String)=>AuthenticationParams.bearer(_$3))) tokenAuth.flatMap[KClient[F]](((auth:AuthenticationParams)=>{ valca$1:Option[Path]=catsSyntaxOptionId[Path](caCert).some valclientCert$1:Option[Path]=Http4sKubernetesClient.this.from$default$3[T] valclientKey$1:Option[Path]=Http4sKubernetesClient.this.from$default$4[T] valclientKeyPassword$1:Option[String]=Http4sKubernetesClient.this.from$default$5[T] Http4sKubernetesClient.this.from[T](server=apiserver,ca=ca$1,clientCert$1,clientKey$1,clientKeyPassword$1,authentication=auth)(enc,dec,builder,reader) })) }">Http4sKubernetesClient (hidden)
- Source
- Http4sKubernetesClient.scala