mock_pluginapi

package
v0.0.0-...-2cccd0f Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_pluginapi 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) GetConfig

func (m *MockAPI) GetConfig() *model.Config

GetConfig mocks base method

func (*MockAPI) GetPost

func (m *MockAPI) GetPost(arg0 string) (*model.Post, error)

GetPost mocks base method

func (*MockAPI) KVGet

func (m *MockAPI) KVGet(arg0 string) ([]byte, error)

KVGet mocks base method

func (*MockAPI) KVSet

func (m *MockAPI) KVSet(arg0 string, arg1 []byte) error

KVSet mocks base method

type MockAPIMockRecorder

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

MockAPIMockRecorder is the mock recorder for MockAPI

func (*MockAPIMockRecorder) GetConfig

func (mr *MockAPIMockRecorder) GetConfig() *gomock.Call

GetConfig indicates an expected call of GetConfig

func (*MockAPIMockRecorder) GetPost

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

GetPost indicates an expected call of GetPost

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