v1

package
v0.29.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL