cmd

package
v0.0.0-...-5e3b14e Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootCommand

func NewRootCommand() *cobra.Command

Types

type NodeDrainer

type NodeDrainer struct {
	AWSRegion   string
	CoolDown    time.Duration
	Kubeconfig  string
	LogLevel    string
	MetricsPort string
	Profile     *util.AWSProfile
	QueueURL    string
	VaultServer string
}

func (*NodeDrainer) Bind

func (nd *NodeDrainer) Bind(cmd *cobra.Command)

func (*NodeDrainer) Run

func (nd *NodeDrainer) Run(ctx context.Context, cmd *cobra.Command, args []string)

Jump to

Keyboard shortcuts

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