Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockInterface
- type MockInterfaceMockRecorder
- type MockNamespaceableResourceInterface
- func (m *MockNamespaceableResourceInterface) Apply(arg0 context.Context, arg1 string, arg2 *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) ApplyStatus(arg0 context.Context, arg1 string, arg2 *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Create(arg0 context.Context, arg1 *unstructured.Unstructured, arg2 v1.CreateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Delete(arg0 context.Context, arg1 string, arg2 v1.DeleteOptions, arg3 ...string) error
- func (m *MockNamespaceableResourceInterface) DeleteCollection(arg0 context.Context, arg1 v1.DeleteOptions, arg2 v1.ListOptions) error
- func (m *MockNamespaceableResourceInterface) EXPECT() *MockNamespaceableResourceInterfaceMockRecorder
- func (m *MockNamespaceableResourceInterface) Get(arg0 context.Context, arg1 string, arg2 v1.GetOptions, arg3 ...string) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) List(arg0 context.Context, arg1 v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (m *MockNamespaceableResourceInterface) Namespace(arg0 string) dynamic.ResourceInterface
- func (m *MockNamespaceableResourceInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Update(arg0 context.Context, arg1 *unstructured.Unstructured, arg2 v1.UpdateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) UpdateStatus(arg0 context.Context, arg1 *unstructured.Unstructured, arg2 v1.UpdateOptions) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Watch(arg0 context.Context, arg1 v1.ListOptions) (watch.Interface, error)
- type MockNamespaceableResourceInterfaceMockRecorder
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Apply(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) ApplyStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Namespace(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Resource ¶
func (m *MockInterface) Resource(arg0 schema.GroupVersionResource) dynamic.NamespaceableResourceInterface
Resource mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Resource ¶
func (mr *MockInterfaceMockRecorder) Resource(arg0 interface{}) *gomock.Call
Resource indicates an expected call of Resource.
type MockNamespaceableResourceInterface ¶
type MockNamespaceableResourceInterface struct {
// contains filtered or unexported fields
}
MockNamespaceableResourceInterface is a mock of NamespaceableResourceInterface interface.
func NewMockNamespaceableResourceInterface ¶
func NewMockNamespaceableResourceInterface(ctrl *gomock.Controller) *MockNamespaceableResourceInterface
NewMockNamespaceableResourceInterface creates a new mock instance.
func (*MockNamespaceableResourceInterface) Apply ¶ added in v0.8.2
func (m *MockNamespaceableResourceInterface) Apply(arg0 context.Context, arg1 string, arg2 *unstructured.Unstructured, arg3 v1.ApplyOptions, arg4 ...string) (*unstructured.Unstructured, error)
Apply mocks base method.
func (*MockNamespaceableResourceInterface) ApplyStatus ¶ added in v0.8.2
func (m *MockNamespaceableResourceInterface) ApplyStatus(arg0 context.Context, arg1 string, arg2 *unstructured.Unstructured, arg3 v1.ApplyOptions) (*unstructured.Unstructured, error)
ApplyStatus mocks base method.
func (*MockNamespaceableResourceInterface) Create ¶
func (m *MockNamespaceableResourceInterface) Create(arg0 context.Context, arg1 *unstructured.Unstructured, arg2 v1.CreateOptions, arg3 ...string) (*unstructured.Unstructured, error)
Create mocks base method.
func (*MockNamespaceableResourceInterface) Delete ¶
func (m *MockNamespaceableResourceInterface) Delete(arg0 context.Context, arg1 string, arg2 v1.DeleteOptions, arg3 ...string) error
Delete mocks base method.
func (*MockNamespaceableResourceInterface) DeleteCollection ¶
func (m *MockNamespaceableResourceInterface) DeleteCollection(arg0 context.Context, arg1 v1.DeleteOptions, arg2 v1.ListOptions) error
DeleteCollection mocks base method.
func (*MockNamespaceableResourceInterface) EXPECT ¶
func (m *MockNamespaceableResourceInterface) EXPECT() *MockNamespaceableResourceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNamespaceableResourceInterface) Get ¶
func (m *MockNamespaceableResourceInterface) Get(arg0 context.Context, arg1 string, arg2 v1.GetOptions, arg3 ...string) (*unstructured.Unstructured, error)
Get mocks base method.
func (*MockNamespaceableResourceInterface) List ¶
func (m *MockNamespaceableResourceInterface) List(arg0 context.Context, arg1 v1.ListOptions) (*unstructured.UnstructuredList, error)
List mocks base method.
func (*MockNamespaceableResourceInterface) Namespace ¶
func (m *MockNamespaceableResourceInterface) Namespace(arg0 string) dynamic.ResourceInterface
Namespace mocks base method.
func (*MockNamespaceableResourceInterface) Patch ¶
func (m *MockNamespaceableResourceInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v1.PatchOptions, arg5 ...string) (*unstructured.Unstructured, error)
Patch mocks base method.
func (*MockNamespaceableResourceInterface) Update ¶
func (m *MockNamespaceableResourceInterface) Update(arg0 context.Context, arg1 *unstructured.Unstructured, arg2 v1.UpdateOptions, arg3 ...string) (*unstructured.Unstructured, error)
Update mocks base method.
func (*MockNamespaceableResourceInterface) UpdateStatus ¶
func (m *MockNamespaceableResourceInterface) UpdateStatus(arg0 context.Context, arg1 *unstructured.Unstructured, arg2 v1.UpdateOptions) (*unstructured.Unstructured, error)
UpdateStatus mocks base method.
func (*MockNamespaceableResourceInterface) Watch ¶
func (m *MockNamespaceableResourceInterface) Watch(arg0 context.Context, arg1 v1.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockNamespaceableResourceInterfaceMockRecorder ¶
type MockNamespaceableResourceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceableResourceInterfaceMockRecorder is the mock recorder for MockNamespaceableResourceInterface.
func (*MockNamespaceableResourceInterfaceMockRecorder) Apply ¶ added in v0.8.2
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Apply(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockNamespaceableResourceInterfaceMockRecorder) ApplyStatus ¶ added in v0.8.2
func (mr *MockNamespaceableResourceInterfaceMockRecorder) ApplyStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ApplyStatus indicates an expected call of ApplyStatus.
func (*MockNamespaceableResourceInterfaceMockRecorder) Create ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockNamespaceableResourceInterfaceMockRecorder) Delete ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockNamespaceableResourceInterfaceMockRecorder) Get ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockNamespaceableResourceInterfaceMockRecorder) List ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockNamespaceableResourceInterfaceMockRecorder) Namespace ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Namespace(arg0 interface{}) *gomock.Call
Namespace indicates an expected call of Namespace.
func (*MockNamespaceableResourceInterfaceMockRecorder) Patch ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockNamespaceableResourceInterfaceMockRecorder) Update ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockNamespaceableResourceInterfaceMockRecorder) Watch ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch.