Documentation ¶
Index ¶
- func NewEventClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredEventClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type EventClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventClusterInformer ¶
func NewEventClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewEventClusterInformer constructs a new informer for Event type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewFilteredEventClusterInformer ¶
func NewFilteredEventClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredEventClusterInformer constructs a new informer for Event type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
Types ¶
type ClusterInterface ¶
type ClusterInterface interface { // Events returns a EventClusterInformer Events() EventClusterInformer }
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type EventClusterInformer ¶
type EventClusterInformer interface { Cluster(logicalcluster.Name) upstreameventsv1beta1informers.EventInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() eventsv1beta1listers.EventClusterLister }
EventClusterInformer provides access to a shared informer and lister for Events.
Click to show internal directories.
Click to hide internal directories.