get

package
v0.9.2-12-g35fadfa3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context, opts *GetOptions, args ...string) error

Status of a KraftCloud instance.

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"`
	Token  string                `noattribute:"true"`
	Output string                `long:"output" short:"o" usage:"Set output format. Options: table,yaml,json,list" default:"list"`
}

func (*GetOptions) Pre

func (opts *GetOptions) Pre(cmd *cobra.Command, _ []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