discovery

package
v0.0.0-...-1c2acb4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

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

Device implements and store results from the Service interface for the SNMP listener

type Discovery

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

Discovery handles snmp discovery states

func NewDiscovery

func NewDiscovery(config *checkconfig.CheckConfig, sessionFactory session.Factory) *Discovery

NewDiscovery return a new Discovery instance

func (*Discovery) GetDiscoveredDeviceConfigs

func (d *Discovery) GetDiscoveredDeviceConfigs() []*devicecheck.DeviceCheck

GetDiscoveredDeviceConfigs returns discovered device configs

func (*Discovery) Start

func (d *Discovery) Start()

Start discovery

func (*Discovery) Stop

func (d *Discovery) Stop()

Stop signal discovery to shut down

Jump to

Keyboard shortcuts

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