cmd

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRoot

func BuildRoot() *cobra.Command

BuildRoot creates a new root command from the

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewCommandCmd

func NewCommandCmd() *cobra.Command

NewCommandCmd defines a command

func NewDeleteCmd

func NewDeleteCmd() *cobra.Command

NewDeleteCmd defines a command

func NewFindCmd

func NewFindCmd() *cobra.Command

NewFindCmd defines a command

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd returns a new root command

func NewRunCmd

func NewRunCmd() *cobra.Command

NewRunCmd defines a command

func NewStartCmd

func NewStartCmd() *cobra.Command

NewStartCmd defines a command

func NewStopCmd

func NewStopCmd() *cobra.Command

NewStopCmd defines a command

func NewTargetArchitectureCmd

func NewTargetArchitectureCmd() *cobra.Command

NewTargetArchitectureCmd defines a command

Types

type CommandCmd

type CommandCmd struct{}

CommandCmd holds the cmd flags

func (*CommandCmd) Run

func (cmd *CommandCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the command logic

type DeleteCmd

type DeleteCmd struct{}

DeleteCmd holds the cmd flags

func (*DeleteCmd) Run

func (cmd *DeleteCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the command logic

type FindCmd

type FindCmd struct{}

FindCmd holds the cmd flags

func (*FindCmd) Run

func (cmd *FindCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the command logic

type RunCmd

type RunCmd struct{}

RunCmd holds the cmd flags

func (*RunCmd) Run

func (cmd *RunCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the command logic

type StartCmd

type StartCmd struct{}

StartCmd holds the cmd flags

func (*StartCmd) Run

func (cmd *StartCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the command logic

type StopCmd

type StopCmd struct{}

StopCmd holds the cmd flags

func (*StopCmd) Run

func (cmd *StopCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the command logic

type TargetArchitectureCmd

type TargetArchitectureCmd struct{}

TargetArchitectureCmd holds the cmd flags

func (*TargetArchitectureCmd) Run

func (cmd *TargetArchitectureCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the command logic

Jump to

Keyboard shortcuts

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