get

package
v0.8.1-78-gd72294ac Latest Latest
Warning

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

Go to latest
Published: Apr 5, 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