lister

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lister

type Lister struct {
	// contains filtered or unexported fields
}

func New

func New(groupResource schema.GroupResource, indexer cache.Indexer) *Lister

func (*Lister) Get

func (l *Lister) Get(namespace, name string) (*unstructured.Unstructured, error)

func (*Lister) List

func (l *Lister) List(selector labels.Selector) (ret []*unstructured.Unstructured, err error)

func (*Lister) ListNamespace

func (l *Lister) ListNamespace(namespace string, selector labels.Selector) (ret []*unstructured.Unstructured, err error)

Jump to

Keyboard shortcuts

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