mock

package
v1.7.1-0...-23dd39d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock 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) EXPECT

func (m *MockCron) EXPECT() *MockCronMockRecorder

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

func (*MockCron) Schedule

func (m *MockCron) Schedule(arg0 cron.Schedule, arg1 cron.Job)

Schedule mocks base method.

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) Schedule

func (mr *MockCronMockRecorder) Schedule(arg0, arg1 interface{}) *gomock.Call

Schedule indicates an expected call of Schedule.

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.

type MockNewCronWithLocation

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

MockNewCronWithLocation is a mock of NewCronWithLocation interface.

func NewMockNewCronWithLocation

func NewMockNewCronWithLocation(ctrl *gomock.Controller) *MockNewCronWithLocation

NewMockNewCronWithLocation creates a new mock instance.

func (*MockNewCronWithLocation) Do

Do mocks base method.

func (*MockNewCronWithLocation) EXPECT

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

type MockNewCronWithLocationMockRecorder

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

MockNewCronWithLocationMockRecorder is the mock recorder for MockNewCronWithLocation.

func (*MockNewCronWithLocationMockRecorder) Do

func (mr *MockNewCronWithLocationMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do.

type NewCronWithLocation

type NewCronWithLocation interface {
	Do(location *time.Location) shoot.Cron
}

NewCronWithLocation allows mocking cron.NewWithLocation.

Jump to

Keyboard shortcuts

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