v1alpha1

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 4 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FooLister

type FooLister interface {
	// List lists all Foos in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1alpha1.Foo, err error)
	// Foos returns an object that can list and get Foos.
	Foos(namespace string) FooNamespaceLister
	FooListerExpansion
}

FooLister helps list Foos. All objects returned here must be treated as read-only.

func NewFooLister

func NewFooLister(indexer cache.Indexer) FooLister

NewFooLister returns a new FooLister.

type FooListerExpansion

type FooListerExpansion interface{}

FooListerExpansion allows custom methods to be added to FooLister.

type FooNamespaceLister

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

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

type FooNamespaceListerExpansion

type FooNamespaceListerExpansion interface{}

FooNamespaceListerExpansion allows custom methods to be added to FooNamespaceLister.

Jump to

Keyboard shortcuts

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