mocks

package
v1.0.9-5 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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)

type IBPPeer

type IBPPeer struct {
	DeliveryClientCryptoStub func() map[string][]byte

	GenerateCryptoStub func() (*config.CryptoResponse, error)

	GetConfigStub func() initializer.CoreConfig

	OverrideConfigStub func(initializer.CoreConfig) error
	// contains filtered or unexported fields
}

func (*IBPPeer) DeliveryClientCrypto

func (fake *IBPPeer) DeliveryClientCrypto() map[string][]byte

func (*IBPPeer) DeliveryClientCryptoCallCount

func (fake *IBPPeer) DeliveryClientCryptoCallCount() int

func (*IBPPeer) DeliveryClientCryptoCalls

func (fake *IBPPeer) DeliveryClientCryptoCalls(stub func() map[string][]byte)

func (*IBPPeer) DeliveryClientCryptoReturns

func (fake *IBPPeer) DeliveryClientCryptoReturns(result1 map[string][]byte)

func (*IBPPeer) DeliveryClientCryptoReturnsOnCall

func (fake *IBPPeer) DeliveryClientCryptoReturnsOnCall(i int, result1 map[string][]byte)

func (*IBPPeer) GenerateCrypto

func (fake *IBPPeer) GenerateCrypto() (*config.CryptoResponse, error)

func (*IBPPeer) GenerateCryptoCallCount

func (fake *IBPPeer) GenerateCryptoCallCount() int

func (*IBPPeer) GenerateCryptoCalls

func (fake *IBPPeer) GenerateCryptoCalls(stub func() (*config.CryptoResponse, error))

func (*IBPPeer) GenerateCryptoReturns

func (fake *IBPPeer) GenerateCryptoReturns(result1 *config.CryptoResponse, result2 error)

func (*IBPPeer) GenerateCryptoReturnsOnCall

func (fake *IBPPeer) GenerateCryptoReturnsOnCall(i int, result1 *config.CryptoResponse, result2 error)

func (*IBPPeer) GetConfig

func (fake *IBPPeer) GetConfig() initializer.CoreConfig

func (*IBPPeer) GetConfigCallCount

func (fake *IBPPeer) GetConfigCallCount() int

func (*IBPPeer) GetConfigCalls

func (fake *IBPPeer) GetConfigCalls(stub func() initializer.CoreConfig)

func (*IBPPeer) GetConfigReturns

func (fake *IBPPeer) GetConfigReturns(result1 initializer.CoreConfig)

func (*IBPPeer) GetConfigReturnsOnCall

func (fake *IBPPeer) GetConfigReturnsOnCall(i int, result1 initializer.CoreConfig)

func (*IBPPeer) Invocations

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

func (*IBPPeer) OverrideConfig

func (fake *IBPPeer) OverrideConfig(arg1 initializer.CoreConfig) error

func (*IBPPeer) OverrideConfigArgsForCall

func (fake *IBPPeer) OverrideConfigArgsForCall(i int) initializer.CoreConfig

func (*IBPPeer) OverrideConfigCallCount

func (fake *IBPPeer) OverrideConfigCallCount() int

func (*IBPPeer) OverrideConfigCalls

func (fake *IBPPeer) OverrideConfigCalls(stub func(initializer.CoreConfig) error)

func (*IBPPeer) OverrideConfigReturns

func (fake *IBPPeer) OverrideConfigReturns(result1 error)

func (*IBPPeer) OverrideConfigReturnsOnCall

func (fake *IBPPeer) OverrideConfigReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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