syncmock

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package syncmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient added in v0.3.5

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

MockClient is a mock of Client interface.

func NewMockClient added in v0.3.5

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Do added in v0.3.5

func (m *MockClient) Do(req *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockClient) EXPECT added in v0.3.5

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

type MockClientMockRecorder added in v0.3.5

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Do added in v0.3.5

func (mr *MockClientMockRecorder) Do(req interface{}) *gomock.Call

Do indicates an expected call of Do.

type MockCron

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

MockCron is a mock of Cron interface.

func NewMockCron

func NewMockCron(ctrl *gomock.Controller) *MockCron

NewMockCron creates a new mock instance.

func (*MockCron) AddFunc

func (m *MockCron) AddFunc(spec string, cmd func()) error

AddFunc mocks base method.

func (*MockCron) EXPECT

func (m *MockCron) EXPECT() *MockCronMockRecorder

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

func (*MockCron) Start

func (m *MockCron) Start()

Start mocks base method.

func (*MockCron) Stop

func (m *MockCron) Stop()

Stop mocks base method.

type MockCronMockRecorder

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

MockCronMockRecorder is the mock recorder for MockCron.

func (*MockCronMockRecorder) AddFunc

func (mr *MockCronMockRecorder) AddFunc(spec, cmd interface{}) *gomock.Call

AddFunc indicates an expected call of AddFunc.

func (*MockCronMockRecorder) Start

func (mr *MockCronMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockCronMockRecorder) Stop

func (mr *MockCronMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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