discovery

package
v0.0.0-...-c4caace Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTestRunPath

func SetTestRunPath()

SetTestRunPath sets run_path for testing

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) 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