stopcmd

package
v0.0.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdStop added in v0.0.15

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

Types

type StopFlags added in v0.0.15

type StopFlags struct {
}

func NewStopFlags added in v0.0.15

func NewStopFlags() *StopFlags

The defaults are determined here

func (*StopFlags) AddFlags added in v0.0.15

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

AddFlags add flags tp the command

func (*StopFlags) ToOptions added in v0.0.15

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

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

type StopOptions added in v0.0.15

type StopOptions struct {
	Factory util.Factory
	Streams *genericclioptions.IOStreams
}

func (*StopOptions) Run added in v0.0.15

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

func (*StopOptions) Validate added in v0.0.15

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

Jump to

Keyboard shortcuts

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