mocks

package
v2.0.0-...-7b710ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespaceableResourceInterface

type NamespaceableResourceInterface struct {
	mock.Mock
}

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

Apply provides a mock function with given fields: ctx, name, obj, options, subresources

func (*NamespaceableResourceInterface) ApplyStatus

ApplyStatus provides a mock function with given fields: ctx, name, obj, options

func (*NamespaceableResourceInterface) Create

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

List provides a mock function with given fields: ctx, opts

func (*NamespaceableResourceInterface) Namespace

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

Update provides a mock function with given fields: ctx, obj, options, subresources

func (*NamespaceableResourceInterface) UpdateStatus

UpdateStatus provides a mock function with given fields: ctx, obj, options

func (*NamespaceableResourceInterface) Watch

Watch provides a mock function with given fields: ctx, opts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL