commands

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: Apache-2.0 Imports: 33 Imported by: 3

Documentation

Index

Constants

View Source
const ShortHandRef = "$kpt-set"

Variables

View Source
var READMEExamples = `
    # run the tutorial for ` + "`" + `kpt cfg annotate` + "`" + `
    kpt ttl cfg annotate

    # run the tutorial at 2x speed
    kpt ttl cfg annotate -s 2

    # run the tutorial at 1/2x speed
    kpt ttl cfg annotate -s 0.5

    # print the full tutorial rather than playing it
    kpt ttl cfg annotate --print`
View Source
var READMELong = `
Tutorials simulates running a sequence of commands and their output by playing
an asciinema cast.

Requires [asciinema].
`
View Source
var READMEShort = `Run command tutorials`

Functions

func CreateSetterCommand added in v0.28.0

func CreateSetterCommand(parent string) *cobra.Command

func CreateSubstCommand added in v0.28.0

func CreateSubstCommand(parent string) *cobra.Command

func GetAnthosCommands

func GetAnthosCommands(name string) []*cobra.Command

func GetConfigCommand

func GetConfigCommand(name string) *cobra.Command

func GetFnCommand

func GetFnCommand(name string) *cobra.Command

func GetGuideCommand added in v0.16.0

func GetGuideCommand(name string) *cobra.Command

func GetKptCommands

func GetKptCommands(name string, f util.Factory) []*cobra.Command

GetKptCommands returns the set of kpt commands to be registered

func GetLiveCommand

func GetLiveCommand(name string, f util.Factory) *cobra.Command

func GetPkgCommand

func GetPkgCommand(name string) *cobra.Command

func GetTTLCommand

func GetTTLCommand(name string) *cobra.Command

func NormalizeCommand

func NormalizeCommand(c ...*cobra.Command)

NormalizeCommand will modify commands to be consistent, e.g. silencing errors

func SetCommand

func SetCommand(parent string) *cobra.Command

SetCommand wraps the kustomize set command in order to automatically update a project number if a project id is set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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