Documentation
¶
Index ¶
- func NewCronJobClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredCronJobClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredJobClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewJobClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type CronJobClusterInformer
- type JobClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCronJobClusterInformer ¶
func NewCronJobClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewCronJobClusterInformer constructs a new informer for CronJob 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 NewFilteredCronJobClusterInformer ¶
func NewFilteredCronJobClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredCronJobClusterInformer constructs a new informer for CronJob 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 NewFilteredJobClusterInformer ¶
func NewFilteredJobClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredJobClusterInformer constructs a new informer for Job 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 NewJobClusterInformer ¶
func NewJobClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewJobClusterInformer constructs a new informer for Job 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 ClusterInterface ¶
type ClusterInterface interface { // Jobs returns a JobClusterInformer Jobs() JobClusterInformer // CronJobs returns a CronJobClusterInformer CronJobs() CronJobClusterInformer }
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type CronJobClusterInformer ¶
type CronJobClusterInformer interface { Cluster(logicalcluster.Name) upstreambatchv1informers.CronJobInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() batchv1listers.CronJobClusterLister }
CronJobClusterInformer provides access to a shared informer and lister for CronJobs.
type JobClusterInformer ¶
type JobClusterInformer interface { Cluster(logicalcluster.Name) upstreambatchv1informers.JobInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() batchv1listers.JobClusterLister }
JobClusterInformer provides access to a shared informer and lister for Jobs.