Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Konfig ¶
type Konfig struct {
// contains filtered or unexported fields
}
Konfig Wrapper object for picking specific contexts from a kube config
func NewKonfig ¶
NewKonfig Generate a Konfig object from a kubeconfig file that is already in a byte-array
func NewKonfigFromFile ¶
NewKonfigFromFile Generate a Konfig object by loading a kubeconfig file
func (*Konfig) ListContexts ¶
ListContexts List the contexts associated with Konfig A sanity function for displaying what contexts are loaded with Konfig
func (*Konfig) SelectContexts ¶
SelectContexts Pick contexts by name and return an object containing the subset. If a context does not exist in the Konfig, there will be _no_ error returned and the context will be omitted from the returned result
Click to show internal directories.
Click to hide internal directories.