Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClientFactory
- func (m *MockClientFactory) CoreV1() v11.CoreV1Interface
- func (m *MockClientFactory) Dynamic() dynamic.Interface
- func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
- func (m *MockClientFactory) NetworkingV1() v12.NetworkingV1Interface
- func (m *MockClientFactory) RbacV1() v13.RbacV1Interface
- func (m *MockClientFactory) StewardInformerFactory() externalversions.SharedInformerFactory
- func (m *MockClientFactory) StewardV1alpha1() v1alpha10.StewardV1alpha1Interface
- func (m *MockClientFactory) TektonInformerFactory() externalversions0.SharedInformerFactory
- func (m *MockClientFactory) TektonV1beta1() v1beta1.TektonV1beta1Interface
- type MockClientFactoryMockRecorder
- func (mr *MockClientFactoryMockRecorder) CoreV1() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) Dynamic() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NetworkingV1() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) RbacV1() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) StewardInformerFactory() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) StewardV1alpha1() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) TektonInformerFactory() *gomock.Call
- func (mr *MockClientFactoryMockRecorder) TektonV1beta1() *gomock.Call
- type MockPipelineRun
- func (m *MockPipelineRun) AddFinalizerAndCommitIfNotPresent(arg0 context.Context) error
- func (m *MockPipelineRun) CommitStatus(arg0 context.Context) ([]*v1alpha1.StateItem, error)
- func (m *MockPipelineRun) DeleteFinalizerAndCommitIfExists(arg0 context.Context) error
- func (m *MockPipelineRun) EXPECT() *MockPipelineRunMockRecorder
- func (m *MockPipelineRun) GetAPIObject() *v1alpha1.PipelineRun
- func (m *MockPipelineRun) GetAuxNamespace() string
- func (m *MockPipelineRun) GetKey() string
- func (m *MockPipelineRun) GetName() string
- func (m *MockPipelineRun) GetNamespace() string
- func (m *MockPipelineRun) GetReference() *v1.ObjectReference
- func (m *MockPipelineRun) GetRunNamespace() string
- func (m *MockPipelineRun) GetSpec() *v1alpha1.PipelineSpec
- func (m *MockPipelineRun) GetStatus() *v1alpha1.PipelineStatus
- func (m *MockPipelineRun) GetValidatedJenkinsfileRepoServerURL() (string, error)
- func (m *MockPipelineRun) HasDeletionTimestamp() bool
- func (m *MockPipelineRun) InitState(arg0 context.Context) error
- func (m *MockPipelineRun) StoreErrorAsMessage(arg0 context.Context, arg1 error, arg2 string) error
- func (m *MockPipelineRun) String() string
- func (m *MockPipelineRun) UpdateAuxNamespace(arg0 string)
- func (m *MockPipelineRun) UpdateContainer(arg0 context.Context, arg1 *v1.ContainerState)
- func (m *MockPipelineRun) UpdateMessage(arg0 string)
- func (m *MockPipelineRun) UpdateResult(arg0 context.Context, arg1 v1alpha1.Result, arg2 v10.Time)
- func (m *MockPipelineRun) UpdateRunNamespace(arg0 string)
- func (m *MockPipelineRun) UpdateState(arg0 context.Context, arg1 v1alpha1.State, arg2 v10.Time) error
- type MockPipelineRunFetcher
- type MockPipelineRunFetcherMockRecorder
- type MockPipelineRunMockRecorder
- func (mr *MockPipelineRunMockRecorder) AddFinalizerAndCommitIfNotPresent(arg0 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) CommitStatus(arg0 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) DeleteFinalizerAndCommitIfExists(arg0 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetAPIObject() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetAuxNamespace() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetKey() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetName() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetNamespace() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetReference() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetRunNamespace() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetSpec() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetStatus() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) GetValidatedJenkinsfileRepoServerURL() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) HasDeletionTimestamp() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) InitState(arg0 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) StoreErrorAsMessage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) String() *gomock.Call
- func (mr *MockPipelineRunMockRecorder) UpdateAuxNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) UpdateContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) UpdateMessage(arg0 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) UpdateResult(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) UpdateRunNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockPipelineRunMockRecorder) UpdateState(arg0, arg1, arg2 interface{}) *gomock.Call
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() v11.CoreV1Interface
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 ¶
func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
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
func (m *MockClientFactory) RbacV1() v13.RbacV1Interface
RbacV1 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) TektonV1beta1 ¶ added in v0.5.0
func (m *MockClientFactory) TektonV1beta1() v1beta1.TektonV1beta1Interface
TektonV1beta1 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 ¶ 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
func (mr *MockClientFactoryMockRecorder) RbacV1() *gomock.Call
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 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
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 ¶
func (m *MockPipelineRun) EXPECT() *MockPipelineRunMockRecorder
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(arg0 context.Context) error
InitState mocks base method.
func (*MockPipelineRun) StoreErrorAsMessage ¶
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 context.Context, arg1 *v1.ContainerState)
UpdateContainer mocks base method.
func (*MockPipelineRun) UpdateMessage ¶
func (m *MockPipelineRun) UpdateMessage(arg0 string)
UpdateMessage mocks base method.
func (*MockPipelineRun) UpdateResult ¶
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 context.Context, arg1 v1alpha1.State, arg2 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 ¶
func (m *MockPipelineRunFetcher) ByKey(arg0 context.Context, arg1 string) (*v1alpha1.PipelineRun, error)
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 ¶
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, 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(arg0 interface{}) *gomock.Call
InitState indicates an expected call of InitState.
func (*MockPipelineRunMockRecorder) StoreErrorAsMessage ¶
func (mr *MockPipelineRunMockRecorder) StoreErrorAsMessage(arg0, arg1, arg2 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, arg1 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, arg2 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, arg2 interface{}) *gomock.Call
UpdateState indicates an expected call of UpdateState.