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)

Source Files