Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockNamespaceController
- func (m *MockNamespaceController) AddGenericHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)
- func (m *MockNamespaceController) AddGenericRemoveHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)
- func (m *MockNamespaceController) Cache() v1.NamespaceCache
- func (m *MockNamespaceController) Create(arg0 *v10.Namespace) (*v10.Namespace, error)
- func (m *MockNamespaceController) Delete(arg0 string, arg1 *v11.DeleteOptions) error
- func (m *MockNamespaceController) EXPECT() *MockNamespaceControllerMockRecorder
- func (m *MockNamespaceController) Enqueue(arg0 string)
- func (m *MockNamespaceController) EnqueueAfter(arg0 string, arg1 time.Duration)
- func (m *MockNamespaceController) Get(arg0 string, arg1 v11.GetOptions) (*v10.Namespace, error)
- func (m *MockNamespaceController) GroupVersionKind() schema.GroupVersionKind
- func (m *MockNamespaceController) Informer() cache.SharedIndexInformer
- func (m *MockNamespaceController) List(arg0 v11.ListOptions) (*v10.NamespaceList, error)
- func (m *MockNamespaceController) OnChange(arg0 context.Context, arg1 string, arg2 v1.NamespaceHandler)
- func (m *MockNamespaceController) OnRemove(arg0 context.Context, arg1 string, arg2 v1.NamespaceHandler)
- func (m *MockNamespaceController) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v10.Namespace, error)
- func (m *MockNamespaceController) Update(arg0 *v10.Namespace) (*v10.Namespace, error)
- func (m *MockNamespaceController) UpdateStatus(arg0 *v10.Namespace) (*v10.Namespace, error)
- func (m *MockNamespaceController) Updater() generic.Updater
- func (m *MockNamespaceController) Watch(arg0 v11.ListOptions) (watch.Interface, error)
- type MockNamespaceControllerMockRecorder
- func (mr *MockNamespaceControllerMockRecorder) AddGenericHandler(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) AddGenericRemoveHandler(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) Cache() *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) Enqueue(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) EnqueueAfter(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) GroupVersionKind() *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) Informer() *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) OnChange(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) OnRemove(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) Updater() *gomock.Call
- func (mr *MockNamespaceControllerMockRecorder) Watch(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNamespaceController ¶
type MockNamespaceController struct {
// contains filtered or unexported fields
}
MockNamespaceController is a mock of NamespaceController interface.
func NewMockNamespaceController ¶
func NewMockNamespaceController(ctrl *gomock.Controller) *MockNamespaceController
NewMockNamespaceController creates a new mock instance.
func (*MockNamespaceController) AddGenericHandler ¶
func (m *MockNamespaceController) AddGenericHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)
AddGenericHandler mocks base method.
func (*MockNamespaceController) AddGenericRemoveHandler ¶
func (m *MockNamespaceController) AddGenericRemoveHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)
AddGenericRemoveHandler mocks base method.
func (*MockNamespaceController) Cache ¶
func (m *MockNamespaceController) Cache() v1.NamespaceCache
Cache mocks base method.
func (*MockNamespaceController) Delete ¶
func (m *MockNamespaceController) Delete(arg0 string, arg1 *v11.DeleteOptions) error
Delete mocks base method.
func (*MockNamespaceController) EXPECT ¶
func (m *MockNamespaceController) EXPECT() *MockNamespaceControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNamespaceController) Enqueue ¶
func (m *MockNamespaceController) Enqueue(arg0 string)
Enqueue mocks base method.
func (*MockNamespaceController) EnqueueAfter ¶
func (m *MockNamespaceController) EnqueueAfter(arg0 string, arg1 time.Duration)
EnqueueAfter mocks base method.
func (*MockNamespaceController) Get ¶
func (m *MockNamespaceController) Get(arg0 string, arg1 v11.GetOptions) (*v10.Namespace, error)
Get mocks base method.
func (*MockNamespaceController) GroupVersionKind ¶
func (m *MockNamespaceController) GroupVersionKind() schema.GroupVersionKind
GroupVersionKind mocks base method.
func (*MockNamespaceController) Informer ¶
func (m *MockNamespaceController) Informer() cache.SharedIndexInformer
Informer mocks base method.
func (*MockNamespaceController) List ¶
func (m *MockNamespaceController) List(arg0 v11.ListOptions) (*v10.NamespaceList, error)
List mocks base method.
func (*MockNamespaceController) OnChange ¶
func (m *MockNamespaceController) OnChange(arg0 context.Context, arg1 string, arg2 v1.NamespaceHandler)
OnChange mocks base method.
func (*MockNamespaceController) OnRemove ¶
func (m *MockNamespaceController) OnRemove(arg0 context.Context, arg1 string, arg2 v1.NamespaceHandler)
OnRemove mocks base method.
func (*MockNamespaceController) Patch ¶
func (m *MockNamespaceController) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v10.Namespace, error)
Patch mocks base method.
func (*MockNamespaceController) UpdateStatus ¶
UpdateStatus mocks base method.
func (*MockNamespaceController) Updater ¶
func (m *MockNamespaceController) Updater() generic.Updater
Updater mocks base method.
func (*MockNamespaceController) Watch ¶
func (m *MockNamespaceController) Watch(arg0 v11.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockNamespaceControllerMockRecorder ¶
type MockNamespaceControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceControllerMockRecorder is the mock recorder for MockNamespaceController.
func (*MockNamespaceControllerMockRecorder) AddGenericHandler ¶
func (mr *MockNamespaceControllerMockRecorder) AddGenericHandler(arg0, arg1, arg2 interface{}) *gomock.Call
AddGenericHandler indicates an expected call of AddGenericHandler.
func (*MockNamespaceControllerMockRecorder) AddGenericRemoveHandler ¶
func (mr *MockNamespaceControllerMockRecorder) AddGenericRemoveHandler(arg0, arg1, arg2 interface{}) *gomock.Call
AddGenericRemoveHandler indicates an expected call of AddGenericRemoveHandler.
func (*MockNamespaceControllerMockRecorder) Cache ¶
func (mr *MockNamespaceControllerMockRecorder) Cache() *gomock.Call
Cache indicates an expected call of Cache.
func (*MockNamespaceControllerMockRecorder) Create ¶
func (mr *MockNamespaceControllerMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockNamespaceControllerMockRecorder) Delete ¶
func (mr *MockNamespaceControllerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNamespaceControllerMockRecorder) Enqueue ¶
func (mr *MockNamespaceControllerMockRecorder) Enqueue(arg0 interface{}) *gomock.Call
Enqueue indicates an expected call of Enqueue.
func (*MockNamespaceControllerMockRecorder) EnqueueAfter ¶
func (mr *MockNamespaceControllerMockRecorder) EnqueueAfter(arg0, arg1 interface{}) *gomock.Call
EnqueueAfter indicates an expected call of EnqueueAfter.
func (*MockNamespaceControllerMockRecorder) Get ¶
func (mr *MockNamespaceControllerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockNamespaceControllerMockRecorder) GroupVersionKind ¶
func (mr *MockNamespaceControllerMockRecorder) GroupVersionKind() *gomock.Call
GroupVersionKind indicates an expected call of GroupVersionKind.
func (*MockNamespaceControllerMockRecorder) Informer ¶
func (mr *MockNamespaceControllerMockRecorder) Informer() *gomock.Call
Informer indicates an expected call of Informer.
func (*MockNamespaceControllerMockRecorder) List ¶
func (mr *MockNamespaceControllerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockNamespaceControllerMockRecorder) OnChange ¶
func (mr *MockNamespaceControllerMockRecorder) OnChange(arg0, arg1, arg2 interface{}) *gomock.Call
OnChange indicates an expected call of OnChange.
func (*MockNamespaceControllerMockRecorder) OnRemove ¶
func (mr *MockNamespaceControllerMockRecorder) OnRemove(arg0, arg1, arg2 interface{}) *gomock.Call
OnRemove indicates an expected call of OnRemove.
func (*MockNamespaceControllerMockRecorder) Patch ¶
func (mr *MockNamespaceControllerMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockNamespaceControllerMockRecorder) Update ¶
func (mr *MockNamespaceControllerMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockNamespaceControllerMockRecorder) UpdateStatus ¶
func (mr *MockNamespaceControllerMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockNamespaceControllerMockRecorder) Updater ¶
func (mr *MockNamespaceControllerMockRecorder) Updater() *gomock.Call
Updater indicates an expected call of Updater.
func (*MockNamespaceControllerMockRecorder) Watch ¶
func (mr *MockNamespaceControllerMockRecorder) Watch(arg0 interface{}) *gomock.Call
Watch indicates an expected call of Watch.