commands

package
v0.0.0-...-df1e7d8 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DrainCommand

type DrainCommand struct {
	WorkerConfigFile   string         `long:"worker-config-file" description:"Path to worker config file."`
	UserKnownHostsFile string         `long:"user-known-hosts-file" description:"Path to user known hosts file."`
	TSASSHKeyFile      string         `long:"tsa-ssh-key" description:"Path to TSA SSH key."`
	BeaconPidFile      string         `long:"beacon-pid-file" description:"Path to beacon pid file."`
	TSAAddrs           []string       `long:"tsa-addr" description:"Address of a TSA host." value-name:"127.0.0.1:2222"`
	IsShutdown         bool           `long:"shutdown" description:"Whether worker is about to shutdown."`
	Timeout            *time.Duration `long:"timeout" description:"Maximum time to wait for draining to finish."`
}

func (*DrainCommand) Execute

func (cmd *DrainCommand) Execute(args []string) error

type GroundcrewCommand

type GroundcrewCommand struct {
	Drain DrainCommand `command:"drain"`
}

Jump to

Keyboard shortcuts

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