Documentation ¶
Overview ¶
Package mock_tekton is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) CreatePipelineRun(ctx context.Context, pr *tekton.PipelineRun) (string, error)
- func (m *MockInterface) DeletePipelineRun(ctx context.Context, pr *v1beta1.PipelineRun) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetPipelineRunByID(ctx context.Context, ciEventID string) (*v1beta1.PipelineRun, error)
- func (m *MockInterface) GetPipelineRunLog(ctx context.Context, pr *v1beta1.PipelineRun) (<-chan log.Log, <-chan error, error)
- func (m *MockInterface) GetPipelineRunLogByID(ctx context.Context, ciEventID string) (<-chan log.Log, <-chan error, error)
- func (m *MockInterface) StopPipelineRun(ctx context.Context, ciEventID string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) CreatePipelineRun(ctx, pr interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeletePipelineRun(ctx, pr interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetPipelineRunByID(ctx, ciEventID interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetPipelineRunLog(ctx, pr interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetPipelineRunLogByID(ctx, ciEventID interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) StopPipelineRun(ctx, ciEventID interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) CreatePipelineRun ¶
func (m *MockInterface) CreatePipelineRun(ctx context.Context, pr *tekton.PipelineRun) (string, error)
CreatePipelineRun mocks base method.
func (*MockInterface) DeletePipelineRun ¶
func (m *MockInterface) DeletePipelineRun(ctx context.Context, pr *v1beta1.PipelineRun) error
DeletePipelineRun mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetPipelineRunByID ¶
func (m *MockInterface) GetPipelineRunByID(ctx context.Context, ciEventID string) (*v1beta1.PipelineRun, error)
GetPipelineRunByID mocks base method.
func (*MockInterface) GetPipelineRunLog ¶
func (m *MockInterface) GetPipelineRunLog(ctx context.Context, pr *v1beta1.PipelineRun) (<-chan log.Log, <-chan error, error)
GetPipelineRunLog mocks base method.
func (*MockInterface) GetPipelineRunLogByID ¶
func (m *MockInterface) GetPipelineRunLogByID(ctx context.Context, ciEventID string) (<-chan log.Log, <-chan error, error)
GetPipelineRunLogByID mocks base method.
func (*MockInterface) StopPipelineRun ¶
func (m *MockInterface) StopPipelineRun(ctx context.Context, ciEventID string) error
StopPipelineRun mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) CreatePipelineRun ¶
func (mr *MockInterfaceMockRecorder) CreatePipelineRun(ctx, pr interface{}) *gomock.Call
CreatePipelineRun indicates an expected call of CreatePipelineRun.
func (*MockInterfaceMockRecorder) DeletePipelineRun ¶
func (mr *MockInterfaceMockRecorder) DeletePipelineRun(ctx, pr interface{}) *gomock.Call
DeletePipelineRun indicates an expected call of DeletePipelineRun.
func (*MockInterfaceMockRecorder) GetPipelineRunByID ¶
func (mr *MockInterfaceMockRecorder) GetPipelineRunByID(ctx, ciEventID interface{}) *gomock.Call
GetPipelineRunByID indicates an expected call of GetPipelineRunByID.
func (*MockInterfaceMockRecorder) GetPipelineRunLog ¶
func (mr *MockInterfaceMockRecorder) GetPipelineRunLog(ctx, pr interface{}) *gomock.Call
GetPipelineRunLog indicates an expected call of GetPipelineRunLog.
func (*MockInterfaceMockRecorder) GetPipelineRunLogByID ¶
func (mr *MockInterfaceMockRecorder) GetPipelineRunLogByID(ctx, ciEventID interface{}) *gomock.Call
GetPipelineRunLogByID indicates an expected call of GetPipelineRunLogByID.
func (*MockInterfaceMockRecorder) StopPipelineRun ¶
func (mr *MockInterfaceMockRecorder) StopPipelineRun(ctx, ciEventID interface{}) *gomock.Call
StopPipelineRun indicates an expected call of StopPipelineRun.