Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- type MockClientMockRecorder
- type MockNamespaceInterface
- func (m *MockNamespaceInterface) Create(arg0 *v1.Namespace) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
- func (m *MockNamespaceInterface) EXPECT() *MockNamespaceInterfaceMockRecorder
- func (m *MockNamespaceInterface) Finalize(arg0 *v1.Namespace) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) List(arg0 v10.ListOptions) (*v1.NamespaceList, error)
- func (m *MockNamespaceInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Update(arg0 *v1.Namespace) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) UpdateStatus(arg0 *v1.Namespace) (*v1.Namespace, error)
- func (m *MockNamespaceInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error)
- type MockNamespaceInterfaceMockRecorder
- func (mr *MockNamespaceInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Finalize(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
- type MockNamespacesGetter
- type MockNamespacesGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) Get ¶
func (m *MockClient) Get(name string, options ...v10.GetOptions) (*v1.Namespace, bool, error)
Get mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(name interface{}, options ...interface{}) *gomock.Call
Get indicates an expected call of Get
type MockNamespaceInterface ¶
type MockNamespaceInterface struct {
// contains filtered or unexported fields
}
MockNamespaceInterface is a mock of NamespaceInterface interface
func NewMockNamespaceInterface ¶
func NewMockNamespaceInterface(ctrl *gomock.Controller) *MockNamespaceInterface
NewMockNamespaceInterface creates a new mock instance
func (*MockNamespaceInterface) Delete ¶
func (m *MockNamespaceInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error
Delete mocks base method
func (*MockNamespaceInterface) EXPECT ¶
func (m *MockNamespaceInterface) EXPECT() *MockNamespaceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNamespaceInterface) Get ¶
func (m *MockNamespaceInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Namespace, error)
Get mocks base method
func (*MockNamespaceInterface) List ¶
func (m *MockNamespaceInterface) List(arg0 v10.ListOptions) (*v1.NamespaceList, error)
List mocks base method
func (*MockNamespaceInterface) Patch ¶
func (m *MockNamespaceInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Namespace, error)
Patch mocks base method
func (*MockNamespaceInterface) UpdateStatus ¶
UpdateStatus mocks base method
func (*MockNamespaceInterface) Watch ¶
func (m *MockNamespaceInterface) Watch(arg0 v10.ListOptions) (watch.Interface, error)
Watch mocks base method
type MockNamespaceInterfaceMockRecorder ¶
type MockNamespaceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceInterfaceMockRecorder is the mock recorder for MockNamespaceInterface
func (*MockNamespaceInterfaceMockRecorder) Create ¶
func (mr *MockNamespaceInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockNamespaceInterfaceMockRecorder) Delete ¶
func (mr *MockNamespaceInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockNamespaceInterfaceMockRecorder) Finalize ¶
func (mr *MockNamespaceInterfaceMockRecorder) Finalize(arg0 interface{}) *gomock.Call
Finalize indicates an expected call of Finalize
func (*MockNamespaceInterfaceMockRecorder) Get ¶
func (mr *MockNamespaceInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockNamespaceInterfaceMockRecorder) List ¶
func (mr *MockNamespaceInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockNamespaceInterfaceMockRecorder) Patch ¶
func (mr *MockNamespaceInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch
func (*MockNamespaceInterfaceMockRecorder) Update ¶
func (mr *MockNamespaceInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockNamespaceInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockNamespaceInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus
func (*MockNamespaceInterfaceMockRecorder) Watch ¶
func (mr *MockNamespaceInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
Watch indicates an expected call of Watch
type MockNamespacesGetter ¶
type MockNamespacesGetter struct {
// contains filtered or unexported fields
}
MockNamespacesGetter is a mock of NamespacesGetter interface
func NewMockNamespacesGetter ¶
func NewMockNamespacesGetter(ctrl *gomock.Controller) *MockNamespacesGetter
NewMockNamespacesGetter creates a new mock instance
func (*MockNamespacesGetter) EXPECT ¶
func (m *MockNamespacesGetter) EXPECT() *MockNamespacesGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNamespacesGetter) Namespaces ¶
func (m *MockNamespacesGetter) Namespaces() v1.NamespaceInterface
Namespaces mocks base method
type MockNamespacesGetterMockRecorder ¶
type MockNamespacesGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespacesGetterMockRecorder is the mock recorder for MockNamespacesGetter
func (*MockNamespacesGetterMockRecorder) Namespaces ¶
func (mr *MockNamespacesGetterMockRecorder) Namespaces() *gomock.Call
Namespaces indicates an expected call of Namespaces