o

dev.hnaderi.k8s.client

SttpJdkURLClientBuilder

object SttpJdkURLClientBuilder extends SttpJVM[Identity]

Source
SttpJdkURLClientBuilder.scala
Linear Supertypes
SttpJVM[Identity], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SttpJdkURLClientBuilder
  2. SttpJVM
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 buildWithSSLContext: (SSLContext) ⇒ SttpBackend[Identity, Any]
    Attributes
    protected
    Definition Classes
    SttpJdkURLClientBuilder → SttpJVM
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def defaultConfig[T](implicit arg0: Builder[T], arg1: Reader[T], arg2: BodySerializer[T]): HttpClient[[β$6$]Identity[Response[β$6$]]]

    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
    Definition Classes
    SttpJVM
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def from[T](server: String, ca: Option[File] = None, clientCert: Option[File] = None, clientKey: Option[File] = None, clientKeyPassword: Option[String] = None, authentication: AuthenticationParams = AuthenticationParams.empty)(implicit arg0: Builder[T], arg1: Reader[T], arg2: BodySerializer[T]): HttpClient[[β$2$]Identity[Response[β$2$]]]

    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

    Definition Classes
    SttpJVM
  11. def fromConfig[T](config: Config, context: Option[String] = None, cluster: Option[String] = None)(implicit arg0: Builder[T], arg1: Reader[T], arg2: BodySerializer[T]): HttpClient[[β$0$]Identity[Response[β$0$]]]

    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

    cluster

    If provided, overrides the config's current cluster

    Definition Classes
    SttpJVM
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def kubeconfig[T](context: Option[String] = None, cluster: Option[String] = None)(implicit arg0: Builder[T], arg1: Reader[T], arg2: BodySerializer[T]): HttpClient[[β$7$]Identity[Response[β$7$]]]

    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
    context

    If provided, overrides the config's current context

    cluster

    If provided, overrides the config's current cluster

    Definition Classes
    SttpJVM
  16. def load[T](config: Path, context: Option[String] = None, cluster: Option[String] = None)(implicit arg0: Builder[T], arg1: Reader[T], arg2: BodySerializer[T]): HttpClient[[β$4$]Identity[Response[β$4$]]]

    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

    cluster

    If provided, overrides the config's current cluster

    Definition Classes
    SttpJVM
  17. def loadFile[T](config: String, context: Option[String] = None, cluster: Option[String] = None)(implicit arg0: Builder[T], arg1: Reader[T], arg2: BodySerializer[T]): HttpClient[[β$5$]Identity[Response[β$5$]]]

    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

    cluster

    If provided, overrides the config's current cluster

    Definition Classes
    SttpJVM
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def podConfig[T](implicit arg0: Builder[T], arg1: Reader[T], arg2: BodySerializer[T]): HttpClient[[β$2$]Identity[Response[β$2$]]]

    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

    Definition Classes
    SttpJVM
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. 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 SttpJVM[Identity]

Inherited from AnyRef

Inherited from Any

Ungrouped