Documentation ¶
Index ¶
- func NewNamespaceInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
- func NewNodeInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
- func NewPVCInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
- func NewPVInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
- func NewPodInformer(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 NewNamespaceInformer ¶ added in v1.4.0
func NewNamespaceInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
NewNamespaceInformer returns a SharedIndexInformer that lists and watches namespaces
func NewNodeInformer ¶ added in v1.4.0
func NewNodeInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
NewNodeInformer returns a SharedIndexInformer that lists and watches all nodes
func NewPVCInformer ¶ added in v1.4.0
func NewPVCInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
NewPVCInformer returns a SharedIndexInformer that lists and watches all PVCs
func NewPVInformer ¶ added in v1.4.0
func NewPVInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
NewPVInformer returns a SharedIndexInformer that lists and watches all PVs
func NewPodInformer ¶ added in v1.4.0
func NewPodInformer(client clientset.Interface, resyncPeriod time.Duration) framework.SharedIndexInformer
NewPodInformer returns a SharedIndexInformer that lists and watches all pods
Types ¶
type NamespaceInformer ¶ added in v1.4.0
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 ¶ added in v1.4.0
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 ¶ added in v1.4.0
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 ¶ added in v1.4.0
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 ¶ added in v1.4.0
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 ¶ added in v1.4.0
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 ¶ added in v1.4.0
func NewSharedInformerFactory(client clientset.Interface, defaultResync time.Duration) SharedInformerFactory
NewSharedInformerFactory constructs a new instance of sharedInformerFactory