mocks

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 8 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 k8s.PipelineRun) error

Cleanup 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 k8s.PipelineRun) (run.Run, error)

GetRun mocks base method

func (*MockManager) Start

func (m *MockManager) Start(arg0 k8s.PipelineRun) error

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 interface{}) *gomock.Call

Cleanup indicates an expected call of Cleanup

func (*MockManagerMockRecorder) GetRun

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

GetRun indicates an expected call of GetRun

func (*MockManagerMockRecorder) Start

func (mr *MockManagerMockRecorder) Start(arg0 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) GetContainerInfo

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

GetContainerInfo mocks base method

func (*MockRun) GetStartTime

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

GetStartTime mocks base method

func (*MockRun) GetSucceededCondition

func (m *MockRun) GetSucceededCondition() *apis.Condition

GetSucceededCondition mocks base method

func (*MockRun) IsFinished

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

IsFinished mocks base method

type MockRunMockRecorder

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

MockRunMockRecorder is the mock recorder for MockRun

func (*MockRunMockRecorder) GetContainerInfo

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

GetContainerInfo indicates an expected call of GetContainerInfo

func (*MockRunMockRecorder) GetStartTime

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

GetStartTime indicates an expected call of GetStartTime

func (*MockRunMockRecorder) GetSucceededCondition

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

GetSucceededCondition indicates an expected call of GetSucceededCondition

func (*MockRunMockRecorder) IsFinished

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

IsFinished indicates an expected call of IsFinished

Jump to

Keyboard shortcuts

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