mocks

package
v0.0.0-...-4c3163d Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: MIT Imports: 4 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 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) Init

func (m *MockAPI) Init()

Init mocks base method

func (*MockAPI) Start

func (m *MockAPI) Start(arg0 string) error

Start mocks base method

type MockAPIMockRecorder

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

MockAPIMockRecorder is the mock recorder for MockAPI

func (*MockAPIMockRecorder) Init

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

Init indicates an expected call of Init

func (*MockAPIMockRecorder) Start

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

Start indicates an expected call of Start

type MockLogger

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

MockLogger is a mock of Logger interface

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) LogApiError

func (m *MockLogger) LogApiError(ctx context.Context, err smartapi.ApiError)

LogApiError mocks base method

func (*MockLogger) LogError

func (m *MockLogger) LogError(ctx context.Context, err error)

LogError mocks base method

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger

func (*MockLoggerMockRecorder) LogApiError

func (mr *MockLoggerMockRecorder) LogApiError(ctx, err interface{}) *gomock.Call

LogApiError indicates an expected call of LogApiError

func (*MockLoggerMockRecorder) LogError

func (mr *MockLoggerMockRecorder) LogError(ctx, err interface{}) *gomock.Call

LogError indicates an expected call of LogError

Jump to

Keyboard shortcuts

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