v1alpha1

package
v0.0.0-...-0416c83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL