cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddKubectlFlagsToCmd

func AddKubectlFlagsToCmd(cmd *cobra.Command) clientcmd.ClientConfig

AddKubectlFlagsToCmd adds kubectl like flags to a command and returns the ClientConfig interface for retrieving the values.

func NewVersionCmd

func NewVersionCmd(cliName string) *cobra.Command

NewVersionCmd returns a new `version` command to be used as a sub-command to root

Types

This section is empty.

Jump to

Keyboard shortcuts

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