mocks

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDBInterface

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

MockDBInterface is a mock of DBInterface interface.

func NewMockDBInterface

func NewMockDBInterface(ctrl *gomock.Controller) *MockDBInterface

NewMockDBInterface creates a new mock instance.

func (*MockDBInterface) Delete

func (m *MockDBInterface) Delete(name string) error

Delete mocks base method.

func (*MockDBInterface) EXPECT

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

func (*MockDBInterface) Get

func (m *MockDBInterface) Get(name string) (application.Info, error)

Get mocks base method.

func (*MockDBInterface) GetList

func (m *MockDBInterface) GetList() ([]application.Info, error)

GetList mocks base method.

func (*MockDBInterface) Set

func (m *MockDBInterface) Set(info application.Info) error

Set mocks base method.

func (*MockDBInterface) Update

func (m *MockDBInterface) Update(info application.Info) error

Update mocks base method.

type MockDBInterfaceMockRecorder

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

MockDBInterfaceMockRecorder is the mock recorder for MockDBInterface.

func (*MockDBInterfaceMockRecorder) Delete

func (mr *MockDBInterfaceMockRecorder) Delete(name interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDBInterfaceMockRecorder) Get

func (mr *MockDBInterfaceMockRecorder) Get(name interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockDBInterfaceMockRecorder) GetList

func (mr *MockDBInterfaceMockRecorder) GetList() *gomock.Call

GetList indicates an expected call of GetList.

func (*MockDBInterfaceMockRecorder) Set

func (mr *MockDBInterfaceMockRecorder) Set(info interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockDBInterfaceMockRecorder) Update

func (mr *MockDBInterfaceMockRecorder) Update(info interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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