agent

package
v0.49.3 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 12 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
	Selector       string
	Base64Selector string
	Interval       int64
}

type AgentUILogger

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

AgentUILogger - implements agent.Logger interface

func NewAgentLogger

func NewAgentLogger() *AgentUILogger

func (AgentUILogger) Debug

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

func (*AgentUILogger) Debugf

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

func (AgentUILogger) Error

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

func (*AgentUILogger) Errorf

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

func (AgentUILogger) Info

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

func (*AgentUILogger) Infof

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

func (AgentUILogger) Warn

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

func (*AgentUILogger) Warnf

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