Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronJobLister ¶ added in v0.21.0
type CronJobLister interface {
// List lists all CronJobs in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*v1.CronJob, err error)
// CronJobs returns an object that can list and get CronJobs.
CronJobs(namespace string) CronJobNamespaceLister
CronJobListerExpansion
}
CronJobLister helps list CronJobs. All objects returned here must be treated as read-only.
func NewCronJobLister ¶ added in v0.21.0
func NewCronJobLister(indexer cache.Indexer) CronJobLister
NewCronJobLister returns a new CronJobLister.
type CronJobListerExpansion ¶ added in v0.21.0
type CronJobListerExpansion interface{}
CronJobListerExpansion allows custom methods to be added to CronJobLister.
type CronJobNamespaceLister ¶ added in v0.21.0
type CronJobNamespaceLister interface {
// List lists all CronJobs in the indexer for a given namespace.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*v1.CronJob, err error)
// Get retrieves the CronJob from the indexer for a given namespace and name.
// Objects returned here must be treated as read-only.
Get(name string) (*v1.CronJob, error)
CronJobNamespaceListerExpansion
}
CronJobNamespaceLister helps list and get CronJobs. All objects returned here must be treated as read-only.
type CronJobNamespaceListerExpansion ¶ added in v0.21.0
type CronJobNamespaceListerExpansion interface{}
CronJobNamespaceListerExpansion allows custom methods to be added to CronJobNamespaceLister.
type JobLister ¶
type JobLister interface {
// List lists all Jobs in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*v1.Job, err error)
// Jobs returns an object that can list and get Jobs.
Jobs(namespace string) JobNamespaceLister
JobListerExpansion
}
JobLister helps list Jobs. All objects returned here must be treated as read-only.
func NewJobLister ¶
NewJobLister returns a new JobLister.
type JobListerExpansion ¶
type JobListerExpansion interface {
// GetPodJobs returns a list of Jobs that potentially
// match a Pod. Only the one specified in the Pod's ControllerRef
// will actually manage it.
// Returns an error only if no matching Jobs are found.
GetPodJobs(pod *v1.Pod) (jobs []batch.Job, err error)
}
JobListerExpansion allows custom methods to be added to JobLister.
type JobNamespaceLister ¶
type JobNamespaceLister interface {
// List lists all Jobs in the indexer for a given namespace.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*v1.Job, err error)
// Get retrieves the Job from the indexer for a given namespace and name.
// Objects returned here must be treated as read-only.
Get(name string) (*v1.Job, error)
JobNamespaceListerExpansion
}
JobNamespaceLister helps list and get Jobs. All objects returned here must be treated as read-only.
type JobNamespaceListerExpansion ¶
type JobNamespaceListerExpansion interface{}
JobNamespaceListerExpansion allows custom methods to be added to JobNamespaceLister.