Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockHandler
- func (m *MockHandler) CopyRadixBatch(ctx context.Context, batchName, deploymentName string) (*v2.RadixBatch, error)
- func (m *MockHandler) CopyRadixBatchJob(ctx context.Context, jobName, deploymentName string) (*v2.RadixBatch, error)
- func (m *MockHandler) CreateRadixBatch(ctx context.Context, batchScheduleDescription *common.BatchScheduleDescription) (*v2.RadixBatch, error)
- func (m *MockHandler) CreateRadixBatchSingleJob(ctx context.Context, jobScheduleDescription *common.JobScheduleDescription) (*v2.RadixBatch, error)
- func (m *MockHandler) DeleteRadixBatchJob(ctx context.Context, jobName string) error
- func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
- func (m *MockHandler) GetRadixBatch(ctx context.Context, batchName string) (*v2.RadixBatch, error)
- func (m *MockHandler) GetRadixBatchSingleJobs(ctx context.Context) ([]v2.RadixBatch, error)
- func (m *MockHandler) GetRadixBatches(ctx context.Context) ([]v2.RadixBatch, error)
- func (m *MockHandler) RestartRadixBatch(ctx context.Context, batchName string) error
- func (m *MockHandler) RestartRadixBatchJob(ctx context.Context, batchName, jobName string) error
- func (m *MockHandler) StopRadixBatch(ctx context.Context, batchName string) error
- func (m *MockHandler) StopRadixBatchJob(ctx context.Context, batchName, jobName string) error
- type MockHandlerMockRecorder
- func (mr *MockHandlerMockRecorder) CopyRadixBatch(ctx, batchName, deploymentName interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) CopyRadixBatchJob(ctx, jobName, deploymentName interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) CreateRadixBatch(ctx, batchScheduleDescription interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) CreateRadixBatchSingleJob(ctx, jobScheduleDescription interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) DeleteRadixBatchJob(ctx, jobName interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) GetRadixBatch(ctx, batchName interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) GetRadixBatchSingleJobs(ctx interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) GetRadixBatches(ctx interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RestartRadixBatch(ctx, batchName interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RestartRadixBatchJob(ctx, batchName, jobName interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) StopRadixBatch(ctx, batchName interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) StopRadixBatchJob(ctx, batchName, jobName interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHandler ¶
type MockHandler struct {
// contains filtered or unexported fields
}
MockHandler is a mock of Handler interface.
func NewMockHandler ¶
func NewMockHandler(ctrl *gomock.Controller) *MockHandler
NewMockHandler creates a new mock instance.
func (*MockHandler) CopyRadixBatch ¶ added in v1.8.0
func (m *MockHandler) CopyRadixBatch(ctx context.Context, batchName, deploymentName string) (*v2.RadixBatch, error)
CopyRadixBatch mocks base method.
func (*MockHandler) CopyRadixBatchJob ¶ added in v1.10.0
func (m *MockHandler) CopyRadixBatchJob(ctx context.Context, jobName, deploymentName string) (*v2.RadixBatch, error)
CopyRadixBatchJob mocks base method.
func (*MockHandler) CreateRadixBatch ¶
func (m *MockHandler) CreateRadixBatch(ctx context.Context, batchScheduleDescription *common.BatchScheduleDescription) (*v2.RadixBatch, error)
CreateRadixBatch mocks base method.
func (*MockHandler) CreateRadixBatchSingleJob ¶
func (m *MockHandler) CreateRadixBatchSingleJob(ctx context.Context, jobScheduleDescription *common.JobScheduleDescription) (*v2.RadixBatch, error)
CreateRadixBatchSingleJob mocks base method.
func (*MockHandler) DeleteRadixBatchJob ¶ added in v1.10.0
func (m *MockHandler) DeleteRadixBatchJob(ctx context.Context, jobName string) error
DeleteRadixBatchJob mocks base method.
func (*MockHandler) EXPECT ¶
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHandler) GetRadixBatch ¶
func (m *MockHandler) GetRadixBatch(ctx context.Context, batchName string) (*v2.RadixBatch, error)
GetRadixBatch mocks base method.
func (*MockHandler) GetRadixBatchSingleJobs ¶
func (m *MockHandler) GetRadixBatchSingleJobs(ctx context.Context) ([]v2.RadixBatch, error)
GetRadixBatchSingleJobs mocks base method.
func (*MockHandler) GetRadixBatches ¶
func (m *MockHandler) GetRadixBatches(ctx context.Context) ([]v2.RadixBatch, error)
GetRadixBatches mocks base method.
func (*MockHandler) RestartRadixBatch ¶ added in v1.10.0
func (m *MockHandler) RestartRadixBatch(ctx context.Context, batchName string) error
RestartRadixBatch mocks base method.
func (*MockHandler) RestartRadixBatchJob ¶ added in v1.10.0
func (m *MockHandler) RestartRadixBatchJob(ctx context.Context, batchName, jobName string) error
RestartRadixBatchJob mocks base method.
func (*MockHandler) StopRadixBatch ¶
func (m *MockHandler) StopRadixBatch(ctx context.Context, batchName string) error
StopRadixBatch mocks base method.
func (*MockHandler) StopRadixBatchJob ¶
func (m *MockHandler) StopRadixBatchJob(ctx context.Context, batchName, jobName string) error
StopRadixBatchJob mocks base method.
type MockHandlerMockRecorder ¶
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler.
func (*MockHandlerMockRecorder) CopyRadixBatch ¶ added in v1.8.0
func (mr *MockHandlerMockRecorder) CopyRadixBatch(ctx, batchName, deploymentName interface{}) *gomock.Call
CopyRadixBatch indicates an expected call of CopyRadixBatch.
func (*MockHandlerMockRecorder) CopyRadixBatchJob ¶ added in v1.10.0
func (mr *MockHandlerMockRecorder) CopyRadixBatchJob(ctx, jobName, deploymentName interface{}) *gomock.Call
CopyRadixBatchJob indicates an expected call of CopyRadixBatchJob.
func (*MockHandlerMockRecorder) CreateRadixBatch ¶
func (mr *MockHandlerMockRecorder) CreateRadixBatch(ctx, batchScheduleDescription interface{}) *gomock.Call
CreateRadixBatch indicates an expected call of CreateRadixBatch.
func (*MockHandlerMockRecorder) CreateRadixBatchSingleJob ¶
func (mr *MockHandlerMockRecorder) CreateRadixBatchSingleJob(ctx, jobScheduleDescription interface{}) *gomock.Call
CreateRadixBatchSingleJob indicates an expected call of CreateRadixBatchSingleJob.
func (*MockHandlerMockRecorder) DeleteRadixBatchJob ¶ added in v1.10.0
func (mr *MockHandlerMockRecorder) DeleteRadixBatchJob(ctx, jobName interface{}) *gomock.Call
DeleteRadixBatchJob indicates an expected call of DeleteRadixBatchJob.
func (*MockHandlerMockRecorder) GetRadixBatch ¶
func (mr *MockHandlerMockRecorder) GetRadixBatch(ctx, batchName interface{}) *gomock.Call
GetRadixBatch indicates an expected call of GetRadixBatch.
func (*MockHandlerMockRecorder) GetRadixBatchSingleJobs ¶
func (mr *MockHandlerMockRecorder) GetRadixBatchSingleJobs(ctx interface{}) *gomock.Call
GetRadixBatchSingleJobs indicates an expected call of GetRadixBatchSingleJobs.
func (*MockHandlerMockRecorder) GetRadixBatches ¶
func (mr *MockHandlerMockRecorder) GetRadixBatches(ctx interface{}) *gomock.Call
GetRadixBatches indicates an expected call of GetRadixBatches.
func (*MockHandlerMockRecorder) RestartRadixBatch ¶ added in v1.10.0
func (mr *MockHandlerMockRecorder) RestartRadixBatch(ctx, batchName interface{}) *gomock.Call
RestartRadixBatch indicates an expected call of RestartRadixBatch.
func (*MockHandlerMockRecorder) RestartRadixBatchJob ¶ added in v1.10.0
func (mr *MockHandlerMockRecorder) RestartRadixBatchJob(ctx, batchName, jobName interface{}) *gomock.Call
RestartRadixBatchJob indicates an expected call of RestartRadixBatchJob.
func (*MockHandlerMockRecorder) StopRadixBatch ¶
func (mr *MockHandlerMockRecorder) StopRadixBatch(ctx, batchName interface{}) *gomock.Call
StopRadixBatch indicates an expected call of StopRadixBatch.
func (*MockHandlerMockRecorder) StopRadixBatchJob ¶
func (mr *MockHandlerMockRecorder) StopRadixBatchJob(ctx, batchName, jobName interface{}) *gomock.Call
StopRadixBatchJob indicates an expected call of StopRadixBatchJob.