mocks

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManager

type MockManager struct {
	// contains filtered or unexported fields
}

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) Cleanup

func (m *MockManager) Cleanup(arg0 context.Context, arg1 k8s.PipelineRun) error

Cleanup mocks base method.

func (*MockManager) DeleteRun added in v0.24.0

func (m *MockManager) DeleteRun(arg0 context.Context, arg1 k8s.PipelineRun) error

DeleteRun mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockManager) GetRun

func (m *MockManager) GetRun(arg0 context.Context, arg1 k8s.PipelineRun) (run.Run, error)

GetRun mocks base method.

func (*MockManager) Prepare added in v0.24.0

Prepare mocks base method.

func (*MockManager) Start

Start mocks base method.

type MockManagerMockRecorder

type MockManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) Cleanup

func (mr *MockManagerMockRecorder) Cleanup(arg0, arg1 interface{}) *gomock.Call

Cleanup indicates an expected call of Cleanup.

func (*MockManagerMockRecorder) DeleteRun added in v0.24.0

func (mr *MockManagerMockRecorder) DeleteRun(arg0, arg1 interface{}) *gomock.Call

DeleteRun indicates an expected call of DeleteRun.

func (*MockManagerMockRecorder) GetRun

func (mr *MockManagerMockRecorder) GetRun(arg0, arg1 interface{}) *gomock.Call

GetRun indicates an expected call of GetRun.

func (*MockManagerMockRecorder) Prepare added in v0.24.0

func (mr *MockManagerMockRecorder) Prepare(arg0, arg1, arg2 interface{}) *gomock.Call

Prepare indicates an expected call of Prepare.

func (*MockManagerMockRecorder) Start

func (mr *MockManagerMockRecorder) Start(arg0, arg1, arg2 interface{}) *gomock.Call

Start indicates an expected call of Start.

type MockRun

type MockRun struct {
	// contains filtered or unexported fields
}

MockRun is a mock of Run interface.

func NewMockRun

func NewMockRun(ctrl *gomock.Controller) *MockRun

NewMockRun creates a new mock instance.

func (*MockRun) EXPECT

func (m *MockRun) EXPECT() *MockRunMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRun) GetCompletionTime added in v0.13.0

func (m *MockRun) GetCompletionTime() *v10.Time

GetCompletionTime mocks base method.

func (*MockRun) GetContainerInfo

func (m *MockRun) GetContainerInfo() *v1.ContainerState

GetContainerInfo mocks base method.

func (*MockRun) GetMessage

func (m *MockRun) GetMessage() string

GetMessage mocks base method.

func (*MockRun) GetStartTime

func (m *MockRun) GetStartTime() *v10.Time

GetStartTime mocks base method.

func (*MockRun) IsFinished

func (m *MockRun) IsFinished() (bool, v1alpha1.Result)

IsFinished mocks base method.

func (*MockRun) IsRestartable added in v0.24.0

func (m *MockRun) IsRestartable() bool

IsRestartable mocks base method.

type MockRunMockRecorder

type MockRunMockRecorder struct {
	// contains filtered or unexported fields
}

MockRunMockRecorder is the mock recorder for MockRun.

func (*MockRunMockRecorder) GetCompletionTime added in v0.13.0

func (mr *MockRunMockRecorder) GetCompletionTime() *gomock.Call

GetCompletionTime indicates an expected call of GetCompletionTime.

func (*MockRunMockRecorder) GetContainerInfo

func (mr *MockRunMockRecorder) GetContainerInfo() *gomock.Call

GetContainerInfo indicates an expected call of GetContainerInfo.

func (*MockRunMockRecorder) GetMessage

func (mr *MockRunMockRecorder) GetMessage() *gomock.Call

GetMessage indicates an expected call of GetMessage.

func (*MockRunMockRecorder) GetStartTime

func (mr *MockRunMockRecorder) GetStartTime() *gomock.Call

GetStartTime indicates an expected call of GetStartTime.

func (*MockRunMockRecorder) IsFinished

func (mr *MockRunMockRecorder) IsFinished() *gomock.Call

IsFinished indicates an expected call of IsFinished.

func (*MockRunMockRecorder) IsRestartable added in v0.24.0

func (mr *MockRunMockRecorder) IsRestartable() *gomock.Call

IsRestartable indicates an expected call of IsRestartable.

type MockSecretManager added in v0.6.3

type MockSecretManager struct {
	// contains filtered or unexported fields
}

MockSecretManager is a mock of SecretManager interface.

func NewMockSecretManager added in v0.6.3

func NewMockSecretManager(ctrl *gomock.Controller) *MockSecretManager

NewMockSecretManager creates a new mock instance.

func (*MockSecretManager) CopyAll added in v0.6.3

func (m *MockSecretManager) CopyAll(arg0 context.Context, arg1 k8s.PipelineRun) (string, []string, error)

CopyAll mocks base method.

func (*MockSecretManager) EXPECT added in v0.6.3

EXPECT returns an object that allows the caller to indicate expected use.

type MockSecretManagerMockRecorder added in v0.6.3

type MockSecretManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSecretManagerMockRecorder is the mock recorder for MockSecretManager.

func (*MockSecretManagerMockRecorder) CopyAll added in v0.6.3

func (mr *MockSecretManagerMockRecorder) CopyAll(arg0, arg1 interface{}) *gomock.Call

CopyAll indicates an expected call of CopyAll.

Jump to

Keyboard shortcuts

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