NettyKubernetesClient

dev.hnaderi.k8s.client.http4s.NettyKubernetesClient$

Attributes

Source:
NettyKubernetesClient.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited types

final type KClient[F[_]] = HttpClient[F] & StreamingClient[[_] =>> Stream[F, _$2]]

Value members

Inherited methods

final def defaultConfig[F[_], T](implicit F: Async[F], 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. It tries:

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

Build kubernetes client using the certificate files.

Build kubernetes client using the certificate files.

Attributes

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

Definition Classes
Inherited from:
JVMPlatform (hidden)
Source:
JVMPlatform.scala
final def fromClient[F[_], T](baseUrl: String, client: Client[F])(implicit F: Concurrent[F], enc: EntityEncoder[F, T], dec: EntityDecoder[F, T], builder: Builder[T], reader: Reader[T]): KClient[F]
final override def fromConfig[F[_], T](config: Config, context: Option[String])(implicit F: Async[F], enc: EntityEncoder[F, T], dec: EntityDecoder[F, T], builder: Builder[T], reader: Reader[T]): Resource[F, KClient[F]]
final def fromUrl[F[_], T](baseUrl: String)(implicit F: Async[F], enc: EntityEncoder[F, T], dec: EntityDecoder[F, T], builder: Builder[T], reader: Reader[T]): Resource[F, KClient[F]]
final def load[F[_], T](config: Path, context: Option[String])(implicit F: Async[F], 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

Build kubernetes client from kubectl config file

Attributes

config

Path to kubeconfig file

context

If provided, overrides the config's current context

Inherited from:
Http4sKubernetesClient
Source:
Http4sKubernetesClient.scala
final def loadFile[F[_], T](configFile: String, context: Option[String])(implicit F: Async[F], 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

Build kubernetes client from kubectl config file

Attributes

config

Path to kubeconfig file

context

If provided, overrides the config's current context

Inherited from:
Http4sKubernetesClient
Source:
Http4sKubernetesClient.scala