mockhandler

package
v0.0.0-...-0d89867 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mockhandler is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKVSHandler

func NewKVSHandler() handler.Handler

NewKVSHandler returns kvs handler

Types

type MockHandler

type MockHandler struct {
	// contains filtered or unexported fields
}

MockHandler is a mock of Handler interface

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance

func (*MockHandler) Apply

func (m *MockHandler) Apply(arg0 store.Store, arg1 *models.Command) error

Apply mocks base method

func (*MockHandler) ApplyBatch

func (m *MockHandler) ApplyBatch(arg0 store.Store, arg1 []*models.Command) error

ApplyBatch mocks base method

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

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

type MockHandlerMockRecorder

type MockHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockHandlerMockRecorder is the mock recorder for MockHandler

func (*MockHandlerMockRecorder) Apply

func (mr *MockHandlerMockRecorder) Apply(arg0, arg1 interface{}) *gomock.Call

Apply indicates an expected call of Apply

func (*MockHandlerMockRecorder) ApplyBatch

func (mr *MockHandlerMockRecorder) ApplyBatch(arg0, arg1 interface{}) *gomock.Call

ApplyBatch indicates an expected call of ApplyBatch

Jump to

Keyboard shortcuts

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