Documentation ¶
Overview ¶
Package device is a generated GoMock package.
Index ¶
- type MockCache
- func (m *MockCache) Close() error
- func (m *MockCache) EXPECT() *MockCacheMockRecorder
- func (m *MockCache) GetDevices() []*cache.Info
- func (m *MockCache) GetDevicesByID(id device.ID) []*cache.Info
- func (m *MockCache) GetDevicesByType(deviceType device.Type) []*cache.Info
- func (m *MockCache) GetDevicesByVersion(deviceType device.Type, deviceVersion device.Version) []*cache.Info
- func (m *MockCache) Watch(ch chan<- stream.Event, replay bool) (stream.Context, error)
- type MockCacheMockRecorder
- func (mr *MockCacheMockRecorder) Close() *gomock.Call
- func (mr *MockCacheMockRecorder) GetDevices() *gomock.Call
- func (mr *MockCacheMockRecorder) GetDevicesByID(id interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) GetDevicesByType(deviceType interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) GetDevicesByVersion(deviceType, deviceVersion interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Watch(ch, replay interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCache ¶
type MockCache struct {
// contains filtered or unexported fields
}
MockCache is a mock of Cache interface
func NewMockCache ¶
func NewMockCache(ctrl *gomock.Controller) *MockCache
NewMockCache creates a new mock instance
func (*MockCache) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCache) GetDevices ¶
GetDevices mocks base method
func (*MockCache) GetDevicesByID ¶
GetDevicesByID mocks base method
func (*MockCache) GetDevicesByType ¶
GetDevicesByType mocks base method
type MockCacheMockRecorder ¶
type MockCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheMockRecorder is the mock recorder for MockCache
func (*MockCacheMockRecorder) Close ¶
func (mr *MockCacheMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockCacheMockRecorder) GetDevices ¶
func (mr *MockCacheMockRecorder) GetDevices() *gomock.Call
GetDevices indicates an expected call of GetDevices
func (*MockCacheMockRecorder) GetDevicesByID ¶
func (mr *MockCacheMockRecorder) GetDevicesByID(id interface{}) *gomock.Call
GetDevicesByID indicates an expected call of GetDevicesByID
func (*MockCacheMockRecorder) GetDevicesByType ¶
func (mr *MockCacheMockRecorder) GetDevicesByType(deviceType interface{}) *gomock.Call
GetDevicesByType indicates an expected call of GetDevicesByType
func (*MockCacheMockRecorder) GetDevicesByVersion ¶
func (mr *MockCacheMockRecorder) GetDevicesByVersion(deviceType, deviceVersion interface{}) *gomock.Call
GetDevicesByVersion indicates an expected call of GetDevicesByVersion
func (*MockCacheMockRecorder) Watch ¶
func (mr *MockCacheMockRecorder) Watch(ch, replay interface{}) *gomock.Call
Watch indicates an expected call of Watch