execute

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Names = names.Action
	Verb  = verbs.Execute
)

Functions

func NewCommand

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

NewCommand creates a new ctf command.

Types

type Command

type Command struct {
	utils.BaseCommand

	Name        string
	Spec        action.ActionSpec
	OutputMode  string
	MatcherType string

	Matcher  credentials.IdentityMatcher
	Consumer credentials.ConsumerIdentity
}

func (*Command) AddFlags

func (o *Command) AddFlags(fs *pflag.FlagSet)

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