Documentation ¶
Index ¶
- func NewNamespaceInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
- func NewNodeInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
- func NewPVCInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
- func NewPVInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
- func NewPodInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
- type DaemonSetInformer
- type DeploymentInformer
- type NamespaceInformer
- type NodeInformer
- type PVCInformer
- type PVInformer
- type PodInformer
- type ReplicaSetInformer
- type SharedInformerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNamespaceInformer ¶
func NewNamespaceInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
NewNamespaceInformer returns a SharedIndexInformer that lists and watches namespaces
func NewNodeInformer ¶
func NewNodeInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
NewNodeInformer returns a SharedIndexInformer that lists and watches all nodes
func NewPVCInformer ¶
func NewPVCInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
NewPVCInformer returns a SharedIndexInformer that lists and watches all PVCs
func NewPVInformer ¶
func NewPVInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
NewPVInformer returns a SharedIndexInformer that lists and watches all PVs
func NewPodInformer ¶
func NewPodInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
NewPodInformer returns a SharedIndexInformer that lists and watches all pods
Types ¶
type DaemonSetInformer ¶ added in v1.5.0
type DaemonSetInformer interface { Informer() cache.SharedIndexInformer Lister() *cache.StoreToDaemonSetLister }
DaemonSetInformer is type of SharedIndexInformer which watches and lists all pods. Interface provides constructor for informer and lister for pods
type DeploymentInformer ¶ added in v1.5.0
type DeploymentInformer interface { Informer() cache.SharedIndexInformer Lister() *cache.StoreToDeploymentLister }
DeploymentInformer is a type of SharedIndexInformer which watches and lists all deployments.
type NamespaceInformer ¶
type NamespaceInformer interface { Informer() cache.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() cache.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() cache.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() cache.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() cache.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 ReplicaSetInformer ¶ added in v1.5.0
type ReplicaSetInformer interface { Informer() cache.SharedIndexInformer Lister() *cache.StoreToReplicaSetLister }
ReplicaSetInformer is a type of SharedIndexInformer which watches and lists all replicasets.
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