stop

package
v0.6.7-350-gdd11800 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

func Stop

func Stop(ctx context.Context, opts *StopOptions, args ...string) error

Stop a KraftCloud instance.

Types

type StopOptions

type StopOptions struct {
	WaitTimeoutMS int64  `local:"true" long:"wait_timeout_ms" short:"w" usage:"Timeout to wait for the instance to start in milliseconds"`
	Output        string `long:"output" short:"o" usage:"Set output format" default:"table"`
	All           bool   `long:"all" usage:"Stop all instances"`
	// contains filtered or unexported fields
}

func (*StopOptions) Pre

func (opts *StopOptions) Pre(cmd *cobra.Command, args []string) error

func (*StopOptions) Run

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

Jump to

Keyboard shortcuts

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