auth

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

func Login(cfg LoginConfig) (*api.Config, error)

Login do authentication login process

func SaveKubeconfig

func SaveKubeconfig(filename string, kubeConfig *clientcmdapi.Config) error

SaveKubeconfig saves kubeconfig to filename

Types

type LoginConfig

type LoginConfig struct {
	DexServer          string
	RootCAPath         string
	InsecureSkipVerify bool
	ClusterName        string
	Username           string
	Password           string
	KubeConfigPath     string
	Debug              bool
}

LoginConfig represents the login configuration

Jump to

Keyboard shortcuts

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