Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockGitJobController
- func (m *MockGitJobController) AddGenericHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)
- func (m *MockGitJobController) AddGenericRemoveHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)
- func (m *MockGitJobController) Cache() v10.GitJobCache
- func (m *MockGitJobController) Create(arg0 *v1.GitJob) (*v1.GitJob, error)
- func (m *MockGitJobController) Delete(arg0, arg1 string, arg2 *v11.DeleteOptions) error
- func (m *MockGitJobController) EXPECT() *MockGitJobControllerMockRecorder
- func (m *MockGitJobController) Enqueue(arg0, arg1 string)
- func (m *MockGitJobController) EnqueueAfter(arg0, arg1 string, arg2 time.Duration)
- func (m *MockGitJobController) Get(arg0, arg1 string, arg2 v11.GetOptions) (*v1.GitJob, error)
- func (m *MockGitJobController) GroupVersionKind() schema.GroupVersionKind
- func (m *MockGitJobController) Informer() cache.SharedIndexInformer
- func (m *MockGitJobController) List(arg0 string, arg1 v11.ListOptions) (*v1.GitJobList, error)
- func (m *MockGitJobController) OnChange(arg0 context.Context, arg1 string, arg2 v10.GitJobHandler)
- func (m *MockGitJobController) OnRemove(arg0 context.Context, arg1 string, arg2 v10.GitJobHandler)
- func (m *MockGitJobController) Patch(arg0, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 ...string) (*v1.GitJob, error)
- func (m *MockGitJobController) Update(arg0 *v1.GitJob) (*v1.GitJob, error)
- func (m *MockGitJobController) UpdateStatus(arg0 *v1.GitJob) (*v1.GitJob, error)
- func (m *MockGitJobController) Updater() generic.Updater
- func (m *MockGitJobController) Watch(arg0 string, arg1 v11.ListOptions) (watch.Interface, error)
- type MockGitJobControllerMockRecorder
- func (mr *MockGitJobControllerMockRecorder) AddGenericHandler(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) AddGenericRemoveHandler(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) Cache() *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) Enqueue(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) EnqueueAfter(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) GroupVersionKind() *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) Informer() *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) OnChange(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) OnRemove(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) Patch(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) Updater() *gomock.Call
- func (mr *MockGitJobControllerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
- type MockJobClient
- func (m *MockJobClient) Create(arg0 *v1.Job) (*v1.Job, error)
- func (m *MockJobClient) Delete(arg0, arg1 string, arg2 *v10.DeleteOptions) error
- func (m *MockJobClient) EXPECT() *MockJobClientMockRecorder
- func (m *MockJobClient) Get(arg0, arg1 string, arg2 v10.GetOptions) (*v1.Job, error)
- func (m *MockJobClient) List(arg0 string, arg1 v10.ListOptions) (*v1.JobList, error)
- func (m *MockJobClient) Patch(arg0, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 ...string) (*v1.Job, error)
- func (m *MockJobClient) Update(arg0 *v1.Job) (*v1.Job, error)
- func (m *MockJobClient) UpdateStatus(arg0 *v1.Job) (*v1.Job, error)
- func (m *MockJobClient) Watch(arg0 string, arg1 v10.ListOptions) (watch.Interface, error)
- type MockJobClientMockRecorder
- func (mr *MockJobClientMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) Patch(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
- type MockSecretCache
- func (m *MockSecretCache) AddIndexer(arg0 string, arg1 v1.SecretIndexer)
- func (m *MockSecretCache) EXPECT() *MockSecretCacheMockRecorder
- func (m *MockSecretCache) Get(arg0, arg1 string) (*v10.Secret, error)
- func (m *MockSecretCache) GetByIndex(arg0, arg1 string) ([]*v10.Secret, error)
- func (m *MockSecretCache) List(arg0 string, arg1 labels.Selector) ([]*v10.Secret, error)
- type MockSecretCacheMockRecorder
- func (mr *MockSecretCacheMockRecorder) AddIndexer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretCacheMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretCacheMockRecorder) GetByIndex(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretCacheMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGitJobController ¶
type MockGitJobController struct {
// contains filtered or unexported fields
}
MockGitJobController is a mock of GitJobController interface.
func NewMockGitJobController ¶
func NewMockGitJobController(ctrl *gomock.Controller) *MockGitJobController
NewMockGitJobController creates a new mock instance.
func (*MockGitJobController) AddGenericHandler ¶
func (m *MockGitJobController) AddGenericHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)
AddGenericHandler mocks base method.
func (*MockGitJobController) AddGenericRemoveHandler ¶
func (m *MockGitJobController) AddGenericRemoveHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)
AddGenericRemoveHandler mocks base method.
func (*MockGitJobController) Cache ¶
func (m *MockGitJobController) Cache() v10.GitJobCache
Cache mocks base method.
func (*MockGitJobController) Delete ¶
func (m *MockGitJobController) Delete(arg0, arg1 string, arg2 *v11.DeleteOptions) error
Delete mocks base method.
func (*MockGitJobController) EXPECT ¶
func (m *MockGitJobController) EXPECT() *MockGitJobControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitJobController) Enqueue ¶
func (m *MockGitJobController) Enqueue(arg0, arg1 string)
Enqueue mocks base method.
func (*MockGitJobController) EnqueueAfter ¶
func (m *MockGitJobController) EnqueueAfter(arg0, arg1 string, arg2 time.Duration)
EnqueueAfter mocks base method.
func (*MockGitJobController) Get ¶
func (m *MockGitJobController) Get(arg0, arg1 string, arg2 v11.GetOptions) (*v1.GitJob, error)
Get mocks base method.
func (*MockGitJobController) GroupVersionKind ¶
func (m *MockGitJobController) GroupVersionKind() schema.GroupVersionKind
GroupVersionKind mocks base method.
func (*MockGitJobController) Informer ¶
func (m *MockGitJobController) Informer() cache.SharedIndexInformer
Informer mocks base method.
func (*MockGitJobController) List ¶
func (m *MockGitJobController) List(arg0 string, arg1 v11.ListOptions) (*v1.GitJobList, error)
List mocks base method.
func (*MockGitJobController) OnChange ¶
func (m *MockGitJobController) OnChange(arg0 context.Context, arg1 string, arg2 v10.GitJobHandler)
OnChange mocks base method.
func (*MockGitJobController) OnRemove ¶
func (m *MockGitJobController) OnRemove(arg0 context.Context, arg1 string, arg2 v10.GitJobHandler)
OnRemove mocks base method.
func (*MockGitJobController) Patch ¶
func (m *MockGitJobController) Patch(arg0, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 ...string) (*v1.GitJob, error)
Patch mocks base method.
func (*MockGitJobController) UpdateStatus ¶
UpdateStatus mocks base method.
func (*MockGitJobController) Updater ¶
func (m *MockGitJobController) Updater() generic.Updater
Updater mocks base method.
func (*MockGitJobController) Watch ¶
func (m *MockGitJobController) Watch(arg0 string, arg1 v11.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockGitJobControllerMockRecorder ¶
type MockGitJobControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockGitJobControllerMockRecorder is the mock recorder for MockGitJobController.
func (*MockGitJobControllerMockRecorder) AddGenericHandler ¶
func (mr *MockGitJobControllerMockRecorder) AddGenericHandler(arg0, arg1, arg2 interface{}) *gomock.Call
AddGenericHandler indicates an expected call of AddGenericHandler.
func (*MockGitJobControllerMockRecorder) AddGenericRemoveHandler ¶
func (mr *MockGitJobControllerMockRecorder) AddGenericRemoveHandler(arg0, arg1, arg2 interface{}) *gomock.Call
AddGenericRemoveHandler indicates an expected call of AddGenericRemoveHandler.
func (*MockGitJobControllerMockRecorder) Cache ¶
func (mr *MockGitJobControllerMockRecorder) Cache() *gomock.Call
Cache indicates an expected call of Cache.
func (*MockGitJobControllerMockRecorder) Create ¶
func (mr *MockGitJobControllerMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockGitJobControllerMockRecorder) Delete ¶
func (mr *MockGitJobControllerMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockGitJobControllerMockRecorder) Enqueue ¶
func (mr *MockGitJobControllerMockRecorder) Enqueue(arg0, arg1 interface{}) *gomock.Call
Enqueue indicates an expected call of Enqueue.
func (*MockGitJobControllerMockRecorder) EnqueueAfter ¶
func (mr *MockGitJobControllerMockRecorder) EnqueueAfter(arg0, arg1, arg2 interface{}) *gomock.Call
EnqueueAfter indicates an expected call of EnqueueAfter.
func (*MockGitJobControllerMockRecorder) Get ¶
func (mr *MockGitJobControllerMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockGitJobControllerMockRecorder) GroupVersionKind ¶
func (mr *MockGitJobControllerMockRecorder) GroupVersionKind() *gomock.Call
GroupVersionKind indicates an expected call of GroupVersionKind.
func (*MockGitJobControllerMockRecorder) Informer ¶
func (mr *MockGitJobControllerMockRecorder) Informer() *gomock.Call
Informer indicates an expected call of Informer.
func (*MockGitJobControllerMockRecorder) List ¶
func (mr *MockGitJobControllerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockGitJobControllerMockRecorder) OnChange ¶
func (mr *MockGitJobControllerMockRecorder) OnChange(arg0, arg1, arg2 interface{}) *gomock.Call
OnChange indicates an expected call of OnChange.
func (*MockGitJobControllerMockRecorder) OnRemove ¶
func (mr *MockGitJobControllerMockRecorder) OnRemove(arg0, arg1, arg2 interface{}) *gomock.Call
OnRemove indicates an expected call of OnRemove.
func (*MockGitJobControllerMockRecorder) Patch ¶
func (mr *MockGitJobControllerMockRecorder) Patch(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockGitJobControllerMockRecorder) Update ¶
func (mr *MockGitJobControllerMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockGitJobControllerMockRecorder) UpdateStatus ¶
func (mr *MockGitJobControllerMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockGitJobControllerMockRecorder) Updater ¶
func (mr *MockGitJobControllerMockRecorder) Updater() *gomock.Call
Updater indicates an expected call of Updater.
func (*MockGitJobControllerMockRecorder) Watch ¶
func (mr *MockGitJobControllerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch.
type MockJobClient ¶
type MockJobClient struct {
// contains filtered or unexported fields
}
MockJobClient is a mock of JobClient interface.
func NewMockJobClient ¶
func NewMockJobClient(ctrl *gomock.Controller) *MockJobClient
NewMockJobClient creates a new mock instance.
func (*MockJobClient) Delete ¶
func (m *MockJobClient) Delete(arg0, arg1 string, arg2 *v10.DeleteOptions) error
Delete mocks base method.
func (*MockJobClient) EXPECT ¶
func (m *MockJobClient) EXPECT() *MockJobClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJobClient) Get ¶
func (m *MockJobClient) Get(arg0, arg1 string, arg2 v10.GetOptions) (*v1.Job, error)
Get mocks base method.
func (*MockJobClient) List ¶
func (m *MockJobClient) List(arg0 string, arg1 v10.ListOptions) (*v1.JobList, error)
List mocks base method.
func (*MockJobClient) Patch ¶
func (m *MockJobClient) Patch(arg0, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 ...string) (*v1.Job, error)
Patch mocks base method.
func (*MockJobClient) UpdateStatus ¶
UpdateStatus mocks base method.
func (*MockJobClient) Watch ¶
func (m *MockJobClient) Watch(arg0 string, arg1 v10.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockJobClientMockRecorder ¶
type MockJobClientMockRecorder struct {
// contains filtered or unexported fields
}
MockJobClientMockRecorder is the mock recorder for MockJobClient.
func (*MockJobClientMockRecorder) Create ¶
func (mr *MockJobClientMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockJobClientMockRecorder) Delete ¶
func (mr *MockJobClientMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockJobClientMockRecorder) Get ¶
func (mr *MockJobClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockJobClientMockRecorder) List ¶
func (mr *MockJobClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockJobClientMockRecorder) Patch ¶
func (mr *MockJobClientMockRecorder) Patch(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockJobClientMockRecorder) Update ¶
func (mr *MockJobClientMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockJobClientMockRecorder) UpdateStatus ¶
func (mr *MockJobClientMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockJobClientMockRecorder) Watch ¶
func (mr *MockJobClientMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch.
type MockSecretCache ¶ added in v0.1.85
type MockSecretCache struct {
// contains filtered or unexported fields
}
MockSecretCache is a mock of SecretCache interface.
func NewMockSecretCache ¶ added in v0.1.85
func NewMockSecretCache(ctrl *gomock.Controller) *MockSecretCache
NewMockSecretCache creates a new mock instance.
func (*MockSecretCache) AddIndexer ¶ added in v0.1.85
func (m *MockSecretCache) AddIndexer(arg0 string, arg1 v1.SecretIndexer)
AddIndexer mocks base method.
func (*MockSecretCache) EXPECT ¶ added in v0.1.85
func (m *MockSecretCache) EXPECT() *MockSecretCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretCache) Get ¶ added in v0.1.85
func (m *MockSecretCache) Get(arg0, arg1 string) (*v10.Secret, error)
Get mocks base method.
func (*MockSecretCache) GetByIndex ¶ added in v0.1.85
func (m *MockSecretCache) GetByIndex(arg0, arg1 string) ([]*v10.Secret, error)
GetByIndex mocks base method.
type MockSecretCacheMockRecorder ¶ added in v0.1.85
type MockSecretCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretCacheMockRecorder is the mock recorder for MockSecretCache.
func (*MockSecretCacheMockRecorder) AddIndexer ¶ added in v0.1.85
func (mr *MockSecretCacheMockRecorder) AddIndexer(arg0, arg1 interface{}) *gomock.Call
AddIndexer indicates an expected call of AddIndexer.
func (*MockSecretCacheMockRecorder) Get ¶ added in v0.1.85
func (mr *MockSecretCacheMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockSecretCacheMockRecorder) GetByIndex ¶ added in v0.1.85
func (mr *MockSecretCacheMockRecorder) GetByIndex(arg0, arg1 interface{}) *gomock.Call
GetByIndex indicates an expected call of GetByIndex.
func (*MockSecretCacheMockRecorder) List ¶ added in v0.1.85
func (mr *MockSecretCacheMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.