kubeconfig

package
v2.5.0-rc6+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 132

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultRestConfig

func DefaultRestConfig() (*restclient.Config, error)

get the default one from the filesystem

func GetBearerToken

func GetBearerToken(in *restclient.Config) (string, error)

convert the REST config into a bearer token

func GetRestConfig

func GetRestConfig(token string) (*restclient.Config, error)

convert a bearer token into a REST config

Types

This section is empty.

Jump to

Keyboard shortcuts

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