mock_app

package
v1.39.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_app is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockJobOnceScheduler

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

MockJobOnceScheduler is a mock of JobOnceScheduler interface.

func NewMockJobOnceScheduler

func NewMockJobOnceScheduler(ctrl *gomock.Controller) *MockJobOnceScheduler

NewMockJobOnceScheduler creates a new mock instance.

func (*MockJobOnceScheduler) Cancel

func (m *MockJobOnceScheduler) Cancel(arg0 string)

Cancel mocks base method.

func (*MockJobOnceScheduler) EXPECT

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

func (*MockJobOnceScheduler) ListScheduledJobs

func (m *MockJobOnceScheduler) ListScheduledJobs() ([]cluster.JobOnceMetadata, error)

ListScheduledJobs mocks base method.

func (*MockJobOnceScheduler) ScheduleOnce

func (m *MockJobOnceScheduler) ScheduleOnce(arg0 string, arg1 time.Time) (*cluster.JobOnce, error)

ScheduleOnce mocks base method.

func (*MockJobOnceScheduler) SetCallback

func (m *MockJobOnceScheduler) SetCallback(arg0 func(string)) error

SetCallback mocks base method.

func (*MockJobOnceScheduler) Start

func (m *MockJobOnceScheduler) Start() error

Start mocks base method.

type MockJobOnceSchedulerMockRecorder

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

MockJobOnceSchedulerMockRecorder is the mock recorder for MockJobOnceScheduler.

func (*MockJobOnceSchedulerMockRecorder) Cancel

func (mr *MockJobOnceSchedulerMockRecorder) Cancel(arg0 interface{}) *gomock.Call

Cancel indicates an expected call of Cancel.

func (*MockJobOnceSchedulerMockRecorder) ListScheduledJobs

func (mr *MockJobOnceSchedulerMockRecorder) ListScheduledJobs() *gomock.Call

ListScheduledJobs indicates an expected call of ListScheduledJobs.

func (*MockJobOnceSchedulerMockRecorder) ScheduleOnce

func (mr *MockJobOnceSchedulerMockRecorder) ScheduleOnce(arg0, arg1 interface{}) *gomock.Call

ScheduleOnce indicates an expected call of ScheduleOnce.

func (*MockJobOnceSchedulerMockRecorder) SetCallback

func (mr *MockJobOnceSchedulerMockRecorder) SetCallback(arg0 interface{}) *gomock.Call

SetCallback indicates an expected call of SetCallback.

func (*MockJobOnceSchedulerMockRecorder) Start

Start indicates an expected call of Start.

Jump to

Keyboard shortcuts

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