mock

package
v0.0.0-...-d1f9358 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 3 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 MockAPI

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

MockAPI is a mock of API interface

func NewMockAPI

func NewMockAPI(ctrl *gomock.Controller) *MockAPI

NewMockAPI creates a new mock instance

func (*MockAPI) EXPECT

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

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

func (*MockAPI) KVDelete

func (m *MockAPI) KVDelete(arg0 string) *model.AppError

KVDelete mocks base method

func (*MockAPI) KVGet

func (m *MockAPI) KVGet(arg0 string) ([]byte, *model.AppError)

KVGet mocks base method

func (*MockAPI) KVSet

func (m *MockAPI) KVSet(arg0 string, arg1 []byte) *model.AppError

KVSet mocks base method

type MockAPIMockRecorder

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

MockAPIMockRecorder is the mock recorder for MockAPI

func (*MockAPIMockRecorder) KVDelete

func (mr *MockAPIMockRecorder) KVDelete(arg0 interface{}) *gomock.Call

KVDelete indicates an expected call of KVDelete

func (*MockAPIMockRecorder) KVGet

func (mr *MockAPIMockRecorder) KVGet(arg0 interface{}) *gomock.Call

KVGet indicates an expected call of KVGet

func (*MockAPIMockRecorder) KVSet

func (mr *MockAPIMockRecorder) KVSet(arg0, arg1 interface{}) *gomock.Call

KVSet indicates an expected call of KVSet

Jump to

Keyboard shortcuts

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