Documentation ¶
Overview ¶
Copyright The Shipwright Contributors
SPDX-License-Identifier: Apache-2.0 Code generated by counterfeiter. DO NOT EDIT.
Copyright The Shipwright Contributors ¶
SPDX-License-Identifier: Apache-2.0 Code generated by counterfeiter. DO NOT EDIT.
Copyright The Shipwright Contributors ¶
SPDX-License-Identifier: Apache-2.0 Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) Create(arg1 context.Context, arg2 client.Object, arg3 ...client.CreateOption) error
- func (fake *FakeClient) CreateArgsForCall(i int) (context.Context, client.Object, []client.CreateOption)
- func (fake *FakeClient) CreateCallCount() int
- func (fake *FakeClient) CreateCalls(stub func(context.Context, client.Object, ...client.CreateOption) error)
- func (fake *FakeClient) CreateReturns(result1 error)
- func (fake *FakeClient) CreateReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) Delete(arg1 context.Context, arg2 client.Object, arg3 ...client.DeleteOption) error
- func (fake *FakeClient) DeleteAllOf(arg1 context.Context, arg2 client.Object, arg3 ...client.DeleteAllOfOption) error
- func (fake *FakeClient) DeleteAllOfArgsForCall(i int) (context.Context, client.Object, []client.DeleteAllOfOption)
- func (fake *FakeClient) DeleteAllOfCallCount() int
- func (fake *FakeClient) DeleteAllOfCalls(stub func(context.Context, client.Object, ...client.DeleteAllOfOption) error)
- func (fake *FakeClient) DeleteAllOfReturns(result1 error)
- func (fake *FakeClient) DeleteAllOfReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) DeleteArgsForCall(i int) (context.Context, client.Object, []client.DeleteOption)
- func (fake *FakeClient) DeleteCallCount() int
- func (fake *FakeClient) DeleteCalls(stub func(context.Context, client.Object, ...client.DeleteOption) error)
- func (fake *FakeClient) DeleteReturns(result1 error)
- func (fake *FakeClient) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) Get(arg1 context.Context, arg2 types.NamespacedName, arg3 client.Object, ...) error
- func (fake *FakeClient) GetArgsForCall(i int) (context.Context, types.NamespacedName, client.Object, []client.GetOption)
- func (fake *FakeClient) GetCallCount() int
- func (fake *FakeClient) GetCalls(...)
- func (fake *FakeClient) GetReturns(result1 error)
- func (fake *FakeClient) GetReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) GroupVersionKindFor(arg1 runtime.Object) (schema.GroupVersionKind, error)
- func (fake *FakeClient) GroupVersionKindForArgsForCall(i int) runtime.Object
- func (fake *FakeClient) GroupVersionKindForCallCount() int
- func (fake *FakeClient) GroupVersionKindForCalls(stub func(runtime.Object) (schema.GroupVersionKind, error))
- func (fake *FakeClient) GroupVersionKindForReturns(result1 schema.GroupVersionKind, result2 error)
- func (fake *FakeClient) GroupVersionKindForReturnsOnCall(i int, result1 schema.GroupVersionKind, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) IsObjectNamespaced(arg1 runtime.Object) (bool, error)
- func (fake *FakeClient) IsObjectNamespacedArgsForCall(i int) runtime.Object
- func (fake *FakeClient) IsObjectNamespacedCallCount() int
- func (fake *FakeClient) IsObjectNamespacedCalls(stub func(runtime.Object) (bool, error))
- func (fake *FakeClient) IsObjectNamespacedReturns(result1 bool, result2 error)
- func (fake *FakeClient) IsObjectNamespacedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeClient) List(arg1 context.Context, arg2 client.ObjectList, arg3 ...client.ListOption) error
- func (fake *FakeClient) ListArgsForCall(i int) (context.Context, client.ObjectList, []client.ListOption)
- func (fake *FakeClient) ListCallCount() int
- func (fake *FakeClient) ListCalls(stub func(context.Context, client.ObjectList, ...client.ListOption) error)
- func (fake *FakeClient) ListReturns(result1 error)
- func (fake *FakeClient) ListReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) Patch(arg1 context.Context, arg2 client.Object, arg3 client.Patch, ...) error
- func (fake *FakeClient) PatchArgsForCall(i int) (context.Context, client.Object, client.Patch, []client.PatchOption)
- func (fake *FakeClient) PatchCallCount() int
- func (fake *FakeClient) PatchCalls(...)
- func (fake *FakeClient) PatchReturns(result1 error)
- func (fake *FakeClient) PatchReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) RESTMapper() meta.RESTMapper
- func (fake *FakeClient) RESTMapperCallCount() int
- func (fake *FakeClient) RESTMapperCalls(stub func() meta.RESTMapper)
- func (fake *FakeClient) RESTMapperReturns(result1 meta.RESTMapper)
- func (fake *FakeClient) RESTMapperReturnsOnCall(i int, result1 meta.RESTMapper)
- func (fake *FakeClient) Scheme() *runtime.Scheme
- func (fake *FakeClient) SchemeCallCount() int
- func (fake *FakeClient) SchemeCalls(stub func() *runtime.Scheme)
- func (fake *FakeClient) SchemeReturns(result1 *runtime.Scheme)
- func (fake *FakeClient) SchemeReturnsOnCall(i int, result1 *runtime.Scheme)
- func (fake *FakeClient) Status() client.SubResourceWriter
- func (fake *FakeClient) StatusCallCount() int
- func (fake *FakeClient) StatusCalls(stub func() client.SubResourceWriter)
- func (fake *FakeClient) StatusReturns(result1 client.SubResourceWriter)
- func (fake *FakeClient) StatusReturnsOnCall(i int, result1 client.SubResourceWriter)
- func (fake *FakeClient) SubResource(arg1 string) client.SubResourceClient
- func (fake *FakeClient) SubResourceArgsForCall(i int) string
- func (fake *FakeClient) SubResourceCallCount() int
- func (fake *FakeClient) SubResourceCalls(stub func(string) client.SubResourceClient)
- func (fake *FakeClient) SubResourceReturns(result1 client.SubResourceClient)
- func (fake *FakeClient) SubResourceReturnsOnCall(i int, result1 client.SubResourceClient)
- func (fake *FakeClient) Update(arg1 context.Context, arg2 client.Object, arg3 ...client.UpdateOption) error
- func (fake *FakeClient) UpdateArgsForCall(i int) (context.Context, client.Object, []client.UpdateOption)
- func (fake *FakeClient) UpdateCallCount() int
- func (fake *FakeClient) UpdateCalls(stub func(context.Context, client.Object, ...client.UpdateOption) error)
- func (fake *FakeClient) UpdateReturns(result1 error)
- func (fake *FakeClient) UpdateReturnsOnCall(i int, result1 error)
- type FakeManager
- func (fake *FakeManager) Add(arg1 manager.Runnable) error
- func (fake *FakeManager) AddArgsForCall(i int) manager.Runnable
- func (fake *FakeManager) AddCallCount() int
- func (fake *FakeManager) AddCalls(stub func(manager.Runnable) error)
- func (fake *FakeManager) AddHealthzCheck(arg1 string, arg2 healthz.Checker) error
- func (fake *FakeManager) AddHealthzCheckArgsForCall(i int) (string, healthz.Checker)
- func (fake *FakeManager) AddHealthzCheckCallCount() int
- func (fake *FakeManager) AddHealthzCheckCalls(stub func(string, healthz.Checker) error)
- func (fake *FakeManager) AddHealthzCheckReturns(result1 error)
- func (fake *FakeManager) AddHealthzCheckReturnsOnCall(i int, result1 error)
- func (fake *FakeManager) AddMetricsServerExtraHandler(arg1 string, arg2 http.Handler) error
- func (fake *FakeManager) AddMetricsServerExtraHandlerArgsForCall(i int) (string, http.Handler)
- func (fake *FakeManager) AddMetricsServerExtraHandlerCallCount() int
- func (fake *FakeManager) AddMetricsServerExtraHandlerCalls(stub func(string, http.Handler) error)
- func (fake *FakeManager) AddMetricsServerExtraHandlerReturns(result1 error)
- func (fake *FakeManager) AddMetricsServerExtraHandlerReturnsOnCall(i int, result1 error)
- func (fake *FakeManager) AddReadyzCheck(arg1 string, arg2 healthz.Checker) error
- func (fake *FakeManager) AddReadyzCheckArgsForCall(i int) (string, healthz.Checker)
- func (fake *FakeManager) AddReadyzCheckCallCount() int
- func (fake *FakeManager) AddReadyzCheckCalls(stub func(string, healthz.Checker) error)
- func (fake *FakeManager) AddReadyzCheckReturns(result1 error)
- func (fake *FakeManager) AddReadyzCheckReturnsOnCall(i int, result1 error)
- func (fake *FakeManager) AddReturns(result1 error)
- func (fake *FakeManager) AddReturnsOnCall(i int, result1 error)
- func (fake *FakeManager) Elected() <-chan struct{}
- func (fake *FakeManager) ElectedCallCount() int
- func (fake *FakeManager) ElectedCalls(stub func() <-chan struct{})
- func (fake *FakeManager) ElectedReturns(result1 <-chan struct{})
- func (fake *FakeManager) ElectedReturnsOnCall(i int, result1 <-chan struct{})
- func (fake *FakeManager) GetAPIReader() client.Reader
- func (fake *FakeManager) GetAPIReaderCallCount() int
- func (fake *FakeManager) GetAPIReaderCalls(stub func() client.Reader)
- func (fake *FakeManager) GetAPIReaderReturns(result1 client.Reader)
- func (fake *FakeManager) GetAPIReaderReturnsOnCall(i int, result1 client.Reader)
- func (fake *FakeManager) GetCache() cache.Cache
- func (fake *FakeManager) GetCacheCallCount() int
- func (fake *FakeManager) GetCacheCalls(stub func() cache.Cache)
- func (fake *FakeManager) GetCacheReturns(result1 cache.Cache)
- func (fake *FakeManager) GetCacheReturnsOnCall(i int, result1 cache.Cache)
- func (fake *FakeManager) GetClient() client.Client
- func (fake *FakeManager) GetClientCallCount() int
- func (fake *FakeManager) GetClientCalls(stub func() client.Client)
- func (fake *FakeManager) GetClientReturns(result1 client.Client)
- func (fake *FakeManager) GetClientReturnsOnCall(i int, result1 client.Client)
- func (fake *FakeManager) GetConfig() *rest.Config
- func (fake *FakeManager) GetConfigCallCount() int
- func (fake *FakeManager) GetConfigCalls(stub func() *rest.Config)
- func (fake *FakeManager) GetConfigReturns(result1 *rest.Config)
- func (fake *FakeManager) GetConfigReturnsOnCall(i int, result1 *rest.Config)
- func (fake *FakeManager) GetControllerOptions() config.Controller
- func (fake *FakeManager) GetControllerOptionsCallCount() int
- func (fake *FakeManager) GetControllerOptionsCalls(stub func() config.Controller)
- func (fake *FakeManager) GetControllerOptionsReturns(result1 config.Controller)
- func (fake *FakeManager) GetControllerOptionsReturnsOnCall(i int, result1 config.Controller)
- func (fake *FakeManager) GetEventRecorderFor(arg1 string) record.EventRecorder
- func (fake *FakeManager) GetEventRecorderForArgsForCall(i int) string
- func (fake *FakeManager) GetEventRecorderForCallCount() int
- func (fake *FakeManager) GetEventRecorderForCalls(stub func(string) record.EventRecorder)
- func (fake *FakeManager) GetEventRecorderForReturns(result1 record.EventRecorder)
- func (fake *FakeManager) GetEventRecorderForReturnsOnCall(i int, result1 record.EventRecorder)
- func (fake *FakeManager) GetFieldIndexer() client.FieldIndexer
- func (fake *FakeManager) GetFieldIndexerCallCount() int
- func (fake *FakeManager) GetFieldIndexerCalls(stub func() client.FieldIndexer)
- func (fake *FakeManager) GetFieldIndexerReturns(result1 client.FieldIndexer)
- func (fake *FakeManager) GetFieldIndexerReturnsOnCall(i int, result1 client.FieldIndexer)
- func (fake *FakeManager) GetHTTPClient() *http.Client
- func (fake *FakeManager) GetHTTPClientCallCount() int
- func (fake *FakeManager) GetHTTPClientCalls(stub func() *http.Client)
- func (fake *FakeManager) GetHTTPClientReturns(result1 *http.Client)
- func (fake *FakeManager) GetHTTPClientReturnsOnCall(i int, result1 *http.Client)
- func (fake *FakeManager) GetLogger() logr.Logger
- func (fake *FakeManager) GetLoggerCallCount() int
- func (fake *FakeManager) GetLoggerCalls(stub func() logr.Logger)
- func (fake *FakeManager) GetLoggerReturns(result1 logr.Logger)
- func (fake *FakeManager) GetLoggerReturnsOnCall(i int, result1 logr.Logger)
- func (fake *FakeManager) GetRESTMapper() meta.RESTMapper
- func (fake *FakeManager) GetRESTMapperCallCount() int
- func (fake *FakeManager) GetRESTMapperCalls(stub func() meta.RESTMapper)
- func (fake *FakeManager) GetRESTMapperReturns(result1 meta.RESTMapper)
- func (fake *FakeManager) GetRESTMapperReturnsOnCall(i int, result1 meta.RESTMapper)
- func (fake *FakeManager) GetScheme() *runtime.Scheme
- func (fake *FakeManager) GetSchemeCallCount() int
- func (fake *FakeManager) GetSchemeCalls(stub func() *runtime.Scheme)
- func (fake *FakeManager) GetSchemeReturns(result1 *runtime.Scheme)
- func (fake *FakeManager) GetSchemeReturnsOnCall(i int, result1 *runtime.Scheme)
- func (fake *FakeManager) GetWebhookServer() webhook.Server
- func (fake *FakeManager) GetWebhookServerCallCount() int
- func (fake *FakeManager) GetWebhookServerCalls(stub func() webhook.Server)
- func (fake *FakeManager) GetWebhookServerReturns(result1 webhook.Server)
- func (fake *FakeManager) GetWebhookServerReturnsOnCall(i int, result1 webhook.Server)
- func (fake *FakeManager) Invocations() map[string][][]interface{}
- func (fake *FakeManager) Start(arg1 context.Context) error
- func (fake *FakeManager) StartArgsForCall(i int) context.Context
- func (fake *FakeManager) StartCallCount() int
- func (fake *FakeManager) StartCalls(stub func(context.Context) error)
- func (fake *FakeManager) StartReturns(result1 error)
- func (fake *FakeManager) StartReturnsOnCall(i int, result1 error)
- type FakeStatusWriter
- func (fake *FakeStatusWriter) Create(arg1 context.Context, arg2 client.Object, arg3 client.Object, ...) error
- func (fake *FakeStatusWriter) CreateArgsForCall(i int) (context.Context, client.Object, client.Object, ...)
- func (fake *FakeStatusWriter) CreateCallCount() int
- func (fake *FakeStatusWriter) CreateCalls(stub func(context.Context, client.Object, client.Object, ...) error)
- func (fake *FakeStatusWriter) CreateReturns(result1 error)
- func (fake *FakeStatusWriter) CreateReturnsOnCall(i int, result1 error)
- func (fake *FakeStatusWriter) Invocations() map[string][][]interface{}
- func (fake *FakeStatusWriter) Patch(arg1 context.Context, arg2 client.Object, arg3 client.Patch, ...) error
- func (fake *FakeStatusWriter) PatchArgsForCall(i int) (context.Context, client.Object, client.Patch, []client.SubResourcePatchOption)
- func (fake *FakeStatusWriter) PatchCallCount() int
- func (fake *FakeStatusWriter) PatchCalls(...)
- func (fake *FakeStatusWriter) PatchReturns(result1 error)
- func (fake *FakeStatusWriter) PatchReturnsOnCall(i int, result1 error)
- func (fake *FakeStatusWriter) Update(arg1 context.Context, arg2 client.Object, ...) error
- func (fake *FakeStatusWriter) UpdateArgsForCall(i int) (context.Context, client.Object, []client.SubResourceUpdateOption)
- func (fake *FakeStatusWriter) UpdateCallCount() int
- func (fake *FakeStatusWriter) UpdateCalls(...)
- func (fake *FakeStatusWriter) UpdateReturns(result1 error)
- func (fake *FakeStatusWriter) UpdateReturnsOnCall(i int, result1 error)
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 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 (*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) GroupVersionKindFor ¶ added in v0.13.0
func (fake *FakeClient) GroupVersionKindFor(arg1 runtime.Object) (schema.GroupVersionKind, error)
func (*FakeClient) GroupVersionKindForArgsForCall ¶ added in v0.13.0
func (fake *FakeClient) GroupVersionKindForArgsForCall(i int) runtime.Object
func (*FakeClient) GroupVersionKindForCallCount ¶ added in v0.13.0
func (fake *FakeClient) GroupVersionKindForCallCount() int
func (*FakeClient) GroupVersionKindForCalls ¶ added in v0.13.0
func (fake *FakeClient) GroupVersionKindForCalls(stub func(runtime.Object) (schema.GroupVersionKind, error))
func (*FakeClient) GroupVersionKindForReturns ¶ added in v0.13.0
func (fake *FakeClient) GroupVersionKindForReturns(result1 schema.GroupVersionKind, result2 error)
func (*FakeClient) GroupVersionKindForReturnsOnCall ¶ added in v0.13.0
func (fake *FakeClient) GroupVersionKindForReturnsOnCall(i int, result1 schema.GroupVersionKind, result2 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) IsObjectNamespaced ¶ added in v0.13.0
func (fake *FakeClient) IsObjectNamespaced(arg1 runtime.Object) (bool, error)
func (*FakeClient) IsObjectNamespacedArgsForCall ¶ added in v0.13.0
func (fake *FakeClient) IsObjectNamespacedArgsForCall(i int) runtime.Object
func (*FakeClient) IsObjectNamespacedCallCount ¶ added in v0.13.0
func (fake *FakeClient) IsObjectNamespacedCallCount() int
func (*FakeClient) IsObjectNamespacedCalls ¶ added in v0.13.0
func (fake *FakeClient) IsObjectNamespacedCalls(stub func(runtime.Object) (bool, error))
func (*FakeClient) IsObjectNamespacedReturns ¶ added in v0.13.0
func (fake *FakeClient) IsObjectNamespacedReturns(result1 bool, result2 error)
func (*FakeClient) IsObjectNamespacedReturnsOnCall ¶ added in v0.13.0
func (fake *FakeClient) IsObjectNamespacedReturnsOnCall(i int, result1 bool, result2 error)
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 ¶ added in v0.7.0
func (fake *FakeClient) RESTMapper() meta.RESTMapper
func (*FakeClient) RESTMapperCallCount ¶ added in v0.7.0
func (fake *FakeClient) RESTMapperCallCount() int
func (*FakeClient) RESTMapperCalls ¶ added in v0.7.0
func (fake *FakeClient) RESTMapperCalls(stub func() meta.RESTMapper)
func (*FakeClient) RESTMapperReturns ¶ added in v0.7.0
func (fake *FakeClient) RESTMapperReturns(result1 meta.RESTMapper)
func (*FakeClient) RESTMapperReturnsOnCall ¶ added in v0.7.0
func (fake *FakeClient) RESTMapperReturnsOnCall(i int, result1 meta.RESTMapper)
func (*FakeClient) Scheme ¶ added in v0.7.0
func (fake *FakeClient) Scheme() *runtime.Scheme
func (*FakeClient) SchemeCallCount ¶ added in v0.7.0
func (fake *FakeClient) SchemeCallCount() int
func (*FakeClient) SchemeCalls ¶ added in v0.7.0
func (fake *FakeClient) SchemeCalls(stub func() *runtime.Scheme)
func (*FakeClient) SchemeReturns ¶ added in v0.7.0
func (fake *FakeClient) SchemeReturns(result1 *runtime.Scheme)
func (*FakeClient) SchemeReturnsOnCall ¶ added in v0.7.0
func (fake *FakeClient) SchemeReturnsOnCall(i int, result1 *runtime.Scheme)
func (*FakeClient) Status ¶
func (fake *FakeClient) Status() client.SubResourceWriter
func (*FakeClient) StatusCallCount ¶
func (fake *FakeClient) StatusCallCount() int
func (*FakeClient) StatusCalls ¶
func (fake *FakeClient) StatusCalls(stub func() client.SubResourceWriter)
func (*FakeClient) StatusReturns ¶
func (fake *FakeClient) StatusReturns(result1 client.SubResourceWriter)
func (*FakeClient) StatusReturnsOnCall ¶
func (fake *FakeClient) StatusReturnsOnCall(i int, result1 client.SubResourceWriter)
func (*FakeClient) SubResource ¶ added in v0.12.0
func (fake *FakeClient) SubResource(arg1 string) client.SubResourceClient
func (*FakeClient) SubResourceArgsForCall ¶ added in v0.12.0
func (fake *FakeClient) SubResourceArgsForCall(i int) string
func (*FakeClient) SubResourceCallCount ¶ added in v0.12.0
func (fake *FakeClient) SubResourceCallCount() int
func (*FakeClient) SubResourceCalls ¶ added in v0.12.0
func (fake *FakeClient) SubResourceCalls(stub func(string) client.SubResourceClient)
func (*FakeClient) SubResourceReturns ¶ added in v0.12.0
func (fake *FakeClient) SubResourceReturns(result1 client.SubResourceClient)
func (*FakeClient) SubResourceReturnsOnCall ¶ added in v0.12.0
func (fake *FakeClient) SubResourceReturnsOnCall(i int, result1 client.SubResourceClient)
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 FakeManager ¶
type FakeManager struct { AddStub func(manager.Runnable) error AddHealthzCheckStub func(string, healthz.Checker) error AddMetricsServerExtraHandlerStub func(string, http.Handler) error AddReadyzCheckStub func(string, healthz.Checker) error ElectedStub func() <-chan struct{} GetAPIReaderStub func() client.Reader GetCacheStub func() cache.Cache GetClientStub func() client.Client GetConfigStub func() *rest.Config GetControllerOptionsStub func() config.Controller GetEventRecorderForStub func(string) record.EventRecorder GetFieldIndexerStub func() client.FieldIndexer GetHTTPClientStub func() *http.Client GetLoggerStub func() logr.Logger GetRESTMapperStub func() meta.RESTMapper GetSchemeStub func() *runtime.Scheme GetWebhookServerStub func() webhook.Server StartStub func(context.Context) error // contains filtered or unexported fields }
func (*FakeManager) AddArgsForCall ¶
func (fake *FakeManager) AddArgsForCall(i int) manager.Runnable
func (*FakeManager) AddCallCount ¶
func (fake *FakeManager) AddCallCount() int
func (*FakeManager) AddHealthzCheck ¶
func (fake *FakeManager) AddHealthzCheck(arg1 string, arg2 healthz.Checker) error
func (*FakeManager) AddHealthzCheckArgsForCall ¶
func (fake *FakeManager) AddHealthzCheckArgsForCall(i int) (string, healthz.Checker)
func (*FakeManager) AddHealthzCheckCallCount ¶
func (fake *FakeManager) AddHealthzCheckCallCount() int
func (*FakeManager) AddHealthzCheckCalls ¶
func (fake *FakeManager) AddHealthzCheckCalls(stub func(string, healthz.Checker) error)
func (*FakeManager) AddHealthzCheckReturns ¶
func (fake *FakeManager) AddHealthzCheckReturns(result1 error)
func (*FakeManager) AddHealthzCheckReturnsOnCall ¶
func (fake *FakeManager) AddHealthzCheckReturnsOnCall(i int, result1 error)
func (*FakeManager) AddMetricsServerExtraHandler ¶ added in v0.14.0
func (fake *FakeManager) AddMetricsServerExtraHandler(arg1 string, arg2 http.Handler) error
func (*FakeManager) AddMetricsServerExtraHandlerArgsForCall ¶ added in v0.14.0
func (fake *FakeManager) AddMetricsServerExtraHandlerArgsForCall(i int) (string, http.Handler)
func (*FakeManager) AddMetricsServerExtraHandlerCallCount ¶ added in v0.14.0
func (fake *FakeManager) AddMetricsServerExtraHandlerCallCount() int
func (*FakeManager) AddMetricsServerExtraHandlerCalls ¶ added in v0.14.0
func (fake *FakeManager) AddMetricsServerExtraHandlerCalls(stub func(string, http.Handler) error)
func (*FakeManager) AddMetricsServerExtraHandlerReturns ¶ added in v0.14.0
func (fake *FakeManager) AddMetricsServerExtraHandlerReturns(result1 error)
func (*FakeManager) AddMetricsServerExtraHandlerReturnsOnCall ¶ added in v0.14.0
func (fake *FakeManager) AddMetricsServerExtraHandlerReturnsOnCall(i int, result1 error)
func (*FakeManager) AddReadyzCheck ¶
func (fake *FakeManager) AddReadyzCheck(arg1 string, arg2 healthz.Checker) error
func (*FakeManager) AddReadyzCheckArgsForCall ¶
func (fake *FakeManager) AddReadyzCheckArgsForCall(i int) (string, healthz.Checker)
func (*FakeManager) AddReadyzCheckCallCount ¶
func (fake *FakeManager) AddReadyzCheckCallCount() int
func (*FakeManager) AddReadyzCheckCalls ¶
func (fake *FakeManager) AddReadyzCheckCalls(stub func(string, healthz.Checker) error)
func (*FakeManager) AddReadyzCheckReturns ¶
func (fake *FakeManager) AddReadyzCheckReturns(result1 error)
func (*FakeManager) AddReadyzCheckReturnsOnCall ¶
func (fake *FakeManager) AddReadyzCheckReturnsOnCall(i int, result1 error)
func (*FakeManager) AddReturns ¶
func (fake *FakeManager) AddReturns(result1 error)
func (*FakeManager) AddReturnsOnCall ¶
func (fake *FakeManager) AddReturnsOnCall(i int, result1 error)
func (*FakeManager) Elected ¶ added in v0.2.0
func (fake *FakeManager) Elected() <-chan struct{}
func (*FakeManager) ElectedCallCount ¶ added in v0.2.0
func (fake *FakeManager) ElectedCallCount() int
func (*FakeManager) ElectedCalls ¶ added in v0.2.0
func (fake *FakeManager) ElectedCalls(stub func() <-chan struct{})
func (*FakeManager) ElectedReturns ¶ added in v0.2.0
func (fake *FakeManager) ElectedReturns(result1 <-chan struct{})
func (*FakeManager) ElectedReturnsOnCall ¶ added in v0.2.0
func (fake *FakeManager) ElectedReturnsOnCall(i int, result1 <-chan struct{})
func (*FakeManager) GetAPIReader ¶
func (fake *FakeManager) GetAPIReader() client.Reader
func (*FakeManager) GetAPIReaderCallCount ¶
func (fake *FakeManager) GetAPIReaderCallCount() int
func (*FakeManager) GetAPIReaderCalls ¶
func (fake *FakeManager) GetAPIReaderCalls(stub func() client.Reader)
func (*FakeManager) GetAPIReaderReturns ¶
func (fake *FakeManager) GetAPIReaderReturns(result1 client.Reader)
func (*FakeManager) GetAPIReaderReturnsOnCall ¶
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) GetControllerOptions ¶ added in v0.7.0
func (fake *FakeManager) GetControllerOptions() config.Controller
func (*FakeManager) GetControllerOptionsCallCount ¶ added in v0.7.0
func (fake *FakeManager) GetControllerOptionsCallCount() int
func (*FakeManager) GetControllerOptionsCalls ¶ added in v0.7.0
func (fake *FakeManager) GetControllerOptionsCalls(stub func() config.Controller)
func (*FakeManager) GetControllerOptionsReturns ¶ added in v0.7.0
func (fake *FakeManager) GetControllerOptionsReturns(result1 config.Controller)
func (*FakeManager) GetControllerOptionsReturnsOnCall ¶ added in v0.7.0
func (fake *FakeManager) GetControllerOptionsReturnsOnCall(i int, result1 config.Controller)
func (*FakeManager) GetEventRecorderFor ¶
func (fake *FakeManager) GetEventRecorderFor(arg1 string) record.EventRecorder
func (*FakeManager) GetEventRecorderForArgsForCall ¶
func (fake *FakeManager) GetEventRecorderForArgsForCall(i int) string
func (*FakeManager) GetEventRecorderForCallCount ¶
func (fake *FakeManager) GetEventRecorderForCallCount() int
func (*FakeManager) GetEventRecorderForCalls ¶
func (fake *FakeManager) GetEventRecorderForCalls(stub func(string) record.EventRecorder)
func (*FakeManager) GetEventRecorderForReturns ¶
func (fake *FakeManager) GetEventRecorderForReturns(result1 record.EventRecorder)
func (*FakeManager) GetEventRecorderForReturnsOnCall ¶
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) GetHTTPClient ¶ added in v0.13.0
func (fake *FakeManager) GetHTTPClient() *http.Client
func (*FakeManager) GetHTTPClientCallCount ¶ added in v0.13.0
func (fake *FakeManager) GetHTTPClientCallCount() int
func (*FakeManager) GetHTTPClientCalls ¶ added in v0.13.0
func (fake *FakeManager) GetHTTPClientCalls(stub func() *http.Client)
func (*FakeManager) GetHTTPClientReturns ¶ added in v0.13.0
func (fake *FakeManager) GetHTTPClientReturns(result1 *http.Client)
func (*FakeManager) GetHTTPClientReturnsOnCall ¶ added in v0.13.0
func (fake *FakeManager) GetHTTPClientReturnsOnCall(i int, result1 *http.Client)
func (*FakeManager) GetLogger ¶ added in v0.7.0
func (fake *FakeManager) GetLogger() logr.Logger
func (*FakeManager) GetLoggerCallCount ¶ added in v0.7.0
func (fake *FakeManager) GetLoggerCallCount() int
func (*FakeManager) GetLoggerCalls ¶ added in v0.7.0
func (fake *FakeManager) GetLoggerCalls(stub func() logr.Logger)
func (*FakeManager) GetLoggerReturns ¶ added in v0.7.0
func (fake *FakeManager) GetLoggerReturns(result1 logr.Logger)
func (*FakeManager) GetLoggerReturnsOnCall ¶ added in v0.7.0
func (fake *FakeManager) GetLoggerReturnsOnCall(i int, result1 logr.Logger)
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 ¶
func (fake *FakeManager) GetWebhookServer() webhook.Server
func (*FakeManager) GetWebhookServerCallCount ¶
func (fake *FakeManager) GetWebhookServerCallCount() int
func (*FakeManager) GetWebhookServerCalls ¶
func (fake *FakeManager) GetWebhookServerCalls(stub func() webhook.Server)
func (*FakeManager) GetWebhookServerReturns ¶
func (fake *FakeManager) GetWebhookServerReturns(result1 webhook.Server)
func (*FakeManager) GetWebhookServerReturnsOnCall ¶
func (fake *FakeManager) GetWebhookServerReturnsOnCall(i int, result1 webhook.Server)
func (*FakeManager) Invocations ¶
func (fake *FakeManager) Invocations() map[string][][]interface{}
func (*FakeManager) StartArgsForCall ¶
func (fake *FakeManager) StartArgsForCall(i int) context.Context
func (*FakeManager) StartCallCount ¶
func (fake *FakeManager) StartCallCount() int
func (*FakeManager) StartCalls ¶
func (fake *FakeManager) StartCalls(stub func(context.Context) error)
func (*FakeManager) StartReturns ¶
func (fake *FakeManager) StartReturns(result1 error)
func (*FakeManager) StartReturnsOnCall ¶
func (fake *FakeManager) StartReturnsOnCall(i int, result1 error)
type FakeStatusWriter ¶
type FakeStatusWriter 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 (*FakeStatusWriter) Create ¶ added in v0.12.0
func (fake *FakeStatusWriter) Create(arg1 context.Context, arg2 client.Object, arg3 client.Object, arg4 ...client.SubResourceCreateOption) error
func (*FakeStatusWriter) CreateArgsForCall ¶ added in v0.12.0
func (fake *FakeStatusWriter) CreateArgsForCall(i int) (context.Context, client.Object, client.Object, []client.SubResourceCreateOption)
func (*FakeStatusWriter) CreateCallCount ¶ added in v0.12.0
func (fake *FakeStatusWriter) CreateCallCount() int
func (*FakeStatusWriter) CreateCalls ¶ added in v0.12.0
func (fake *FakeStatusWriter) CreateCalls(stub func(context.Context, client.Object, client.Object, ...client.SubResourceCreateOption) error)
func (*FakeStatusWriter) CreateReturns ¶ added in v0.12.0
func (fake *FakeStatusWriter) CreateReturns(result1 error)
func (*FakeStatusWriter) CreateReturnsOnCall ¶ added in v0.12.0
func (fake *FakeStatusWriter) CreateReturnsOnCall(i int, result1 error)
func (*FakeStatusWriter) Invocations ¶
func (fake *FakeStatusWriter) Invocations() map[string][][]interface{}
func (*FakeStatusWriter) Patch ¶
func (fake *FakeStatusWriter) Patch(arg1 context.Context, arg2 client.Object, arg3 client.Patch, arg4 ...client.SubResourcePatchOption) error
func (*FakeStatusWriter) PatchArgsForCall ¶
func (fake *FakeStatusWriter) PatchArgsForCall(i int) (context.Context, client.Object, client.Patch, []client.SubResourcePatchOption)
func (*FakeStatusWriter) PatchCallCount ¶
func (fake *FakeStatusWriter) PatchCallCount() int
func (*FakeStatusWriter) PatchCalls ¶
func (fake *FakeStatusWriter) PatchCalls(stub func(context.Context, client.Object, client.Patch, ...client.SubResourcePatchOption) error)
func (*FakeStatusWriter) PatchReturns ¶
func (fake *FakeStatusWriter) PatchReturns(result1 error)
func (*FakeStatusWriter) PatchReturnsOnCall ¶
func (fake *FakeStatusWriter) PatchReturnsOnCall(i int, result1 error)
func (*FakeStatusWriter) Update ¶
func (fake *FakeStatusWriter) Update(arg1 context.Context, arg2 client.Object, arg3 ...client.SubResourceUpdateOption) error
func (*FakeStatusWriter) UpdateArgsForCall ¶
func (fake *FakeStatusWriter) UpdateArgsForCall(i int) (context.Context, client.Object, []client.SubResourceUpdateOption)
func (*FakeStatusWriter) UpdateCallCount ¶
func (fake *FakeStatusWriter) UpdateCallCount() int
func (*FakeStatusWriter) UpdateCalls ¶
func (fake *FakeStatusWriter) UpdateCalls(stub func(context.Context, client.Object, ...client.SubResourceUpdateOption) error)
func (*FakeStatusWriter) UpdateReturns ¶
func (fake *FakeStatusWriter) UpdateReturns(result1 error)
func (*FakeStatusWriter) UpdateReturnsOnCall ¶
func (fake *FakeStatusWriter) UpdateReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.