Documentation ¶
Index ¶
- type LiveStateCache
- func (_m *LiveStateCache) Delete(server string, obj *unstructured.Unstructured) error
- func (_m *LiveStateCache) GetChildren(server string, obj *unstructured.Unstructured) ([]v1alpha1.ResourceNode, error)
- func (_m *LiveStateCache) GetManagedLiveObjs(a *v1alpha1.Application, targetObjs []*unstructured.Unstructured) (map[kube.ResourceKey]*unstructured.Unstructured, error)
- func (_m *LiveStateCache) Invalidate()
- func (_m *LiveStateCache) IsNamespaced(server string, gvk schema.GroupVersionKind) (bool, error)
- func (_m *LiveStateCache) Run(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LiveStateCache ¶
LiveStateCache is an autogenerated mock type for the LiveStateCache type
func (*LiveStateCache) Delete ¶
func (_m *LiveStateCache) Delete(server string, obj *unstructured.Unstructured) error
Delete provides a mock function with given fields: server, obj
func (*LiveStateCache) GetChildren ¶
func (_m *LiveStateCache) GetChildren(server string, obj *unstructured.Unstructured) ([]v1alpha1.ResourceNode, error)
GetChildren provides a mock function with given fields: server, obj
func (*LiveStateCache) GetManagedLiveObjs ¶
func (_m *LiveStateCache) GetManagedLiveObjs(a *v1alpha1.Application, targetObjs []*unstructured.Unstructured) (map[kube.ResourceKey]*unstructured.Unstructured, error)
GetManagedLiveObjs provides a mock function with given fields: a, targetObjs
func (*LiveStateCache) Invalidate ¶
func (_m *LiveStateCache) Invalidate()
Invalidate provides a mock function with given fields:
func (*LiveStateCache) IsNamespaced ¶
func (_m *LiveStateCache) IsNamespaced(server string, gvk schema.GroupVersionKind) (bool, error)
IsNamespaced provides a mock function with given fields: server, gvk
func (*LiveStateCache) Run ¶
func (_m *LiveStateCache) Run(ctx context.Context)
Run provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.