fakes

package
Version: v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 11 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

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

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

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

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

	ListStub func(context.Context, runtime.Object, ...client.ListOption) error

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

	StatusStub func() client.StatusWriter

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

func (*FakeClient) Create

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

func (*FakeClient) CreateArgsForCall

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

func (*FakeClient) CreateCallCount

func (fake *FakeClient) CreateCallCount() int

func (*FakeClient) CreateCalls

func (fake *FakeClient) CreateCalls(stub func(context.Context, runtime.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 runtime.Object, arg3 ...client.DeleteOption) error

func (*FakeClient) DeleteAllOf added in v0.4.1

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

func (*FakeClient) DeleteAllOfArgsForCall added in v0.4.1

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

func (*FakeClient) DeleteAllOfCallCount added in v0.4.1

func (fake *FakeClient) DeleteAllOfCallCount() int

func (*FakeClient) DeleteAllOfCalls added in v0.4.1

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

func (*FakeClient) DeleteAllOfReturns added in v0.4.1

func (fake *FakeClient) DeleteAllOfReturns(result1 error)

func (*FakeClient) DeleteAllOfReturnsOnCall added in v0.4.1

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

func (*FakeClient) DeleteArgsForCall

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

func (*FakeClient) DeleteCallCount

func (fake *FakeClient) DeleteCallCount() int

func (*FakeClient) DeleteCalls

func (fake *FakeClient) DeleteCalls(stub func(context.Context, runtime.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 runtime.Object) error

func (*FakeClient) GetArgsForCall

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

func (*FakeClient) GetCallCount

func (fake *FakeClient) GetCallCount() int

func (*FakeClient) GetCalls

func (fake *FakeClient) GetCalls(stub func(context.Context, types.NamespacedName, runtime.Object) 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 runtime.Object, arg3 ...client.ListOption) error

func (*FakeClient) ListArgsForCall

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

func (*FakeClient) ListCallCount

func (fake *FakeClient) ListCallCount() int

func (*FakeClient) ListCalls

func (fake *FakeClient) ListCalls(stub func(context.Context, runtime.Object, ...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 added in v0.4.0

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

func (*FakeClient) PatchArgsForCall added in v0.4.0

func (fake *FakeClient) PatchArgsForCall(i int) (context.Context, runtime.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, runtime.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) 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 runtime.Object, arg3 ...client.UpdateOption) error

func (*FakeClient) UpdateArgsForCall

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

func (*FakeClient) UpdateCallCount

func (fake *FakeClient) UpdateCallCount() int

func (*FakeClient) UpdateCalls

func (fake *FakeClient) UpdateCalls(stub func(context.Context, runtime.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 FakeManager

type FakeManager struct {
	AddStub func(manager.Runnable) error

	GetAPIReaderStub func() client.Reader

	GetCacheStub func() cache.Cache

	GetClientStub func() client.Client

	GetConfigStub func() *rest.Config

	GetEventRecorderForStub func(string) record.EventRecorder

	GetFieldIndexerStub func() client.FieldIndexer

	GetRESTMapperStub func() meta.RESTMapper

	GetSchemeStub func() *runtime.Scheme

	GetWebhookServerStub func() *webhook.Server

	SetFieldsStub func(interface{}) error

	StartStub func(<-chan struct{}) error
	// contains filtered or unexported fields
}

func (*FakeManager) Add

func (fake *FakeManager) Add(arg1 manager.Runnable) error

func (*FakeManager) AddArgsForCall

func (fake *FakeManager) AddArgsForCall(i int) manager.Runnable

func (*FakeManager) AddCallCount

func (fake *FakeManager) AddCallCount() int

func (*FakeManager) AddCalls

func (fake *FakeManager) AddCalls(stub func(manager.Runnable) error)

func (*FakeManager) AddReturns

func (fake *FakeManager) AddReturns(result1 error)

func (*FakeManager) AddReturnsOnCall

func (fake *FakeManager) AddReturnsOnCall(i int, result1 error)

func (*FakeManager) GetAPIReader added in v0.4.0

func (fake *FakeManager) GetAPIReader() client.Reader

func (*FakeManager) GetAPIReaderCallCount added in v0.4.0

func (fake *FakeManager) GetAPIReaderCallCount() int

func (*FakeManager) GetAPIReaderCalls added in v0.4.0

func (fake *FakeManager) GetAPIReaderCalls(stub func() client.Reader)

func (*FakeManager) GetAPIReaderReturns added in v0.4.0

func (fake *FakeManager) GetAPIReaderReturns(result1 client.Reader)

func (*FakeManager) GetAPIReaderReturnsOnCall added in v0.4.0

func (fake *FakeManager) GetAPIReaderReturnsOnCall(i int, result1 client.Reader)

func (*FakeManager) GetCache

func (fake *FakeManager) GetCache() cache.Cache

func (*FakeManager) GetCacheCallCount

func (fake *FakeManager) GetCacheCallCount() int

func (*FakeManager) GetCacheCalls

func (fake *FakeManager) GetCacheCalls(stub func() cache.Cache)

func (*FakeManager) GetCacheReturns

func (fake *FakeManager) GetCacheReturns(result1 cache.Cache)

func (*FakeManager) GetCacheReturnsOnCall

func (fake *FakeManager) GetCacheReturnsOnCall(i int, result1 cache.Cache)

func (*FakeManager) GetClient

func (fake *FakeManager) GetClient() client.Client

func (*FakeManager) GetClientCallCount

func (fake *FakeManager) GetClientCallCount() int

func (*FakeManager) GetClientCalls

func (fake *FakeManager) GetClientCalls(stub func() client.Client)

func (*FakeManager) GetClientReturns

func (fake *FakeManager) GetClientReturns(result1 client.Client)

func (*FakeManager) GetClientReturnsOnCall

func (fake *FakeManager) GetClientReturnsOnCall(i int, result1 client.Client)

func (*FakeManager) GetConfig

func (fake *FakeManager) GetConfig() *rest.Config

func (*FakeManager) GetConfigCallCount

func (fake *FakeManager) GetConfigCallCount() int

func (*FakeManager) GetConfigCalls

func (fake *FakeManager) GetConfigCalls(stub func() *rest.Config)

func (*FakeManager) GetConfigReturns

func (fake *FakeManager) GetConfigReturns(result1 *rest.Config)

func (*FakeManager) GetConfigReturnsOnCall

func (fake *FakeManager) GetConfigReturnsOnCall(i int, result1 *rest.Config)

func (*FakeManager) GetEventRecorderFor added in v0.4.0

func (fake *FakeManager) GetEventRecorderFor(arg1 string) record.EventRecorder

func (*FakeManager) GetEventRecorderForArgsForCall added in v0.4.0

func (fake *FakeManager) GetEventRecorderForArgsForCall(i int) string

func (*FakeManager) GetEventRecorderForCallCount added in v0.4.0

func (fake *FakeManager) GetEventRecorderForCallCount() int

func (*FakeManager) GetEventRecorderForCalls added in v0.4.0

func (fake *FakeManager) GetEventRecorderForCalls(stub func(string) record.EventRecorder)

func (*FakeManager) GetEventRecorderForReturns added in v0.4.0

func (fake *FakeManager) GetEventRecorderForReturns(result1 record.EventRecorder)

func (*FakeManager) GetEventRecorderForReturnsOnCall added in v0.4.0

func (fake *FakeManager) GetEventRecorderForReturnsOnCall(i int, result1 record.EventRecorder)

func (*FakeManager) GetFieldIndexer

func (fake *FakeManager) GetFieldIndexer() client.FieldIndexer

func (*FakeManager) GetFieldIndexerCallCount

func (fake *FakeManager) GetFieldIndexerCallCount() int

func (*FakeManager) GetFieldIndexerCalls

func (fake *FakeManager) GetFieldIndexerCalls(stub func() client.FieldIndexer)

func (*FakeManager) GetFieldIndexerReturns

func (fake *FakeManager) GetFieldIndexerReturns(result1 client.FieldIndexer)

func (*FakeManager) GetFieldIndexerReturnsOnCall

func (fake *FakeManager) GetFieldIndexerReturnsOnCall(i int, result1 client.FieldIndexer)

func (*FakeManager) GetRESTMapper

func (fake *FakeManager) GetRESTMapper() meta.RESTMapper

func (*FakeManager) GetRESTMapperCallCount

func (fake *FakeManager) GetRESTMapperCallCount() int

func (*FakeManager) GetRESTMapperCalls

func (fake *FakeManager) GetRESTMapperCalls(stub func() meta.RESTMapper)

func (*FakeManager) GetRESTMapperReturns

func (fake *FakeManager) GetRESTMapperReturns(result1 meta.RESTMapper)

func (*FakeManager) GetRESTMapperReturnsOnCall

func (fake *FakeManager) GetRESTMapperReturnsOnCall(i int, result1 meta.RESTMapper)

func (*FakeManager) GetScheme

func (fake *FakeManager) GetScheme() *runtime.Scheme

func (*FakeManager) GetSchemeCallCount

func (fake *FakeManager) GetSchemeCallCount() int

func (*FakeManager) GetSchemeCalls

func (fake *FakeManager) GetSchemeCalls(stub func() *runtime.Scheme)

func (*FakeManager) GetSchemeReturns

func (fake *FakeManager) GetSchemeReturns(result1 *runtime.Scheme)

func (*FakeManager) GetSchemeReturnsOnCall

func (fake *FakeManager) GetSchemeReturnsOnCall(i int, result1 *runtime.Scheme)

func (*FakeManager) GetWebhookServer added in v0.4.0

func (fake *FakeManager) GetWebhookServer() *webhook.Server

func (*FakeManager) GetWebhookServerCallCount added in v0.4.0

func (fake *FakeManager) GetWebhookServerCallCount() int

func (*FakeManager) GetWebhookServerCalls added in v0.4.0

func (fake *FakeManager) GetWebhookServerCalls(stub func() *webhook.Server)

func (*FakeManager) GetWebhookServerReturns added in v0.4.0

func (fake *FakeManager) GetWebhookServerReturns(result1 *webhook.Server)

func (*FakeManager) GetWebhookServerReturnsOnCall added in v0.4.0

func (fake *FakeManager) GetWebhookServerReturnsOnCall(i int, result1 *webhook.Server)

func (*FakeManager) Invocations

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

func (*FakeManager) SetFields

func (fake *FakeManager) SetFields(arg1 interface{}) error

func (*FakeManager) SetFieldsArgsForCall

func (fake *FakeManager) SetFieldsArgsForCall(i int) interface{}

func (*FakeManager) SetFieldsCallCount

func (fake *FakeManager) SetFieldsCallCount() int

func (*FakeManager) SetFieldsCalls

func (fake *FakeManager) SetFieldsCalls(stub func(interface{}) error)

func (*FakeManager) SetFieldsReturns

func (fake *FakeManager) SetFieldsReturns(result1 error)

func (*FakeManager) SetFieldsReturnsOnCall

func (fake *FakeManager) SetFieldsReturnsOnCall(i int, result1 error)

func (*FakeManager) Start

func (fake *FakeManager) Start(arg1 <-chan struct{}) error

func (*FakeManager) StartArgsForCall

func (fake *FakeManager) StartArgsForCall(i int) <-chan struct{}

func (*FakeManager) StartCallCount

func (fake *FakeManager) StartCallCount() int

func (*FakeManager) StartCalls

func (fake *FakeManager) StartCalls(stub func(<-chan struct{}) error)

func (*FakeManager) StartReturns

func (fake *FakeManager) StartReturns(result1 error)

func (*FakeManager) StartReturnsOnCall

func (fake *FakeManager) StartReturnsOnCall(i int, result1 error)

type FakeStatusWriter added in v0.4.1

type FakeStatusWriter struct {
	PatchStub func(context.Context, runtime.Object, client.Patch, ...client.PatchOption) error

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

func (*FakeStatusWriter) Invocations added in v0.4.1

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

func (*FakeStatusWriter) Patch added in v0.4.1

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

func (*FakeStatusWriter) PatchArgsForCall added in v0.4.1

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

func (*FakeStatusWriter) PatchCallCount added in v0.4.1

func (fake *FakeStatusWriter) PatchCallCount() int

func (*FakeStatusWriter) PatchCalls added in v0.4.1

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

func (*FakeStatusWriter) PatchReturns added in v0.4.1

func (fake *FakeStatusWriter) PatchReturns(result1 error)

func (*FakeStatusWriter) PatchReturnsOnCall added in v0.4.1

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

func (*FakeStatusWriter) Update added in v0.4.1

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

func (*FakeStatusWriter) UpdateArgsForCall added in v0.4.1

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

func (*FakeStatusWriter) UpdateCallCount added in v0.4.1

func (fake *FakeStatusWriter) UpdateCallCount() int

func (*FakeStatusWriter) UpdateCalls added in v0.4.1

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

func (*FakeStatusWriter) UpdateReturns added in v0.4.1

func (fake *FakeStatusWriter) UpdateReturns(result1 error)

func (*FakeStatusWriter) UpdateReturnsOnCall added in v0.4.1

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

Jump to

Keyboard shortcuts

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