Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockCache
- func (m *MockCache) DeleteMulti(ctx context.Context, projectID string, keys []*datastore.Key) error
- func (m *MockCache) EXPECT() *MockCacheMockRecorder
- func (m *MockCache) GetMulti(ctx context.Context, projectID string, keys []*datastore.Key) ([]*datastore.EntityResult, error)
- func (m *MockCache) SetMulti(ctx context.Context, projectID string, items []*datastore.EntityResult) error
- type MockCacheMockRecorder
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) DeleteMulti ¶
DeleteMulti mocks base method
func (*MockCache) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCacheMockRecorder ¶
type MockCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheMockRecorder is the mock recorder for MockCache
func (*MockCacheMockRecorder) DeleteMulti ¶
func (mr *MockCacheMockRecorder) DeleteMulti(ctx, projectID, keys interface{}) *gomock.Call
DeleteMulti indicates an expected call of DeleteMulti
func (*MockCacheMockRecorder) GetMulti ¶
func (mr *MockCacheMockRecorder) GetMulti(ctx, projectID, keys interface{}) *gomock.Call
GetMulti indicates an expected call of GetMulti
func (*MockCacheMockRecorder) SetMulti ¶
func (mr *MockCacheMockRecorder) SetMulti(ctx, projectID, items interface{}) *gomock.Call
SetMulti indicates an expected call of SetMulti
Click to show internal directories.
Click to hide internal directories.