Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCronJobClusterLister ¶
NewCronJobClusterLister returns a new CronJobClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index
Types ¶
type CronJobClusterLister ¶
type CronJobClusterLister interface { // List lists all CronJobs in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*batchv1beta1.CronJob, err error) // Cluster returns a lister that can list and get CronJobs in one workspace. Cluster(clusterName logicalcluster.Name) batchv1beta1listers.CronJobLister CronJobClusterListerExpansion }
CronJobClusterLister can list CronJobs across all workspaces, or scope down to a CronJobLister for one workspace. All objects returned here must be treated as read-only.
type CronJobClusterListerExpansion ¶
type CronJobClusterListerExpansion interface{}
CronJobClusterListerExpansion allows custom methods to be added to CronJobClusterLister.
Click to show internal directories.
Click to hide internal directories.