v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1alpha1.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

func NewJobLister(indexer cache.Indexer) JobLister

NewJobLister returns a new JobLister.

type JobListerExpansion

type JobListerExpansion interface{}

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 []*v1alpha1.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) (*v1alpha1.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.

Jump to

Keyboard shortcuts

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