v1

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: Apache-2.0 Imports: 4 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskLister

type TaskLister interface {
	// List lists all Tasks in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.Task, err error)
	// Tasks returns an object that can list and get Tasks.
	Tasks(namespace string) TaskNamespaceLister
	TaskListerExpansion
}

TaskLister helps list Tasks. All objects returned here must be treated as read-only.

func NewTaskLister

func NewTaskLister(indexer cache.Indexer) TaskLister

NewTaskLister returns a new TaskLister.

type TaskListerExpansion

type TaskListerExpansion interface{}

TaskListerExpansion allows custom methods to be added to TaskLister.

type TaskNamespaceLister

type TaskNamespaceLister interface {
	// List lists all Tasks in the indexer for a given namespace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.Task, err error)
	// Get retrieves the Task from the indexer for a given namespace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*v1.Task, error)
	TaskNamespaceListerExpansion
}

TaskNamespaceLister helps list and get Tasks. All objects returned here must be treated as read-only.

type TaskNamespaceListerExpansion

type TaskNamespaceListerExpansion interface{}

TaskNamespaceListerExpansion allows custom methods to be added to TaskNamespaceLister.

Jump to

Keyboard shortcuts

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