mocks

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: Apache-2.0 Imports: 14 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 MockClientFactory

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

MockClientFactory is a mock of ClientFactory interface.

func NewMockClientFactory

func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory

NewMockClientFactory creates a new mock instance.

func (*MockClientFactory) CoreV1

CoreV1 mocks base method.

func (*MockClientFactory) Dynamic added in v0.2.0

func (m *MockClientFactory) Dynamic() dynamic.Interface

Dynamic mocks base method.

func (*MockClientFactory) EXPECT

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

func (*MockClientFactory) NetworkingV1 added in v0.2.0

func (m *MockClientFactory) NetworkingV1() v12.NetworkingV1Interface

NetworkingV1 mocks base method.

func (*MockClientFactory) RbacV1 added in v0.17.0

RbacV1 mocks base method.

func (*MockClientFactory) StewardInformerFactory

func (m *MockClientFactory) StewardInformerFactory() externalversions.SharedInformerFactory

StewardInformerFactory mocks base method.

func (*MockClientFactory) StewardV1alpha1

StewardV1alpha1 mocks base method.

func (*MockClientFactory) TektonInformerFactory

func (m *MockClientFactory) TektonInformerFactory() externalversions0.SharedInformerFactory

TektonInformerFactory mocks base method.

func (*MockClientFactory) TektonV1beta1 added in v0.5.0

TektonV1beta1 mocks base method.

type MockClientFactoryMockRecorder

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

MockClientFactoryMockRecorder is the mock recorder for MockClientFactory.

func (*MockClientFactoryMockRecorder) CoreV1

CoreV1 indicates an expected call of CoreV1.

func (*MockClientFactoryMockRecorder) Dynamic added in v0.2.0

func (mr *MockClientFactoryMockRecorder) Dynamic() *gomock.Call

Dynamic indicates an expected call of Dynamic.

func (*MockClientFactoryMockRecorder) NetworkingV1 added in v0.2.0

func (mr *MockClientFactoryMockRecorder) NetworkingV1() *gomock.Call

NetworkingV1 indicates an expected call of NetworkingV1.

func (*MockClientFactoryMockRecorder) RbacV1 added in v0.17.0

RbacV1 indicates an expected call of RbacV1.

func (*MockClientFactoryMockRecorder) StewardInformerFactory

func (mr *MockClientFactoryMockRecorder) StewardInformerFactory() *gomock.Call

StewardInformerFactory indicates an expected call of StewardInformerFactory.

func (*MockClientFactoryMockRecorder) StewardV1alpha1

func (mr *MockClientFactoryMockRecorder) StewardV1alpha1() *gomock.Call

StewardV1alpha1 indicates an expected call of StewardV1alpha1.

func (*MockClientFactoryMockRecorder) TektonInformerFactory

func (mr *MockClientFactoryMockRecorder) TektonInformerFactory() *gomock.Call

TektonInformerFactory indicates an expected call of TektonInformerFactory.

func (*MockClientFactoryMockRecorder) TektonV1beta1 added in v0.5.0

func (mr *MockClientFactoryMockRecorder) TektonV1beta1() *gomock.Call

TektonV1beta1 indicates an expected call of TektonV1beta1.

type MockNamespaceManager

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

MockNamespaceManager is a mock of NamespaceManager interface.

func NewMockNamespaceManager

func NewMockNamespaceManager(ctrl *gomock.Controller) *MockNamespaceManager

NewMockNamespaceManager creates a new mock instance.

func (*MockNamespaceManager) Create

func (m *MockNamespaceManager) Create(arg0 context.Context, arg1 string, arg2 map[string]string) (string, error)

Create mocks base method.

func (*MockNamespaceManager) Delete

func (m *MockNamespaceManager) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method.

func (*MockNamespaceManager) EXPECT

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

type MockNamespaceManagerMockRecorder

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

MockNamespaceManagerMockRecorder is the mock recorder for MockNamespaceManager.

func (*MockNamespaceManagerMockRecorder) Create

func (mr *MockNamespaceManagerMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockNamespaceManagerMockRecorder) Delete

func (mr *MockNamespaceManagerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

type MockPipelineRun

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

MockPipelineRun is a mock of PipelineRun interface.

func NewMockPipelineRun

func NewMockPipelineRun(ctrl *gomock.Controller) *MockPipelineRun

NewMockPipelineRun creates a new mock instance.

func (*MockPipelineRun) AddFinalizerAndCommitIfNotPresent added in v0.27.1

func (m *MockPipelineRun) AddFinalizerAndCommitIfNotPresent(arg0 context.Context) error

AddFinalizerAndCommitIfNotPresent mocks base method.

func (*MockPipelineRun) CommitStatus added in v0.13.0

func (m *MockPipelineRun) CommitStatus(arg0 context.Context) ([]*v1alpha1.StateItem, error)

CommitStatus mocks base method.

func (*MockPipelineRun) DeleteFinalizerAndCommitIfExists added in v0.27.1

func (m *MockPipelineRun) DeleteFinalizerAndCommitIfExists(arg0 context.Context) error

DeleteFinalizerAndCommitIfExists mocks base method.

func (*MockPipelineRun) EXPECT

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

func (*MockPipelineRun) GetAPIObject added in v0.8.3

func (m *MockPipelineRun) GetAPIObject() *v1alpha1.PipelineRun

GetAPIObject mocks base method.

func (*MockPipelineRun) GetAuxNamespace added in v0.8.3

func (m *MockPipelineRun) GetAuxNamespace() string

GetAuxNamespace mocks base method.

func (*MockPipelineRun) GetKey

func (m *MockPipelineRun) GetKey() string

GetKey mocks base method.

func (*MockPipelineRun) GetName

func (m *MockPipelineRun) GetName() string

GetName mocks base method.

func (*MockPipelineRun) GetNamespace

func (m *MockPipelineRun) GetNamespace() string

GetNamespace mocks base method.

func (*MockPipelineRun) GetReference added in v0.27.1

func (m *MockPipelineRun) GetReference() *v1.ObjectReference

GetReference mocks base method.

func (*MockPipelineRun) GetRunNamespace

func (m *MockPipelineRun) GetRunNamespace() string

GetRunNamespace mocks base method.

func (*MockPipelineRun) GetSpec

func (m *MockPipelineRun) GetSpec() *v1alpha1.PipelineSpec

GetSpec mocks base method.

func (*MockPipelineRun) GetStatus

func (m *MockPipelineRun) GetStatus() *v1alpha1.PipelineStatus

GetStatus mocks base method.

func (*MockPipelineRun) GetValidatedJenkinsfileRepoServerURL added in v0.27.1

func (m *MockPipelineRun) GetValidatedJenkinsfileRepoServerURL() (string, error)

GetValidatedJenkinsfileRepoServerURL mocks base method.

func (*MockPipelineRun) HasDeletionTimestamp

func (m *MockPipelineRun) HasDeletionTimestamp() bool

HasDeletionTimestamp mocks base method.

func (*MockPipelineRun) InitState added in v0.7.0

func (m *MockPipelineRun) InitState() error

InitState mocks base method.

func (*MockPipelineRun) StoreErrorAsMessage

func (m *MockPipelineRun) StoreErrorAsMessage(arg0 error, arg1 string) error

StoreErrorAsMessage mocks base method.

func (*MockPipelineRun) String

func (m *MockPipelineRun) String() string

String mocks base method.

func (*MockPipelineRun) UpdateAuxNamespace added in v0.8.3

func (m *MockPipelineRun) UpdateAuxNamespace(arg0 string)

UpdateAuxNamespace mocks base method.

func (*MockPipelineRun) UpdateContainer

func (m *MockPipelineRun) UpdateContainer(arg0 *v1.ContainerState)

UpdateContainer mocks base method.

func (*MockPipelineRun) UpdateMessage

func (m *MockPipelineRun) UpdateMessage(arg0 string)

UpdateMessage mocks base method.

func (*MockPipelineRun) UpdateResult

func (m *MockPipelineRun) UpdateResult(arg0 v1alpha1.Result, arg1 v10.Time)

UpdateResult mocks base method.

func (*MockPipelineRun) UpdateRunNamespace

func (m *MockPipelineRun) UpdateRunNamespace(arg0 string)

UpdateRunNamespace mocks base method.

func (*MockPipelineRun) UpdateState

func (m *MockPipelineRun) UpdateState(arg0 v1alpha1.State, arg1 v10.Time) error

UpdateState mocks base method.

type MockPipelineRunFetcher

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

MockPipelineRunFetcher is a mock of PipelineRunFetcher interface.

func NewMockPipelineRunFetcher

func NewMockPipelineRunFetcher(ctrl *gomock.Controller) *MockPipelineRunFetcher

NewMockPipelineRunFetcher creates a new mock instance.

func (*MockPipelineRunFetcher) ByKey

ByKey mocks base method.

func (*MockPipelineRunFetcher) ByName

func (m *MockPipelineRunFetcher) ByName(arg0 context.Context, arg1, arg2 string) (*v1alpha1.PipelineRun, error)

ByName mocks base method.

func (*MockPipelineRunFetcher) EXPECT

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

type MockPipelineRunFetcherMockRecorder

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

MockPipelineRunFetcherMockRecorder is the mock recorder for MockPipelineRunFetcher.

func (*MockPipelineRunFetcherMockRecorder) ByKey

func (mr *MockPipelineRunFetcherMockRecorder) ByKey(arg0, arg1 interface{}) *gomock.Call

ByKey indicates an expected call of ByKey.

func (*MockPipelineRunFetcherMockRecorder) ByName

func (mr *MockPipelineRunFetcherMockRecorder) ByName(arg0, arg1, arg2 interface{}) *gomock.Call

ByName indicates an expected call of ByName.

type MockPipelineRunMockRecorder

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

MockPipelineRunMockRecorder is the mock recorder for MockPipelineRun.

func (*MockPipelineRunMockRecorder) AddFinalizerAndCommitIfNotPresent added in v0.27.1

func (mr *MockPipelineRunMockRecorder) AddFinalizerAndCommitIfNotPresent(arg0 interface{}) *gomock.Call

AddFinalizerAndCommitIfNotPresent indicates an expected call of AddFinalizerAndCommitIfNotPresent.

func (*MockPipelineRunMockRecorder) CommitStatus added in v0.13.0

func (mr *MockPipelineRunMockRecorder) CommitStatus(arg0 interface{}) *gomock.Call

CommitStatus indicates an expected call of CommitStatus.

func (*MockPipelineRunMockRecorder) DeleteFinalizerAndCommitIfExists added in v0.27.1

func (mr *MockPipelineRunMockRecorder) DeleteFinalizerAndCommitIfExists(arg0 interface{}) *gomock.Call

DeleteFinalizerAndCommitIfExists indicates an expected call of DeleteFinalizerAndCommitIfExists.

func (*MockPipelineRunMockRecorder) GetAPIObject added in v0.8.3

func (mr *MockPipelineRunMockRecorder) GetAPIObject() *gomock.Call

GetAPIObject indicates an expected call of GetAPIObject.

func (*MockPipelineRunMockRecorder) GetAuxNamespace added in v0.8.3

func (mr *MockPipelineRunMockRecorder) GetAuxNamespace() *gomock.Call

GetAuxNamespace indicates an expected call of GetAuxNamespace.

func (*MockPipelineRunMockRecorder) GetKey

func (mr *MockPipelineRunMockRecorder) GetKey() *gomock.Call

GetKey indicates an expected call of GetKey.

func (*MockPipelineRunMockRecorder) GetName

func (mr *MockPipelineRunMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName.

func (*MockPipelineRunMockRecorder) GetNamespace

func (mr *MockPipelineRunMockRecorder) GetNamespace() *gomock.Call

GetNamespace indicates an expected call of GetNamespace.

func (*MockPipelineRunMockRecorder) GetReference added in v0.27.1

func (mr *MockPipelineRunMockRecorder) GetReference() *gomock.Call

GetReference indicates an expected call of GetReference.

func (*MockPipelineRunMockRecorder) GetRunNamespace

func (mr *MockPipelineRunMockRecorder) GetRunNamespace() *gomock.Call

GetRunNamespace indicates an expected call of GetRunNamespace.

func (*MockPipelineRunMockRecorder) GetSpec

func (mr *MockPipelineRunMockRecorder) GetSpec() *gomock.Call

GetSpec indicates an expected call of GetSpec.

func (*MockPipelineRunMockRecorder) GetStatus

func (mr *MockPipelineRunMockRecorder) GetStatus() *gomock.Call

GetStatus indicates an expected call of GetStatus.

func (*MockPipelineRunMockRecorder) GetValidatedJenkinsfileRepoServerURL added in v0.27.1

func (mr *MockPipelineRunMockRecorder) GetValidatedJenkinsfileRepoServerURL() *gomock.Call

GetValidatedJenkinsfileRepoServerURL indicates an expected call of GetValidatedJenkinsfileRepoServerURL.

func (*MockPipelineRunMockRecorder) HasDeletionTimestamp

func (mr *MockPipelineRunMockRecorder) HasDeletionTimestamp() *gomock.Call

HasDeletionTimestamp indicates an expected call of HasDeletionTimestamp.

func (*MockPipelineRunMockRecorder) InitState added in v0.7.0

func (mr *MockPipelineRunMockRecorder) InitState() *gomock.Call

InitState indicates an expected call of InitState.

func (*MockPipelineRunMockRecorder) StoreErrorAsMessage

func (mr *MockPipelineRunMockRecorder) StoreErrorAsMessage(arg0, arg1 interface{}) *gomock.Call

StoreErrorAsMessage indicates an expected call of StoreErrorAsMessage.

func (*MockPipelineRunMockRecorder) String

func (mr *MockPipelineRunMockRecorder) String() *gomock.Call

String indicates an expected call of String.

func (*MockPipelineRunMockRecorder) UpdateAuxNamespace added in v0.8.3

func (mr *MockPipelineRunMockRecorder) UpdateAuxNamespace(arg0 interface{}) *gomock.Call

UpdateAuxNamespace indicates an expected call of UpdateAuxNamespace.

func (*MockPipelineRunMockRecorder) UpdateContainer

func (mr *MockPipelineRunMockRecorder) UpdateContainer(arg0 interface{}) *gomock.Call

UpdateContainer indicates an expected call of UpdateContainer.

func (*MockPipelineRunMockRecorder) UpdateMessage

func (mr *MockPipelineRunMockRecorder) UpdateMessage(arg0 interface{}) *gomock.Call

UpdateMessage indicates an expected call of UpdateMessage.

func (*MockPipelineRunMockRecorder) UpdateResult

func (mr *MockPipelineRunMockRecorder) UpdateResult(arg0, arg1 interface{}) *gomock.Call

UpdateResult indicates an expected call of UpdateResult.

func (*MockPipelineRunMockRecorder) UpdateRunNamespace

func (mr *MockPipelineRunMockRecorder) UpdateRunNamespace(arg0 interface{}) *gomock.Call

UpdateRunNamespace indicates an expected call of UpdateRunNamespace.

func (*MockPipelineRunMockRecorder) UpdateState

func (mr *MockPipelineRunMockRecorder) UpdateState(arg0, arg1 interface{}) *gomock.Call

UpdateState indicates an expected call of UpdateState.

Directories

Path Synopsis
client-go
corev1
Package corev1 is a generated GoMock package.
Package corev1 is a generated GoMock package.

Jump to

Keyboard shortcuts

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