get

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(factory cmd.Factory) *cobra.Command

NewCommand creates and returns a new command

func NewGetResourceCommand

func NewGetResourceCommand(factory cmd.Factory, resource string) *cobra.Command

NewGetResourceCommand returns a new cobra command

Types

type ConfigurationOptions

type ConfigurationOptions struct {
	cmd.Factory
	// Name is the name of the cloud resource
	Name string
	// Namespace is the namespace of the cloud resource
	Namespace string
	// Output is the output format
	Output string
	// AllNamespaces is a flag to indicate whether to retrieve cloud resources from all namespaces
	AllNamespaces bool
}

ConfigurationOptions provides information required to retrieve a cloud resource

Jump to

Keyboard shortcuts

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