Documentation ¶
Index ¶
- type NamespaceableResourceInterface
- func (_m *NamespaceableResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (_m *NamespaceableResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (_m *NamespaceableResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, ...) (*unstructured.Unstructured, error)
- func (_m *NamespaceableResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, ...) error
- func (_m *NamespaceableResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
- func (_m *NamespaceableResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, ...) (*unstructured.Unstructured, error)
- func (_m *NamespaceableResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (_m *NamespaceableResourceInterface) Namespace(_a0 string) dynamic.ResourceInterface
- func (_m *NamespaceableResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*unstructured.Unstructured, error)
- func (_m *NamespaceableResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, ...) (*unstructured.Unstructured, error)
- func (_m *NamespaceableResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
- func (_m *NamespaceableResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceableResourceInterface ¶
NamespaceableResourceInterface is an autogenerated mock type for the NamespaceableResourceInterface type
func NewNamespaceableResourceInterface ¶
func NewNamespaceableResourceInterface(t mockConstructorTestingTNewNamespaceableResourceInterface) *NamespaceableResourceInterface
NewNamespaceableResourceInterface creates a new instance of NamespaceableResourceInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*NamespaceableResourceInterface) Apply ¶
func (_m *NamespaceableResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string) (*unstructured.Unstructured, error)
Apply provides a mock function with given fields: ctx, name, obj, options, subresources
func (*NamespaceableResourceInterface) ApplyStatus ¶
func (_m *NamespaceableResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions) (*unstructured.Unstructured, error)
ApplyStatus provides a mock function with given fields: ctx, name, obj, options
func (*NamespaceableResourceInterface) Create ¶
func (_m *NamespaceableResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)
Create provides a mock function with given fields: ctx, obj, options, subresources
func (*NamespaceableResourceInterface) Delete ¶
func (_m *NamespaceableResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error
Delete provides a mock function with given fields: ctx, name, options, subresources
func (*NamespaceableResourceInterface) DeleteCollection ¶
func (_m *NamespaceableResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, options, listOptions
func (*NamespaceableResourceInterface) Get ¶
func (_m *NamespaceableResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
Get provides a mock function with given fields: ctx, name, options, subresources
func (*NamespaceableResourceInterface) List ¶
func (_m *NamespaceableResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
List provides a mock function with given fields: ctx, opts
func (*NamespaceableResourceInterface) Namespace ¶
func (_m *NamespaceableResourceInterface) Namespace(_a0 string) dynamic.ResourceInterface
Namespace provides a mock function with given fields: _a0
func (*NamespaceableResourceInterface) Patch ¶
func (_m *NamespaceableResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)
Patch provides a mock function with given fields: ctx, name, pt, data, options, subresources
func (*NamespaceableResourceInterface) Update ¶
func (_m *NamespaceableResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)
Update provides a mock function with given fields: ctx, obj, options, subresources
func (*NamespaceableResourceInterface) UpdateStatus ¶
func (_m *NamespaceableResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
UpdateStatus provides a mock function with given fields: ctx, obj, options
func (*NamespaceableResourceInterface) Watch ¶
func (_m *NamespaceableResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts