Documentation ¶
Index ¶
- func NewFilteredPriorityClassClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewPriorityClassClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type PriorityClassClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredPriorityClassClusterInformer ¶
func NewFilteredPriorityClassClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredPriorityClassClusterInformer constructs a new informer for PriorityClass 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 NewPriorityClassClusterInformer ¶
func NewPriorityClassClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewPriorityClassClusterInformer constructs a new informer for PriorityClass 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 { // PriorityClasses returns a PriorityClassClusterInformer PriorityClasses() PriorityClassClusterInformer }
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type PriorityClassClusterInformer ¶
type PriorityClassClusterInformer interface { Cluster(logicalcluster.Name) upstreamschedulingv1alpha1informers.PriorityClassInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() schedulingv1alpha1listers.PriorityClassClusterLister }
PriorityClassClusterInformer provides access to a shared informer and lister for PriorityClasses.