drain

package
v0.11.4-13-g5d5fe95b Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Drain

func Drain(ctx context.Context, opts *DrainOptions, args ...string) error

func NewCmd

func NewCmd() *cobra.Command

Types

type DrainOptions

type DrainOptions struct {
	Auth   *config.AuthConfig    `noattribute:"true"`
	Client kraftcloud.KraftCloud `noattribute:"true"`
	Metro  string                `noattribute:"true"`
	Token  string                `noattribute:"true"`
}

func (*DrainOptions) Pre

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

func (*DrainOptions) Run

func (opts *DrainOptions) 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