mocks

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 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) CreateEnv added in v0.39.1

CreateEnv mocks base method.

func (*MockManager) CreateRun added in v0.39.1

func (m *MockManager) CreateRun(arg0 context.Context, arg1 k8s.PipelineRun, arg2 *cfg.PipelineRunsConfigStruct) error

CreateRun mocks base method.

func (*MockManager) DeleteEnv added in v0.39.1

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

DeleteEnv 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.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) CreateEnv added in v0.39.1

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

CreateEnv indicates an expected call of CreateEnv.

func (*MockManagerMockRecorder) CreateRun added in v0.39.1

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

CreateRun indicates an expected call of CreateRun.

func (*MockManagerMockRecorder) DeleteEnv added in v0.39.1

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

DeleteEnv indicates an expected call of DeleteEnv.

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.

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) IsDeleted added in v0.39.1

func (m *MockRun) IsDeleted() bool

IsDeleted 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) IsDeleted added in v0.39.1

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

IsDeleted indicates an expected call of IsDeleted.

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