daomocks

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package daomocks is a generated GoMock package.

Index

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

func (m *MockIDAO) Close() error

Close mocks base method.

func (*MockIDAO) DeleteOwnerHostname

func (m *MockIDAO) DeleteOwnerHostname(hostname, username string) error

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.

func (*MockIDAO) Save

func (m *MockIDAO) Save(rumEvent beacon.RumEvent) error

Save mocks base method.

func (*MockIDAO) SaveHost

func (m *MockIDAO) SaveHost(event beacon.HostnameEvent) error

SaveHost 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.

Jump to

Keyboard shortcuts

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