Packages

t

dev.hnaderi.k8s.client

Http4sKubernetesClient

trait Http4sKubernetesClient extends AnyRef

Source
Http4sKubernetesClient.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Http4sKubernetesClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final type KClient[F[_]] = HttpClient[F] with StreamingClient[[β$0$]Stream[F, β$0$]]

Abstract Value Members

  1. abstract def buildClient[F[_]](implicit arg0: Async[F]): Resource[F, Client[F]]
    Attributes
    protected
  2. 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

  3. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. 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:

    • KUBECONFIG from env
    • ~/.kube/config
    • pod's service account in /var/run/secrets/kubernetes.io/serviceaccount
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. 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]
  10. 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]]
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. 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

  15. 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

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped