EmberKubernetesClient

dev.hnaderi.k8s.client.http4s.EmberKubernetesClient
See theEmberKubernetesClient companion object
final class EmberKubernetesClient[F[_]]

Attributes

Companion
object
Source
EmberKubernetesClient.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

override protected def buildWithSSLContext: SSLContext => Resource[F, Client[F]]

Attributes

Definition Classes
PlatformCompanion -> JVMPlatform
Inherited from:
PlatformCompanion (hidden)
Source
PlatformCompanion.scala
final def defaultConfig[T](implicit enc: EntityEncoder[F, T], dec: EntityDecoder[F, T], builder: Builder[T], reader: Reader[T]): Resource[F, KClient[F]]

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
final def fromClient[T](baseUrl: String, client: Client[F])(implicit enc: EntityEncoder[F, T], dec: EntityDecoder[F, T], builder: Builder[T], reader: Reader[T]): KClient[F]
final override def fromConfig[T](config: Config, context: Option[String], cluster: Option[String])(implicit enc: EntityEncoder[F, T], dec: EntityDecoder[F, T], builder: Builder[T], reader: Reader[T]): Resource[F, KClient[F]]

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
Inherited from:
JVMPlatform (hidden)
Source
JVMPlatform.scala
final def fromUrl[T](baseUrl: String)(implicit enc: EntityEncoder[F, T], dec: EntityDecoder[F, T], builder: Builder[T], reader: Reader[T]): Resource[F, KClient[F]]

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
final def podConfig[T](implicit enc: EntityEncoder[F, T], dec: EntityDecoder[F, T], builder: Builder[T], reader: Reader[T]): Resource[F, KClient[F]]

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:
Http4sKubernetesClient (hidden)
Source
Http4sKubernetesClient.scala