cache

package
v0.6.16 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package device is a generated GoMock package.

Index

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

func (m *MockCache) Close() error

Close mocks base method

func (*MockCache) EXPECT

func (m *MockCache) EXPECT() *MockCacheMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCache) GetDevices

func (m *MockCache) GetDevices() []*cache.Info

GetDevices mocks base method

func (*MockCache) GetDevicesByID

func (m *MockCache) GetDevicesByID(id device.ID) []*cache.Info

GetDevicesByID mocks base method

func (*MockCache) GetDevicesByType

func (m *MockCache) GetDevicesByType(deviceType device.Type) []*cache.Info

GetDevicesByType mocks base method

func (*MockCache) GetDevicesByVersion

func (m *MockCache) GetDevicesByVersion(deviceType device.Type, deviceVersion device.Version) []*cache.Info

GetDevicesByVersion mocks base method

func (*MockCache) Watch

func (m *MockCache) Watch(ch chan<- stream.Event, replay bool) (stream.Context, error)

Watch 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

Jump to

Keyboard shortcuts

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