Kazan v0.7.0 Kazan.Server View Source
Kazan.Server is a struct containing connection details for a kube server.
Link to this section Summary
Functions
Parses Kube server details from a provided kubeconfig file
Server that will connect to the cluster that kazan is running on
Link to this section Types
Link to this type
auth_t()
View Source
auth_t() :: nil | Kazan.Server.CertificateAuth.t() | Kazan.Server.TokenAuth.t()
Link to this section Functions
Parses Kube server details from a provided kubeconfig file.
Will use the current-context provided in the file by default, though this and other details can be overridden via options
Note: any default namespaces provided in the kubecontext will be ignored.
Options
context
can be used to override the default context we pull from the file.user
can be used to override the default user we pull from the file.cluster
can be used to override the default cluster we pull from the file.
Server that will connect to the cluster that kazan is running on.
This will speak to the server via the kubernetes
domain name, using the service account credentials that are stored on the filesystem.