Documentation
¶
Index ¶
- type MockCustomResourceDefinitionInterface
- func (_mock *MockCustomResourceDefinitionInterface) Apply(ctx context.Context, ...) (*v11.CustomResourceDefinition, error)
- func (_mock *MockCustomResourceDefinitionInterface) ApplyStatus(ctx context.Context, ...) (*v11.CustomResourceDefinition, error)
- func (_mock *MockCustomResourceDefinitionInterface) Create(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, ...) (*v11.CustomResourceDefinition, error)
- func (_mock *MockCustomResourceDefinitionInterface) Delete(ctx context.Context, name string, opts v10.DeleteOptions) error
- func (_mock *MockCustomResourceDefinitionInterface) DeleteCollection(ctx context.Context, opts v10.DeleteOptions, listOpts v10.ListOptions) error
- func (_m *MockCustomResourceDefinitionInterface) EXPECT() *MockCustomResourceDefinitionInterface_Expecter
- func (_mock *MockCustomResourceDefinitionInterface) Get(ctx context.Context, name string, opts v10.GetOptions) (*v11.CustomResourceDefinition, error)
- func (_mock *MockCustomResourceDefinitionInterface) List(ctx context.Context, opts v10.ListOptions) (*v11.CustomResourceDefinitionList, error)
- func (_mock *MockCustomResourceDefinitionInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v11.CustomResourceDefinition, error)
- func (_mock *MockCustomResourceDefinitionInterface) Update(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, ...) (*v11.CustomResourceDefinition, error)
- func (_mock *MockCustomResourceDefinitionInterface) UpdateStatus(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, ...) (*v11.CustomResourceDefinition, error)
- func (_mock *MockCustomResourceDefinitionInterface) Watch(ctx context.Context, opts v10.ListOptions) (watch.Interface, error)
- type MockCustomResourceDefinitionInterface_ApplyStatus_Call
- func (_c *MockCustomResourceDefinitionInterface_ApplyStatus_Call) Return(result *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_ApplyStatus_Call
- func (_c *MockCustomResourceDefinitionInterface_ApplyStatus_Call) Run(run func(ctx context.Context, ...)) *MockCustomResourceDefinitionInterface_ApplyStatus_Call
- func (_c *MockCustomResourceDefinitionInterface_ApplyStatus_Call) RunAndReturn(run func(ctx context.Context, ...) (*v11.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterface_ApplyStatus_Call
- type MockCustomResourceDefinitionInterface_Apply_Call
- func (_c *MockCustomResourceDefinitionInterface_Apply_Call) Return(result *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_Apply_Call
- func (_c *MockCustomResourceDefinitionInterface_Apply_Call) Run(run func(ctx context.Context, ...)) *MockCustomResourceDefinitionInterface_Apply_Call
- func (_c *MockCustomResourceDefinitionInterface_Apply_Call) RunAndReturn(run func(ctx context.Context, ...) (*v11.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterface_Apply_Call
- type MockCustomResourceDefinitionInterface_Create_Call
- func (_c *MockCustomResourceDefinitionInterface_Create_Call) Return(customResourceDefinition1 *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_Create_Call
- func (_c *MockCustomResourceDefinitionInterface_Create_Call) Run(...) *MockCustomResourceDefinitionInterface_Create_Call
- func (_c *MockCustomResourceDefinitionInterface_Create_Call) RunAndReturn(...) *MockCustomResourceDefinitionInterface_Create_Call
- type MockCustomResourceDefinitionInterface_DeleteCollection_Call
- func (_c *MockCustomResourceDefinitionInterface_DeleteCollection_Call) Return(err error) *MockCustomResourceDefinitionInterface_DeleteCollection_Call
- func (_c *MockCustomResourceDefinitionInterface_DeleteCollection_Call) Run(...) *MockCustomResourceDefinitionInterface_DeleteCollection_Call
- func (_c *MockCustomResourceDefinitionInterface_DeleteCollection_Call) RunAndReturn(...) *MockCustomResourceDefinitionInterface_DeleteCollection_Call
- type MockCustomResourceDefinitionInterface_Delete_Call
- func (_c *MockCustomResourceDefinitionInterface_Delete_Call) Return(err error) *MockCustomResourceDefinitionInterface_Delete_Call
- func (_c *MockCustomResourceDefinitionInterface_Delete_Call) Run(run func(ctx context.Context, name string, opts v10.DeleteOptions)) *MockCustomResourceDefinitionInterface_Delete_Call
- func (_c *MockCustomResourceDefinitionInterface_Delete_Call) RunAndReturn(run func(ctx context.Context, name string, opts v10.DeleteOptions) error) *MockCustomResourceDefinitionInterface_Delete_Call
- type MockCustomResourceDefinitionInterface_Expecter
- func (_e *MockCustomResourceDefinitionInterface_Expecter) Apply(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Apply_Call
- func (_e *MockCustomResourceDefinitionInterface_Expecter) ApplyStatus(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_ApplyStatus_Call
- func (_e *MockCustomResourceDefinitionInterface_Expecter) Create(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Create_Call
- func (_e *MockCustomResourceDefinitionInterface_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Delete_Call
- func (_e *MockCustomResourceDefinitionInterface_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *MockCustomResourceDefinitionInterface_DeleteCollection_Call
- func (_e *MockCustomResourceDefinitionInterface_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Get_Call
- func (_e *MockCustomResourceDefinitionInterface_Expecter) List(ctx interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_List_Call
- func (_e *MockCustomResourceDefinitionInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, ...) *MockCustomResourceDefinitionInterface_Patch_Call
- func (_e *MockCustomResourceDefinitionInterface_Expecter) Update(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Update_Call
- func (_e *MockCustomResourceDefinitionInterface_Expecter) UpdateStatus(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_UpdateStatus_Call
- func (_e *MockCustomResourceDefinitionInterface_Expecter) Watch(ctx interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Watch_Call
- type MockCustomResourceDefinitionInterface_Get_Call
- func (_c *MockCustomResourceDefinitionInterface_Get_Call) Return(customResourceDefinition *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_Get_Call
- func (_c *MockCustomResourceDefinitionInterface_Get_Call) Run(run func(ctx context.Context, name string, opts v10.GetOptions)) *MockCustomResourceDefinitionInterface_Get_Call
- func (_c *MockCustomResourceDefinitionInterface_Get_Call) RunAndReturn(...) *MockCustomResourceDefinitionInterface_Get_Call
- type MockCustomResourceDefinitionInterface_List_Call
- func (_c *MockCustomResourceDefinitionInterface_List_Call) Return(customResourceDefinitionList *v11.CustomResourceDefinitionList, err error) *MockCustomResourceDefinitionInterface_List_Call
- func (_c *MockCustomResourceDefinitionInterface_List_Call) Run(run func(ctx context.Context, opts v10.ListOptions)) *MockCustomResourceDefinitionInterface_List_Call
- func (_c *MockCustomResourceDefinitionInterface_List_Call) RunAndReturn(...) *MockCustomResourceDefinitionInterface_List_Call
- type MockCustomResourceDefinitionInterface_Patch_Call
- func (_c *MockCustomResourceDefinitionInterface_Patch_Call) Return(result *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_Patch_Call
- func (_c *MockCustomResourceDefinitionInterface_Patch_Call) Run(...) *MockCustomResourceDefinitionInterface_Patch_Call
- func (_c *MockCustomResourceDefinitionInterface_Patch_Call) RunAndReturn(...) *MockCustomResourceDefinitionInterface_Patch_Call
- type MockCustomResourceDefinitionInterface_UpdateStatus_Call
- func (_c *MockCustomResourceDefinitionInterface_UpdateStatus_Call) Return(customResourceDefinition1 *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_UpdateStatus_Call
- func (_c *MockCustomResourceDefinitionInterface_UpdateStatus_Call) Run(...) *MockCustomResourceDefinitionInterface_UpdateStatus_Call
- func (_c *MockCustomResourceDefinitionInterface_UpdateStatus_Call) RunAndReturn(...) *MockCustomResourceDefinitionInterface_UpdateStatus_Call
- type MockCustomResourceDefinitionInterface_Update_Call
- func (_c *MockCustomResourceDefinitionInterface_Update_Call) Return(customResourceDefinition1 *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_Update_Call
- func (_c *MockCustomResourceDefinitionInterface_Update_Call) Run(...) *MockCustomResourceDefinitionInterface_Update_Call
- func (_c *MockCustomResourceDefinitionInterface_Update_Call) RunAndReturn(...) *MockCustomResourceDefinitionInterface_Update_Call
- type MockCustomResourceDefinitionInterface_Watch_Call
- func (_c *MockCustomResourceDefinitionInterface_Watch_Call) Return(interfaceParam watch.Interface, err error) *MockCustomResourceDefinitionInterface_Watch_Call
- func (_c *MockCustomResourceDefinitionInterface_Watch_Call) Run(run func(ctx context.Context, opts v10.ListOptions)) *MockCustomResourceDefinitionInterface_Watch_Call
- func (_c *MockCustomResourceDefinitionInterface_Watch_Call) RunAndReturn(run func(ctx context.Context, opts v10.ListOptions) (watch.Interface, error)) *MockCustomResourceDefinitionInterface_Watch_Call
- type MockResourceInterface
- func (_mock *MockResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (_mock *MockResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (_mock *MockResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, ...) (*unstructured.Unstructured, error)
- func (_mock *MockResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, ...) error
- func (_mock *MockResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
- func (_m *MockResourceInterface) EXPECT() *MockResourceInterface_Expecter
- func (_mock *MockResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, ...) (*unstructured.Unstructured, error)
- func (_mock *MockResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (_mock *MockResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*unstructured.Unstructured, error)
- func (_mock *MockResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, ...) (*unstructured.Unstructured, error)
- func (_mock *MockResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
- func (_mock *MockResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type MockResourceInterface_ApplyStatus_Call
- func (_c *MockResourceInterface_ApplyStatus_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_ApplyStatus_Call
- func (_c *MockResourceInterface_ApplyStatus_Call) Run(...) *MockResourceInterface_ApplyStatus_Call
- func (_c *MockResourceInterface_ApplyStatus_Call) RunAndReturn(...) *MockResourceInterface_ApplyStatus_Call
- type MockResourceInterface_Apply_Call
- func (_c *MockResourceInterface_Apply_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_Apply_Call
- func (_c *MockResourceInterface_Apply_Call) Run(...) *MockResourceInterface_Apply_Call
- func (_c *MockResourceInterface_Apply_Call) RunAndReturn(...) *MockResourceInterface_Apply_Call
- type MockResourceInterface_Create_Call
- func (_c *MockResourceInterface_Create_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_Create_Call
- func (_c *MockResourceInterface_Create_Call) Run(...) *MockResourceInterface_Create_Call
- func (_c *MockResourceInterface_Create_Call) RunAndReturn(...) *MockResourceInterface_Create_Call
- type MockResourceInterface_DeleteCollection_Call
- func (_c *MockResourceInterface_DeleteCollection_Call) Return(err error) *MockResourceInterface_DeleteCollection_Call
- func (_c *MockResourceInterface_DeleteCollection_Call) Run(...) *MockResourceInterface_DeleteCollection_Call
- func (_c *MockResourceInterface_DeleteCollection_Call) RunAndReturn(...) *MockResourceInterface_DeleteCollection_Call
- type MockResourceInterface_Delete_Call
- func (_c *MockResourceInterface_Delete_Call) Return(err error) *MockResourceInterface_Delete_Call
- func (_c *MockResourceInterface_Delete_Call) Run(run func(ctx context.Context, name string, options v1.DeleteOptions, ...)) *MockResourceInterface_Delete_Call
- func (_c *MockResourceInterface_Delete_Call) RunAndReturn(...) *MockResourceInterface_Delete_Call
- type MockResourceInterface_Expecter
- func (_e *MockResourceInterface_Expecter) Apply(ctx interface{}, name interface{}, obj interface{}, options interface{}, ...) *MockResourceInterface_Apply_Call
- func (_e *MockResourceInterface_Expecter) ApplyStatus(ctx interface{}, name interface{}, obj interface{}, options interface{}) *MockResourceInterface_ApplyStatus_Call
- func (_e *MockResourceInterface_Expecter) Create(ctx interface{}, obj interface{}, options interface{}, ...) *MockResourceInterface_Create_Call
- func (_e *MockResourceInterface_Expecter) Delete(ctx interface{}, name interface{}, options interface{}, ...) *MockResourceInterface_Delete_Call
- func (_e *MockResourceInterface_Expecter) DeleteCollection(ctx interface{}, options interface{}, listOptions interface{}) *MockResourceInterface_DeleteCollection_Call
- func (_e *MockResourceInterface_Expecter) Get(ctx interface{}, name interface{}, options interface{}, ...) *MockResourceInterface_Get_Call
- func (_e *MockResourceInterface_Expecter) List(ctx interface{}, opts interface{}) *MockResourceInterface_List_Call
- func (_e *MockResourceInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, ...) *MockResourceInterface_Patch_Call
- func (_e *MockResourceInterface_Expecter) Update(ctx interface{}, obj interface{}, options interface{}, ...) *MockResourceInterface_Update_Call
- func (_e *MockResourceInterface_Expecter) UpdateStatus(ctx interface{}, obj interface{}, options interface{}) *MockResourceInterface_UpdateStatus_Call
- func (_e *MockResourceInterface_Expecter) Watch(ctx interface{}, opts interface{}) *MockResourceInterface_Watch_Call
- type MockResourceInterface_Get_Call
- func (_c *MockResourceInterface_Get_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_Get_Call
- func (_c *MockResourceInterface_Get_Call) Run(run func(ctx context.Context, name string, options v1.GetOptions, ...)) *MockResourceInterface_Get_Call
- func (_c *MockResourceInterface_Get_Call) RunAndReturn(...) *MockResourceInterface_Get_Call
- type MockResourceInterface_List_Call
- func (_c *MockResourceInterface_List_Call) Return(unstructuredList *unstructured.UnstructuredList, err error) *MockResourceInterface_List_Call
- func (_c *MockResourceInterface_List_Call) Run(run func(ctx context.Context, opts v1.ListOptions)) *MockResourceInterface_List_Call
- func (_c *MockResourceInterface_List_Call) RunAndReturn(...) *MockResourceInterface_List_Call
- type MockResourceInterface_Patch_Call
- func (_c *MockResourceInterface_Patch_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_Patch_Call
- func (_c *MockResourceInterface_Patch_Call) Run(...) *MockResourceInterface_Patch_Call
- func (_c *MockResourceInterface_Patch_Call) RunAndReturn(...) *MockResourceInterface_Patch_Call
- type MockResourceInterface_UpdateStatus_Call
- func (_c *MockResourceInterface_UpdateStatus_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_UpdateStatus_Call
- func (_c *MockResourceInterface_UpdateStatus_Call) Run(...) *MockResourceInterface_UpdateStatus_Call
- func (_c *MockResourceInterface_UpdateStatus_Call) RunAndReturn(...) *MockResourceInterface_UpdateStatus_Call
- type MockResourceInterface_Update_Call
- func (_c *MockResourceInterface_Update_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_Update_Call
- func (_c *MockResourceInterface_Update_Call) Run(...) *MockResourceInterface_Update_Call
- func (_c *MockResourceInterface_Update_Call) RunAndReturn(...) *MockResourceInterface_Update_Call
- type MockResourceInterface_Watch_Call
- func (_c *MockResourceInterface_Watch_Call) Return(interfaceParam watch.Interface, err error) *MockResourceInterface_Watch_Call
- func (_c *MockResourceInterface_Watch_Call) Run(run func(ctx context.Context, opts v1.ListOptions)) *MockResourceInterface_Watch_Call
- func (_c *MockResourceInterface_Watch_Call) RunAndReturn(run func(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)) *MockResourceInterface_Watch_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCustomResourceDefinitionInterface ¶
MockCustomResourceDefinitionInterface is an autogenerated mock type for the CustomResourceDefinitionInterface type
func NewMockCustomResourceDefinitionInterface ¶
func NewMockCustomResourceDefinitionInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MockCustomResourceDefinitionInterface
NewMockCustomResourceDefinitionInterface creates a new instance of MockCustomResourceDefinitionInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockCustomResourceDefinitionInterface) Apply ¶
func (_mock *MockCustomResourceDefinitionInterface) Apply(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions) (*v11.CustomResourceDefinition, error)
Apply provides a mock function for the type MockCustomResourceDefinitionInterface
func (*MockCustomResourceDefinitionInterface) ApplyStatus ¶
func (_mock *MockCustomResourceDefinitionInterface) ApplyStatus(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions) (*v11.CustomResourceDefinition, error)
ApplyStatus provides a mock function for the type MockCustomResourceDefinitionInterface
func (*MockCustomResourceDefinitionInterface) Create ¶
func (_mock *MockCustomResourceDefinitionInterface) Create(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, opts v10.CreateOptions) (*v11.CustomResourceDefinition, error)
Create provides a mock function for the type MockCustomResourceDefinitionInterface
func (*MockCustomResourceDefinitionInterface) Delete ¶
func (_mock *MockCustomResourceDefinitionInterface) Delete(ctx context.Context, name string, opts v10.DeleteOptions) error
Delete provides a mock function for the type MockCustomResourceDefinitionInterface
func (*MockCustomResourceDefinitionInterface) DeleteCollection ¶
func (_mock *MockCustomResourceDefinitionInterface) DeleteCollection(ctx context.Context, opts v10.DeleteOptions, listOpts v10.ListOptions) error
DeleteCollection provides a mock function for the type MockCustomResourceDefinitionInterface
func (*MockCustomResourceDefinitionInterface) EXPECT ¶
func (_m *MockCustomResourceDefinitionInterface) EXPECT() *MockCustomResourceDefinitionInterface_Expecter
func (*MockCustomResourceDefinitionInterface) Get ¶
func (_mock *MockCustomResourceDefinitionInterface) Get(ctx context.Context, name string, opts v10.GetOptions) (*v11.CustomResourceDefinition, error)
Get provides a mock function for the type MockCustomResourceDefinitionInterface
func (*MockCustomResourceDefinitionInterface) List ¶
func (_mock *MockCustomResourceDefinitionInterface) List(ctx context.Context, opts v10.ListOptions) (*v11.CustomResourceDefinitionList, error)
List provides a mock function for the type MockCustomResourceDefinitionInterface
func (*MockCustomResourceDefinitionInterface) Patch ¶
func (_mock *MockCustomResourceDefinitionInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v10.PatchOptions, subresources ...string) (*v11.CustomResourceDefinition, error)
Patch provides a mock function for the type MockCustomResourceDefinitionInterface
func (*MockCustomResourceDefinitionInterface) Update ¶
func (_mock *MockCustomResourceDefinitionInterface) Update(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, opts v10.UpdateOptions) (*v11.CustomResourceDefinition, error)
Update provides a mock function for the type MockCustomResourceDefinitionInterface
func (*MockCustomResourceDefinitionInterface) UpdateStatus ¶
func (_mock *MockCustomResourceDefinitionInterface) UpdateStatus(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, opts v10.UpdateOptions) (*v11.CustomResourceDefinition, error)
UpdateStatus provides a mock function for the type MockCustomResourceDefinitionInterface
func (*MockCustomResourceDefinitionInterface) Watch ¶
func (_mock *MockCustomResourceDefinitionInterface) Watch(ctx context.Context, opts v10.ListOptions) (watch.Interface, error)
Watch provides a mock function for the type MockCustomResourceDefinitionInterface
type MockCustomResourceDefinitionInterface_ApplyStatus_Call ¶
MockCustomResourceDefinitionInterface_ApplyStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyStatus'
func (*MockCustomResourceDefinitionInterface_ApplyStatus_Call) Return ¶
func (_c *MockCustomResourceDefinitionInterface_ApplyStatus_Call) Return(result *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_ApplyStatus_Call
func (*MockCustomResourceDefinitionInterface_ApplyStatus_Call) Run ¶
func (_c *MockCustomResourceDefinitionInterface_ApplyStatus_Call) Run(run func(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions)) *MockCustomResourceDefinitionInterface_ApplyStatus_Call
func (*MockCustomResourceDefinitionInterface_ApplyStatus_Call) RunAndReturn ¶
func (_c *MockCustomResourceDefinitionInterface_ApplyStatus_Call) RunAndReturn(run func(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions) (*v11.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterface_ApplyStatus_Call
type MockCustomResourceDefinitionInterface_Apply_Call ¶
MockCustomResourceDefinitionInterface_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*MockCustomResourceDefinitionInterface_Apply_Call) Return ¶
func (_c *MockCustomResourceDefinitionInterface_Apply_Call) Return(result *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_Apply_Call
func (*MockCustomResourceDefinitionInterface_Apply_Call) Run ¶
func (_c *MockCustomResourceDefinitionInterface_Apply_Call) Run(run func(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions)) *MockCustomResourceDefinitionInterface_Apply_Call
func (*MockCustomResourceDefinitionInterface_Apply_Call) RunAndReturn ¶
func (_c *MockCustomResourceDefinitionInterface_Apply_Call) RunAndReturn(run func(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration, opts v10.ApplyOptions) (*v11.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterface_Apply_Call
type MockCustomResourceDefinitionInterface_Create_Call ¶
MockCustomResourceDefinitionInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockCustomResourceDefinitionInterface_Create_Call) Return ¶
func (_c *MockCustomResourceDefinitionInterface_Create_Call) Return(customResourceDefinition1 *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_Create_Call
func (*MockCustomResourceDefinitionInterface_Create_Call) Run ¶
func (_c *MockCustomResourceDefinitionInterface_Create_Call) Run(run func(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, opts v10.CreateOptions)) *MockCustomResourceDefinitionInterface_Create_Call
func (*MockCustomResourceDefinitionInterface_Create_Call) RunAndReturn ¶
func (_c *MockCustomResourceDefinitionInterface_Create_Call) RunAndReturn(run func(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, opts v10.CreateOptions) (*v11.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterface_Create_Call
type MockCustomResourceDefinitionInterface_DeleteCollection_Call ¶
MockCustomResourceDefinitionInterface_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'
func (*MockCustomResourceDefinitionInterface_DeleteCollection_Call) Run ¶
func (_c *MockCustomResourceDefinitionInterface_DeleteCollection_Call) Run(run func(ctx context.Context, opts v10.DeleteOptions, listOpts v10.ListOptions)) *MockCustomResourceDefinitionInterface_DeleteCollection_Call
func (*MockCustomResourceDefinitionInterface_DeleteCollection_Call) RunAndReturn ¶
func (_c *MockCustomResourceDefinitionInterface_DeleteCollection_Call) RunAndReturn(run func(ctx context.Context, opts v10.DeleteOptions, listOpts v10.ListOptions) error) *MockCustomResourceDefinitionInterface_DeleteCollection_Call
type MockCustomResourceDefinitionInterface_Delete_Call ¶
MockCustomResourceDefinitionInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockCustomResourceDefinitionInterface_Delete_Call) Return ¶
func (_c *MockCustomResourceDefinitionInterface_Delete_Call) Return(err error) *MockCustomResourceDefinitionInterface_Delete_Call
func (*MockCustomResourceDefinitionInterface_Delete_Call) Run ¶
func (_c *MockCustomResourceDefinitionInterface_Delete_Call) Run(run func(ctx context.Context, name string, opts v10.DeleteOptions)) *MockCustomResourceDefinitionInterface_Delete_Call
func (*MockCustomResourceDefinitionInterface_Delete_Call) RunAndReturn ¶
func (_c *MockCustomResourceDefinitionInterface_Delete_Call) RunAndReturn(run func(ctx context.Context, name string, opts v10.DeleteOptions) error) *MockCustomResourceDefinitionInterface_Delete_Call
type MockCustomResourceDefinitionInterface_Expecter ¶
type MockCustomResourceDefinitionInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCustomResourceDefinitionInterface_Expecter) Apply ¶
func (_e *MockCustomResourceDefinitionInterface_Expecter) Apply(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Apply_Call
Apply is a helper method to define mock.On call
- ctx context.Context
- customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration
- opts v10.ApplyOptions
func (*MockCustomResourceDefinitionInterface_Expecter) ApplyStatus ¶
func (_e *MockCustomResourceDefinitionInterface_Expecter) ApplyStatus(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_ApplyStatus_Call
ApplyStatus is a helper method to define mock.On call
- ctx context.Context
- customResourceDefinition *v1.CustomResourceDefinitionApplyConfiguration
- opts v10.ApplyOptions
func (*MockCustomResourceDefinitionInterface_Expecter) Create ¶
func (_e *MockCustomResourceDefinitionInterface_Expecter) Create(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- customResourceDefinition *v11.CustomResourceDefinition
- opts v10.CreateOptions
func (*MockCustomResourceDefinitionInterface_Expecter) Delete ¶
func (_e *MockCustomResourceDefinitionInterface_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- opts v10.DeleteOptions
func (*MockCustomResourceDefinitionInterface_Expecter) DeleteCollection ¶
func (_e *MockCustomResourceDefinitionInterface_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *MockCustomResourceDefinitionInterface_DeleteCollection_Call
DeleteCollection is a helper method to define mock.On call
- ctx context.Context
- opts v10.DeleteOptions
- listOpts v10.ListOptions
func (*MockCustomResourceDefinitionInterface_Expecter) Get ¶
func (_e *MockCustomResourceDefinitionInterface_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- opts v10.GetOptions
func (*MockCustomResourceDefinitionInterface_Expecter) List ¶
func (_e *MockCustomResourceDefinitionInterface_Expecter) List(ctx interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts v10.ListOptions
func (*MockCustomResourceDefinitionInterface_Expecter) Patch ¶
func (_e *MockCustomResourceDefinitionInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *MockCustomResourceDefinitionInterface_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- pt types.PatchType
- data []byte
- opts v10.PatchOptions
- subresources ...string
func (*MockCustomResourceDefinitionInterface_Expecter) Update ¶
func (_e *MockCustomResourceDefinitionInterface_Expecter) Update(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- customResourceDefinition *v11.CustomResourceDefinition
- opts v10.UpdateOptions
func (*MockCustomResourceDefinitionInterface_Expecter) UpdateStatus ¶
func (_e *MockCustomResourceDefinitionInterface_Expecter) UpdateStatus(ctx interface{}, customResourceDefinition interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_UpdateStatus_Call
UpdateStatus is a helper method to define mock.On call
- ctx context.Context
- customResourceDefinition *v11.CustomResourceDefinition
- opts v10.UpdateOptions
func (*MockCustomResourceDefinitionInterface_Expecter) Watch ¶
func (_e *MockCustomResourceDefinitionInterface_Expecter) Watch(ctx interface{}, opts interface{}) *MockCustomResourceDefinitionInterface_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts v10.ListOptions
type MockCustomResourceDefinitionInterface_Get_Call ¶
MockCustomResourceDefinitionInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockCustomResourceDefinitionInterface_Get_Call) Return ¶
func (_c *MockCustomResourceDefinitionInterface_Get_Call) Return(customResourceDefinition *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_Get_Call
func (*MockCustomResourceDefinitionInterface_Get_Call) Run ¶
func (_c *MockCustomResourceDefinitionInterface_Get_Call) Run(run func(ctx context.Context, name string, opts v10.GetOptions)) *MockCustomResourceDefinitionInterface_Get_Call
func (*MockCustomResourceDefinitionInterface_Get_Call) RunAndReturn ¶
func (_c *MockCustomResourceDefinitionInterface_Get_Call) RunAndReturn(run func(ctx context.Context, name string, opts v10.GetOptions) (*v11.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterface_Get_Call
type MockCustomResourceDefinitionInterface_List_Call ¶
MockCustomResourceDefinitionInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockCustomResourceDefinitionInterface_List_Call) Return ¶
func (_c *MockCustomResourceDefinitionInterface_List_Call) Return(customResourceDefinitionList *v11.CustomResourceDefinitionList, err error) *MockCustomResourceDefinitionInterface_List_Call
func (*MockCustomResourceDefinitionInterface_List_Call) Run ¶
func (_c *MockCustomResourceDefinitionInterface_List_Call) Run(run func(ctx context.Context, opts v10.ListOptions)) *MockCustomResourceDefinitionInterface_List_Call
func (*MockCustomResourceDefinitionInterface_List_Call) RunAndReturn ¶
func (_c *MockCustomResourceDefinitionInterface_List_Call) RunAndReturn(run func(ctx context.Context, opts v10.ListOptions) (*v11.CustomResourceDefinitionList, error)) *MockCustomResourceDefinitionInterface_List_Call
type MockCustomResourceDefinitionInterface_Patch_Call ¶
MockCustomResourceDefinitionInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*MockCustomResourceDefinitionInterface_Patch_Call) Return ¶
func (_c *MockCustomResourceDefinitionInterface_Patch_Call) Return(result *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_Patch_Call
func (*MockCustomResourceDefinitionInterface_Patch_Call) Run ¶
func (_c *MockCustomResourceDefinitionInterface_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts v10.PatchOptions, subresources ...string)) *MockCustomResourceDefinitionInterface_Patch_Call
func (*MockCustomResourceDefinitionInterface_Patch_Call) RunAndReturn ¶
func (_c *MockCustomResourceDefinitionInterface_Patch_Call) RunAndReturn(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts v10.PatchOptions, subresources ...string) (*v11.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterface_Patch_Call
type MockCustomResourceDefinitionInterface_UpdateStatus_Call ¶
MockCustomResourceDefinitionInterface_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'
func (*MockCustomResourceDefinitionInterface_UpdateStatus_Call) Return ¶
func (_c *MockCustomResourceDefinitionInterface_UpdateStatus_Call) Return(customResourceDefinition1 *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_UpdateStatus_Call
func (*MockCustomResourceDefinitionInterface_UpdateStatus_Call) Run ¶
func (_c *MockCustomResourceDefinitionInterface_UpdateStatus_Call) Run(run func(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, opts v10.UpdateOptions)) *MockCustomResourceDefinitionInterface_UpdateStatus_Call
func (*MockCustomResourceDefinitionInterface_UpdateStatus_Call) RunAndReturn ¶
func (_c *MockCustomResourceDefinitionInterface_UpdateStatus_Call) RunAndReturn(run func(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, opts v10.UpdateOptions) (*v11.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterface_UpdateStatus_Call
type MockCustomResourceDefinitionInterface_Update_Call ¶
MockCustomResourceDefinitionInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockCustomResourceDefinitionInterface_Update_Call) Return ¶
func (_c *MockCustomResourceDefinitionInterface_Update_Call) Return(customResourceDefinition1 *v11.CustomResourceDefinition, err error) *MockCustomResourceDefinitionInterface_Update_Call
func (*MockCustomResourceDefinitionInterface_Update_Call) Run ¶
func (_c *MockCustomResourceDefinitionInterface_Update_Call) Run(run func(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, opts v10.UpdateOptions)) *MockCustomResourceDefinitionInterface_Update_Call
func (*MockCustomResourceDefinitionInterface_Update_Call) RunAndReturn ¶
func (_c *MockCustomResourceDefinitionInterface_Update_Call) RunAndReturn(run func(ctx context.Context, customResourceDefinition *v11.CustomResourceDefinition, opts v10.UpdateOptions) (*v11.CustomResourceDefinition, error)) *MockCustomResourceDefinitionInterface_Update_Call
type MockCustomResourceDefinitionInterface_Watch_Call ¶
MockCustomResourceDefinitionInterface_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*MockCustomResourceDefinitionInterface_Watch_Call) Return ¶
func (_c *MockCustomResourceDefinitionInterface_Watch_Call) Return(interfaceParam watch.Interface, err error) *MockCustomResourceDefinitionInterface_Watch_Call
func (*MockCustomResourceDefinitionInterface_Watch_Call) Run ¶
func (_c *MockCustomResourceDefinitionInterface_Watch_Call) Run(run func(ctx context.Context, opts v10.ListOptions)) *MockCustomResourceDefinitionInterface_Watch_Call
func (*MockCustomResourceDefinitionInterface_Watch_Call) RunAndReturn ¶
func (_c *MockCustomResourceDefinitionInterface_Watch_Call) RunAndReturn(run func(ctx context.Context, opts v10.ListOptions) (watch.Interface, error)) *MockCustomResourceDefinitionInterface_Watch_Call
type MockResourceInterface ¶
MockResourceInterface is an autogenerated mock type for the ResourceInterface type
func NewMockResourceInterface ¶
func NewMockResourceInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MockResourceInterface
NewMockResourceInterface creates a new instance of MockResourceInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockResourceInterface) Apply ¶
func (_mock *MockResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string) (*unstructured.Unstructured, error)
Apply provides a mock function for the type MockResourceInterface
func (*MockResourceInterface) ApplyStatus ¶
func (_mock *MockResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions) (*unstructured.Unstructured, error)
ApplyStatus provides a mock function for the type MockResourceInterface
func (*MockResourceInterface) Create ¶
func (_mock *MockResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)
Create provides a mock function for the type MockResourceInterface
func (*MockResourceInterface) Delete ¶
func (_mock *MockResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error
Delete provides a mock function for the type MockResourceInterface
func (*MockResourceInterface) DeleteCollection ¶
func (_mock *MockResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection provides a mock function for the type MockResourceInterface
func (*MockResourceInterface) EXPECT ¶
func (_m *MockResourceInterface) EXPECT() *MockResourceInterface_Expecter
func (*MockResourceInterface) Get ¶
func (_mock *MockResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
Get provides a mock function for the type MockResourceInterface
func (*MockResourceInterface) List ¶
func (_mock *MockResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
List provides a mock function for the type MockResourceInterface
func (*MockResourceInterface) Patch ¶
func (_mock *MockResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)
Patch provides a mock function for the type MockResourceInterface
func (*MockResourceInterface) Update ¶
func (_mock *MockResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)
Update provides a mock function for the type MockResourceInterface
func (*MockResourceInterface) UpdateStatus ¶
func (_mock *MockResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
UpdateStatus provides a mock function for the type MockResourceInterface
type MockResourceInterface_ApplyStatus_Call ¶
MockResourceInterface_ApplyStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyStatus'
func (*MockResourceInterface_ApplyStatus_Call) Return ¶
func (_c *MockResourceInterface_ApplyStatus_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_ApplyStatus_Call
func (*MockResourceInterface_ApplyStatus_Call) Run ¶
func (_c *MockResourceInterface_ApplyStatus_Call) Run(run func(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions)) *MockResourceInterface_ApplyStatus_Call
func (*MockResourceInterface_ApplyStatus_Call) RunAndReturn ¶
func (_c *MockResourceInterface_ApplyStatus_Call) RunAndReturn(run func(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions) (*unstructured.Unstructured, error)) *MockResourceInterface_ApplyStatus_Call
type MockResourceInterface_Apply_Call ¶
MockResourceInterface_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*MockResourceInterface_Apply_Call) Return ¶
func (_c *MockResourceInterface_Apply_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_Apply_Call
func (*MockResourceInterface_Apply_Call) Run ¶
func (_c *MockResourceInterface_Apply_Call) Run(run func(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string)) *MockResourceInterface_Apply_Call
func (*MockResourceInterface_Apply_Call) RunAndReturn ¶
func (_c *MockResourceInterface_Apply_Call) RunAndReturn(run func(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string) (*unstructured.Unstructured, error)) *MockResourceInterface_Apply_Call
type MockResourceInterface_Create_Call ¶
MockResourceInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockResourceInterface_Create_Call) Return ¶
func (_c *MockResourceInterface_Create_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_Create_Call
func (*MockResourceInterface_Create_Call) Run ¶
func (_c *MockResourceInterface_Create_Call) Run(run func(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string)) *MockResourceInterface_Create_Call
func (*MockResourceInterface_Create_Call) RunAndReturn ¶
func (_c *MockResourceInterface_Create_Call) RunAndReturn(run func(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)) *MockResourceInterface_Create_Call
type MockResourceInterface_DeleteCollection_Call ¶
MockResourceInterface_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'
func (*MockResourceInterface_DeleteCollection_Call) Return ¶
func (_c *MockResourceInterface_DeleteCollection_Call) Return(err error) *MockResourceInterface_DeleteCollection_Call
func (*MockResourceInterface_DeleteCollection_Call) Run ¶
func (_c *MockResourceInterface_DeleteCollection_Call) Run(run func(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions)) *MockResourceInterface_DeleteCollection_Call
func (*MockResourceInterface_DeleteCollection_Call) RunAndReturn ¶
func (_c *MockResourceInterface_DeleteCollection_Call) RunAndReturn(run func(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error) *MockResourceInterface_DeleteCollection_Call
type MockResourceInterface_Delete_Call ¶
MockResourceInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockResourceInterface_Delete_Call) Return ¶
func (_c *MockResourceInterface_Delete_Call) Return(err error) *MockResourceInterface_Delete_Call
func (*MockResourceInterface_Delete_Call) Run ¶
func (_c *MockResourceInterface_Delete_Call) Run(run func(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string)) *MockResourceInterface_Delete_Call
func (*MockResourceInterface_Delete_Call) RunAndReturn ¶
func (_c *MockResourceInterface_Delete_Call) RunAndReturn(run func(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error) *MockResourceInterface_Delete_Call
type MockResourceInterface_Expecter ¶
type MockResourceInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockResourceInterface_Expecter) Apply ¶
func (_e *MockResourceInterface_Expecter) Apply(ctx interface{}, name interface{}, obj interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Apply_Call
Apply is a helper method to define mock.On call
- ctx context.Context
- name string
- obj *unstructured.Unstructured
- options v1.ApplyOptions
- subresources ...string
func (*MockResourceInterface_Expecter) ApplyStatus ¶
func (_e *MockResourceInterface_Expecter) ApplyStatus(ctx interface{}, name interface{}, obj interface{}, options interface{}) *MockResourceInterface_ApplyStatus_Call
ApplyStatus is a helper method to define mock.On call
- ctx context.Context
- name string
- obj *unstructured.Unstructured
- options v1.ApplyOptions
func (*MockResourceInterface_Expecter) Create ¶
func (_e *MockResourceInterface_Expecter) Create(ctx interface{}, obj interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- obj *unstructured.Unstructured
- options v1.CreateOptions
- subresources ...string
func (*MockResourceInterface_Expecter) Delete ¶
func (_e *MockResourceInterface_Expecter) Delete(ctx interface{}, name interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- options v1.DeleteOptions
- subresources ...string
func (*MockResourceInterface_Expecter) DeleteCollection ¶
func (_e *MockResourceInterface_Expecter) DeleteCollection(ctx interface{}, options interface{}, listOptions interface{}) *MockResourceInterface_DeleteCollection_Call
DeleteCollection is a helper method to define mock.On call
- ctx context.Context
- options v1.DeleteOptions
- listOptions v1.ListOptions
func (*MockResourceInterface_Expecter) Get ¶
func (_e *MockResourceInterface_Expecter) Get(ctx interface{}, name interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- options v1.GetOptions
- subresources ...string
func (*MockResourceInterface_Expecter) List ¶
func (_e *MockResourceInterface_Expecter) List(ctx interface{}, opts interface{}) *MockResourceInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts v1.ListOptions
func (*MockResourceInterface_Expecter) Patch ¶
func (_e *MockResourceInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- pt types.PatchType
- data []byte
- options v1.PatchOptions
- subresources ...string
func (*MockResourceInterface_Expecter) Update ¶
func (_e *MockResourceInterface_Expecter) Update(ctx interface{}, obj interface{}, options interface{}, subresources ...interface{}) *MockResourceInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- obj *unstructured.Unstructured
- options v1.UpdateOptions
- subresources ...string
func (*MockResourceInterface_Expecter) UpdateStatus ¶
func (_e *MockResourceInterface_Expecter) UpdateStatus(ctx interface{}, obj interface{}, options interface{}) *MockResourceInterface_UpdateStatus_Call
UpdateStatus is a helper method to define mock.On call
- ctx context.Context
- obj *unstructured.Unstructured
- options v1.UpdateOptions
func (*MockResourceInterface_Expecter) Watch ¶
func (_e *MockResourceInterface_Expecter) Watch(ctx interface{}, opts interface{}) *MockResourceInterface_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts v1.ListOptions
type MockResourceInterface_Get_Call ¶
MockResourceInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockResourceInterface_Get_Call) Return ¶
func (_c *MockResourceInterface_Get_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_Get_Call
func (*MockResourceInterface_Get_Call) Run ¶
func (_c *MockResourceInterface_Get_Call) Run(run func(ctx context.Context, name string, options v1.GetOptions, subresources ...string)) *MockResourceInterface_Get_Call
func (*MockResourceInterface_Get_Call) RunAndReturn ¶
func (_c *MockResourceInterface_Get_Call) RunAndReturn(run func(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)) *MockResourceInterface_Get_Call
type MockResourceInterface_List_Call ¶
MockResourceInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockResourceInterface_List_Call) Return ¶
func (_c *MockResourceInterface_List_Call) Return(unstructuredList *unstructured.UnstructuredList, err error) *MockResourceInterface_List_Call
func (*MockResourceInterface_List_Call) Run ¶
func (_c *MockResourceInterface_List_Call) Run(run func(ctx context.Context, opts v1.ListOptions)) *MockResourceInterface_List_Call
func (*MockResourceInterface_List_Call) RunAndReturn ¶
func (_c *MockResourceInterface_List_Call) RunAndReturn(run func(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)) *MockResourceInterface_List_Call
type MockResourceInterface_Patch_Call ¶
MockResourceInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*MockResourceInterface_Patch_Call) Return ¶
func (_c *MockResourceInterface_Patch_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_Patch_Call
func (*MockResourceInterface_Patch_Call) Run ¶
func (_c *MockResourceInterface_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string)) *MockResourceInterface_Patch_Call
func (*MockResourceInterface_Patch_Call) RunAndReturn ¶
func (_c *MockResourceInterface_Patch_Call) RunAndReturn(run func(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)) *MockResourceInterface_Patch_Call
type MockResourceInterface_UpdateStatus_Call ¶
MockResourceInterface_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'
func (*MockResourceInterface_UpdateStatus_Call) Return ¶
func (_c *MockResourceInterface_UpdateStatus_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_UpdateStatus_Call
func (*MockResourceInterface_UpdateStatus_Call) Run ¶
func (_c *MockResourceInterface_UpdateStatus_Call) Run(run func(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions)) *MockResourceInterface_UpdateStatus_Call
func (*MockResourceInterface_UpdateStatus_Call) RunAndReturn ¶
func (_c *MockResourceInterface_UpdateStatus_Call) RunAndReturn(run func(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)) *MockResourceInterface_UpdateStatus_Call
type MockResourceInterface_Update_Call ¶
MockResourceInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockResourceInterface_Update_Call) Return ¶
func (_c *MockResourceInterface_Update_Call) Return(unstructured1 *unstructured.Unstructured, err error) *MockResourceInterface_Update_Call
func (*MockResourceInterface_Update_Call) Run ¶
func (_c *MockResourceInterface_Update_Call) Run(run func(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string)) *MockResourceInterface_Update_Call
func (*MockResourceInterface_Update_Call) RunAndReturn ¶
func (_c *MockResourceInterface_Update_Call) RunAndReturn(run func(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)) *MockResourceInterface_Update_Call
type MockResourceInterface_Watch_Call ¶
MockResourceInterface_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*MockResourceInterface_Watch_Call) Return ¶
func (_c *MockResourceInterface_Watch_Call) Return(interfaceParam watch.Interface, err error) *MockResourceInterface_Watch_Call
func (*MockResourceInterface_Watch_Call) Run ¶
func (_c *MockResourceInterface_Watch_Call) Run(run func(ctx context.Context, opts v1.ListOptions)) *MockResourceInterface_Watch_Call
func (*MockResourceInterface_Watch_Call) RunAndReturn ¶
func (_c *MockResourceInterface_Watch_Call) RunAndReturn(run func(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)) *MockResourceInterface_Watch_Call