plan

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListPlansCmd

type ListPlansCmd struct {
	*cmd.Context
	// contains filtered or unexported fields
}

ListPlansCmd wraps the smctl list-plans command

func NewListPlansCmd

func NewListPlansCmd(context *cmd.Context) *ListPlansCmd

NewListPlansCmd returns new list-plans command with context

func (*ListPlansCmd) HideUsage

func (lp *ListPlansCmd) HideUsage() bool

HideUsage hide command's usage

func (*ListPlansCmd) Prepare

func (lp *ListPlansCmd) Prepare(prepare cmd.PrepareFunc) *cobra.Command

Prepare returns cobra command

func (*ListPlansCmd) Run

func (lp *ListPlansCmd) Run() error

Run runs the command's logic

func (*ListPlansCmd) SetOutputFormat

func (lp *ListPlansCmd) SetOutputFormat(format output.Format)

SetOutputFormat set output format

Jump to

Keyboard shortcuts

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