Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) Apply(arg1 *unstructured.Unstructured) (kubernetes.Metadata, error)
- func (fake *FakeClient) ApplyArgsForCall(i int) *unstructured.Unstructured
- func (fake *FakeClient) ApplyCallCount() int
- func (fake *FakeClient) ApplyCalls(stub func(*unstructured.Unstructured) (kubernetes.Metadata, error))
- func (fake *FakeClient) ApplyReturns(result1 kubernetes.Metadata, result2 error)
- func (fake *FakeClient) ApplyReturnsOnCall(i int, result1 kubernetes.Metadata, result2 error)
- func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespace(arg1 string, arg2 string, arg3 string, arg4 v1.DeleteOptions) error
- func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespaceArgsForCall(i int) (string, string, string, v1.DeleteOptions)
- func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespaceCallCount() int
- func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespaceCalls(stub func(string, string, string, v1.DeleteOptions) error)
- func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespaceReturns(result1 error)
- func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespaceReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) Discover() error
- func (fake *FakeClient) DiscoverCallCount() int
- func (fake *FakeClient) DiscoverCalls(stub func() error)
- func (fake *FakeClient) DiscoverReturns(result1 error)
- func (fake *FakeClient) DiscoverReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) GVRForKind(arg1 string) (schema.GroupVersionResource, error)
- func (fake *FakeClient) GVRForKindArgsForCall(i int) string
- func (fake *FakeClient) GVRForKindCallCount() int
- func (fake *FakeClient) GVRForKindCalls(stub func(string) (schema.GroupVersionResource, error))
- func (fake *FakeClient) GVRForKindReturns(result1 schema.GroupVersionResource, result2 error)
- func (fake *FakeClient) GVRForKindReturnsOnCall(i int, result1 schema.GroupVersionResource, result2 error)
- func (fake *FakeClient) Get(arg1 string, arg2 string, arg3 string) (*unstructured.Unstructured, error)
- func (fake *FakeClient) GetArgsForCall(i int) (string, string, string)
- func (fake *FakeClient) GetCallCount() int
- func (fake *FakeClient) GetCalls(stub func(string, string, string) (*unstructured.Unstructured, error))
- func (fake *FakeClient) GetReturns(result1 *unstructured.Unstructured, result2 error)
- func (fake *FakeClient) GetReturnsOnCall(i int, result1 *unstructured.Unstructured, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) ListByGVR(arg1 schema.GroupVersionResource, arg2 v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (fake *FakeClient) ListByGVRArgsForCall(i int) (schema.GroupVersionResource, v1.ListOptions)
- func (fake *FakeClient) ListByGVRCallCount() int
- func (fake *FakeClient) ListByGVRCalls(...)
- func (fake *FakeClient) ListByGVRReturns(result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) ListByGVRReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) ListByGVRWithContext(arg1 context.Context, arg2 schema.GroupVersionResource, arg3 v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (fake *FakeClient) ListByGVRWithContextArgsForCall(i int) (context.Context, schema.GroupVersionResource, v1.ListOptions)
- func (fake *FakeClient) ListByGVRWithContextCallCount() int
- func (fake *FakeClient) ListByGVRWithContextCalls(...)
- func (fake *FakeClient) ListByGVRWithContextReturns(result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) ListByGVRWithContextReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) ListResource(arg1 string, arg2 v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (fake *FakeClient) ListResourceArgsForCall(i int) (string, v1.ListOptions)
- func (fake *FakeClient) ListResourceCallCount() int
- func (fake *FakeClient) ListResourceCalls(stub func(string, v1.ListOptions) (*unstructured.UnstructuredList, error))
- func (fake *FakeClient) ListResourceReturns(result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) ListResourceReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) ListResourceWithContext(arg1 context.Context, arg2 string, arg3 v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (fake *FakeClient) ListResourceWithContextArgsForCall(i int) (context.Context, string, v1.ListOptions)
- func (fake *FakeClient) ListResourceWithContextCallCount() int
- func (fake *FakeClient) ListResourceWithContextCalls(...)
- func (fake *FakeClient) ListResourceWithContextReturns(result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) ListResourceWithContextReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) ListResourcesByKindAndNamespace(arg1 string, arg2 string, arg3 v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (fake *FakeClient) ListResourcesByKindAndNamespaceArgsForCall(i int) (string, string, v1.ListOptions)
- func (fake *FakeClient) ListResourcesByKindAndNamespaceCallCount() int
- func (fake *FakeClient) ListResourcesByKindAndNamespaceCalls(...)
- func (fake *FakeClient) ListResourcesByKindAndNamespaceReturns(result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) ListResourcesByKindAndNamespaceReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContext(arg1 context.Context, arg2 string, arg3 string, arg4 v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContextArgsForCall(i int) (context.Context, string, string, v1.ListOptions)
- func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContextCallCount() int
- func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContextCalls(...)
- func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContextReturns(result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContextReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
- func (fake *FakeClient) Patch(arg1 string, arg2 string, arg3 string, arg4 []byte) (kubernetes.Metadata, *unstructured.Unstructured, error)
- func (fake *FakeClient) PatchArgsForCall(i int) (string, string, string, []byte)
- func (fake *FakeClient) PatchCallCount() int
- func (fake *FakeClient) PatchCalls(...)
- func (fake *FakeClient) PatchReturns(result1 kubernetes.Metadata, result2 *unstructured.Unstructured, result3 error)
- func (fake *FakeClient) PatchReturnsOnCall(i int, result1 kubernetes.Metadata, result2 *unstructured.Unstructured, ...)
- func (fake *FakeClient) PatchUsingStrategy(arg1 string, arg2 string, arg3 string, arg4 []byte, arg5 types.PatchType) (kubernetes.Metadata, *unstructured.Unstructured, error)
- func (fake *FakeClient) PatchUsingStrategyArgsForCall(i int) (string, string, string, []byte, types.PatchType)
- func (fake *FakeClient) PatchUsingStrategyCallCount() int
- func (fake *FakeClient) PatchUsingStrategyCalls(...)
- func (fake *FakeClient) PatchUsingStrategyReturns(result1 kubernetes.Metadata, result2 *unstructured.Unstructured, result3 error)
- func (fake *FakeClient) PatchUsingStrategyReturnsOnCall(i int, result1 kubernetes.Metadata, result2 *unstructured.Unstructured, ...)
- func (fake *FakeClient) Replace(arg1 *unstructured.Unstructured) (kubernetes.Metadata, error)
- func (fake *FakeClient) ReplaceArgsForCall(i int) *unstructured.Unstructured
- func (fake *FakeClient) ReplaceCallCount() int
- func (fake *FakeClient) ReplaceCalls(stub func(*unstructured.Unstructured) (kubernetes.Metadata, error))
- func (fake *FakeClient) ReplaceReturns(result1 kubernetes.Metadata, result2 error)
- func (fake *FakeClient) ReplaceReturnsOnCall(i int, result1 kubernetes.Metadata, result2 error)
- type FakeClientset
- func (fake *FakeClientset) Events(arg1 context.Context, arg2 string, arg3 string, arg4 string) ([]v1.Event, error)
- func (fake *FakeClientset) EventsArgsForCall(i int) (context.Context, string, string, string)
- func (fake *FakeClientset) EventsCallCount() int
- func (fake *FakeClientset) EventsCalls(stub func(context.Context, string, string, string) ([]v1.Event, error))
- func (fake *FakeClientset) EventsReturns(result1 []v1.Event, result2 error)
- func (fake *FakeClientset) EventsReturnsOnCall(i int, result1 []v1.Event, result2 error)
- func (fake *FakeClientset) Invocations() map[string][][]interface{}
- func (fake *FakeClientset) PodLogs(arg1 string, arg2 string, arg3 string) (string, error)
- func (fake *FakeClientset) PodLogsArgsForCall(i int) (string, string, string)
- func (fake *FakeClientset) PodLogsCallCount() int
- func (fake *FakeClientset) PodLogsCalls(stub func(string, string, string) (string, error))
- func (fake *FakeClientset) PodLogsReturns(result1 string, result2 error)
- func (fake *FakeClientset) PodLogsReturnsOnCall(i int, result1 string, result2 error)
- type FakeController
- func (fake *FakeController) Invocations() map[string][][]interface{}
- func (fake *FakeController) NewClient(arg1 *rest.Config) (kubernetes.Client, error)
- func (fake *FakeController) NewClientArgsForCall(i int) *rest.Config
- func (fake *FakeController) NewClientCallCount() int
- func (fake *FakeController) NewClientCalls(stub func(*rest.Config) (kubernetes.Client, error))
- func (fake *FakeController) NewClientReturns(result1 kubernetes.Client, result2 error)
- func (fake *FakeController) NewClientReturnsOnCall(i int, result1 kubernetes.Client, result2 error)
- func (fake *FakeController) NewClientset(arg1 *rest.Config) (kubernetes.Clientset, error)
- func (fake *FakeController) NewClientsetArgsForCall(i int) *rest.Config
- func (fake *FakeController) NewClientsetCallCount() int
- func (fake *FakeController) NewClientsetCalls(stub func(*rest.Config) (kubernetes.Clientset, error))
- func (fake *FakeController) NewClientsetReturns(result1 kubernetes.Clientset, result2 error)
- func (fake *FakeController) NewClientsetReturnsOnCall(i int, result1 kubernetes.Clientset, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { ApplyStub func(*unstructured.Unstructured) (kubernetes.Metadata, error) DeleteResourceByKindAndNameAndNamespaceStub func(string, string, string, v1.DeleteOptions) error DiscoverStub func() error GVRForKindStub func(string) (schema.GroupVersionResource, error) GetStub func(string, string, string) (*unstructured.Unstructured, error) ListByGVRStub func(schema.GroupVersionResource, v1.ListOptions) (*unstructured.UnstructuredList, error) ListByGVRWithContextStub func(context.Context, schema.GroupVersionResource, v1.ListOptions) (*unstructured.UnstructuredList, error) ListResourceStub func(string, v1.ListOptions) (*unstructured.UnstructuredList, error) ListResourceWithContextStub func(context.Context, string, v1.ListOptions) (*unstructured.UnstructuredList, error) ListResourcesByKindAndNamespaceStub func(string, string, v1.ListOptions) (*unstructured.UnstructuredList, error) ListResourcesByKindAndNamespaceWithContextStub func(context.Context, string, string, v1.ListOptions) (*unstructured.UnstructuredList, error) PatchStub func(string, string, string, []byte) (kubernetes.Metadata, *unstructured.Unstructured, error) PatchUsingStrategyStub func(string, string, string, []byte, types.PatchType) (kubernetes.Metadata, *unstructured.Unstructured, error) ReplaceStub func(*unstructured.Unstructured) (kubernetes.Metadata, error) // contains filtered or unexported fields }
func (*FakeClient) Apply ¶
func (fake *FakeClient) Apply(arg1 *unstructured.Unstructured) (kubernetes.Metadata, error)
func (*FakeClient) ApplyArgsForCall ¶
func (fake *FakeClient) ApplyArgsForCall(i int) *unstructured.Unstructured
func (*FakeClient) ApplyCallCount ¶
func (fake *FakeClient) ApplyCallCount() int
func (*FakeClient) ApplyCalls ¶
func (fake *FakeClient) ApplyCalls(stub func(*unstructured.Unstructured) (kubernetes.Metadata, error))
func (*FakeClient) ApplyReturns ¶
func (fake *FakeClient) ApplyReturns(result1 kubernetes.Metadata, result2 error)
func (*FakeClient) ApplyReturnsOnCall ¶
func (fake *FakeClient) ApplyReturnsOnCall(i int, result1 kubernetes.Metadata, result2 error)
func (*FakeClient) DeleteResourceByKindAndNameAndNamespace ¶
func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespace(arg1 string, arg2 string, arg3 string, arg4 v1.DeleteOptions) error
func (*FakeClient) DeleteResourceByKindAndNameAndNamespaceArgsForCall ¶
func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespaceArgsForCall(i int) (string, string, string, v1.DeleteOptions)
func (*FakeClient) DeleteResourceByKindAndNameAndNamespaceCallCount ¶
func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespaceCallCount() int
func (*FakeClient) DeleteResourceByKindAndNameAndNamespaceCalls ¶
func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespaceCalls(stub func(string, string, string, v1.DeleteOptions) error)
func (*FakeClient) DeleteResourceByKindAndNameAndNamespaceReturns ¶
func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespaceReturns(result1 error)
func (*FakeClient) DeleteResourceByKindAndNameAndNamespaceReturnsOnCall ¶
func (fake *FakeClient) DeleteResourceByKindAndNameAndNamespaceReturnsOnCall(i int, result1 error)
func (*FakeClient) Discover ¶
func (fake *FakeClient) Discover() error
func (*FakeClient) DiscoverCallCount ¶
func (fake *FakeClient) DiscoverCallCount() int
func (*FakeClient) DiscoverCalls ¶
func (fake *FakeClient) DiscoverCalls(stub func() error)
func (*FakeClient) DiscoverReturns ¶
func (fake *FakeClient) DiscoverReturns(result1 error)
func (*FakeClient) DiscoverReturnsOnCall ¶
func (fake *FakeClient) DiscoverReturnsOnCall(i int, result1 error)
func (*FakeClient) GVRForKind ¶
func (fake *FakeClient) GVRForKind(arg1 string) (schema.GroupVersionResource, error)
func (*FakeClient) GVRForKindArgsForCall ¶
func (fake *FakeClient) GVRForKindArgsForCall(i int) string
func (*FakeClient) GVRForKindCallCount ¶
func (fake *FakeClient) GVRForKindCallCount() int
func (*FakeClient) GVRForKindCalls ¶
func (fake *FakeClient) GVRForKindCalls(stub func(string) (schema.GroupVersionResource, error))
func (*FakeClient) GVRForKindReturns ¶
func (fake *FakeClient) GVRForKindReturns(result1 schema.GroupVersionResource, result2 error)
func (*FakeClient) GVRForKindReturnsOnCall ¶
func (fake *FakeClient) GVRForKindReturnsOnCall(i int, result1 schema.GroupVersionResource, result2 error)
func (*FakeClient) Get ¶
func (fake *FakeClient) Get(arg1 string, arg2 string, arg3 string) (*unstructured.Unstructured, error)
func (*FakeClient) GetArgsForCall ¶
func (fake *FakeClient) GetArgsForCall(i int) (string, string, string)
func (*FakeClient) GetCallCount ¶
func (fake *FakeClient) GetCallCount() int
func (*FakeClient) GetCalls ¶
func (fake *FakeClient) GetCalls(stub func(string, string, string) (*unstructured.Unstructured, error))
func (*FakeClient) GetReturns ¶
func (fake *FakeClient) GetReturns(result1 *unstructured.Unstructured, result2 error)
func (*FakeClient) GetReturnsOnCall ¶
func (fake *FakeClient) GetReturnsOnCall(i int, result1 *unstructured.Unstructured, result2 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) ListByGVR ¶
func (fake *FakeClient) ListByGVR(arg1 schema.GroupVersionResource, arg2 v1.ListOptions) (*unstructured.UnstructuredList, error)
func (*FakeClient) ListByGVRArgsForCall ¶
func (fake *FakeClient) ListByGVRArgsForCall(i int) (schema.GroupVersionResource, v1.ListOptions)
func (*FakeClient) ListByGVRCallCount ¶
func (fake *FakeClient) ListByGVRCallCount() int
func (*FakeClient) ListByGVRCalls ¶
func (fake *FakeClient) ListByGVRCalls(stub func(schema.GroupVersionResource, v1.ListOptions) (*unstructured.UnstructuredList, error))
func (*FakeClient) ListByGVRReturns ¶
func (fake *FakeClient) ListByGVRReturns(result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) ListByGVRReturnsOnCall ¶
func (fake *FakeClient) ListByGVRReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) ListByGVRWithContext ¶
func (fake *FakeClient) ListByGVRWithContext(arg1 context.Context, arg2 schema.GroupVersionResource, arg3 v1.ListOptions) (*unstructured.UnstructuredList, error)
func (*FakeClient) ListByGVRWithContextArgsForCall ¶
func (fake *FakeClient) ListByGVRWithContextArgsForCall(i int) (context.Context, schema.GroupVersionResource, v1.ListOptions)
func (*FakeClient) ListByGVRWithContextCallCount ¶
func (fake *FakeClient) ListByGVRWithContextCallCount() int
func (*FakeClient) ListByGVRWithContextCalls ¶
func (fake *FakeClient) ListByGVRWithContextCalls(stub func(context.Context, schema.GroupVersionResource, v1.ListOptions) (*unstructured.UnstructuredList, error))
func (*FakeClient) ListByGVRWithContextReturns ¶
func (fake *FakeClient) ListByGVRWithContextReturns(result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) ListByGVRWithContextReturnsOnCall ¶
func (fake *FakeClient) ListByGVRWithContextReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) ListResource ¶
func (fake *FakeClient) ListResource(arg1 string, arg2 v1.ListOptions) (*unstructured.UnstructuredList, error)
func (*FakeClient) ListResourceArgsForCall ¶
func (fake *FakeClient) ListResourceArgsForCall(i int) (string, v1.ListOptions)
func (*FakeClient) ListResourceCallCount ¶
func (fake *FakeClient) ListResourceCallCount() int
func (*FakeClient) ListResourceCalls ¶
func (fake *FakeClient) ListResourceCalls(stub func(string, v1.ListOptions) (*unstructured.UnstructuredList, error))
func (*FakeClient) ListResourceReturns ¶
func (fake *FakeClient) ListResourceReturns(result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) ListResourceReturnsOnCall ¶
func (fake *FakeClient) ListResourceReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) ListResourceWithContext ¶
func (fake *FakeClient) ListResourceWithContext(arg1 context.Context, arg2 string, arg3 v1.ListOptions) (*unstructured.UnstructuredList, error)
func (*FakeClient) ListResourceWithContextArgsForCall ¶
func (fake *FakeClient) ListResourceWithContextArgsForCall(i int) (context.Context, string, v1.ListOptions)
func (*FakeClient) ListResourceWithContextCallCount ¶
func (fake *FakeClient) ListResourceWithContextCallCount() int
func (*FakeClient) ListResourceWithContextCalls ¶
func (fake *FakeClient) ListResourceWithContextCalls(stub func(context.Context, string, v1.ListOptions) (*unstructured.UnstructuredList, error))
func (*FakeClient) ListResourceWithContextReturns ¶
func (fake *FakeClient) ListResourceWithContextReturns(result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) ListResourceWithContextReturnsOnCall ¶
func (fake *FakeClient) ListResourceWithContextReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) ListResourcesByKindAndNamespace ¶
func (fake *FakeClient) ListResourcesByKindAndNamespace(arg1 string, arg2 string, arg3 v1.ListOptions) (*unstructured.UnstructuredList, error)
func (*FakeClient) ListResourcesByKindAndNamespaceArgsForCall ¶
func (fake *FakeClient) ListResourcesByKindAndNamespaceArgsForCall(i int) (string, string, v1.ListOptions)
func (*FakeClient) ListResourcesByKindAndNamespaceCallCount ¶
func (fake *FakeClient) ListResourcesByKindAndNamespaceCallCount() int
func (*FakeClient) ListResourcesByKindAndNamespaceCalls ¶
func (fake *FakeClient) ListResourcesByKindAndNamespaceCalls(stub func(string, string, v1.ListOptions) (*unstructured.UnstructuredList, error))
func (*FakeClient) ListResourcesByKindAndNamespaceReturns ¶
func (fake *FakeClient) ListResourcesByKindAndNamespaceReturns(result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) ListResourcesByKindAndNamespaceReturnsOnCall ¶
func (fake *FakeClient) ListResourcesByKindAndNamespaceReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) ListResourcesByKindAndNamespaceWithContext ¶ added in v0.23.0
func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContext(arg1 context.Context, arg2 string, arg3 string, arg4 v1.ListOptions) (*unstructured.UnstructuredList, error)
func (*FakeClient) ListResourcesByKindAndNamespaceWithContextArgsForCall ¶ added in v0.23.0
func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContextArgsForCall(i int) (context.Context, string, string, v1.ListOptions)
func (*FakeClient) ListResourcesByKindAndNamespaceWithContextCallCount ¶ added in v0.23.0
func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContextCallCount() int
func (*FakeClient) ListResourcesByKindAndNamespaceWithContextCalls ¶ added in v0.23.0
func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContextCalls(stub func(context.Context, string, string, v1.ListOptions) (*unstructured.UnstructuredList, error))
func (*FakeClient) ListResourcesByKindAndNamespaceWithContextReturns ¶ added in v0.23.0
func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContextReturns(result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) ListResourcesByKindAndNamespaceWithContextReturnsOnCall ¶ added in v0.23.0
func (fake *FakeClient) ListResourcesByKindAndNamespaceWithContextReturnsOnCall(i int, result1 *unstructured.UnstructuredList, result2 error)
func (*FakeClient) Patch ¶
func (fake *FakeClient) Patch(arg1 string, arg2 string, arg3 string, arg4 []byte) (kubernetes.Metadata, *unstructured.Unstructured, error)
func (*FakeClient) PatchArgsForCall ¶
func (*FakeClient) PatchCallCount ¶
func (fake *FakeClient) PatchCallCount() int
func (*FakeClient) PatchCalls ¶
func (fake *FakeClient) PatchCalls(stub func(string, string, string, []byte) (kubernetes.Metadata, *unstructured.Unstructured, error))
func (*FakeClient) PatchReturns ¶
func (fake *FakeClient) PatchReturns(result1 kubernetes.Metadata, result2 *unstructured.Unstructured, result3 error)
func (*FakeClient) PatchReturnsOnCall ¶
func (fake *FakeClient) PatchReturnsOnCall(i int, result1 kubernetes.Metadata, result2 *unstructured.Unstructured, result3 error)
func (*FakeClient) PatchUsingStrategy ¶
func (fake *FakeClient) PatchUsingStrategy(arg1 string, arg2 string, arg3 string, arg4 []byte, arg5 types.PatchType) (kubernetes.Metadata, *unstructured.Unstructured, error)
func (*FakeClient) PatchUsingStrategyArgsForCall ¶
func (*FakeClient) PatchUsingStrategyCallCount ¶
func (fake *FakeClient) PatchUsingStrategyCallCount() int
func (*FakeClient) PatchUsingStrategyCalls ¶
func (fake *FakeClient) PatchUsingStrategyCalls(stub func(string, string, string, []byte, types.PatchType) (kubernetes.Metadata, *unstructured.Unstructured, error))
func (*FakeClient) PatchUsingStrategyReturns ¶
func (fake *FakeClient) PatchUsingStrategyReturns(result1 kubernetes.Metadata, result2 *unstructured.Unstructured, result3 error)
func (*FakeClient) PatchUsingStrategyReturnsOnCall ¶
func (fake *FakeClient) PatchUsingStrategyReturnsOnCall(i int, result1 kubernetes.Metadata, result2 *unstructured.Unstructured, result3 error)
func (*FakeClient) Replace ¶ added in v0.26.0
func (fake *FakeClient) Replace(arg1 *unstructured.Unstructured) (kubernetes.Metadata, error)
func (*FakeClient) ReplaceArgsForCall ¶ added in v0.26.0
func (fake *FakeClient) ReplaceArgsForCall(i int) *unstructured.Unstructured
func (*FakeClient) ReplaceCallCount ¶ added in v0.26.0
func (fake *FakeClient) ReplaceCallCount() int
func (*FakeClient) ReplaceCalls ¶ added in v0.26.0
func (fake *FakeClient) ReplaceCalls(stub func(*unstructured.Unstructured) (kubernetes.Metadata, error))
func (*FakeClient) ReplaceReturns ¶ added in v0.26.0
func (fake *FakeClient) ReplaceReturns(result1 kubernetes.Metadata, result2 error)
func (*FakeClient) ReplaceReturnsOnCall ¶ added in v0.26.0
func (fake *FakeClient) ReplaceReturnsOnCall(i int, result1 kubernetes.Metadata, result2 error)
type FakeClientset ¶
type FakeClientset struct { EventsStub func(context.Context, string, string, string) ([]v1.Event, error) PodLogsStub func(string, string, string) (string, error) // contains filtered or unexported fields }
func (*FakeClientset) EventsArgsForCall ¶ added in v0.24.0
func (*FakeClientset) EventsCallCount ¶ added in v0.24.0
func (fake *FakeClientset) EventsCallCount() int
func (*FakeClientset) EventsCalls ¶ added in v0.24.0
func (*FakeClientset) EventsReturns ¶ added in v0.24.0
func (fake *FakeClientset) EventsReturns(result1 []v1.Event, result2 error)
func (*FakeClientset) EventsReturnsOnCall ¶ added in v0.24.0
func (fake *FakeClientset) EventsReturnsOnCall(i int, result1 []v1.Event, result2 error)
func (*FakeClientset) Invocations ¶
func (fake *FakeClientset) Invocations() map[string][][]interface{}
func (*FakeClientset) PodLogsArgsForCall ¶
func (fake *FakeClientset) PodLogsArgsForCall(i int) (string, string, string)
func (*FakeClientset) PodLogsCallCount ¶
func (fake *FakeClientset) PodLogsCallCount() int
func (*FakeClientset) PodLogsCalls ¶
func (*FakeClientset) PodLogsReturns ¶
func (fake *FakeClientset) PodLogsReturns(result1 string, result2 error)
func (*FakeClientset) PodLogsReturnsOnCall ¶
func (fake *FakeClientset) PodLogsReturnsOnCall(i int, result1 string, result2 error)
type FakeController ¶
type FakeController struct { NewClientStub func(*rest.Config) (kubernetes.Client, error) NewClientsetStub func(*rest.Config) (kubernetes.Clientset, error) // contains filtered or unexported fields }
func (*FakeController) Invocations ¶
func (fake *FakeController) Invocations() map[string][][]interface{}
func (*FakeController) NewClient ¶
func (fake *FakeController) NewClient(arg1 *rest.Config) (kubernetes.Client, error)
func (*FakeController) NewClientArgsForCall ¶
func (fake *FakeController) NewClientArgsForCall(i int) *rest.Config
func (*FakeController) NewClientCallCount ¶
func (fake *FakeController) NewClientCallCount() int
func (*FakeController) NewClientCalls ¶
func (fake *FakeController) NewClientCalls(stub func(*rest.Config) (kubernetes.Client, error))
func (*FakeController) NewClientReturns ¶
func (fake *FakeController) NewClientReturns(result1 kubernetes.Client, result2 error)
func (*FakeController) NewClientReturnsOnCall ¶
func (fake *FakeController) NewClientReturnsOnCall(i int, result1 kubernetes.Client, result2 error)
func (*FakeController) NewClientset ¶
func (fake *FakeController) NewClientset(arg1 *rest.Config) (kubernetes.Clientset, error)
func (*FakeController) NewClientsetArgsForCall ¶
func (fake *FakeController) NewClientsetArgsForCall(i int) *rest.Config
func (*FakeController) NewClientsetCallCount ¶
func (fake *FakeController) NewClientsetCallCount() int
func (*FakeController) NewClientsetCalls ¶
func (fake *FakeController) NewClientsetCalls(stub func(*rest.Config) (kubernetes.Clientset, error))
func (*FakeController) NewClientsetReturns ¶
func (fake *FakeController) NewClientsetReturns(result1 kubernetes.Clientset, result2 error)
func (*FakeController) NewClientsetReturnsOnCall ¶
func (fake *FakeController) NewClientsetReturnsOnCall(i int, result1 kubernetes.Clientset, result2 error)
Click to show internal directories.
Click to hide internal directories.