get

package
v0.9.1-29-g207e5ecc Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

Types

type GetOptions

type GetOptions struct {
	Auth   *config.AuthConfig    `noattribute:"true"`
	Client kraftcloud.KraftCloud `noattribute:"true"`
	Metro  string                `noattribute:"true"`
	Output string                `long:"output" short:"o" usage:"Output format" default:"list"`
	Policy string                `long:"policy" short:"p" usage:"Get a policy instead of a configuration"`
	Token  string                `noattribute:"true"`
}

func (*GetOptions) Pre

func (opts *GetOptions) Pre(cmd *cobra.Command, args []string) error

func (*GetOptions) Run

func (opts *GetOptions) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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