Documentation ¶
Overview ¶
Package mock_scheduler is a generated GoMock package.
Index ¶
- type MockScheduler
- func (m *MockScheduler) CreateDashTask(task *models.Task) error
- func (m *MockScheduler) CreateMergeTask(task *models.Task) error
- func (m *MockScheduler) CreateSplitTask(video *models.Video) error
- func (m *MockScheduler) CreateTranscodeTask(task *models.Task) error
- func (m *MockScheduler) DeleteTask(taskId string) error
- func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
- func (m *MockScheduler) GetAllTaskProgress() []*models.TaskProgressResponse
- func (m *MockScheduler) ReadMessages()
- type MockSchedulerMockRecorder
- func (mr *MockSchedulerMockRecorder) CreateDashTask(task interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) CreateMergeTask(task interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) CreateSplitTask(video interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) CreateTranscodeTask(task interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) DeleteTask(taskId interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) GetAllTaskProgress() *gomock.Call
- func (mr *MockSchedulerMockRecorder) ReadMessages() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScheduler ¶
type MockScheduler struct {
// contains filtered or unexported fields
}
MockScheduler is a mock of Scheduler interface.
func NewMockScheduler ¶
func NewMockScheduler(ctrl *gomock.Controller) *MockScheduler
NewMockScheduler creates a new mock instance.
func (*MockScheduler) CreateDashTask ¶
func (m *MockScheduler) CreateDashTask(task *models.Task) error
CreateDashTask mocks base method.
func (*MockScheduler) CreateMergeTask ¶
func (m *MockScheduler) CreateMergeTask(task *models.Task) error
CreateMergeTask mocks base method.
func (*MockScheduler) CreateSplitTask ¶
func (m *MockScheduler) CreateSplitTask(video *models.Video) error
CreateSplitTask mocks base method.
func (*MockScheduler) CreateTranscodeTask ¶
func (m *MockScheduler) CreateTranscodeTask(task *models.Task) error
CreateTranscodeTask mocks base method.
func (*MockScheduler) DeleteTask ¶
func (m *MockScheduler) DeleteTask(taskId string) error
DeleteTask mocks base method.
func (*MockScheduler) EXPECT ¶
func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScheduler) GetAllTaskProgress ¶
func (m *MockScheduler) GetAllTaskProgress() []*models.TaskProgressResponse
GetAllTaskProgress mocks base method.
func (*MockScheduler) ReadMessages ¶
func (m *MockScheduler) ReadMessages()
ReadMessages mocks base method.
type MockSchedulerMockRecorder ¶
type MockSchedulerMockRecorder struct {
// contains filtered or unexported fields
}
MockSchedulerMockRecorder is the mock recorder for MockScheduler.
func (*MockSchedulerMockRecorder) CreateDashTask ¶
func (mr *MockSchedulerMockRecorder) CreateDashTask(task interface{}) *gomock.Call
CreateDashTask indicates an expected call of CreateDashTask.
func (*MockSchedulerMockRecorder) CreateMergeTask ¶
func (mr *MockSchedulerMockRecorder) CreateMergeTask(task interface{}) *gomock.Call
CreateMergeTask indicates an expected call of CreateMergeTask.
func (*MockSchedulerMockRecorder) CreateSplitTask ¶
func (mr *MockSchedulerMockRecorder) CreateSplitTask(video interface{}) *gomock.Call
CreateSplitTask indicates an expected call of CreateSplitTask.
func (*MockSchedulerMockRecorder) CreateTranscodeTask ¶
func (mr *MockSchedulerMockRecorder) CreateTranscodeTask(task interface{}) *gomock.Call
CreateTranscodeTask indicates an expected call of CreateTranscodeTask.
func (*MockSchedulerMockRecorder) DeleteTask ¶
func (mr *MockSchedulerMockRecorder) DeleteTask(taskId interface{}) *gomock.Call
DeleteTask indicates an expected call of DeleteTask.
func (*MockSchedulerMockRecorder) GetAllTaskProgress ¶
func (mr *MockSchedulerMockRecorder) GetAllTaskProgress() *gomock.Call
GetAllTaskProgress indicates an expected call of GetAllTaskProgress.
func (*MockSchedulerMockRecorder) ReadMessages ¶
func (mr *MockSchedulerMockRecorder) ReadMessages() *gomock.Call
ReadMessages indicates an expected call of ReadMessages.