Documentation
¶
Index ¶
- func NewFilteredPodGroupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredQueueInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewPodGroupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewQueueInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type Interface
- type PodGroupInformer
- type QueueInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredPodGroupInformer ¶
func NewFilteredPodGroupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredPodGroupInformer constructs a new informer for PodGroup 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 NewFilteredQueueInformer ¶
func NewFilteredQueueInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredQueueInformer constructs a new informer for Queue 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 NewPodGroupInformer ¶
func NewPodGroupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewPodGroupInformer constructs a new informer for PodGroup 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 NewQueueInformer ¶
func NewQueueInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewQueueInformer constructs a new informer for Queue 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 {
// PodGroups returns a PodGroupInformer.
PodGroups() PodGroupInformer
// Queues returns a QueueInformer.
Queues() QueueInformer
}
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.
type PodGroupInformer ¶
type PodGroupInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1alpha2.PodGroupLister
}
PodGroupInformer provides access to a shared informer and lister for PodGroups.
type QueueInformer ¶
type QueueInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1alpha2.QueueLister
}
QueueInformer provides access to a shared informer and lister for Queues.