Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobLister ¶
type JobLister interface { // List lists all Jobs in the indexer. List(selector labels.Selector) (ret []*batch.Job, err error) // Jobs returns an object that can list and get Jobs. Jobs(namespace string) JobNamespaceLister }
JobLister helps list Jobs.
func NewJobLister ¶
NewJobLister returns a new JobLister.
type JobNamespaceLister ¶
type JobNamespaceLister interface { // List lists all Jobs in the indexer for a given namespace. List(selector labels.Selector) (ret []*batch.Job, err error) // Get retrieves the Job from the indexer for a given namespace and name. Get(name string) (*batch.Job, error) }
JobNamespaceLister helps list and get Jobs.
type ScheduledJobLister ¶
type ScheduledJobLister interface { // List lists all ScheduledJobs in the indexer. List(selector labels.Selector) (ret []*batch.ScheduledJob, err error) // ScheduledJobs returns an object that can list and get ScheduledJobs. ScheduledJobs(namespace string) ScheduledJobNamespaceLister }
ScheduledJobLister helps list ScheduledJobs.
func NewScheduledJobLister ¶
func NewScheduledJobLister(indexer cache.Indexer) ScheduledJobLister
NewScheduledJobLister returns a new ScheduledJobLister.
type ScheduledJobNamespaceLister ¶
type ScheduledJobNamespaceLister interface { // List lists all ScheduledJobs in the indexer for a given namespace. List(selector labels.Selector) (ret []*batch.ScheduledJob, err error) // Get retrieves the ScheduledJob from the indexer for a given namespace and name. Get(name string) (*batch.ScheduledJob, error) }
ScheduledJobNamespaceLister helps list and get ScheduledJobs.
Click to show internal directories.
Click to hide internal directories.