kubeconfig

package
v0.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Context   string
	Namespace string
	Path      string
}

Config ...

func UpdateKubeConfig

func UpdateKubeConfig(info *cluster.Info) (*Config, error)

UpdateKubeConfig add a context to kubeconfig file for one cluster, we don't set namespace so we can reuse it

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL