kubeconfig

package
v0.0.0-...-0111df2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteMergedDefaultConfig

func WriteMergedDefaultConfig(cfg Config) error

WriteMergedDefaultConfig merges the new config into the default Kubeconfig and writes the result

Types

type Config

type Config struct {
	ServerAddress string
	ClusterID     string
	UserID        string
	Token         string
}

Config represents the minimum required fields to construct a new kubeconfig for accessing HKS clusters

Jump to

Keyboard shortcuts

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