mocks

package
Version: v0.0.0-...-0b27357 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyncQuerier

type SyncQuerier struct {
	mock.Mock
}

func (*SyncQuerier) ExecuteQuery

func (m *SyncQuerier) ExecuteQuery(query gosnmpquerier.Query) gosnmpquerier.Query

func (*SyncQuerier) Get

func (m *SyncQuerier) Get(destination, community string, oids []string, timeout time.Duration, retries int) ([]gosnmp.SnmpPDU, error)

func (*SyncQuerier) GetNext

func (m *SyncQuerier) GetNext(destination, community string, oids []string, timeout time.Duration, retries int) ([]gosnmp.SnmpPDU, error)

func (*SyncQuerier) Walk

func (m *SyncQuerier) Walk(destination, community, oid string, timeout time.Duration, retries int) ([]gosnmp.SnmpPDU, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL