Documentation ¶
Overview ¶
Package spark_v1_mock is a generated GoMock package.
Package spark_v1_mock is a generated GoMock package.
Index ¶
- type MockContext
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) CorrelationID() *gomock.Call
- func (mr *MockContextMockRecorder) Ctx() *gomock.Call
- func (mr *MockContextMockRecorder) JobKey() *gomock.Call
- func (mr *MockContextMockRecorder) LastActiveStage() *gomock.Call
- func (mr *MockContextMockRecorder) TransactionID() *gomock.Call
- type MockStageProgressHandler
- func (m *MockStageProgressHandler) EXPECT() *MockStageProgressHandlerMockRecorder
- func (m *MockStageProgressHandler) Get(arg0, arg1 string) (*sparkv1.StageStatus, error)
- func (m *MockStageProgressHandler) GetResult(arg0, arg1 string) spark_v1.Bindable
- func (m *MockStageProgressHandler) Set(arg0 *sparkv1.SetStageStatusRequest) error
- func (m *MockStageProgressHandler) SetResult(arg0 *sparkv1.SetStageResultRequest) error
- type MockStageProgressHandlerMockRecorder
- func (mr *MockStageProgressHandlerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStageProgressHandlerMockRecorder) GetResult(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStageProgressHandlerMockRecorder) Set(arg0 interface{}) *gomock.Call
- func (mr *MockStageProgressHandlerMockRecorder) SetResult(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContext ¶
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface.
func NewMockContext ¶
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance.
func (*MockContext) CorrelationID ¶
func (m *MockContext) CorrelationID() string
CorrelationID mocks base method.
func (*MockContext) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContext) LastActiveStage ¶
func (m *MockContext) LastActiveStage() *sparkv1.LastActiveStage
LastActiveStage mocks base method.
func (*MockContext) TransactionID ¶
func (m *MockContext) TransactionID() string
TransactionID mocks base method.
type MockContextMockRecorder ¶
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext.
func (*MockContextMockRecorder) CorrelationID ¶
func (mr *MockContextMockRecorder) CorrelationID() *gomock.Call
CorrelationID indicates an expected call of CorrelationID.
func (*MockContextMockRecorder) Ctx ¶
func (mr *MockContextMockRecorder) Ctx() *gomock.Call
Ctx indicates an expected call of Ctx.
func (*MockContextMockRecorder) JobKey ¶
func (mr *MockContextMockRecorder) JobKey() *gomock.Call
JobKey indicates an expected call of JobKey.
func (*MockContextMockRecorder) LastActiveStage ¶
func (mr *MockContextMockRecorder) LastActiveStage() *gomock.Call
LastActiveStage indicates an expected call of LastActiveStage.
func (*MockContextMockRecorder) TransactionID ¶
func (mr *MockContextMockRecorder) TransactionID() *gomock.Call
TransactionID indicates an expected call of TransactionID.
type MockStageProgressHandler ¶
type MockStageProgressHandler struct {
// contains filtered or unexported fields
}
MockStageProgressHandler is a mock of StageProgressHandler interface.
func NewMockStageProgressHandler ¶
func NewMockStageProgressHandler(ctrl *gomock.Controller) *MockStageProgressHandler
NewMockStageProgressHandler creates a new mock instance.
func (*MockStageProgressHandler) EXPECT ¶
func (m *MockStageProgressHandler) EXPECT() *MockStageProgressHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStageProgressHandler) Get ¶
func (m *MockStageProgressHandler) Get(arg0, arg1 string) (*sparkv1.StageStatus, error)
Get mocks base method.
func (*MockStageProgressHandler) GetResult ¶
func (m *MockStageProgressHandler) GetResult(arg0, arg1 string) spark_v1.Bindable
GetResult mocks base method.
func (*MockStageProgressHandler) Set ¶
func (m *MockStageProgressHandler) Set(arg0 *sparkv1.SetStageStatusRequest) error
Set mocks base method.
func (*MockStageProgressHandler) SetResult ¶
func (m *MockStageProgressHandler) SetResult(arg0 *sparkv1.SetStageResultRequest) error
SetResult mocks base method.
type MockStageProgressHandlerMockRecorder ¶
type MockStageProgressHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockStageProgressHandlerMockRecorder is the mock recorder for MockStageProgressHandler.
func (*MockStageProgressHandlerMockRecorder) Get ¶
func (mr *MockStageProgressHandlerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStageProgressHandlerMockRecorder) GetResult ¶
func (mr *MockStageProgressHandlerMockRecorder) GetResult(arg0, arg1 interface{}) *gomock.Call
GetResult indicates an expected call of GetResult.
func (*MockStageProgressHandlerMockRecorder) Set ¶
func (mr *MockStageProgressHandlerMockRecorder) Set(arg0 interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockStageProgressHandlerMockRecorder) SetResult ¶
func (mr *MockStageProgressHandlerMockRecorder) SetResult(arg0 interface{}) *gomock.Call
SetResult indicates an expected call of SetResult.