Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCacheStore
- func (m *MockCacheStore) Create(arg0 string, arg1, arg2 float64, arg3 []string) (uint64, error)
- func (m *MockCacheStore) Delete(arg0 uint64) error
- func (m *MockCacheStore) DeleteAll() error
- func (m *MockCacheStore) EXPECT() *MockCacheStoreMockRecorder
- func (m *MockCacheStore) FindNearest(arg0, arg1, arg2 float64, arg3 int) ([]model.Cache, error)
- func (m *MockCacheStore) GetAll() ([]model.Cache, error)
- func (m *MockCacheStore) GetById(arg0 uint64) (model.Cache, error)
- func (m *MockCacheStore) GetByName(arg0 string) (model.Cache, error)
- func (m *MockCacheStore) GetByTags(arg0 []string) ([]model.Cache, error)
- func (m *MockCacheStore) Shutdown() error
- func (m *MockCacheStore) Update(arg0 string, arg1 model.Cache) (model.Cache, error)
- type MockCacheStoreMockRecorder
- func (mr *MockCacheStoreMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCacheStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockCacheStoreMockRecorder) DeleteAll() *gomock.Call
- func (mr *MockCacheStoreMockRecorder) FindNearest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCacheStoreMockRecorder) GetAll() *gomock.Call
- func (mr *MockCacheStoreMockRecorder) GetById(arg0 interface{}) *gomock.Call
- func (mr *MockCacheStoreMockRecorder) GetByName(arg0 interface{}) *gomock.Call
- func (mr *MockCacheStoreMockRecorder) GetByTags(arg0 interface{}) *gomock.Call
- func (mr *MockCacheStoreMockRecorder) Shutdown() *gomock.Call
- func (mr *MockCacheStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockGeoStore
- type MockGeoStoreMockRecorder
- func (mr *MockGeoStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGeoStoreMockRecorder) FindNearest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGeoStoreMockRecorder) Insert(arg0 interface{}) *gomock.Call
- func (mr *MockGeoStoreMockRecorder) Shutdown() *gomock.Call
- type MockService
- func (m *MockService) Create(arg0 string, arg1, arg2 float64, arg3 []string) (uint64, error)
- func (m *MockService) Delete(arg0 uint64) error
- func (m *MockService) DeleteAll() error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) FindNearest(arg0, arg1, arg2 float64, arg3 int) ([]model.Cache, error)
- func (m *MockService) GetAll() ([]model.Cache, error)
- func (m *MockService) GetById(arg0 uint64) (model.Cache, error)
- func (m *MockService) GetByName(arg0 string) (model.Cache, error)
- func (m *MockService) GetByTags(arg0 []string) ([]model.Cache, error)
- func (m *MockService) Update(arg0 string, arg1 model.Cache) (model.Cache, error)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) DeleteAll() *gomock.Call
- func (mr *MockServiceMockRecorder) FindNearest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetAll() *gomock.Call
- func (mr *MockServiceMockRecorder) GetById(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetByName(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetByTags(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCacheStore ¶
type MockCacheStore struct {
// contains filtered or unexported fields
}
MockCacheStore is a mock of CacheStore interface.
func NewMockCacheStore ¶
func NewMockCacheStore(ctrl *gomock.Controller) *MockCacheStore
NewMockCacheStore creates a new mock instance.
func (*MockCacheStore) Delete ¶
func (m *MockCacheStore) Delete(arg0 uint64) error
Delete mocks base method.
func (*MockCacheStore) DeleteAll ¶
func (m *MockCacheStore) DeleteAll() error
DeleteAll mocks base method.
func (*MockCacheStore) EXPECT ¶
func (m *MockCacheStore) EXPECT() *MockCacheStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCacheStore) FindNearest ¶
FindNearest mocks base method.
func (*MockCacheStore) GetAll ¶
func (m *MockCacheStore) GetAll() ([]model.Cache, error)
GetAll mocks base method.
func (*MockCacheStore) GetById ¶
func (m *MockCacheStore) GetById(arg0 uint64) (model.Cache, error)
GetById mocks base method.
func (*MockCacheStore) GetByName ¶
func (m *MockCacheStore) GetByName(arg0 string) (model.Cache, error)
GetByName mocks base method.
func (*MockCacheStore) GetByTags ¶
func (m *MockCacheStore) GetByTags(arg0 []string) ([]model.Cache, error)
GetByTags mocks base method.
func (*MockCacheStore) Shutdown ¶
func (m *MockCacheStore) Shutdown() error
Shutdown mocks base method.
type MockCacheStoreMockRecorder ¶
type MockCacheStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheStoreMockRecorder is the mock recorder for MockCacheStore.
func (*MockCacheStoreMockRecorder) Create ¶
func (mr *MockCacheStoreMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockCacheStoreMockRecorder) Delete ¶
func (mr *MockCacheStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCacheStoreMockRecorder) DeleteAll ¶
func (mr *MockCacheStoreMockRecorder) DeleteAll() *gomock.Call
DeleteAll indicates an expected call of DeleteAll.
func (*MockCacheStoreMockRecorder) FindNearest ¶
func (mr *MockCacheStoreMockRecorder) FindNearest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FindNearest indicates an expected call of FindNearest.
func (*MockCacheStoreMockRecorder) GetAll ¶
func (mr *MockCacheStoreMockRecorder) GetAll() *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockCacheStoreMockRecorder) GetById ¶
func (mr *MockCacheStoreMockRecorder) GetById(arg0 interface{}) *gomock.Call
GetById indicates an expected call of GetById.
func (*MockCacheStoreMockRecorder) GetByName ¶
func (mr *MockCacheStoreMockRecorder) GetByName(arg0 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockCacheStoreMockRecorder) GetByTags ¶
func (mr *MockCacheStoreMockRecorder) GetByTags(arg0 interface{}) *gomock.Call
GetByTags indicates an expected call of GetByTags.
func (*MockCacheStoreMockRecorder) Shutdown ¶
func (mr *MockCacheStoreMockRecorder) Shutdown() *gomock.Call
Shutdown indicates an expected call of Shutdown.
func (*MockCacheStoreMockRecorder) Update ¶
func (mr *MockCacheStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockGeoStore ¶
type MockGeoStore struct {
// contains filtered or unexported fields
}
MockGeoStore is a mock of GeoStore interface.
func NewMockGeoStore ¶
func NewMockGeoStore(ctrl *gomock.Controller) *MockGeoStore
NewMockGeoStore creates a new mock instance.
func (*MockGeoStore) EXPECT ¶
func (m *MockGeoStore) EXPECT() *MockGeoStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGeoStore) Find ¶
func (m *MockGeoStore) Find(arg0, arg1 float64) uint64
Find mocks base method.
func (*MockGeoStore) FindNearest ¶
func (m *MockGeoStore) FindNearest(arg0, arg1, arg2 float64, arg3 int) []uint64
FindNearest mocks base method.
func (*MockGeoStore) Insert ¶
func (m *MockGeoStore) Insert(arg0 *geostore.Node)
Insert mocks base method.
type MockGeoStoreMockRecorder ¶
type MockGeoStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockGeoStoreMockRecorder is the mock recorder for MockGeoStore.
func (*MockGeoStoreMockRecorder) Find ¶
func (mr *MockGeoStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockGeoStoreMockRecorder) FindNearest ¶
func (mr *MockGeoStoreMockRecorder) FindNearest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FindNearest indicates an expected call of FindNearest.
func (*MockGeoStoreMockRecorder) Insert ¶
func (mr *MockGeoStoreMockRecorder) Insert(arg0 interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockGeoStoreMockRecorder) Shutdown ¶
func (mr *MockGeoStoreMockRecorder) Shutdown() *gomock.Call
Shutdown indicates an expected call of Shutdown.
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) Delete ¶
func (m *MockService) Delete(arg0 uint64) error
Delete mocks base method.
func (*MockService) DeleteAll ¶
func (m *MockService) DeleteAll() error
DeleteAll mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) FindNearest ¶
FindNearest mocks base method.
func (*MockService) GetAll ¶
func (m *MockService) GetAll() ([]model.Cache, error)
GetAll mocks base method.
func (*MockService) GetById ¶
func (m *MockService) GetById(arg0 uint64) (model.Cache, error)
GetById mocks base method.
func (*MockService) GetByName ¶
func (m *MockService) GetByName(arg0 string) (model.Cache, error)
GetByName mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Create ¶
func (mr *MockServiceMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockServiceMockRecorder) Delete ¶
func (mr *MockServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockServiceMockRecorder) DeleteAll ¶
func (mr *MockServiceMockRecorder) DeleteAll() *gomock.Call
DeleteAll indicates an expected call of DeleteAll.
func (*MockServiceMockRecorder) FindNearest ¶
func (mr *MockServiceMockRecorder) FindNearest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FindNearest indicates an expected call of FindNearest.
func (*MockServiceMockRecorder) GetAll ¶
func (mr *MockServiceMockRecorder) GetAll() *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockServiceMockRecorder) GetById ¶
func (mr *MockServiceMockRecorder) GetById(arg0 interface{}) *gomock.Call
GetById indicates an expected call of GetById.
func (*MockServiceMockRecorder) GetByName ¶
func (mr *MockServiceMockRecorder) GetByName(arg0 interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockServiceMockRecorder) GetByTags ¶
func (mr *MockServiceMockRecorder) GetByTags(arg0 interface{}) *gomock.Call
GetByTags indicates an expected call of GetByTags.
func (*MockServiceMockRecorder) Update ¶
func (mr *MockServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.