package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Sep 1, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Clusters struct {
Name string `yaml:"name"`
Cluster struct {
Server string `yaml:"server"`
CAData string `yaml:"certificate-authority-data"`
} `yaml:"cluster"`
}
type Context struct {
Context struct {
Cluster string `yaml:"cluster"`
User string `yaml:"user"`
} `yaml:"context"`
Name string `yaml:"name"`
}
type KubeConfig struct {
Apiversion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
CurrentContext string `yaml:"current-context"`
Contexts []Context `yaml:"contexts"`
Users []User `yaml:"users"`
Clusters []Clusters `yaml:"clusters"`
}
type User struct {
Name string `yaml:"name"`
User struct {
AuthProvider struct {
Name string `yaml:"name"`
} `yaml:"auth-provider"`
} `yaml:"user"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.