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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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