mock

package
v0.0.0-...-716bffc Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock 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) DeleteMulti

func (m *MockCache) DeleteMulti(ctx context.Context, projectID string, keys []*datastore.Key) error

DeleteMulti 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) GetMulti

func (m *MockCache) GetMulti(ctx context.Context, projectID string, keys []*datastore.Key) ([]*datastore.EntityResult, error)

GetMulti mocks base method

func (*MockCache) SetMulti

func (m *MockCache) SetMulti(ctx context.Context, projectID string, items []*datastore.EntityResult) error

SetMulti mocks base method

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

Jump to

Keyboard shortcuts

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