get

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Names = names.Artifacts
	Verb  = verbs.Get
)

Functions

func NewCommand

func NewCommand(ctx clictx.Context, names ...string) *cobra.Command

NewCommand creates a new artifact command.

func OutputChainFunction

func OutputChainFunction() output.ChainFunction

func TableOutput

func TableOutput(opts *output.Options, mapping processing.MappingFunction, wide ...string) *output.TableOutput

Types

type Attached

type Attached struct {
	Flag bool
}

func AttachedFrom

func AttachedFrom(o options.OptionSetProvider) *Attached

func (*Attached) AddFlags

func (a *Attached) AddFlags(fs *pflag.FlagSet)

func (*Attached) IsTrue

func (a *Attached) IsTrue() bool

type Command

type Command struct {
	utils.BaseCommand

	Refs []string
}

func (*Command) Complete

func (o *Command) Complete(args []string) error

func (*Command) ForName

func (o *Command) ForName(name string) *cobra.Command

func (*Command) Run

func (o *Command) Run() error

Jump to

Keyboard shortcuts

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