xcmd

package
v0.0.0-...-73f5d71 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockInitFlags

func MockInitFlags(cmd *cobra.Command, addr string)

MockInitFlags creates a new mock of init.

func NewCleanupCommand

func NewCleanupCommand() *cobra.Command

NewCleanupCommand creates new cmd.

func NewPrepareCommand

func NewPrepareCommand() *cobra.Command

NewPrepareCommand creates new cmd.

func NewSnapshotCommand

func NewSnapshotCommand() *cobra.Command

NewSnapshotCommand creates new cmd.

Types

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

Monitor tuple.

func NewMonitor

func NewMonitor(conf *xcommon.Conf, workers []xworker.Worker) *Monitor

NewMonitor creates the new monitor.

func (*Monitor) Start

func (m *Monitor) Start()

Start used to start the monitor.

func (*Monitor) Stop

func (m *Monitor) Stop()

Stop used to stop the monitor.

Jump to

Keyboard shortcuts

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