internalversion

package
v0.0.0-...-cf23810 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronJobLister

type CronJobLister interface {
	// List lists all CronJobs in the indexer.
	List(selector labels.Selector) (ret []*batch.CronJob, err error)
	// CronJobs returns an object that can list and get CronJobs.
	CronJobs(namespace string) CronJobNamespaceLister
	CronJobListerExpansion
}

CronJobLister helps list CronJobs.

func NewCronJobLister

func NewCronJobLister(indexer cache.Indexer) CronJobLister

NewCronJobLister returns a new CronJobLister.

type CronJobListerExpansion

type CronJobListerExpansion interface{}

CronJobListerExpansion allows custom methods to be added to CronJobLister.

type CronJobNamespaceLister

type CronJobNamespaceLister interface {
	// List lists all CronJobs in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*batch.CronJob, err error)
	// Get retrieves the CronJob from the indexer for a given namespace and name.
	Get(name string) (*batch.CronJob, error)
	CronJobNamespaceListerExpansion
}

CronJobNamespaceLister helps list and get CronJobs.

type CronJobNamespaceListerExpansion

type CronJobNamespaceListerExpansion interface{}

CronJobNamespaceListerExpansion allows custom methods to be added to CronJobNamespaceLister.

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
	JobListerExpansion
}

JobLister helps list Jobs.

func NewJobLister

func NewJobLister(indexer cache.Indexer) JobLister

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 *api.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.
	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)
	JobNamespaceListerExpansion
}

JobNamespaceLister helps list and get Jobs.

type JobNamespaceListerExpansion

type JobNamespaceListerExpansion interface{}

JobNamespaceListerExpansion allows custom methods to be added to JobNamespaceLister.

Jump to

Keyboard shortcuts

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