Documentation
¶
Index ¶
- func NewCronJobClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredCronJobClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredJobClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewJobClusterInformer(client kcpkubernetes.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 kcpkubernetes.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 kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.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 kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.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 kcpkubernetes.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 {
// CronJobs returns a CronJobClusterInformer.
CronJobs() CronJobClusterInformer
// Jobs returns a JobClusterInformer.
Jobs() JobClusterInformer
}
func New ¶
func New(f kcpinternalinterfaces.SharedInformerFactory, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new Interface.
type CronJobClusterInformer ¶
type CronJobClusterInformer interface {
Cluster(logicalcluster.Name) batchv1.CronJobInformer
ClusterWithContext(context.Context, logicalcluster.Name) batchv1.CronJobInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1.CronJobClusterLister
}
CronJobClusterInformer provides access to a shared informer and lister for CronJobs.
type JobClusterInformer ¶
type JobClusterInformer interface {
Cluster(logicalcluster.Name) batchv1.JobInformer
ClusterWithContext(context.Context, logicalcluster.Name) batchv1.JobInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1.JobClusterLister
}
JobClusterInformer provides access to a shared informer and lister for Jobs.