Documentation ¶
Index ¶
- type ClusterCache
- func (_m *ClusterCache) EnsureSynced() error
- func (_m *ClusterCache) GetAPIGroups() []v1.APIGroup
- func (_m *ClusterCache) GetClusterInfo() cache.ClusterInfo
- func (_m *ClusterCache) GetManagedLiveObjs(targetObjs []*unstructured.Unstructured, isManaged func(*cache.Resource) bool) (map[kube.ResourceKey]*unstructured.Unstructured, error)
- func (_m *ClusterCache) GetNamespaceTopLevelResources(namespace string) map[kube.ResourceKey]*cache.Resource
- func (_m *ClusterCache) GetServerVersion() string
- func (_m *ClusterCache) Invalidate(...)
- func (_m *ClusterCache) IsNamespaced(gk schema.GroupKind) (bool, error)
- func (_m *ClusterCache) IterateHierarchy(key kube.ResourceKey, ...)
- func (_m *ClusterCache) OnEvent(handler cache.OnEventHandler) cache.Unsubscribe
- func (_m *ClusterCache) OnResourceUpdated(handler cache.OnResourceUpdatedHandler) cache.Unsubscribe
- func (_m *ClusterCache) SetPopulateResourceInfoHandler(handler cache.OnPopulateResourceInfoHandler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterCache ¶
ClusterCache is an autogenerated mock type for the ClusterCache type
func (*ClusterCache) EnsureSynced ¶
func (_m *ClusterCache) EnsureSynced() error
EnsureSynced provides a mock function with given fields:
func (*ClusterCache) GetAPIGroups ¶
func (_m *ClusterCache) GetAPIGroups() []v1.APIGroup
GetAPIGroups provides a mock function with given fields:
func (*ClusterCache) GetClusterInfo ¶
func (_m *ClusterCache) GetClusterInfo() cache.ClusterInfo
GetClusterInfo provides a mock function with given fields:
func (*ClusterCache) GetManagedLiveObjs ¶
func (_m *ClusterCache) GetManagedLiveObjs(targetObjs []*unstructured.Unstructured, isManaged func(*cache.Resource) bool) (map[kube.ResourceKey]*unstructured.Unstructured, error)
GetManagedLiveObjs provides a mock function with given fields: targetObjs, isManaged
func (*ClusterCache) GetNamespaceTopLevelResources ¶
func (_m *ClusterCache) GetNamespaceTopLevelResources(namespace string) map[kube.ResourceKey]*cache.Resource
GetNamespaceTopLevelResources provides a mock function with given fields: namespace
func (*ClusterCache) GetServerVersion ¶
func (_m *ClusterCache) GetServerVersion() string
GetServerVersion provides a mock function with given fields:
func (*ClusterCache) Invalidate ¶
func (_m *ClusterCache) Invalidate(settingsCallback func(*rest.Config, []string, cache.Settings) (*rest.Config, []string, cache.Settings))
Invalidate provides a mock function with given fields: settingsCallback
func (*ClusterCache) IsNamespaced ¶
func (_m *ClusterCache) IsNamespaced(gk schema.GroupKind) (bool, error)
IsNamespaced provides a mock function with given fields: gk
func (*ClusterCache) IterateHierarchy ¶
func (_m *ClusterCache) IterateHierarchy(key kube.ResourceKey, action func(*cache.Resource, map[kube.ResourceKey]*cache.Resource))
IterateHierarchy provides a mock function with given fields: key, action
func (*ClusterCache) OnEvent ¶
func (_m *ClusterCache) OnEvent(handler cache.OnEventHandler) cache.Unsubscribe
OnEvent provides a mock function with given fields: handler
func (*ClusterCache) OnResourceUpdated ¶
func (_m *ClusterCache) OnResourceUpdated(handler cache.OnResourceUpdatedHandler) cache.Unsubscribe
OnResourceUpdated provides a mock function with given fields: handler
func (*ClusterCache) SetPopulateResourceInfoHandler ¶
func (_m *ClusterCache) SetPopulateResourceInfoHandler(handler cache.OnPopulateResourceInfoHandler)
SetPopulateResourceInfoHandler provides a mock function with given fields: handler