package informers
import "k8s.io/kubernetes/pkg/controller/informers"
Index ¶
- func NewJobInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
- func NewLimitRangeInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
- 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
- func NewServiceAccountInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
- type ClusterRoleBindingInformer
- type ClusterRoleInformer
- type DaemonSetInformer
- type DeploymentInformer
- type GenericInformer
- type JobInformer
- type LimitRangeInformer
- type NamespaceInformer
- type NodeInformer
- type PVCInformer
- type PVInformer
- type PodInformer
- type ReplicaSetInformer
- type RoleBindingInformer
- type RoleInformer
- type ServiceAccountInformer
- type SharedInformerFactory
- type StorageClassInformer
Functions ¶
func NewJobInformer ¶
func NewJobInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
NewJobInformer returns a SharedIndexInformer that lists and watches all jobs
func NewLimitRangeInformer ¶
func NewLimitRangeInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
NewLimitRangeInformer returns a SharedIndexInformer that lists and watches all LimitRanges
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
func NewServiceAccountInformer ¶
func NewServiceAccountInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer
NewServiceAccountInformer returns a SharedIndexInformer that lists and watches all ServiceAccounts
Types ¶
type ClusterRoleBindingInformer ¶
type ClusterRoleBindingInformer interface { Informer() cache.SharedIndexInformer Lister() cache.ClusterRoleBindingLister }
type ClusterRoleInformer ¶
type ClusterRoleInformer interface { Informer() cache.SharedIndexInformer Lister() cache.ClusterRoleLister }
type DaemonSetInformer ¶
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 ¶
type DeploymentInformer interface { Informer() cache.SharedIndexInformer Lister() *cache.StoreToDeploymentLister }
DeploymentInformer is a type of SharedIndexInformer which watches and lists all deployments.
type GenericInformer ¶
type GenericInformer interface { Informer() cache.SharedIndexInformer Lister() cache.GenericLister }
GenericInformer is type of SharedIndexInformer which will locate and delegate to other sharedInformers based on type
type JobInformer ¶
type JobInformer interface { Informer() cache.SharedIndexInformer Lister() batchinternallisters.JobLister }
JobInformer is type of SharedIndexInformer which watches and lists all jobs. Interface provides constructor for informer and lister for jobs
type LimitRangeInformer ¶
type LimitRangeInformer interface { Informer() cache.SharedIndexInformer Lister() coreinternallisters.LimitRangeLister }
LimitRangeInformer is type of SharedIndexInformer which watches and lists all limit ranges. Interface provides constructor for informer and lister for limit ranges.
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.StoreToPersistentVolumeClaimLister }
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 ¶
type ReplicaSetInformer interface { Informer() cache.SharedIndexInformer Lister() *cache.StoreToReplicaSetLister }
ReplicaSetInformer is a type of SharedIndexInformer which watches and lists all replicasets.
type RoleBindingInformer ¶
type RoleBindingInformer interface { Informer() cache.SharedIndexInformer Lister() cache.RoleBindingLister }
type RoleInformer ¶
type RoleInformer interface { Informer() cache.SharedIndexInformer Lister() cache.RoleLister }
type ServiceAccountInformer ¶
type ServiceAccountInformer interface { Informer() cache.SharedIndexInformer Lister() *cache.StoreToServiceAccountLister }
ServiceAccountInformer is type of SharedIndexInformer which watches and lists all ServiceAccounts. Interface provides constructor for informer and lister for ServiceAccounts
type SharedInformerFactory ¶
type SharedInformerFactory interface { // Start starts informers that can start AFTER the API server and controllers have started (stopCh <-chan struct{}) (unversioned.GroupResource) (GenericInformer, error) () PodInformer () LimitRangeInformer () NamespaceInformer () NodeInformer () PVCInformer () PVInformer () ServiceAccountInformer () DaemonSetInformer () DeploymentInformer () ReplicaSetInformer () ClusterRoleBindingInformer () ClusterRoleInformer () RoleBindingInformer () RoleInformer () StorageClassInformer () JobInformer }
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
type StorageClassInformer ¶
type StorageClassInformer interface { Informer() cache.SharedIndexInformer Lister() cache.StorageClassLister }
StorageClassInformer is type of SharedIndexInformer which watches and lists all storage classes. Interface provides constructor for informer and lister for storage classes
Source Files ¶
batch.go core.go extensions.go factory.go generic.go rbac.go storage.go
- Version
- v1.5.4
- Published
- Mar 7, 2017
- Platform
- js/wasm
- Imports
- 16 packages
- Last checked
- 2 minutes ago –
Tools for package owners.