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"`
}
Click to show internal directories.
Click to hide internal directories.