package internalversion

import "k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/scheduling/internalversion"

Index

Functions

func NewPriorityClassInformer

func NewPriorityClassInformer(client internalclientset.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

New returns a new Interface.

type PriorityClassInformer

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

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

Source Files

interface.go priorityclass.go

Version
v1.8.0
Published
Sep 28, 2017
Platform
darwin/amd64
Imports
9 packages
Last checked
22 seconds ago

Tools for package owners.