package v1alpha1
import "k8s.io/client-go/informers/scheduling/v1alpha1"
Index ¶
- func NewPriorityClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
- type Interface
- type PriorityClassInformer
Functions ¶
func NewPriorityClassInformer ¶
func NewPriorityClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewPriorityClassInformer 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 Interface ¶
type Interface interface { // PriorityClasses returns a PriorityClassInformer. PriorityClasses() PriorityClassInformer }
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory) Interface
New returns a new Interface.
type PriorityClassInformer ¶
type PriorityClassInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.PriorityClassLister }
PriorityClassInformer provides access to a shared informer and lister for PriorityClasses.
Source Files ¶
interface.go priorityclass.go
- Version
- v5.0.1+incompatible
- Published
- Oct 16, 2017
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 2 hours ago –
Tools for package owners.