client-gok8s.io/client-go/informers/scheduling/v1alpha1 Index | Files

package v1alpha1

import "k8s.io/client-go/informers/scheduling/v1alpha1"

Index

Functions

func NewFilteredPriorityClassInformer

func NewFilteredPriorityClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredPriorityClassInformer 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 NewFilteredWorkloadInformer

func NewFilteredWorkloadInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredWorkloadInformer constructs a new informer for Workload 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 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.

func NewWorkloadInformer

func NewWorkloadInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewWorkloadInformer constructs a new informer for Workload 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
	// Workloads returns a WorkloadInformer.
	Workloads() WorkloadInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

type PriorityClassInformer

type PriorityClassInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() schedulingv1alpha1.PriorityClassLister
}

PriorityClassInformer provides access to a shared informer and lister for PriorityClasses.

type WorkloadInformer

type WorkloadInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() schedulingv1alpha1.WorkloadLister
}

WorkloadInformer provides access to a shared informer and lister for Workloads.

Source Files

interface.go priorityclass.go workload.go

Version
v0.35.4
Published
Apr 15, 2026
Platform
linux/amd64
Imports
10 packages
Last checked
3 minutes ago

Tools for package owners.