Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) List(arg0 context.Context, arg1 *pipeline.ListPayload) ([]*pipeline.EnduroStoredPipeline, error)
- func (m *MockService) Processing(arg0 context.Context, arg1 *pipeline.ProcessingPayload) ([]string, error)
- func (m *MockService) Show(arg0 context.Context, arg1 *pipeline.ShowPayload) (*pipeline.EnduroStoredPipeline, error)
- type MockServiceMockRecorder
- type ServiceListCall
- type ServiceProcessingCall
- func (c *ServiceProcessingCall) Do(f func(context.Context, *pipeline.ProcessingPayload) ([]string, error)) *ServiceProcessingCall
- func (c *ServiceProcessingCall) DoAndReturn(f func(context.Context, *pipeline.ProcessingPayload) ([]string, error)) *ServiceProcessingCall
- func (c *ServiceProcessingCall) Return(arg0 []string, arg1 error) *ServiceProcessingCall
- type ServiceShowCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) List ¶
func (m *MockService) List(arg0 context.Context, arg1 *pipeline.ListPayload) ([]*pipeline.EnduroStoredPipeline, error)
List mocks base method.
func (*MockService) Processing ¶ added in v0.35.0
func (m *MockService) Processing(arg0 context.Context, arg1 *pipeline.ProcessingPayload) ([]string, error)
Processing mocks base method.
func (*MockService) Show ¶
func (m *MockService) Show(arg0 context.Context, arg1 *pipeline.ShowPayload) (*pipeline.EnduroStoredPipeline, error)
Show mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) List ¶
func (mr *MockServiceMockRecorder) List(arg0, arg1 interface{}) *ServiceListCall
List indicates an expected call of List.
func (*MockServiceMockRecorder) Processing ¶ added in v0.35.0
func (mr *MockServiceMockRecorder) Processing(arg0, arg1 interface{}) *ServiceProcessingCall
Processing indicates an expected call of Processing.
func (*MockServiceMockRecorder) Show ¶
func (mr *MockServiceMockRecorder) Show(arg0, arg1 interface{}) *ServiceShowCall
Show indicates an expected call of Show.
type ServiceListCall ¶ added in v0.41.0
ServiceListCall wrap *gomock.Call
func (*ServiceListCall) Do ¶ added in v0.41.0
func (c *ServiceListCall) Do(f func(context.Context, *pipeline.ListPayload) ([]*pipeline.EnduroStoredPipeline, error)) *ServiceListCall
Do rewrite *gomock.Call.Do
func (*ServiceListCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceListCall) DoAndReturn(f func(context.Context, *pipeline.ListPayload) ([]*pipeline.EnduroStoredPipeline, error)) *ServiceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceListCall) Return ¶ added in v0.41.0
func (c *ServiceListCall) Return(arg0 []*pipeline.EnduroStoredPipeline, arg1 error) *ServiceListCall
Return rewrite *gomock.Call.Return
type ServiceProcessingCall ¶ added in v0.41.0
ServiceProcessingCall wrap *gomock.Call
func (*ServiceProcessingCall) Do ¶ added in v0.41.0
func (c *ServiceProcessingCall) Do(f func(context.Context, *pipeline.ProcessingPayload) ([]string, error)) *ServiceProcessingCall
Do rewrite *gomock.Call.Do
func (*ServiceProcessingCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceProcessingCall) DoAndReturn(f func(context.Context, *pipeline.ProcessingPayload) ([]string, error)) *ServiceProcessingCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceProcessingCall) Return ¶ added in v0.41.0
func (c *ServiceProcessingCall) Return(arg0 []string, arg1 error) *ServiceProcessingCall
Return rewrite *gomock.Call.Return
type ServiceShowCall ¶ added in v0.41.0
ServiceShowCall wrap *gomock.Call
func (*ServiceShowCall) Do ¶ added in v0.41.0
func (c *ServiceShowCall) Do(f func(context.Context, *pipeline.ShowPayload) (*pipeline.EnduroStoredPipeline, error)) *ServiceShowCall
Do rewrite *gomock.Call.Do
func (*ServiceShowCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceShowCall) DoAndReturn(f func(context.Context, *pipeline.ShowPayload) (*pipeline.EnduroStoredPipeline, error)) *ServiceShowCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceShowCall) Return ¶ added in v0.41.0
func (c *ServiceShowCall) Return(arg0 *pipeline.EnduroStoredPipeline, arg1 error) *ServiceShowCall
Return rewrite *gomock.Call.Return