mapperfakes

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 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 FakeClient

type FakeClient struct {
	CreateStub func(context.Context, client.Object, ...client.CreateOption) error

	DeleteStub func(context.Context, client.Object, ...client.DeleteOption) error

	DeleteAllOfStub func(context.Context, client.Object, ...client.DeleteAllOfOption) error

	GetStub func(context.Context, types.NamespacedName, client.Object, ...client.GetOption) error

	ListStub func(context.Context, client.ObjectList, ...client.ListOption) error

	PatchStub func(context.Context, client.Object, client.Patch, ...client.PatchOption) error

	RESTMapperStub func() meta.RESTMapper

	SchemeStub func() *runtime.Scheme

	StatusStub func() client.StatusWriter

	UpdateStub func(context.Context, client.Object, ...client.UpdateOption) error
	// contains filtered or unexported fields
}

func (*FakeClient) Create

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

func (*FakeClient) CreateArgsForCall

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

func (*FakeClient) CreateCallCount

func (fake *FakeClient) CreateCallCount() int

func (*FakeClient) CreateCalls

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

func (*FakeClient) CreateReturns

func (fake *FakeClient) CreateReturns(result1 error)

func (*FakeClient) CreateReturnsOnCall

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

func (*FakeClient) Delete

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

func (*FakeClient) DeleteAllOf

func (fake *FakeClient) DeleteAllOf(arg1 context.Context, arg2 client.Object, arg3 ...client.DeleteAllOfOption) error

func (*FakeClient) DeleteAllOfArgsForCall

func (fake *FakeClient) DeleteAllOfArgsForCall(i int) (context.Context, client.Object, []client.DeleteAllOfOption)

func (*FakeClient) DeleteAllOfCallCount

func (fake *FakeClient) DeleteAllOfCallCount() int

func (*FakeClient) DeleteAllOfCalls

func (fake *FakeClient) DeleteAllOfCalls(stub func(context.Context, client.Object, ...client.DeleteAllOfOption) error)

func (*FakeClient) DeleteAllOfReturns

func (fake *FakeClient) DeleteAllOfReturns(result1 error)

func (*FakeClient) DeleteAllOfReturnsOnCall

func (fake *FakeClient) DeleteAllOfReturnsOnCall(i int, result1 error)

func (*FakeClient) DeleteArgsForCall

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

func (*FakeClient) DeleteCallCount

func (fake *FakeClient) DeleteCallCount() int

func (*FakeClient) DeleteCalls

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

func (*FakeClient) DeleteReturns

func (fake *FakeClient) DeleteReturns(result1 error)

func (*FakeClient) DeleteReturnsOnCall

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

func (*FakeClient) Get

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

func (*FakeClient) GetArgsForCall

func (fake *FakeClient) GetArgsForCall(i int) (context.Context, types.NamespacedName, client.Object, []client.GetOption)

func (*FakeClient) GetCallCount

func (fake *FakeClient) GetCallCount() int

func (*FakeClient) GetCalls

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

func (*FakeClient) GetReturns

func (fake *FakeClient) GetReturns(result1 error)

func (*FakeClient) GetReturnsOnCall

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

func (*FakeClient) Invocations

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

func (*FakeClient) List

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

func (*FakeClient) ListArgsForCall

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

func (*FakeClient) ListCallCount

func (fake *FakeClient) ListCallCount() int

func (*FakeClient) ListCalls

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

func (*FakeClient) ListReturns

func (fake *FakeClient) ListReturns(result1 error)

func (*FakeClient) ListReturnsOnCall

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

func (*FakeClient) Patch

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

func (*FakeClient) PatchArgsForCall

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

func (*FakeClient) PatchCallCount

func (fake *FakeClient) PatchCallCount() int

func (*FakeClient) PatchCalls

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

func (*FakeClient) PatchReturns

func (fake *FakeClient) PatchReturns(result1 error)

func (*FakeClient) PatchReturnsOnCall

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

func (*FakeClient) RESTMapper

func (fake *FakeClient) RESTMapper() meta.RESTMapper

func (*FakeClient) RESTMapperCallCount

func (fake *FakeClient) RESTMapperCallCount() int

func (*FakeClient) RESTMapperCalls

func (fake *FakeClient) RESTMapperCalls(stub func() meta.RESTMapper)

func (*FakeClient) RESTMapperReturns

func (fake *FakeClient) RESTMapperReturns(result1 meta.RESTMapper)

func (*FakeClient) RESTMapperReturnsOnCall

func (fake *FakeClient) RESTMapperReturnsOnCall(i int, result1 meta.RESTMapper)

func (*FakeClient) Scheme

func (fake *FakeClient) Scheme() *runtime.Scheme

func (*FakeClient) SchemeCallCount

func (fake *FakeClient) SchemeCallCount() int

func (*FakeClient) SchemeCalls

func (fake *FakeClient) SchemeCalls(stub func() *runtime.Scheme)

func (*FakeClient) SchemeReturns

func (fake *FakeClient) SchemeReturns(result1 *runtime.Scheme)

func (*FakeClient) SchemeReturnsOnCall

func (fake *FakeClient) SchemeReturnsOnCall(i int, result1 *runtime.Scheme)

func (*FakeClient) Status

func (fake *FakeClient) Status() client.StatusWriter

func (*FakeClient) StatusCallCount

func (fake *FakeClient) StatusCallCount() int

func (*FakeClient) StatusCalls

func (fake *FakeClient) StatusCalls(stub func() client.StatusWriter)

func (*FakeClient) StatusReturns

func (fake *FakeClient) StatusReturns(result1 client.StatusWriter)

func (*FakeClient) StatusReturnsOnCall

func (fake *FakeClient) StatusReturnsOnCall(i int, result1 client.StatusWriter)

func (*FakeClient) Update

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

func (*FakeClient) UpdateArgsForCall

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

func (*FakeClient) UpdateCallCount

func (fake *FakeClient) UpdateCallCount() int

func (*FakeClient) UpdateCalls

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

func (*FakeClient) UpdateReturns

func (fake *FakeClient) UpdateReturns(result1 error)

func (*FakeClient) UpdateReturnsOnCall

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

type FakeLogger

type FakeLogger struct {
	ErrorStub func(error, string, ...interface{})
	// contains filtered or unexported fields
}

func (*FakeLogger) Error

func (fake *FakeLogger) Error(arg1 error, arg2 string, arg3 ...interface{})

func (*FakeLogger) ErrorArgsForCall

func (fake *FakeLogger) ErrorArgsForCall(i int) (error, string, []interface{})

func (*FakeLogger) ErrorCallCount

func (fake *FakeLogger) ErrorCallCount() int

func (*FakeLogger) ErrorCalls

func (fake *FakeLogger) ErrorCalls(stub func(error, string, ...interface{}))

func (*FakeLogger) Invocations

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

Jump to

Keyboard shortcuts

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