scoutcmd

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaintenanceCommand added in v0.17.0

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

func NewMaintenanceCommand added in v0.17.0

func NewMaintenanceCommand(sopt *discovery.StandardOptions, fw inter.Framework, checks []string, json bool, verbose bool, colorize bool, log *logrus.Entry) (*MaintenanceCommand, error)

func (*MaintenanceCommand) Run added in v0.17.0

type ResumeCommand added in v0.17.0

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

func NewResumeCommand added in v0.17.0

func NewResumeCommand(sopt *discovery.StandardOptions, fw inter.Framework, checks []string, json bool, verbose bool, colorize bool, log *logrus.Entry) (*ResumeCommand, error)

func (*ResumeCommand) Run added in v0.17.0

func (t *ResumeCommand) Run(ctx context.Context, wg *sync.WaitGroup) error

type StatusCommand added in v0.17.0

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

func NewStatusCommand added in v0.17.0

func NewStatusCommand(fw inter.Framework, id string, jsonf bool, verbose bool, colorize bool, log *logrus.Entry) (*StatusCommand, error)

func (*StatusCommand) Run added in v0.17.0

func (s *StatusCommand) Run(ctx context.Context, wg *sync.WaitGroup) (err error)

type TriggerCommand added in v0.17.0

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

func NewTriggerCommand added in v0.17.0

func NewTriggerCommand(sopt *discovery.StandardOptions, fw inter.Framework, checks []string, json bool, verbose bool, colorize bool, log *logrus.Entry) (*TriggerCommand, error)

func (*TriggerCommand) Run added in v0.17.0

func (t *TriggerCommand) Run(ctx context.Context, wg *sync.WaitGroup) error

type WatchCommand

type WatchCommand struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewWatchCommand

func NewWatchCommand(idf string, checkf string, perf bool, history time.Duration, nc inter.Connector, log *logrus.Entry) (*WatchCommand, error)

func (*WatchCommand) Run

func (w *WatchCommand) Run(ctx context.Context, wg *sync.WaitGroup) (err error)

Jump to

Keyboard shortcuts

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