discovery

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager manages the full discovery life cycle

func New

func New(cfg *config.Config, si ServerInfoSource, logger *logrus.Entry) *Manager

New creates a new discovery Manager

func (*Manager) ShouldProcess

func (mgr *Manager) ShouldProcess(request protocol.Request) bool

ShouldProcess checks all filters against methods for filtering and returns boolean if it matches

type ServerInfoSource added in v0.20.0

type ServerInfoSource interface {
	Classes() []string
	Facts() json.RawMessage
	Identity() string
	KnownAgents() []string
	DataFuncMap() (ddl.FuncMap, error)
}

Jump to

Keyboard shortcuts

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