Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
Name string `json:"name"`
}
Context describes a kube config context.
type FSLoader ¶
type FSLoader struct { }
FSLoader loads kube configs from the file system.
func NewFSLoader ¶
func NewFSLoader(options ...FSLoaderOpt) *FSLoader
NewFSLoader creates an instance of FSLoader.
type FSLoaderOpt ¶
type FSLoaderOpt func(loader *FSLoader)
FSLoaderOpt is an option for configuring FSLoader.
type KubeConfig ¶
KubeConfig describes a kube config for dash.
type Loader ¶
type Loader interface {
Load(filename string) (*KubeConfig, error)
}
Loader is an interface for loading kube config.
Click to show internal directories.
Click to hide internal directories.