mocks

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: Apache-2.0 Imports: 12 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

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

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

NetworkingV1 mocks base method

func (*MockClientFactory) RbacV1beta1

RbacV1beta1 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) TektonV1alpha1

TektonV1alpha1 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

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

Dynamic indicates an expected call of Dynamic

func (*MockClientFactoryMockRecorder) NetworkingV1

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

NetworkingV1 indicates an expected call of NetworkingV1

func (*MockClientFactoryMockRecorder) RbacV1beta1

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

RbacV1beta1 indicates an expected call of RbacV1beta1

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) TektonV1alpha1

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

TektonV1alpha1 indicates an expected call of TektonV1alpha1

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 string, arg1 map[string]string) (string, error)

Create mocks base method

func (*MockNamespaceManager) Delete

func (m *MockNamespaceManager) Delete(arg0 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 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockNamespaceManagerMockRecorder) Delete

func (mr *MockNamespaceManagerMockRecorder) Delete(arg0 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) AddFinalizer

func (m *MockPipelineRun) AddFinalizer() error

AddFinalizer mocks base method

func (*MockPipelineRun) DeleteFinalizerIfExists

func (m *MockPipelineRun) DeleteFinalizerIfExists() error

DeleteFinalizerIfExists mocks base method

func (*MockPipelineRun) EXPECT

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

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) GetPipelineRepoServerURL

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

GetPipelineRepoServerURL 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) HasDeletionTimestamp

func (m *MockPipelineRun) HasDeletionTimestamp() bool

HasDeletionTimestamp 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) UpdateContainer

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

UpdateContainer mocks base method

func (*MockPipelineRun) UpdateMessage

func (m *MockPipelineRun) UpdateMessage(arg0 string) error

UpdateMessage mocks base method

func (*MockPipelineRun) UpdateResult

func (m *MockPipelineRun) UpdateResult(arg0 v1alpha1.Result) error

UpdateResult mocks base method

func (*MockPipelineRun) UpdateRunNamespace

func (m *MockPipelineRun) UpdateRunNamespace(arg0 string) error

UpdateRunNamespace mocks base method

func (*MockPipelineRun) UpdateState

func (m *MockPipelineRun) UpdateState(arg0 v1alpha1.State) (*v1alpha1.StateItem, 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, arg1 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 interface{}) *gomock.Call

ByKey indicates an expected call of ByKey

func (*MockPipelineRunFetcherMockRecorder) ByName

func (mr *MockPipelineRunFetcherMockRecorder) ByName(arg0, arg1 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) AddFinalizer

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

AddFinalizer indicates an expected call of AddFinalizer

func (*MockPipelineRunMockRecorder) DeleteFinalizerIfExists

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

DeleteFinalizerIfExists indicates an expected call of DeleteFinalizerIfExists

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) GetPipelineRepoServerURL

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

GetPipelineRepoServerURL indicates an expected call of GetPipelineRepoServerURL

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) HasDeletionTimestamp

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

HasDeletionTimestamp indicates an expected call of HasDeletionTimestamp

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

UpdateState indicates an expected call of UpdateState

type MockTenantFetcher

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

MockTenantFetcher is a mock of TenantFetcher interface

func NewMockTenantFetcher

func NewMockTenantFetcher(ctrl *gomock.Controller) *MockTenantFetcher

NewMockTenantFetcher creates a new mock instance

func (*MockTenantFetcher) ByKey

func (m *MockTenantFetcher) ByKey(arg0 string) (*v1alpha1.Tenant, error)

ByKey mocks base method

func (*MockTenantFetcher) EXPECT

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

type MockTenantFetcherMockRecorder

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

MockTenantFetcherMockRecorder is the mock recorder for MockTenantFetcher

func (*MockTenantFetcherMockRecorder) ByKey

func (mr *MockTenantFetcherMockRecorder) ByKey(arg0 interface{}) *gomock.Call

ByKey indicates an expected call of ByKey

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