mocks

package
v1.0.4-2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

func (*Client) Create

func (fake *Client) Create(arg1 context.Context, arg2 client.Object, arg3 ...controllerclient.CreateOption) error

func (*Client) CreateArgsForCall

func (fake *Client) CreateArgsForCall(i int) (context.Context, client.Object, []controllerclient.CreateOption)

func (*Client) CreateCallCount

func (fake *Client) CreateCallCount() int

func (*Client) CreateCalls

func (fake *Client) CreateCalls(stub func(context.Context, client.Object, ...controllerclient.CreateOption) error)

func (*Client) CreateOrUpdate

func (fake *Client) CreateOrUpdate(arg1 context.Context, arg2 client.Object, arg3 ...controllerclient.CreateOrUpdateOption) error

func (*Client) CreateOrUpdateArgsForCall

func (fake *Client) CreateOrUpdateArgsForCall(i int) (context.Context, client.Object, []controllerclient.CreateOrUpdateOption)

func (*Client) CreateOrUpdateCallCount

func (fake *Client) CreateOrUpdateCallCount() int

func (*Client) CreateOrUpdateCalls

func (fake *Client) CreateOrUpdateCalls(stub func(context.Context, client.Object, ...controllerclient.CreateOrUpdateOption) error)

func (*Client) CreateOrUpdateReturns

func (fake *Client) CreateOrUpdateReturns(result1 error)

func (*Client) CreateOrUpdateReturnsOnCall

func (fake *Client) CreateOrUpdateReturnsOnCall(i int, result1 error)

func (*Client) CreateReturns

func (fake *Client) CreateReturns(result1 error)

func (*Client) CreateReturnsOnCall

func (fake *Client) CreateReturnsOnCall(i int, result1 error)

func (*Client) Delete

func (fake *Client) Delete(arg1 context.Context, arg2 client.Object, arg3 ...client.DeleteOption) error

func (*Client) DeleteArgsForCall

func (fake *Client) DeleteArgsForCall(i int) (context.Context, client.Object, []client.DeleteOption)

func (*Client) DeleteCallCount

func (fake *Client) DeleteCallCount() int

func (*Client) DeleteCalls

func (fake *Client) DeleteCalls(stub func(context.Context, client.Object, ...client.DeleteOption) error)

func (*Client) DeleteReturns

func (fake *Client) DeleteReturns(result1 error)

func (*Client) DeleteReturnsOnCall

func (fake *Client) DeleteReturnsOnCall(i int, result1 error)

func (*Client) Get

func (fake *Client) Get(arg1 context.Context, arg2 types.NamespacedName, arg3 client.Object) error

func (*Client) GetArgsForCall

func (fake *Client) GetArgsForCall(i int) (context.Context, types.NamespacedName, client.Object)

func (*Client) GetCallCount

func (fake *Client) GetCallCount() int

func (*Client) GetCalls

func (fake *Client) GetCalls(stub func(context.Context, types.NamespacedName, client.Object) error)

func (*Client) GetReturns

func (fake *Client) GetReturns(result1 error)

func (*Client) GetReturnsOnCall

func (fake *Client) GetReturnsOnCall(i int, result1 error)

func (*Client) Invocations

func (fake *Client) Invocations() map[string][][]interface{}

func (*Client) List

func (fake *Client) List(arg1 context.Context, arg2 client.ObjectList, arg3 ...client.ListOption) error

func (*Client) ListArgsForCall

func (fake *Client) ListArgsForCall(i int) (context.Context, client.ObjectList, []client.ListOption)

func (*Client) ListCallCount

func (fake *Client) ListCallCount() int

func (*Client) ListCalls

func (fake *Client) ListCalls(stub func(context.Context, client.ObjectList, ...client.ListOption) error)

func (*Client) ListReturns

func (fake *Client) ListReturns(result1 error)

func (*Client) ListReturnsOnCall

func (fake *Client) ListReturnsOnCall(i int, result1 error)

func (*Client) Patch

func (fake *Client) Patch(arg1 context.Context, arg2 client.Object, arg3 client.Patch, arg4 ...controllerclient.PatchOption) error

func (*Client) PatchArgsForCall

func (fake *Client) PatchArgsForCall(i int) (context.Context, client.Object, client.Patch, []controllerclient.PatchOption)

func (*Client) PatchCallCount

func (fake *Client) PatchCallCount() int

func (*Client) PatchCalls

func (fake *Client) PatchCalls(stub func(context.Context, client.Object, client.Patch, ...controllerclient.PatchOption) error)

func (*Client) PatchReturns

func (fake *Client) PatchReturns(result1 error)

func (*Client) PatchReturnsOnCall

func (fake *Client) PatchReturnsOnCall(i int, result1 error)

func (*Client) PatchStatus

func (fake *Client) PatchStatus(arg1 context.Context, arg2 client.Object, arg3 client.Patch, arg4 ...controllerclient.PatchOption) error

func (*Client) PatchStatusArgsForCall

func (fake *Client) PatchStatusArgsForCall(i int) (context.Context, client.Object, client.Patch, []controllerclient.PatchOption)

func (*Client) PatchStatusCallCount

func (fake *Client) PatchStatusCallCount() int

func (*Client) PatchStatusCalls

func (fake *Client) PatchStatusCalls(stub func(context.Context, client.Object, client.Patch, ...controllerclient.PatchOption) error)

func (*Client) PatchStatusReturns

func (fake *Client) PatchStatusReturns(result1 error)

func (*Client) PatchStatusReturnsOnCall

func (fake *Client) PatchStatusReturnsOnCall(i int, result1 error)

func (*Client) Update

func (fake *Client) Update(arg1 context.Context, arg2 client.Object, arg3 ...controllerclient.UpdateOption) error

func (*Client) UpdateArgsForCall

func (fake *Client) UpdateArgsForCall(i int) (context.Context, client.Object, []controllerclient.UpdateOption)

func (*Client) UpdateCallCount

func (fake *Client) UpdateCallCount() int

func (*Client) UpdateCalls

func (fake *Client) UpdateCalls(stub func(context.Context, client.Object, ...controllerclient.UpdateOption) error)

func (*Client) UpdateReturns

func (fake *Client) UpdateReturns(result1 error)

func (*Client) UpdateReturnsOnCall

func (fake *Client) UpdateReturnsOnCall(i int, result1 error)

func (*Client) UpdateStatus

func (fake *Client) UpdateStatus(arg1 context.Context, arg2 client.Object, arg3 ...client.UpdateOption) error

func (*Client) UpdateStatusArgsForCall

func (fake *Client) UpdateStatusArgsForCall(i int) (context.Context, client.Object, []client.UpdateOption)

func (*Client) UpdateStatusCallCount

func (fake *Client) UpdateStatusCallCount() int

func (*Client) UpdateStatusCalls

func (fake *Client) UpdateStatusCalls(stub func(context.Context, client.Object, ...client.UpdateOption) error)

func (*Client) UpdateStatusReturns

func (fake *Client) UpdateStatusReturns(result1 error)

func (*Client) UpdateStatusReturnsOnCall

func (fake *Client) UpdateStatusReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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