kubernetes

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeConfig

type KubeConfig struct {
	KubeConfigBase `yaml:",inline"`
	Users          []userItem `yaml:"users"`
}

func ParseKubeConfig

func ParseKubeConfig(config string) (*KubeConfig, error)

type KubeConfigAAD added in v1.19.0

type KubeConfigAAD struct {
	KubeConfigBase `yaml:",inline"`
	Users          []userItemAAD `yaml:"users"`
}

func ParseKubeConfigAAD added in v1.19.0

func ParseKubeConfigAAD(config string) (*KubeConfigAAD, error)

type KubeConfigBase added in v1.19.0

type KubeConfigBase struct {
	APIVersion     string                 `yaml:"apiVersion"`
	Clusters       []clusterItem          `yaml:"clusters"`
	Contexts       []contextItem          `yaml:"contexts,omitempty"`
	CurrentContext string                 `yaml:"current-context,omitempty"`
	Kind           string                 `yaml:"kind,omitempty"`
	Preferences    map[string]interface{} `yaml:"preferences,omitempty"`
}

Jump to

Keyboard shortcuts

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