etcd: github.com/coreos/etcd/functional/runner Index | Files

package runner

import "github.com/coreos/etcd/functional/runner"

Package runner implements individual etcd-runner commands for the etcd-runner utility.

Index

Package Files

election_command.go error.go global.go help.go lease_renewer_command.go lock_racer_command.go root.go watch_command.go

Constants

const (
    // http://tldp.org/LDP/abs/html/exitcodes.html
    ExitSuccess = iota
    ExitError
    ExitBadConnection
    ExitInvalidInput // for txn, watch command
    ExitBadFeature   // provided a valid flag with an unsupported value
    ExitInterrupted
    ExitIO
    ExitBadArgs = 128
)

func ExitWithError Uses

func ExitWithError(code int, err error)

func NewElectionCommand Uses

func NewElectionCommand() *cobra.Command

NewElectionCommand returns the cobra command for "election runner".

func NewLeaseRenewerCommand Uses

func NewLeaseRenewerCommand() *cobra.Command

NewLeaseRenewerCommand returns the cobra command for "lease-renewer runner".

func NewLockRacerCommand Uses

func NewLockRacerCommand() *cobra.Command

NewLockRacerCommand returns the cobra command for "lock-racer runner".

func NewWatchCommand Uses

func NewWatchCommand() *cobra.Command

NewWatchCommand returns the cobra command for "watcher runner".

func Start Uses

func Start()

Package runner imports 23 packages (graph). Updated 2019-06-13. Refresh now. Tools for package owners.