syncmock

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 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 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.

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.

type MockHTTPClient

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

MockHTTPClient is a mock of HTTPClient interface.

func NewMockHTTPClient

func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient

NewMockHTTPClient creates a new mock instance.

func (*MockHTTPClient) Do

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

Do mocks base method.

func (*MockHTTPClient) EXPECT

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

type MockHTTPClientMockRecorder

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

MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.

func (*MockHTTPClientMockRecorder) Do

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

Do indicates an expected call of Do.

Jump to

Keyboard shortcuts

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