utils

package
v0.10.9 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddManagementKubeconfigFlags

func AddManagementKubeconfigFlags(kubeconfig, kubecontext *string, flags *pflag.FlagSet)

Set kubeconfig path and context flags for the management cluster.

func BuildClient

func BuildClient(kubeConfigPath, kubeContext string) (client.Client, error)

Types

type GlobalFlags added in v0.10.6

type GlobalFlags struct {
	Verbose bool
}

func (GlobalFlags) AddToFlags added in v0.10.6

func (g GlobalFlags) AddToFlags(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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