package informers
import "k8s.io/client-go/informers"
Index ¶
Types ¶
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 SharedInformerFactory ¶
type SharedInformerFactory interface {
internalinterfaces.SharedInformerFactory
(resource schema.GroupVersionResource) (GenericInformer, error)
(stopCh <-chan struct{}) map[reflect.Type]bool
() admissionregistration.Interface
() apps.Interface
() autoscaling.Interface
() batch.Interface
() certificates.Interface
() core.Interface
() extensions.Interface
() networking.Interface
() policy.Interface
() rbac.Interface
() scheduling.Interface
() settings.Interface
() storage.Interface
}
SharedInformerFactory provides shared informers for resources in all known API group versions.
func NewSharedInformerFactory ¶
func NewSharedInformerFactory(client kubernetes.Interface, defaultResync time.Duration) SharedInformerFactory
NewSharedInformerFactory constructs a new instance of sharedInformerFactory
Source Files ¶
factory.go generic.go
Directories ¶
- Version
- v5.0.1+incompatible
- Published
- Oct 16, 2017
- Platform
- darwin/amd64
- Imports
- 42 packages
- Last checked
- 1 minute ago –
Tools for package owners.