Packages

object KubeConfig extends Serializable

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

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(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. 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.
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. 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.

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

  11. 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).

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. 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).

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

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. 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]]
  21. 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
  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(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

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

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

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped