Documentation ¶ Index ¶ func GetNSList(currentKonfigFile string) (string, []string, error) func Load(filePath, homeDir string) (*kubeClientConfig.Config, error) func SaveContextFile(fileName string, fileData []byte) error type Konfig func (k *Konfig) Generate(contextName, contextsPath string) (string, []byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetNSList ¶ added in v0.0.5 func GetNSList(currentKonfigFile string) (string, []string, error) func Load ¶ func Load(filePath, homeDir string) (*kubeClientConfig.Config, error) func SaveContextFile ¶ added in v0.0.8 func SaveContextFile(fileName string, fileData []byte) error Types ¶ type Konfig ¶ added in v1.2.0 type Konfig struct { FileID string FilePath string Content *kubeClientConfig.Config } func (*Konfig) Generate ¶ added in v1.2.0 func (k *Konfig) Generate(contextName, contextsPath string) (string, []byte, error) Source Files ¶ View all Source files consts.gokonfig.gotypes.goutils.go Click to show internal directories. Click to hide internal directories.