Documentation
¶
Index ¶
- func CreateSharedNamespaceIndexInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
- func CreateSharedNodeIndexInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
- func CreateSharedPVCIndexInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
- func CreateSharedPVIndexInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
- func CreateSharedPodIndexInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
- func CreateSharedPodInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
- type NamespaceInformer
- type NodeInformer
- type PVCInformer
- type PVInformer
- type PodInformer
- type SharedInformerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSharedNamespaceIndexInformer ¶
func CreateSharedNamespaceIndexInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
CreateSharedNamespaceIndexInformer returns a SharedIndexInformer that lists and watches namespaces
func CreateSharedNodeIndexInformer ¶
func CreateSharedNodeIndexInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
CreateSharedNodeIndexInformer returns a SharedIndexInformer that lists and watches all nodes
func CreateSharedPVCIndexInformer ¶
func CreateSharedPVCIndexInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
CreateSharedPVCIndexInformer returns a SharedIndexInformer that lists and watches all PVCs
func CreateSharedPVIndexInformer ¶
func CreateSharedPVIndexInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
CreateSharedPVIndexInformer returns a SharedIndexInformer that lists and watches all PVs
func CreateSharedPodIndexInformer ¶
func CreateSharedPodIndexInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
CreateSharedPodIndexInformer returns a SharedIndexInformer that lists and watches all pods
func CreateSharedPodInformer ¶
func CreateSharedPodInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
CreateSharedPodInformer returns a SharedIndexInformer that lists and watches all pods
Types ¶
type NamespaceInformer ¶
type NamespaceInformer interface {
Informer() framework.SharedIndexInformer
Lister() *cache.IndexerToNamespaceLister
}
NamespaceInformer is type of SharedIndexInformer which watches and lists all namespaces. Interface provides constructor for informer and lister for namsespaces
type NodeInformer ¶
type NodeInformer interface {
Informer() framework.SharedIndexInformer
Lister() *cache.StoreToNodeLister
}
NodeInformer is type of SharedIndexInformer which watches and lists all nodes. Interface provides constructor for informer and lister for nodes
type PVCInformer ¶
type PVCInformer interface {
Informer() framework.SharedIndexInformer
Lister() *cache.StoreToPVCFetcher
}
PVCInformer is type of SharedIndexInformer which watches and lists all persistent volume claims. Interface provides constructor for informer and lister for persistent volume claims
type PVInformer ¶
type PVInformer interface {
Informer() framework.SharedIndexInformer
Lister() *cache.StoreToPVFetcher
}
PVInformer is type of SharedIndexInformer which watches and lists all persistent volumes. Interface provides constructor for informer and lister for persistent volumes
type PodInformer ¶
type PodInformer interface {
Informer() framework.SharedIndexInformer
Lister() *cache.StoreToPodLister
}
PodInformer is type of SharedIndexInformer which watches and lists all pods. Interface provides constructor for informer and lister for pods
type SharedInformerFactory ¶
type SharedInformerFactory interface {
Start(stopCh <-chan struct{})
}
SharedInformerFactory provides interface which holds unique informers for pods, nodes, namespaces, persistent volume claims and persistent volumes
func NewSharedInformerFactory ¶
func NewSharedInformerFactory(client clientset.Interface, defaultResync time.Duration) SharedInformerFactory
NewSharedInformerFactory constructs a new instance of sharedInformerFactory