object KubeConfig extends Serializable
- Alphabetic
- By Inheritance
- KubeConfig
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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()
- def cluster[F[_]](implicit arg0: Logger[F], F: Async[F]): F[KubeConfig[F]]
Uses the cluster configuration, if found.
Uses the cluster configuration, if found.
Cluster configuration is defined by:
- /var/run/secrets/kubernetes.io/serviceaccount/ca.crt certificate file,
- /var/run/secrets/kubernetes.io/serviceaccount/token token file,
- KUBERNETES_SERVICE_HOST env variable (https protocol is assumed),
- KUBERNETES_SERVICE_PORT env variable.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromEnv[F[_]](implicit arg0: Logger[F], F: Async[F]): F[KubeConfig[F]]
Use the file specified in KUBECONFIG env variable, if exists.
Use the file specified in KUBECONFIG env variable, if exists. Uses the 'current-context' specified in the file.
- def fromFile[F[_]](kubeconfig: Path, contextName: String)(implicit arg0: Async[F], arg1: Logger[F]): F[KubeConfig[F]]
Read the configuration from the specified file.
Read the configuration from the specified file. Uses the 'current-context' specified in the file.
- def fromFile[F[_]](kubeconfig: Path)(implicit arg0: Async[F], arg1: Logger[F]): F[KubeConfig[F]]
Read the configuration from the specified file.
Read the configuration from the specified file. Uses the provided contextName (will fail if the context does not exist).
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def inHomeDir[F[_]](contextName: String)(implicit arg0: Logger[F], F: Async[F]): F[KubeConfig[F]]
Uses the configuration from ~/.kube/config, if exists.
Uses the configuration from ~/.kube/config, if exists. Uses the provided contextName (will fail if the context does not exist).
- def inHomeDir[F[_]](implicit arg0: Logger[F], F: Async[F]): F[KubeConfig[F]]
Uses the configuration from ~/.kube/config, if exists.
Uses the configuration from ~/.kube/config, if exists. Uses the 'current-context' specified in the file.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- def of[F[_]](server: Uri, authorization: Option[F[Authorization]] = None, caCertData: Option[String] = None, caCertFile: Option[Path] = None, clientCertData: Option[String] = None, clientCertFile: Option[Path] = None, clientKeyData: Option[String] = None, clientKeyFile: Option[Path] = None, clientKeyPass: Option[String] = None, authInfoExec: Option[AuthInfoExec] = None)(implicit arg0: ApplicativeThrow[F]): F[KubeConfig[F]]
- def standard[F[_]](implicit arg0: Logger[F], F: Async[F]): F[KubeConfig[F]]
Will try to find a k8s configuration in the following order:
Will try to find a k8s configuration in the following order:
- if KUBECONFIG env variable is set, and the file exists - use it; uses the 'current-context' specified in the file
- if ~/.kube/config file exists - use it; uses the 'current-context' specified in the file
- if cluster configuration is found - use it
Cluster configuration is defined by:
- /var/run/secrets/kubernetes.io/serviceaccount/ca.crt certificate file
- /var/run/secrets/kubernetes.io/serviceaccount/token token file
- KUBERNETES_SERVICE_HOST env variable (https protocol is assumed)
- KUBERNETES_SERVICE_PORT env variable
- 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])
Deprecated Value Members
- def apply[F[_]](kubeconfig: Path, contextName: String)(implicit arg0: Async[F], arg1: Logger[F]): F[KubeConfig[F]]
- Annotations
- @deprecated
- Deprecated
(Since version 0.4.1) Use fromFile instead
- def apply[F[_]](kubeconfig: Path)(implicit arg0: Async[F], arg1: Logger[F]): F[KubeConfig[F]]
- Annotations
- @deprecated
- Deprecated
(Since version 0.4.1) Use fromFile instead
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated