agent

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(runF func(*AgentOptions) error) *cobra.Command

Types

type AgentOptions

type AgentOptions struct {
	IO           *iostreams.IOStreams
	ManifestPath string
	Interval     int64
	Selector     string
	ReportUI     bool
}

type AgentUILogger added in v0.21.0

type AgentUILogger struct {
	InfoChan  chan interface{}
	DebugChan chan interface{}
	WarnChan  chan interface{}
	ErrorChan chan interface{}
}

AgentUILogger - implements agent.Logger interface

func NewAgentLogger added in v0.21.0

func NewAgentLogger() *AgentUILogger

func (AgentUILogger) Debug added in v0.21.0

func (a AgentUILogger) Debug(args ...interface{})

func (*AgentUILogger) Debugf added in v0.21.0

func (a *AgentUILogger) Debugf(format string, args ...interface{})

func (AgentUILogger) Error added in v0.21.0

func (a AgentUILogger) Error(args ...interface{})

func (*AgentUILogger) Errorf added in v0.21.0

func (a *AgentUILogger) Errorf(format string, args ...interface{})

func (AgentUILogger) Info added in v0.21.0

func (a AgentUILogger) Info(args ...interface{})

func (*AgentUILogger) Infof added in v0.21.0

func (a *AgentUILogger) Infof(format string, args ...interface{})

func (AgentUILogger) Warn added in v0.21.0

func (a AgentUILogger) Warn(args ...interface{})

func (*AgentUILogger) Warnf added in v0.21.0

func (a *AgentUILogger) Warnf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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