trait Http4sKubernetesClient extends AnyRef
- Alphabetic
- By Inheritance
- Http4sKubernetesClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final type KClient[F[_]] = HttpClient[F] with StreamingClient[[β$0$]Stream[F, β$0$]]
Abstract Value Members
- abstract def buildClient[F[_]](implicit arg0: Async[F]): Resource[F, Client[F]]
- Attributes
- protected
- abstract def from[F[_], T](server: String, ca: Option[Path] = None, clientCert: Option[Path] = None, clientKey: Option[Path] = None, clientKeyPassword: Option[String] = None, authentication: AuthenticationParams = AuthenticationParams.empty)(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 using the certificate files.
Build kubernetes client using the certificate files.
- server
Server address
- ca
certificate authority file
- clientCert
client certificate file
- clientKey
client key file
- clientKeyPassword
password for client key if any
- authentication
Authentication parameters
- abstract def fromConfig[F[_], T](config: Config, context: Option[String] = None)(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 Config data structure
Build kubernetes client from Config data structure
- config
Config to use
- context
If provided, overrides the config's current context
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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.
Build kubernetes client kubectl config file found from default locations. It tries:
KUBECONFIGfrom env- ~/.kube/config
- pod's service account in /var/run/secrets/kubernetes.io/serviceaccount
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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 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 getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def load[F[_], T](config: Path, context: Option[String] = None)(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
- config
Path to kubeconfig file
- context
If provided, overrides the config's current context
- final def loadFile[F[_], T](configFile: String, context: Option[String] = None)(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
- context
If provided, overrides the config's current context
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])