Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClientFactory
- func (m *MockClientFactory) CoreV1() v10.CoreV1Interface
- func (m *MockClientFactory) Dynamic() dynamic.Interface
- func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
- func (m *MockClientFactory) NetworkingV1() v11.NetworkingV1Interface
- func (m *MockClientFactory) RbacV1beta1() v1beta1.RbacV1beta1Interface
- func (m *MockClientFactory) StewardInformerFactory() externalversions.SharedInformerFactory
- func (m *MockClientFactory) StewardV1alpha1() v1alpha10.StewardV1alpha1Interface
- func (m *MockClientFactory) TektonInformerFactory() externalversions0.SharedInformerFactory
- func (m *MockClientFactory) TektonV1alpha1() v1alpha11.TektonV1alpha1Interface
- type MockClientFactoryMockRecorder
- func (mr *MockClientFactoryMockRecorder) CoreV1() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) Dynamic() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NetworkingV1() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) RbacV1beta1() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) StewardInformerFactory() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) StewardV1alpha1() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) TektonInformerFactory() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) TektonV1alpha1() *gomock.Call
- type MockNamespaceManager
- type MockNamespaceManagerMockRecorder
- type MockPipelineRun
- func (m *MockPipelineRun) AddFinalizer() error
- func (m *MockPipelineRun) DeleteFinalizerIfExists() error
- func (m *MockPipelineRun) EXPECT() *MockPipelineRunMockRecorder
- func (m *MockPipelineRun) GetKey() string
- func (m *MockPipelineRun) GetName() string
- func (m *MockPipelineRun) GetNamespace() string
- func (m *MockPipelineRun) GetPipelineRepoServerURL() (string, error)
- func (m *MockPipelineRun) GetRunNamespace() string
- func (m *MockPipelineRun) GetSpec() *v1alpha1.PipelineSpec
- func (m *MockPipelineRun) GetStatus() *v1alpha1.PipelineStatus
- func (m *MockPipelineRun) HasDeletionTimestamp() bool
- func (m *MockPipelineRun) StoreErrorAsMessage(arg0 error, arg1 string) error
- func (m *MockPipelineRun) String() string
- func (m *MockPipelineRun) UpdateContainer(arg0 *v1.ContainerState) error
- func (m *MockPipelineRun) UpdateMessage(arg0 string) error
- func (m *MockPipelineRun) UpdateResult(arg0 v1alpha1.Result) error
- func (m *MockPipelineRun) UpdateRunNamespace(arg0 string) error
- func (m *MockPipelineRun) UpdateState(arg0 v1alpha1.State) (*v1alpha1.StateItem, error)
- type MockPipelineRunFetcher
- type MockPipelineRunFetcherMockRecorder
- type MockPipelineRunMockRecorder
- func (mr *MockPipelineRunMockRecorder) AddFinalizer() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) DeleteFinalizerIfExists() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetKey() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetName() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetNamespace() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetPipelineRepoServerURL() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetRunNamespace() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetSpec() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetStatus() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) HasDeletionTimestamp() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) StoreErrorAsMessage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) String() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) UpdateContainer(arg0 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) UpdateMessage(arg0 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) UpdateResult(arg0 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) UpdateRunNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) UpdateState(arg0 interface{}) *gomock.Call
- type MockTenantFetcher
- type MockTenantFetcherMockRecorder
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 ¶
func (m *MockClientFactory) CoreV1() v10.CoreV1Interface
CoreV1 mocks base method
func (*MockClientFactory) Dynamic ¶
func (m *MockClientFactory) Dynamic() dynamic.Interface
Dynamic mocks base method
func (*MockClientFactory) EXPECT ¶
func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
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 ¶
func (m *MockClientFactory) RbacV1beta1() v1beta1.RbacV1beta1Interface
RbacV1beta1 mocks base method
func (*MockClientFactory) StewardInformerFactory ¶
func (m *MockClientFactory) StewardInformerFactory() externalversions.SharedInformerFactory
StewardInformerFactory mocks base method
func (*MockClientFactory) StewardV1alpha1 ¶
func (m *MockClientFactory) StewardV1alpha1() v1alpha10.StewardV1alpha1Interface
StewardV1alpha1 mocks base method
func (*MockClientFactory) TektonInformerFactory ¶
func (m *MockClientFactory) TektonInformerFactory() externalversions0.SharedInformerFactory
TektonInformerFactory mocks base method
func (*MockClientFactory) TektonV1alpha1 ¶
func (m *MockClientFactory) TektonV1alpha1() v1alpha11.TektonV1alpha1Interface
TektonV1alpha1 mocks base method
type MockClientFactoryMockRecorder ¶
type MockClientFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockClientFactoryMockRecorder is the mock recorder for MockClientFactory
func (*MockClientFactoryMockRecorder) CoreV1 ¶
func (mr *MockClientFactoryMockRecorder) CoreV1() *gomock.Call
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) Delete ¶
func (m *MockNamespaceManager) Delete(arg0 string) error
Delete mocks base method
func (*MockNamespaceManager) EXPECT ¶
func (m *MockNamespaceManager) EXPECT() *MockNamespaceManagerMockRecorder
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 ¶
func (m *MockPipelineRun) EXPECT() *MockPipelineRunMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) 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 ¶
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 ¶
func (m *MockPipelineRunFetcher) ByKey(arg0 string) (*v1alpha1.PipelineRun, error)
ByKey mocks base method
func (*MockPipelineRunFetcher) ByName ¶
func (m *MockPipelineRunFetcher) ByName(arg0, arg1 string) (*v1alpha1.PipelineRun, error)
ByName mocks base method
func (*MockPipelineRunFetcher) EXPECT ¶
func (m *MockPipelineRunFetcher) EXPECT() *MockPipelineRunFetcherMockRecorder
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 ¶
func (m *MockTenantFetcher) EXPECT() *MockTenantFetcherMockRecorder
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