Documentation ¶
Index ¶
- func NewQueueJobInformer(client *rest.RESTClient, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewSchedulingSpecInformer(client *rest.RESTClient, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewXQueueJobInformer(client *rest.RESTClient, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type Interface
- type QueueJobInformer
- type SchedulingSpecInformer
- type XQueueJobInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQueueJobInformer ¶
func NewQueueJobInformer(client *rest.RESTClient, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewQueueJobInformer constructs a new informer for QueueJob 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 NewSchedulingSpecInformer ¶
func NewSchedulingSpecInformer(client *rest.RESTClient, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewSchedulingSpecInformer 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 NewXQueueJobInformer ¶
func NewXQueueJobInformer(client *rest.RESTClient, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewXQueueJobInformer constructs a new informer for QueueJob 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 { // SchedulingSpecs returns a SchedulingSpecInformer. SchedulingSpecs() SchedulingSpecInformer // QueueJobs returns a QueueJobInformer. QueueJobs() QueueJobInformer XQueueJobs() XQueueJobInformer }
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 QueueJobInformer ¶
type QueueJobInformer interface { Informer() cache.SharedIndexInformer Lister() v1.QueueJobLister }
QueueJobInformer provides access to a shared informer and lister for QueueJobs.
type SchedulingSpecInformer ¶
type SchedulingSpecInformer interface { Informer() cache.SharedIndexInformer Lister() v1.SchedulingSpecLister }
SchedulingSpecInformer provides access to a shared informer and lister for Queues.
type XQueueJobInformer ¶
type XQueueJobInformer interface { Informer() cache.SharedIndexInformer Lister() v1.XQueueJobLister }
XQueueJobInformer provides access to a shared informer and lister for QueueJobs.