realizerfakes

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 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, ...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 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, arg4 ...client.GetOption) error

func (*FakeClient) GetArgsForCall added in v0.4.0

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

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, ...client.GetOption) 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 FakeRESTMapper added in v0.6.0

type FakeRESTMapper struct {
	KindForStub func(schema.GroupVersionResource) (schema.GroupVersionKind, error)

	KindsForStub func(schema.GroupVersionResource) ([]schema.GroupVersionKind, error)

	RESTMappingStub func(schema.GroupKind, ...string) (*meta.RESTMapping, error)

	RESTMappingsStub func(schema.GroupKind, ...string) ([]*meta.RESTMapping, error)

	ResourceForStub func(schema.GroupVersionResource) (schema.GroupVersionResource, error)

	ResourceSingularizerStub func(string) (string, error)

	ResourcesForStub func(schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
	// contains filtered or unexported fields
}

func (*FakeRESTMapper) Invocations added in v0.6.0

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

func (*FakeRESTMapper) KindFor added in v0.6.0

func (*FakeRESTMapper) KindForArgsForCall added in v0.6.0

func (fake *FakeRESTMapper) KindForArgsForCall(i int) schema.GroupVersionResource

func (*FakeRESTMapper) KindForCallCount added in v0.6.0

func (fake *FakeRESTMapper) KindForCallCount() int

func (*FakeRESTMapper) KindForCalls added in v0.6.0

func (fake *FakeRESTMapper) KindForCalls(stub func(schema.GroupVersionResource) (schema.GroupVersionKind, error))

func (*FakeRESTMapper) KindForReturns added in v0.6.0

func (fake *FakeRESTMapper) KindForReturns(result1 schema.GroupVersionKind, result2 error)

func (*FakeRESTMapper) KindForReturnsOnCall added in v0.6.0

func (fake *FakeRESTMapper) KindForReturnsOnCall(i int, result1 schema.GroupVersionKind, result2 error)

func (*FakeRESTMapper) KindsFor added in v0.6.0

func (*FakeRESTMapper) KindsForArgsForCall added in v0.6.0

func (fake *FakeRESTMapper) KindsForArgsForCall(i int) schema.GroupVersionResource

func (*FakeRESTMapper) KindsForCallCount added in v0.6.0

func (fake *FakeRESTMapper) KindsForCallCount() int

func (*FakeRESTMapper) KindsForCalls added in v0.6.0

func (fake *FakeRESTMapper) KindsForCalls(stub func(schema.GroupVersionResource) ([]schema.GroupVersionKind, error))

func (*FakeRESTMapper) KindsForReturns added in v0.6.0

func (fake *FakeRESTMapper) KindsForReturns(result1 []schema.GroupVersionKind, result2 error)

func (*FakeRESTMapper) KindsForReturnsOnCall added in v0.6.0

func (fake *FakeRESTMapper) KindsForReturnsOnCall(i int, result1 []schema.GroupVersionKind, result2 error)

func (*FakeRESTMapper) RESTMapping added in v0.6.0

func (fake *FakeRESTMapper) RESTMapping(arg1 schema.GroupKind, arg2 ...string) (*meta.RESTMapping, error)

func (*FakeRESTMapper) RESTMappingArgsForCall added in v0.6.0

func (fake *FakeRESTMapper) RESTMappingArgsForCall(i int) (schema.GroupKind, []string)

func (*FakeRESTMapper) RESTMappingCallCount added in v0.6.0

func (fake *FakeRESTMapper) RESTMappingCallCount() int

func (*FakeRESTMapper) RESTMappingCalls added in v0.6.0

func (fake *FakeRESTMapper) RESTMappingCalls(stub func(schema.GroupKind, ...string) (*meta.RESTMapping, error))

func (*FakeRESTMapper) RESTMappingReturns added in v0.6.0

func (fake *FakeRESTMapper) RESTMappingReturns(result1 *meta.RESTMapping, result2 error)

func (*FakeRESTMapper) RESTMappingReturnsOnCall added in v0.6.0

func (fake *FakeRESTMapper) RESTMappingReturnsOnCall(i int, result1 *meta.RESTMapping, result2 error)

func (*FakeRESTMapper) RESTMappings added in v0.6.0

func (fake *FakeRESTMapper) RESTMappings(arg1 schema.GroupKind, arg2 ...string) ([]*meta.RESTMapping, error)

func (*FakeRESTMapper) RESTMappingsArgsForCall added in v0.6.0

func (fake *FakeRESTMapper) RESTMappingsArgsForCall(i int) (schema.GroupKind, []string)

func (*FakeRESTMapper) RESTMappingsCallCount added in v0.6.0

func (fake *FakeRESTMapper) RESTMappingsCallCount() int

func (*FakeRESTMapper) RESTMappingsCalls added in v0.6.0

func (fake *FakeRESTMapper) RESTMappingsCalls(stub func(schema.GroupKind, ...string) ([]*meta.RESTMapping, error))

func (*FakeRESTMapper) RESTMappingsReturns added in v0.6.0

func (fake *FakeRESTMapper) RESTMappingsReturns(result1 []*meta.RESTMapping, result2 error)

func (*FakeRESTMapper) RESTMappingsReturnsOnCall added in v0.6.0

func (fake *FakeRESTMapper) RESTMappingsReturnsOnCall(i int, result1 []*meta.RESTMapping, result2 error)

func (*FakeRESTMapper) ResourceFor added in v0.6.0

func (*FakeRESTMapper) ResourceForArgsForCall added in v0.6.0

func (fake *FakeRESTMapper) ResourceForArgsForCall(i int) schema.GroupVersionResource

func (*FakeRESTMapper) ResourceForCallCount added in v0.6.0

func (fake *FakeRESTMapper) ResourceForCallCount() int

func (*FakeRESTMapper) ResourceForCalls added in v0.6.0

func (fake *FakeRESTMapper) ResourceForCalls(stub func(schema.GroupVersionResource) (schema.GroupVersionResource, error))

func (*FakeRESTMapper) ResourceForReturns added in v0.6.0

func (fake *FakeRESTMapper) ResourceForReturns(result1 schema.GroupVersionResource, result2 error)

func (*FakeRESTMapper) ResourceForReturnsOnCall added in v0.6.0

func (fake *FakeRESTMapper) ResourceForReturnsOnCall(i int, result1 schema.GroupVersionResource, result2 error)

func (*FakeRESTMapper) ResourceSingularizer added in v0.6.0

func (fake *FakeRESTMapper) ResourceSingularizer(arg1 string) (string, error)

func (*FakeRESTMapper) ResourceSingularizerArgsForCall added in v0.6.0

func (fake *FakeRESTMapper) ResourceSingularizerArgsForCall(i int) string

func (*FakeRESTMapper) ResourceSingularizerCallCount added in v0.6.0

func (fake *FakeRESTMapper) ResourceSingularizerCallCount() int

func (*FakeRESTMapper) ResourceSingularizerCalls added in v0.6.0

func (fake *FakeRESTMapper) ResourceSingularizerCalls(stub func(string) (string, error))

func (*FakeRESTMapper) ResourceSingularizerReturns added in v0.6.0

func (fake *FakeRESTMapper) ResourceSingularizerReturns(result1 string, result2 error)

func (*FakeRESTMapper) ResourceSingularizerReturnsOnCall added in v0.6.0

func (fake *FakeRESTMapper) ResourceSingularizerReturnsOnCall(i int, result1 string, result2 error)

func (*FakeRESTMapper) ResourcesFor added in v0.6.0

func (*FakeRESTMapper) ResourcesForArgsForCall added in v0.6.0

func (fake *FakeRESTMapper) ResourcesForArgsForCall(i int) schema.GroupVersionResource

func (*FakeRESTMapper) ResourcesForCallCount added in v0.6.0

func (fake *FakeRESTMapper) ResourcesForCallCount() int

func (*FakeRESTMapper) ResourcesForCalls added in v0.6.0

func (fake *FakeRESTMapper) ResourcesForCalls(stub func(schema.GroupVersionResource) ([]schema.GroupVersionResource, error))

func (*FakeRESTMapper) ResourcesForReturns added in v0.6.0

func (fake *FakeRESTMapper) ResourcesForReturns(result1 []schema.GroupVersionResource, result2 error)

func (*FakeRESTMapper) ResourcesForReturnsOnCall added in v0.6.0

func (fake *FakeRESTMapper) ResourcesForReturnsOnCall(i int, result1 []schema.GroupVersionResource, result2 error)

type FakeResourceRealizer added in v0.4.0

type FakeResourceRealizer struct {
	DoStub func(context.Context, realizer.OwnerResource, string, realizer.Outputs, meta.RESTMapper) (templates.Reader, *unstructured.Unstructured, *templates.Output, bool, string, 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.Reader, result2 *unstructured.Unstructured, result3 *templates.Output, result4 bool, result5 string, result6 error)

func (*FakeResourceRealizer) DoReturnsOnCall added in v0.4.0

func (fake *FakeResourceRealizer) DoReturnsOnCall(i int, result1 templates.Reader, result2 *unstructured.Unstructured, result3 *templates.Output, result4 bool, result5 string, result6 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