app

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: LGPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(cmd *cobra.Command)

func CreateKubeConfigFile

func CreateKubeConfigFile(outDir string, kubeConfigFileName string, cfg *rest.Config) error

CreateKubeConfigFile creates a kubeconfig file.

func GetRootCmd

func GetRootCmd(args []string) *cobra.Command

GetRootCmd returns the root of the cobra command-tree.

func NewCertCmd

func NewCertCmd(opt *app_option.Options) *cobra.Command

func NewCmdVersion

func NewCmdVersion() *cobra.Command

NewCmdVersion returns a cobra command for fetching versions

func NewControllerCmd

func NewControllerCmd(opt *app_option.Options) *cobra.Command

func NewFakeApiserverCmd

func NewFakeApiserverCmd(opt *app_option.Options) *cobra.Command

func PrintFlags

func PrintFlags(flags *pflag.FlagSet)

PrintFlags logs the flags in the flagset

func TryRun

func TryRun() error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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