depscmd

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDeps

func NewCmdDeps(f util.Factory, streams *genericclioptions.IOStreams) *cobra.Command

Types

type DepsFlags

type DepsFlags struct {
	RunOuput *genericclioptions.RunOutputFlags
}

func NewDepsFlags

func NewDepsFlags() *DepsFlags

The defaults are determined here

func (*DepsFlags) AddFlags

func (r *DepsFlags) AddFlags(cmd *cobra.Command)

AddFlags add flags tp the command

func (*DepsFlags) ToOptions

func (r *DepsFlags) ToOptions(cmd *cobra.Command, f util.Factory, streams *genericclioptions.IOStreams) (*DepsOptions, error)

ToOptions renders the options based on the flags that were set and will be the base context used to run the command

type DepsOptions

type DepsOptions struct {
	Factory        util.Factory
	Streams        *genericclioptions.IOStreams
	ShowChoreoAPIs bool
}

func (*DepsOptions) Run

func (r *DepsOptions) Run(ctx context.Context, args []string) error

func (*DepsOptions) Validate

func (r *DepsOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

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