cmd

package
v0.18.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Settings defines global flags and settings
	Settings env.Settings
)

Functions

func NewKudoctlCmd

func NewKudoctlCmd() *cobra.Command

NewKudoctlCmd creates a new root command for kudoctl

func NewPlanHistoryCmd added in v0.6.0

func NewPlanHistoryCmd() *cobra.Command

NewPlanHistoryCmd creates a command that shows the plan history of an instance.

func NewPlanStatusCmd added in v0.6.0

func NewPlanStatusCmd(out io.Writer) *cobra.Command

NewPlanStatusCmd creates a new command that shows the status of an instance by looking at its current plan

func NewPlanTriggerCmd added in v0.11.0

func NewPlanTriggerCmd() *cobra.Command

NewPlanTriggerCmd creates a command that triggers a specific plan for an instance.

Types

type Parameters added in v0.18.0

type Parameters []kudoapi.Parameter

func (Parameters) Len added in v0.18.0

func (p Parameters) Len() int

Len returns the number of params. This is needed to allow sorting of params.

func (Parameters) Less added in v0.18.0

func (p Parameters) Less(x, y int) bool

Less returns true if the name of a param a is less than the name of param b. This is needed to allow sorting of params.

func (Parameters) Swap added in v0.18.0

func (p Parameters) Swap(i, j int)

Swap swaps the position of two items in the params slice. This is needed to allow sorting of params.

type VersionForOutput added in v0.17.0

type VersionForOutput struct {
	Client version.Info `json:"clientVersion"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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