mock_tekton

package
v0.0.0-...-64e8fac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_tekton is a generated GoMock package.

Index

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

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.

Directories

Path Synopsis
Package mock_collector is a generated GoMock package.
Package mock_collector is a generated GoMock package.
Package mock_factory is a generated GoMock package.
Package mock_factory is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL