mocks

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGoSNMPWrapper

type MockGoSNMPWrapper struct {
	mock.Mock
}

goSNMPWrapper is an autogenerated mock type for the goSNMPWrapper type

func (*MockGoSNMPWrapper) BulkWalkAll added in v0.63.0

func (_m *MockGoSNMPWrapper) BulkWalkAll(rootOid string) ([]gosnmp.SnmpPDU, error)

BulkWalkAll provides a mock function with given fields: rootOid

func (*MockGoSNMPWrapper) Close

func (_m *MockGoSNMPWrapper) Close() error

Close provides a mock function with given fields:

func (*MockGoSNMPWrapper) Connect

func (_m *MockGoSNMPWrapper) Connect() error

Connect provides a mock function with given fields:

func (*MockGoSNMPWrapper) Get

func (_m *MockGoSNMPWrapper) Get(oids []string) (*gosnmp.SnmpPacket, error)

Get provides a mock function with given fields: oids

func (*MockGoSNMPWrapper) GetCommunity

func (_m *MockGoSNMPWrapper) GetCommunity() string

GetCommunity provides a mock function with given fields:

func (*MockGoSNMPWrapper) GetMaxOids

func (_m *MockGoSNMPWrapper) GetMaxOids() int

GetMaxOids provides a mock function with given fields:

func (*MockGoSNMPWrapper) GetMsgFlags

func (_m *MockGoSNMPWrapper) GetMsgFlags() gosnmp.SnmpV3MsgFlags

GetMsgFlags provides a mock function with given fields:

func (*MockGoSNMPWrapper) GetPort

func (_m *MockGoSNMPWrapper) GetPort() uint16

GetPort provides a mock function with given fields:

func (*MockGoSNMPWrapper) GetSecurityModel

func (_m *MockGoSNMPWrapper) GetSecurityModel() gosnmp.SnmpV3SecurityModel

GetSecurityModel provides a mock function with given fields:

func (*MockGoSNMPWrapper) GetSecurityParameters

func (_m *MockGoSNMPWrapper) GetSecurityParameters() gosnmp.SnmpV3SecurityParameters

GetSecurityParameters provides a mock function with given fields:

func (*MockGoSNMPWrapper) GetTarget

func (_m *MockGoSNMPWrapper) GetTarget() string

GetTarget provides a mock function with given fields:

func (*MockGoSNMPWrapper) GetTimeout

func (_m *MockGoSNMPWrapper) GetTimeout() time.Duration

GetTimeout provides a mock function with given fields:

func (*MockGoSNMPWrapper) GetTransport

func (_m *MockGoSNMPWrapper) GetTransport() string

GetTransport provides a mock function with given fields:

func (*MockGoSNMPWrapper) GetVersion

func (_m *MockGoSNMPWrapper) GetVersion() gosnmp.SnmpVersion

GetVersion provides a mock function with given fields:

func (*MockGoSNMPWrapper) SetCommunity

func (_m *MockGoSNMPWrapper) SetCommunity(community string)

SetCommunity provides a mock function with given fields: community

func (*MockGoSNMPWrapper) SetMaxOids

func (_m *MockGoSNMPWrapper) SetMaxOids(maxOids int)

SetMaxOids provides a mock function with given fields: maxOids

func (*MockGoSNMPWrapper) SetMsgFlags

func (_m *MockGoSNMPWrapper) SetMsgFlags(msgFlags gosnmp.SnmpV3MsgFlags)

SetMsgFlags provides a mock function with given fields: msgFlags

func (*MockGoSNMPWrapper) SetPort

func (_m *MockGoSNMPWrapper) SetPort(port uint16)

SetPort provides a mock function with given fields: port

func (*MockGoSNMPWrapper) SetSecurityModel

func (_m *MockGoSNMPWrapper) SetSecurityModel(securityModel gosnmp.SnmpV3SecurityModel)

SetSecurityModel provides a mock function with given fields: securityModel

func (*MockGoSNMPWrapper) SetSecurityParameters

func (_m *MockGoSNMPWrapper) SetSecurityParameters(securityParameters gosnmp.SnmpV3SecurityParameters)

SetSecurityParameters provides a mock function with given fields: securityParameters

func (*MockGoSNMPWrapper) SetTarget

func (_m *MockGoSNMPWrapper) SetTarget(target string)

SetTarget provides a mock function with given fields: target

func (*MockGoSNMPWrapper) SetTimeout

func (_m *MockGoSNMPWrapper) SetTimeout(timeout time.Duration)

SetTimeout provides a mock function with given fields: timeout

func (*MockGoSNMPWrapper) SetTransport

func (_m *MockGoSNMPWrapper) SetTransport(transport string)

SetTransport provides a mock function with given fields: transport

func (*MockGoSNMPWrapper) SetVersion

func (_m *MockGoSNMPWrapper) SetVersion(version gosnmp.SnmpVersion)

SetVersion provides a mock function with given fields: version

func (*MockGoSNMPWrapper) WalkAll added in v0.63.0

func (_m *MockGoSNMPWrapper) WalkAll(rootOid string) ([]gosnmp.SnmpPDU, error)

WalkAll provides a mock function with given fields: rootOid

Jump to

Keyboard shortcuts

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