realizerfakes

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 added in v0.4.0

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) 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 added in v0.4.0

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

func (*FakeClient) CreateArgsForCall added in v0.4.0

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

func (*FakeClient) CreateCallCount added in v0.4.0

func (fake *FakeClient) CreateCallCount() int

func (*FakeClient) CreateCalls added in v0.4.0

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

func (*FakeClient) CreateReturns added in v0.4.0

func (fake *FakeClient) CreateReturns(result1 error)

func (*FakeClient) CreateReturnsOnCall added in v0.4.0

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

func (*FakeClient) Delete added in v0.4.0

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

func (*FakeClient) DeleteAllOf added in v0.4.0

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

func (*FakeClient) DeleteAllOfArgsForCall added in v0.4.0

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

func (*FakeClient) DeleteAllOfCallCount added in v0.4.0

func (fake *FakeClient) DeleteAllOfCallCount() int

func (*FakeClient) DeleteAllOfCalls added in v0.4.0

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

func (*FakeClient) DeleteAllOfReturns added in v0.4.0

func (fake *FakeClient) DeleteAllOfReturns(result1 error)

func (*FakeClient) DeleteAllOfReturnsOnCall added in v0.4.0

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

func (*FakeClient) DeleteArgsForCall added in v0.4.0

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

func (*FakeClient) DeleteCallCount added in v0.4.0

func (fake *FakeClient) DeleteCallCount() int

func (*FakeClient) DeleteCalls added in v0.4.0

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

func (*FakeClient) DeleteReturns added in v0.4.0

func (fake *FakeClient) DeleteReturns(result1 error)

func (*FakeClient) DeleteReturnsOnCall added in v0.4.0

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

func (*FakeClient) Get added in v0.4.0

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

func (*FakeClient) GetArgsForCall added in v0.4.0

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

func (*FakeClient) GetCallCount added in v0.4.0

func (fake *FakeClient) GetCallCount() int

func (*FakeClient) GetCalls added in v0.4.0

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

func (*FakeClient) GetReturns added in v0.4.0

func (fake *FakeClient) GetReturns(result1 error)

func (*FakeClient) GetReturnsOnCall added in v0.4.0

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

func (*FakeClient) Invocations added in v0.4.0

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

func (*FakeClient) List added in v0.4.0

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

func (*FakeClient) ListArgsForCall added in v0.4.0

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

func (*FakeClient) ListCallCount added in v0.4.0

func (fake *FakeClient) ListCallCount() int

func (*FakeClient) ListCalls added in v0.4.0

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

func (*FakeClient) ListReturns added in v0.4.0

func (fake *FakeClient) ListReturns(result1 error)

func (*FakeClient) ListReturnsOnCall added in v0.4.0

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

func (*FakeClient) Patch added in v0.4.0

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

func (*FakeClient) PatchArgsForCall added in v0.4.0

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

func (*FakeClient) PatchCallCount added in v0.4.0

func (fake *FakeClient) PatchCallCount() int

func (*FakeClient) PatchCalls added in v0.4.0

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

func (*FakeClient) PatchReturns added in v0.4.0

func (fake *FakeClient) PatchReturns(result1 error)

func (*FakeClient) PatchReturnsOnCall added in v0.4.0

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

func (*FakeClient) RESTMapper added in v0.4.0

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

func (*FakeClient) RESTMapperCallCount added in v0.4.0

func (fake *FakeClient) RESTMapperCallCount() int

func (*FakeClient) RESTMapperCalls added in v0.4.0

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

func (*FakeClient) RESTMapperReturns added in v0.4.0

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

func (*FakeClient) RESTMapperReturnsOnCall added in v0.4.0

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

func (*FakeClient) Scheme added in v0.4.0

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

func (*FakeClient) SchemeCallCount added in v0.4.0

func (fake *FakeClient) SchemeCallCount() int

func (*FakeClient) SchemeCalls added in v0.4.0

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

func (*FakeClient) SchemeReturns added in v0.4.0

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

func (*FakeClient) SchemeReturnsOnCall added in v0.4.0

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

func (*FakeClient) Status added in v0.4.0

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

func (*FakeClient) StatusCallCount added in v0.4.0

func (fake *FakeClient) StatusCallCount() int

func (*FakeClient) StatusCalls added in v0.4.0

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

func (*FakeClient) StatusReturns added in v0.4.0

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

func (*FakeClient) StatusReturnsOnCall added in v0.4.0

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

func (*FakeClient) Update added in v0.4.0

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

func (*FakeClient) UpdateArgsForCall added in v0.4.0

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

func (*FakeClient) UpdateCallCount added in v0.4.0

func (fake *FakeClient) UpdateCallCount() int

func (*FakeClient) UpdateCalls added in v0.4.0

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

func (*FakeClient) UpdateReturns added in v0.4.0

func (fake *FakeClient) UpdateReturns(result1 error)

func (*FakeClient) UpdateReturnsOnCall added in v0.4.0

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

type FakeRealizer

type FakeRealizer struct {
	RealizeStub func(context.Context, realizer.ResourceRealizer, string, []realizer.OwnerResource, statuses.ResourceStatuses) error
	// contains filtered or unexported fields
}

func (*FakeRealizer) Invocations

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

func (*FakeRealizer) Realize

func (*FakeRealizer) RealizeCallCount

func (fake *FakeRealizer) RealizeCallCount() int

func (*FakeRealizer) RealizeReturns

func (fake *FakeRealizer) RealizeReturns(result1 error)

func (*FakeRealizer) RealizeReturnsOnCall

func (fake *FakeRealizer) RealizeReturnsOnCall(i int, result1 error)

type FakeResourceRealizer added in v0.4.0

type FakeResourceRealizer struct {
	DoStub func(context.Context, realizer.OwnerResource, string, realizer.Outputs) (templates.Template, *unstructured.Unstructured, *templates.Output, error)
	// contains filtered or unexported fields
}

func (*FakeResourceRealizer) Do added in v0.4.0

func (*FakeResourceRealizer) DoArgsForCall added in v0.4.0

func (*FakeResourceRealizer) DoCallCount added in v0.4.0

func (fake *FakeResourceRealizer) DoCallCount() int

func (*FakeResourceRealizer) DoCalls added in v0.4.0

func (*FakeResourceRealizer) DoReturns added in v0.4.0

func (fake *FakeResourceRealizer) DoReturns(result1 templates.Template, result2 *unstructured.Unstructured, result3 *templates.Output, result4 error)

func (*FakeResourceRealizer) DoReturnsOnCall added in v0.4.0

func (fake *FakeResourceRealizer) DoReturnsOnCall(i int, result1 templates.Template, result2 *unstructured.Unstructured, result3 *templates.Output, result4 error)

func (*FakeResourceRealizer) Invocations added in v0.4.0

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

Jump to

Keyboard shortcuts

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