SttpJdkURLClientBuilder

dev.hnaderi.k8s.client.SttpJdkURLClientBuilder$

Attributes

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

Members list

Concise view

Value members

Inherited methods

def defaultConfig[T : BodySerializer]: HttpClient[[_] =>> SttpF[F, _$11]]

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:
SttpJVM (hidden)
Source:
SttpJVM.scala
def from[T : BodySerializer](server: String, ca: Option[File], clientCert: Option[File], clientKey: Option[File], clientKeyPassword: Option[String], authentication: AuthenticationParams): HttpClient[[_] =>> SttpF[F, _$7]]

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

Inherited from:
SttpJVM (hidden)
Source:
SttpJVM.scala
def fromConfig[T : BodySerializer](config: Config, context: Option[String]): HttpClient[[_] =>> SttpF[F, _$2]]

Build kubernetes client from Config data structure

Build kubernetes client from Config data structure

Attributes

config

Config to use

context

If provided, overrides the config's current context

Inherited from:
SttpJVM (hidden)
Source:
SttpJVM.scala
def load[T : BodySerializer](config: Path, context: Option[String]): HttpClient[[_] =>> SttpF[F, _$9]]

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:
SttpJVM (hidden)
Source:
SttpJVM.scala
def loadFile[T : BodySerializer](config: String, context: Option[String]): HttpClient[[_] =>> SttpF[F, _$10]]

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