scoutcmd

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 31 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 ValidateCommand added in v0.26.2

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

func NewValidateCommand added in v0.26.2

func NewValidateCommand(sopts *discovery.StandardOptions, fw inter.Framework, opts *ValidateCommandOptions, log *logrus.Entry) (*ValidateCommand, error)

func (*ValidateCommand) Run added in v0.26.2

type ValidateCommandOptions added in v0.26.2

type ValidateCommandOptions struct {
	Variables     []byte
	NodeVarsFile  string
	Rules         []byte
	NodeRulesFile string
	Display       string
	Table         bool
	Verbose       bool
	Json          bool
	Color         bool
	Local         bool
}

type WatchCommand

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

func NewWatchCommand

func NewWatchCommand(idf string, checkf string, perf bool, noOK 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