Kazan v0.2.0 Kazan.Server
Kazan.Server is a struct containing connection details for a kube server.
Summary
Functions
Parses Kube server details from a provided kubeconfig file
Types
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.