Packages

p

skuber.api

client

package client

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. client
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package exec
  2. package impl

Type Members

  1. sealed trait AccessTokenAuth extends AuthInfo
  2. sealed trait AuthInfo extends AnyRef
  3. sealed trait AuthProviderAuth extends AccessTokenAuth
  4. final case class BasicAuth(userName: String, password: String) extends AuthInfo with Product with Serializable
  5. final case class CertAuth(clientCertificate: PathOrData, clientKey: PathOrData, user: Option[String]) extends AuthInfo with Product with Serializable
  6. case class Cluster(apiVersion: String = "v1", server: String = defaultApiServerURL, insecureSkipTLSVerify: Boolean = false, certificateAuthority: Option[PathOrData] = None) extends Product with Serializable

  7. case class Context(cluster: Cluster = Cluster(), authInfo: AuthInfo = NoAuth, namespace: Namespace = Namespace.default) extends Product with Serializable

  8. final case class GcpAuth extends AuthProviderAuth with Product with Serializable
  9. final case class GcpCachedAccessToken(accessToken: String, expiry: Instant) extends Product with Serializable
  10. final case class GcpCommand(cmd: String, args: String) extends Product with Serializable
  11. final case class GcpConfiguration(cachedAccessToken: Option[GcpCachedAccessToken], cmd: GcpCommand) extends Product with Serializable
  12. class K8SException extends RuntimeException
  13. trait KubernetesClient extends AnyRef

  14. case class LoggingConfig(logConfiguration: Boolean = loggingEnabled("config", true), logRequestBasic: Boolean = loggingEnabled("request", true), logRequestBasicMetadata: Boolean = loggingEnabled("request.metadata", false), logRequestFullObjectResource: Boolean = loggingEnabled("request.object.full", false), logResponseBasic: Boolean = loggingEnabled("response", true), logResponseBasicMetadata: Boolean = loggingEnabled("response.metadata", false), logResponseFullObjectResource: Boolean = loggingEnabled("response.object.full", false), logResponseListSize: Boolean = loggingEnabled("response.list.size", false), logResponseListNames: Boolean = loggingEnabled("response.list.names", false), logResponseFullListResource: Boolean = loggingEnabled("response.list.full", false)) extends Product with Serializable
  15. trait LoggingContext extends AnyRef
  16. final case class OidcAuth(idToken: String) extends AuthProviderAuth with Product with Serializable
  17. type PathOrData = Either[String, Array[Byte]]
  18. type Pool[T] = Flow[(HttpRequest, T), (Try[HttpResponse], T), NotUsed]
  19. type RequestContext = KubernetesClient
  20. case class RequestLoggingContext(requestId: String) extends LoggingContext with Product with Serializable
  21. case class Status(apiVersion: String = "v1", kind: String = "Status", metadata: ListMeta = ListMeta(), status: Option[String] = None, message: Option[String] = None, reason: Option[String] = None, details: Option[Any] = None, code: Option[Int] = None) extends Product with Serializable

  22. final case class TokenAuth(token: String) extends AccessTokenAuth with Product with Serializable
  23. case class WatchEvent[T <: ObjectResource](_type: EventType.Value, _object: T) extends Product with Serializable

Value Members

  1. final val application/merge-patch+json: WithFixedCharset
  2. final val defaultApiServerURL: String("http://localhost:8080")
  3. def defaultK8sConfig: Configuration
  4. def init(k8sContext: Context, logConfig: LoggingConfig, closeHook: Option[() => Unit], appConfig: Config)(implicit actorSystem: ActorSystem): KubernetesClient
  5. def init(k8sContext: Context, logConfig: LoggingConfig, closeHook: Option[() => Unit] = None)(implicit actorSystem: ActorSystem): KubernetesClient
  6. def init(config: Configuration, appConfig: Config)(implicit actorSystem: ActorSystem): KubernetesClient
  7. def init(appConfig: Config)(implicit actorSystem: ActorSystem): KubernetesClient
  8. def init(config: Configuration)(implicit actorSystem: ActorSystem): KubernetesClient
  9. def init()(implicit actorSystem: ActorSystem): KubernetesClient
  10. final val sysProps: SystemProperties
  11. object EventType extends Enumeration
  12. object GcpAuth extends Serializable
  13. object LoggingConfig extends Serializable
  14. object LoggingContext
  15. object NoAuth extends AuthInfo
  16. object RequestLoggingContext extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped