mocks

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Create

func (_m *Client) Create(ctx context.Context, obj runtime.Object, opts ...client.CreateOption) error

Create provides a mock function with given fields: ctx, obj, opts

func (*Client) Delete

func (_m *Client) Delete(ctx context.Context, obj runtime.Object, opts ...client.DeleteOption) error

Delete provides a mock function with given fields: ctx, obj, opts

func (*Client) DeleteAllOf

func (_m *Client) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...client.DeleteAllOfOption) error

DeleteAllOf provides a mock function with given fields: ctx, obj, opts

func (*Client) Get

func (_m *Client) Get(ctx context.Context, key types.NamespacedName, obj runtime.Object) error

Get provides a mock function with given fields: ctx, key, obj

func (*Client) List

func (_m *Client) List(ctx context.Context, list runtime.Object, opts ...client.ListOption) error

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

func (*Client) Patch

func (_m *Client) Patch(ctx context.Context, obj runtime.Object, patch client.Patch, opts ...client.PatchOption) error

Patch provides a mock function with given fields: ctx, obj, patch, opts

func (*Client) Status

func (_m *Client) Status() client.StatusWriter

Status provides a mock function with given fields:

func (*Client) Update

func (_m *Client) Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error

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

type StatusClient

type StatusClient struct {
	mock.Mock
}

StatusClient is an autogenerated mock type for the StatusClient type

func (*StatusClient) Status

func (_m *StatusClient) Status() client.StatusWriter

Status provides a mock function with given fields:

type StatusWriter

type StatusWriter struct {
	mock.Mock
}

StatusWriter is an autogenerated mock type for the StatusWriter type

func (*StatusWriter) Patch

func (_m *StatusWriter) Patch(ctx context.Context, obj runtime.Object, patch client.Patch, opts ...client.PatchOption) error

Patch provides a mock function with given fields: ctx, obj, patch, opts

func (*StatusWriter) Update

func (_m *StatusWriter) Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error

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

Jump to

Keyboard shortcuts

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