Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SharedInformerCache ¶
type SharedInformerCache interface { // GetNode returns the node info if present in the cache. GetNode(nodeName string) (*corev1.Node, error) WatchPods(fn func(object interface{})) error GetPersistentVolumeClaim(pvcName string, namespace string) (*corev1.PersistentVolumeClaim, error) }
SharedInformerCache is an eventually consistent cache. The cache interface provides APIs to fetch specific k8s objects from the cache. Only a subset of k8s objects are currently managed by this cache. DO NOT USE it when you need the latest and accurate copy of a CR.
func Instance ¶
func Instance() SharedInformerCache
Click to show internal directories.
Click to hide internal directories.