client-go: k8s.io/client-go/listers/batch/v1 Index | Files

package v1

import "k8s.io/client-go/listers/batch/v1"

Index

Package Files

expansion_generated.go job.go job_expansion.go

type JobLister Uses

type JobLister interface {
    // List lists all Jobs in the indexer.
    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.

func NewJobLister Uses

func NewJobLister(indexer cache.Indexer) JobLister

NewJobLister returns a new JobLister.

type JobListerExpansion Uses

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 Uses

type JobNamespaceLister interface {
    // List lists all Jobs in the indexer for a given namespace.
    List(selector labels.Selector) (ret []*v1.Job, err error)
    // Get retrieves the Job from the indexer for a given namespace and name.
    Get(name string) (*v1.Job, error)
    JobNamespaceListerExpansion
}

JobNamespaceLister helps list and get Jobs.

type JobNamespaceListerExpansion Uses

type JobNamespaceListerExpansion interface{}

JobNamespaceListerExpansion allows custom methods to be added to JobNamespaceLister.

Package v1 imports 7 packages (graph) and is imported by 13 packages. Updated 2018-03-25. Refresh now. Tools for package owners.