Documentation ¶
Overview ¶
Package daomocks is a generated GoMock package.
Index ¶
- type MockIDAO
- func (m *MockIDAO) Close() error
- func (m *MockIDAO) DeleteOwnerHostname(hostname, username string) error
- func (m *MockIDAO) EXPECT() *MockIDAOMockRecorder
- func (m *MockIDAO) GetSubscription(id string) (*types.SubscriptionWithHostname, error)
- func (m *MockIDAO) GetSubscriptions() (map[string]*types.SubscriptionWithHostname, error)
- func (m *MockIDAO) InsertOwnerHostname(item types.OwnerHostname) error
- func (m *MockIDAO) Save(rumEvent beacon.RumEvent) error
- func (m *MockIDAO) SaveHost(event beacon.HostnameEvent) error
- type MockIDAOMockRecorder
- func (mr *MockIDAOMockRecorder) Close() *gomock.Call
- func (mr *MockIDAOMockRecorder) DeleteOwnerHostname(hostname, username interface{}) *gomock.Call
- func (mr *MockIDAOMockRecorder) GetSubscription(id interface{}) *gomock.Call
- func (mr *MockIDAOMockRecorder) GetSubscriptions() *gomock.Call
- func (mr *MockIDAOMockRecorder) InsertOwnerHostname(item interface{}) *gomock.Call
- func (mr *MockIDAOMockRecorder) Save(rumEvent interface{}) *gomock.Call
- func (mr *MockIDAOMockRecorder) SaveHost(event interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIDAO ¶
type MockIDAO struct {
// contains filtered or unexported fields
}
MockIDAO is a mock of IDAO interface.
func NewMockIDAO ¶
func NewMockIDAO(ctrl *gomock.Controller) *MockIDAO
NewMockIDAO creates a new mock instance.
func (*MockIDAO) DeleteOwnerHostname ¶
DeleteOwnerHostname mocks base method.
func (*MockIDAO) EXPECT ¶
func (m *MockIDAO) EXPECT() *MockIDAOMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIDAO) GetSubscription ¶
func (m *MockIDAO) GetSubscription(id string) (*types.SubscriptionWithHostname, error)
GetSubscription mocks base method.
func (*MockIDAO) GetSubscriptions ¶
func (m *MockIDAO) GetSubscriptions() (map[string]*types.SubscriptionWithHostname, error)
GetSubscriptions mocks base method.
func (*MockIDAO) InsertOwnerHostname ¶
func (m *MockIDAO) InsertOwnerHostname(item types.OwnerHostname) error
InsertOwnerHostname mocks base method.
type MockIDAOMockRecorder ¶
type MockIDAOMockRecorder struct {
// contains filtered or unexported fields
}
MockIDAOMockRecorder is the mock recorder for MockIDAO.
func (*MockIDAOMockRecorder) Close ¶
func (mr *MockIDAOMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockIDAOMockRecorder) DeleteOwnerHostname ¶
func (mr *MockIDAOMockRecorder) DeleteOwnerHostname(hostname, username interface{}) *gomock.Call
DeleteOwnerHostname indicates an expected call of DeleteOwnerHostname.
func (*MockIDAOMockRecorder) GetSubscription ¶
func (mr *MockIDAOMockRecorder) GetSubscription(id interface{}) *gomock.Call
GetSubscription indicates an expected call of GetSubscription.
func (*MockIDAOMockRecorder) GetSubscriptions ¶
func (mr *MockIDAOMockRecorder) GetSubscriptions() *gomock.Call
GetSubscriptions indicates an expected call of GetSubscriptions.
func (*MockIDAOMockRecorder) InsertOwnerHostname ¶
func (mr *MockIDAOMockRecorder) InsertOwnerHostname(item interface{}) *gomock.Call
InsertOwnerHostname indicates an expected call of InsertOwnerHostname.
func (*MockIDAOMockRecorder) Save ¶
func (mr *MockIDAOMockRecorder) Save(rumEvent interface{}) *gomock.Call
Save indicates an expected call of Save.
func (*MockIDAOMockRecorder) SaveHost ¶
func (mr *MockIDAOMockRecorder) SaveHost(event interface{}) *gomock.Call
SaveHost indicates an expected call of SaveHost.