list

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

Types

type ListOptions

type ListOptions struct {
	Status bool   `long:"status" short:"s" usage:"Also display the status of the metros"`
	Output string `long:"output" short:"o" usage:"Set output format. Options: table,yaml,json,list" default:"table"`
}

func (*ListOptions) Pre

func (opts *ListOptions) Pre(cmd *cobra.Command, _ []string) error

func (*ListOptions) Run

func (opts *ListOptions) 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