agent

package
v0.0.0-...-7c39a50 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent interface {
	AddScanner(scanner.Scanner)
	AddTrigger(string, trigger.Trigger)
	SetResyncInterval(time.Duration)
	GetObjects() map[string]*scanner.Object
	GetScanners() []scanner.Scanner
	GetTriggers() map[string]trigger.Trigger
	UpdateSchedule()
	Start()
	Stop()
}

Agent is the public interface that is implemented by the agent.

func New

func New() Agent

New will instantiate a new Agent object.

Jump to

Keyboard shortcuts

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