Documentation ¶
Index ¶
- func NewCommand(runF func(*AgentOptions) error) *cobra.Command
- type AgentOptions
- type AgentUILogger
- func (a AgentUILogger) Debug(args ...interface{})
- func (a *AgentUILogger) Debugf(format string, args ...interface{})
- func (a AgentUILogger) Error(args ...interface{})
- func (a *AgentUILogger) Errorf(format string, args ...interface{})
- func (a AgentUILogger) Info(args ...interface{})
- func (a *AgentUILogger) Infof(format string, args ...interface{})
- func (a AgentUILogger) Warn(args ...interface{})
- func (a *AgentUILogger) Warnf(format string, args ...interface{})
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 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{})
Click to show internal directories.
Click to hide internal directories.