[][src]Module kube::config

In cluster or out of cluster kubeconfig to be used by an api client

Structs

ConfigOptions

ConfigOptions stores options used when loading kubeconfig file.

Configuration

Configuration stores kubernetes path and client for requests.

Functions

incluster_config

Returns a config which is used by clients within pods on kubernetes. It will return an error if called from out of kubernetes cluster.

load_kube_config

Returns a config includes authentication and cluster infomation from kubeconfig file.

load_kube_config_with

Returns a config includes authentication and cluster information from kubeconfig file.