Versions in this module Expand all Collapse all v1 v1.33.1 Nov 14, 2021 Changes in this version + type MockHandler struct + func NewMockHandler(ctrl *gomock.Controller) *MockHandler + func (m *MockHandler) BulkWalk(rootOid string, walkFn gosnmp.WalkFunc) error + func (m *MockHandler) BulkWalkAll(rootOid string) ([]gosnmp.SnmpPDU, error) + func (m *MockHandler) Check(err error) + func (m *MockHandler) Close() error + func (m *MockHandler) Community() string + func (m *MockHandler) Connect() error + func (m *MockHandler) ConnectIPv4() error + func (m *MockHandler) ConnectIPv6() error + func (m *MockHandler) ContextEngineID() string + func (m *MockHandler) ContextName() string + func (m *MockHandler) EXPECT() *MockHandlerMockRecorder + func (m *MockHandler) Get(oids []string) (*gosnmp.SnmpPacket, error) + func (m *MockHandler) GetBulk(oids []string, nonRepeaters uint8, maxRepetitions uint32) (*gosnmp.SnmpPacket, error) + func (m *MockHandler) GetExponentialTimeout() bool + func (m *MockHandler) GetNext(oids []string) (*gosnmp.SnmpPacket, error) + func (m *MockHandler) Logger() gosnmp.Logger + func (m *MockHandler) MaxOids() int + func (m *MockHandler) MaxRepetitions() uint32 + func (m *MockHandler) MsgFlags() gosnmp.SnmpV3MsgFlags + func (m *MockHandler) NonRepeaters() int + func (m *MockHandler) Port() uint16 + func (m *MockHandler) Retries() int + func (m *MockHandler) SecurityModel() gosnmp.SnmpV3SecurityModel + func (m *MockHandler) SecurityParameters() gosnmp.SnmpV3SecurityParameters + func (m *MockHandler) SendTrap(trap gosnmp.SnmpTrap) (*gosnmp.SnmpPacket, error) + func (m *MockHandler) Set(pdus []gosnmp.SnmpPDU) (*gosnmp.SnmpPacket, error) + func (m *MockHandler) SetCommunity(community string) + func (m *MockHandler) SetContextEngineID(contextEngineID string) + func (m *MockHandler) SetContextName(contextName string) + func (m *MockHandler) SetExponentialTimeout(value bool) + func (m *MockHandler) SetLogger(logger gosnmp.Logger) + func (m *MockHandler) SetMaxOids(maxOids int) + func (m *MockHandler) SetMaxRepetitions(maxRepetitions uint32) + func (m *MockHandler) SetMsgFlags(msgFlags gosnmp.SnmpV3MsgFlags) + func (m *MockHandler) SetNonRepeaters(nonRepeaters int) + func (m *MockHandler) SetPort(port uint16) + func (m *MockHandler) SetRetries(retries int) + func (m *MockHandler) SetSecurityModel(securityModel gosnmp.SnmpV3SecurityModel) + func (m *MockHandler) SetSecurityParameters(securityParameters gosnmp.SnmpV3SecurityParameters) + func (m *MockHandler) SetTarget(target string) + func (m *MockHandler) SetTimeout(timeout time.Duration) + func (m *MockHandler) SetVersion(version gosnmp.SnmpVersion) + func (m *MockHandler) Target() string + func (m *MockHandler) Timeout() time.Duration + func (m *MockHandler) UnmarshalTrap(trap []byte, useResponseSecurityParameters bool) *gosnmp.SnmpPacket + func (m *MockHandler) Version() gosnmp.SnmpVersion + func (m *MockHandler) Walk(rootOid string, walkFn gosnmp.WalkFunc) error + func (m *MockHandler) WalkAll(rootOid string) ([]gosnmp.SnmpPDU, error) + type MockHandlerMockRecorder struct + func (mr *MockHandlerMockRecorder) BulkWalk(rootOid, walkFn interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) BulkWalkAll(rootOid interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) Check(err interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) Close() *gomock.Call + func (mr *MockHandlerMockRecorder) Community() *gomock.Call + func (mr *MockHandlerMockRecorder) Connect() *gomock.Call + func (mr *MockHandlerMockRecorder) ConnectIPv4() *gomock.Call + func (mr *MockHandlerMockRecorder) ConnectIPv6() *gomock.Call + func (mr *MockHandlerMockRecorder) ContextEngineID() *gomock.Call + func (mr *MockHandlerMockRecorder) ContextName() *gomock.Call + func (mr *MockHandlerMockRecorder) Get(oids interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) GetBulk(oids, nonRepeaters, maxRepetitions interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) GetExponentialTimeout() *gomock.Call + func (mr *MockHandlerMockRecorder) GetNext(oids interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) Logger() *gomock.Call + func (mr *MockHandlerMockRecorder) MaxOids() *gomock.Call + func (mr *MockHandlerMockRecorder) MaxRepetitions() *gomock.Call + func (mr *MockHandlerMockRecorder) MsgFlags() *gomock.Call + func (mr *MockHandlerMockRecorder) NonRepeaters() *gomock.Call + func (mr *MockHandlerMockRecorder) Port() *gomock.Call + func (mr *MockHandlerMockRecorder) Retries() *gomock.Call + func (mr *MockHandlerMockRecorder) SecurityModel() *gomock.Call + func (mr *MockHandlerMockRecorder) SecurityParameters() *gomock.Call + func (mr *MockHandlerMockRecorder) SendTrap(trap interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) Set(pdus interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetCommunity(community interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetContextEngineID(contextEngineID interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetContextName(contextName interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetExponentialTimeout(value interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetLogger(logger interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetMaxOids(maxOids interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetMaxRepetitions(maxRepetitions interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetMsgFlags(msgFlags interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetNonRepeaters(nonRepeaters interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetPort(port interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetRetries(retries interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetSecurityModel(securityModel interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetSecurityParameters(securityParameters interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetTarget(target interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetTimeout(timeout interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) SetVersion(version interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) Target() *gomock.Call + func (mr *MockHandlerMockRecorder) Timeout() *gomock.Call + func (mr *MockHandlerMockRecorder) UnmarshalTrap(trap, useResponseSecurityParameters interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) Version() *gomock.Call + func (mr *MockHandlerMockRecorder) Walk(rootOid, walkFn interface{}) *gomock.Call + func (mr *MockHandlerMockRecorder) WalkAll(rootOid interface{}) *gomock.Call