Documentation ¶
Overview ¶
Package mock_scheduler is a generated GoMock package.
Package mock_scheduler is a generated GoMock package.
Index ¶
- type MockCloudTasksClient
- func (m *MockCloudTasksClient) CreateTask(ctx context.Context, req *tasks.CreateTaskRequest, opts ...gax.CallOption) (*tasks.Task, error)
- func (m *MockCloudTasksClient) DeleteTask(ctx context.Context, req *tasks.DeleteTaskRequest, opts ...gax.CallOption) error
- func (m *MockCloudTasksClient) EXPECT() *MockCloudTasksClientMockRecorder
- func (m *MockCloudTasksClient) ListTasks(ctx context.Context, req *tasks.ListTasksRequest, opts ...gax.CallOption) *cloudtasks.TaskIterator
- type MockCloudTasksClientMockRecorder
- func (mr *MockCloudTasksClientMockRecorder) CreateTask(ctx, req interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCloudTasksClientMockRecorder) DeleteTask(ctx, req interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCloudTasksClientMockRecorder) ListTasks(ctx, req interface{}, opts ...interface{}) *gomock.Call
- type MockTaskIterator
- type MockTaskIteratorMockRecorder
- type MockTaskLister
- type MockTaskListerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCloudTasksClient ¶
type MockCloudTasksClient struct {
// contains filtered or unexported fields
}
MockCloudTasksClient is a mock of CloudTasksClient interface.
func NewMockCloudTasksClient ¶
func NewMockCloudTasksClient(ctrl *gomock.Controller) *MockCloudTasksClient
NewMockCloudTasksClient creates a new mock instance.
func (*MockCloudTasksClient) CreateTask ¶
func (m *MockCloudTasksClient) CreateTask(ctx context.Context, req *tasks.CreateTaskRequest, opts ...gax.CallOption) (*tasks.Task, error)
CreateTask mocks base method.
func (*MockCloudTasksClient) DeleteTask ¶
func (m *MockCloudTasksClient) DeleteTask(ctx context.Context, req *tasks.DeleteTaskRequest, opts ...gax.CallOption) error
DeleteTask mocks base method.
func (*MockCloudTasksClient) EXPECT ¶
func (m *MockCloudTasksClient) EXPECT() *MockCloudTasksClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCloudTasksClient) ListTasks ¶
func (m *MockCloudTasksClient) ListTasks(ctx context.Context, req *tasks.ListTasksRequest, opts ...gax.CallOption) *cloudtasks.TaskIterator
ListTasks mocks base method.
type MockCloudTasksClientMockRecorder ¶
type MockCloudTasksClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCloudTasksClientMockRecorder is the mock recorder for MockCloudTasksClient.
func (*MockCloudTasksClientMockRecorder) CreateTask ¶
func (mr *MockCloudTasksClientMockRecorder) CreateTask(ctx, req interface{}, opts ...interface{}) *gomock.Call
CreateTask indicates an expected call of CreateTask.
func (*MockCloudTasksClientMockRecorder) DeleteTask ¶
func (mr *MockCloudTasksClientMockRecorder) DeleteTask(ctx, req interface{}, opts ...interface{}) *gomock.Call
DeleteTask indicates an expected call of DeleteTask.
func (*MockCloudTasksClientMockRecorder) ListTasks ¶
func (mr *MockCloudTasksClientMockRecorder) ListTasks(ctx, req interface{}, opts ...interface{}) *gomock.Call
ListTasks indicates an expected call of ListTasks.
type MockTaskIterator ¶
type MockTaskIterator struct {
// contains filtered or unexported fields
}
MockTaskIterator is a mock of TaskIterator interface.
func NewMockTaskIterator ¶
func NewMockTaskIterator(ctrl *gomock.Controller) *MockTaskIterator
NewMockTaskIterator creates a new mock instance.
func (*MockTaskIterator) EXPECT ¶
func (m *MockTaskIterator) EXPECT() *MockTaskIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTaskIterator) Next ¶
func (m *MockTaskIterator) Next() (*tasks.Task, error)
Next mocks base method.
func (*MockTaskIterator) PageInfo ¶
func (m *MockTaskIterator) PageInfo() *iterator.PageInfo
PageInfo mocks base method.
type MockTaskIteratorMockRecorder ¶
type MockTaskIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskIteratorMockRecorder is the mock recorder for MockTaskIterator.
func (*MockTaskIteratorMockRecorder) Next ¶
func (mr *MockTaskIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockTaskIteratorMockRecorder) PageInfo ¶
func (mr *MockTaskIteratorMockRecorder) PageInfo() *gomock.Call
PageInfo indicates an expected call of PageInfo.
type MockTaskLister ¶
type MockTaskLister struct {
// contains filtered or unexported fields
}
MockTaskLister is a mock of TaskLister interface.
func NewMockTaskLister ¶
func NewMockTaskLister(ctrl *gomock.Controller) *MockTaskLister
NewMockTaskLister creates a new mock instance.
func (*MockTaskLister) EXPECT ¶
func (m *MockTaskLister) EXPECT() *MockTaskListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTaskLister) ListTasks ¶
func (m *MockTaskLister) ListTasks(ctx context.Context, req *tasks.ListTasksRequest, opts ...gax.CallOption) scheduler.TaskIterator
ListTasks mocks base method.
type MockTaskListerMockRecorder ¶
type MockTaskListerMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskListerMockRecorder is the mock recorder for MockTaskLister.
func (*MockTaskListerMockRecorder) ListTasks ¶
func (mr *MockTaskListerMockRecorder) ListTasks(ctx, req interface{}, opts ...interface{}) *gomock.Call
ListTasks indicates an expected call of ListTasks.