agent

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Config *common.AgentConfig
	Output *outputs.Output
	Httpd  *httpd.Service
}

Agent runs collects data based on the given config.

func New

func New(c *config.Config) (*Agent, error)

New returns an Agent struct based off the given Config.

func (*Agent) Report

func (a *Agent) Report()

func (*Agent) Start

func (a *Agent) Start() error

Start starts the agent collects data.

Jump to

Keyboard shortcuts

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