fake

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 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.

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

type Client 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, client.ObjectKey, client.Object, ...client.GetOption) error

	GroupVersionKindForStub func(runtime.Object) (schema.GroupVersionKind, error)

	IsObjectNamespacedStub func(runtime.Object) (bool, 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.SubResourceWriter

	SubResourceStub func(string) client.SubResourceClient

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

func (*Client) Create

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

func (*Client) CreateArgsForCall

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

func (*Client) CreateCallCount

func (fake *Client) CreateCallCount() int

func (*Client) CreateCalls

func (fake *Client) CreateCalls(stub func(context.Context, client.Object, ...client.CreateOption) 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) DeleteAllOf

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

func (*Client) DeleteAllOfArgsForCall

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

func (*Client) DeleteAllOfCallCount

func (fake *Client) DeleteAllOfCallCount() int

func (*Client) DeleteAllOfCalls

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

func (*Client) DeleteAllOfReturns

func (fake *Client) DeleteAllOfReturns(result1 error)

func (*Client) DeleteAllOfReturnsOnCall

func (fake *Client) DeleteAllOfReturnsOnCall(i int, result1 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 client.ObjectKey, arg3 client.Object, arg4 ...client.GetOption) error

func (*Client) GetArgsForCall

func (fake *Client) GetArgsForCall(i int) (context.Context, client.ObjectKey, client.Object, []client.GetOption)

func (*Client) GetCallCount

func (fake *Client) GetCallCount() int

func (*Client) GetCalls

func (fake *Client) GetCalls(stub func(context.Context, client.ObjectKey, client.Object, ...client.GetOption) error)

func (*Client) GetReturns

func (fake *Client) GetReturns(result1 error)

func (*Client) GetReturnsOnCall

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

func (*Client) GroupVersionKindFor added in v0.8.0

func (fake *Client) GroupVersionKindFor(arg1 runtime.Object) (schema.GroupVersionKind, error)

func (*Client) GroupVersionKindForArgsForCall added in v0.8.0

func (fake *Client) GroupVersionKindForArgsForCall(i int) runtime.Object

func (*Client) GroupVersionKindForCallCount added in v0.8.0

func (fake *Client) GroupVersionKindForCallCount() int

func (*Client) GroupVersionKindForCalls added in v0.8.0

func (fake *Client) GroupVersionKindForCalls(stub func(runtime.Object) (schema.GroupVersionKind, error))

func (*Client) GroupVersionKindForReturns added in v0.8.0

func (fake *Client) GroupVersionKindForReturns(result1 schema.GroupVersionKind, result2 error)

func (*Client) GroupVersionKindForReturnsOnCall added in v0.8.0

func (fake *Client) GroupVersionKindForReturnsOnCall(i int, result1 schema.GroupVersionKind, result2 error)

func (*Client) Invocations

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

func (*Client) IsObjectNamespaced added in v0.8.0

func (fake *Client) IsObjectNamespaced(arg1 runtime.Object) (bool, error)

func (*Client) IsObjectNamespacedArgsForCall added in v0.8.0

func (fake *Client) IsObjectNamespacedArgsForCall(i int) runtime.Object

func (*Client) IsObjectNamespacedCallCount added in v0.8.0

func (fake *Client) IsObjectNamespacedCallCount() int

func (*Client) IsObjectNamespacedCalls added in v0.8.0

func (fake *Client) IsObjectNamespacedCalls(stub func(runtime.Object) (bool, error))

func (*Client) IsObjectNamespacedReturns added in v0.8.0

func (fake *Client) IsObjectNamespacedReturns(result1 bool, result2 error)

func (*Client) IsObjectNamespacedReturnsOnCall added in v0.8.0

func (fake *Client) IsObjectNamespacedReturnsOnCall(i int, result1 bool, result2 error)

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 ...client.PatchOption) error

func (*Client) PatchArgsForCall

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

func (*Client) PatchCallCount

func (fake *Client) PatchCallCount() int

func (*Client) PatchCalls

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

func (*Client) PatchReturns

func (fake *Client) PatchReturns(result1 error)

func (*Client) PatchReturnsOnCall

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

func (*Client) RESTMapper

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

func (*Client) RESTMapperCallCount

func (fake *Client) RESTMapperCallCount() int

func (*Client) RESTMapperCalls

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

func (*Client) RESTMapperReturns

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

func (*Client) RESTMapperReturnsOnCall

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

func (*Client) Scheme

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

func (*Client) SchemeCallCount

func (fake *Client) SchemeCallCount() int

func (*Client) SchemeCalls

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

func (*Client) SchemeReturns

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

func (*Client) SchemeReturnsOnCall

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

func (*Client) Status

func (fake *Client) Status() client.SubResourceWriter

func (*Client) StatusCallCount

func (fake *Client) StatusCallCount() int

func (*Client) StatusCalls

func (fake *Client) StatusCalls(stub func() client.SubResourceWriter)

func (*Client) StatusReturns

func (fake *Client) StatusReturns(result1 client.SubResourceWriter)

func (*Client) StatusReturnsOnCall

func (fake *Client) StatusReturnsOnCall(i int, result1 client.SubResourceWriter)

func (*Client) SubResource added in v0.6.0

func (fake *Client) SubResource(arg1 string) client.SubResourceClient

func (*Client) SubResourceArgsForCall added in v0.6.0

func (fake *Client) SubResourceArgsForCall(i int) string

func (*Client) SubResourceCallCount added in v0.6.0

func (fake *Client) SubResourceCallCount() int

func (*Client) SubResourceCalls added in v0.6.0

func (fake *Client) SubResourceCalls(stub func(string) client.SubResourceClient)

func (*Client) SubResourceReturns added in v0.6.0

func (fake *Client) SubResourceReturns(result1 client.SubResourceClient)

func (*Client) SubResourceReturnsOnCall added in v0.6.0

func (fake *Client) SubResourceReturnsOnCall(i int, result1 client.SubResourceClient)

func (*Client) Update

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

func (*Client) UpdateArgsForCall

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

func (*Client) UpdateCallCount

func (fake *Client) UpdateCallCount() int

func (*Client) UpdateCalls

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

func (*Client) UpdateReturns

func (fake *Client) UpdateReturns(result1 error)

func (*Client) UpdateReturnsOnCall

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

type EventRecorder added in v0.2.0

type EventRecorder struct {
	AnnotatedEventfStub func(runtime.Object, map[string]string, string, string, string, ...interface{})

	EventStub func(runtime.Object, string, string, string)

	EventfStub func(runtime.Object, string, string, string, ...interface{})
	// contains filtered or unexported fields
}

func (*EventRecorder) AnnotatedEventf added in v0.2.0

func (fake *EventRecorder) AnnotatedEventf(arg1 runtime.Object, arg2 map[string]string, arg3 string, arg4 string, arg5 string, arg6 ...interface{})

func (*EventRecorder) AnnotatedEventfArgsForCall added in v0.2.0

func (fake *EventRecorder) AnnotatedEventfArgsForCall(i int) (runtime.Object, map[string]string, string, string, string, []interface{})

func (*EventRecorder) AnnotatedEventfCallCount added in v0.2.0

func (fake *EventRecorder) AnnotatedEventfCallCount() int

func (*EventRecorder) AnnotatedEventfCalls added in v0.2.0

func (fake *EventRecorder) AnnotatedEventfCalls(stub func(runtime.Object, map[string]string, string, string, string, ...interface{}))

func (*EventRecorder) Event added in v0.2.0

func (fake *EventRecorder) Event(arg1 runtime.Object, arg2 string, arg3 string, arg4 string)

func (*EventRecorder) EventArgsForCall added in v0.2.0

func (fake *EventRecorder) EventArgsForCall(i int) (runtime.Object, string, string, string)

func (*EventRecorder) EventCallCount added in v0.2.0

func (fake *EventRecorder) EventCallCount() int

func (*EventRecorder) EventCalls added in v0.2.0

func (fake *EventRecorder) EventCalls(stub func(runtime.Object, string, string, string))

func (*EventRecorder) Eventf added in v0.2.0

func (fake *EventRecorder) Eventf(arg1 runtime.Object, arg2 string, arg3 string, arg4 string, arg5 ...interface{})

func (*EventRecorder) EventfArgsForCall added in v0.2.0

func (fake *EventRecorder) EventfArgsForCall(i int) (runtime.Object, string, string, string, []interface{})

func (*EventRecorder) EventfCallCount added in v0.2.0

func (fake *EventRecorder) EventfCallCount() int

func (*EventRecorder) EventfCalls added in v0.2.0

func (fake *EventRecorder) EventfCalls(stub func(runtime.Object, string, string, string, ...interface{}))

func (*EventRecorder) Invocations added in v0.2.0

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

type StatusWriter

type StatusWriter struct {
	CreateStub func(context.Context, client.Object, client.Object, ...client.SubResourceCreateOption) error

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

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

func (*StatusWriter) Create added in v0.6.0

func (fake *StatusWriter) Create(arg1 context.Context, arg2 client.Object, arg3 client.Object, arg4 ...client.SubResourceCreateOption) error

func (*StatusWriter) CreateArgsForCall added in v0.6.0

func (*StatusWriter) CreateCallCount added in v0.6.0

func (fake *StatusWriter) CreateCallCount() int

func (*StatusWriter) CreateCalls added in v0.6.0

func (*StatusWriter) CreateReturns added in v0.6.0

func (fake *StatusWriter) CreateReturns(result1 error)

func (*StatusWriter) CreateReturnsOnCall added in v0.6.0

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

func (*StatusWriter) Invocations

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

func (*StatusWriter) Patch

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

func (*StatusWriter) PatchArgsForCall

func (*StatusWriter) PatchCallCount

func (fake *StatusWriter) PatchCallCount() int

func (*StatusWriter) PatchCalls

func (*StatusWriter) PatchReturns

func (fake *StatusWriter) PatchReturns(result1 error)

func (*StatusWriter) PatchReturnsOnCall

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

func (*StatusWriter) Update

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

func (*StatusWriter) UpdateArgsForCall

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

func (*StatusWriter) UpdateCallCount

func (fake *StatusWriter) UpdateCallCount() int

func (*StatusWriter) UpdateCalls

func (fake *StatusWriter) UpdateCalls(stub func(context.Context, client.Object, ...client.SubResourceUpdateOption) error)

func (*StatusWriter) UpdateReturns

func (fake *StatusWriter) UpdateReturns(result1 error)

func (*StatusWriter) UpdateReturnsOnCall

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

Jump to

Keyboard shortcuts

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