Documentation
¶
Index ¶
- func NewFilteredPriorityClassClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewPriorityClassClusterInformer(client kcpkubernetes.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 kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.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 kcpkubernetes.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 kcpinternalinterfaces.SharedInformerFactory, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new Interface.
type PriorityClassClusterInformer ¶
type PriorityClassClusterInformer interface {
Cluster(logicalcluster.Name) schedulingv1alpha1.PriorityClassInformer
ClusterWithContext(context.Context, logicalcluster.Name) schedulingv1alpha1.PriorityClassInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1alpha1.PriorityClassClusterLister
}
PriorityClassClusterInformer provides access to a shared informer and lister for PriorityClasses.
Click to show internal directories.
Click to hide internal directories.