v1

package
v11.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 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 LeaseLister

type LeaseLister interface {
	// List lists all Leases in the indexer.
	List(selector labels.Selector) (ret []*v1.Lease, err error)
	// Leases returns an object that can list and get Leases.
	Leases(namespace string) LeaseNamespaceLister
	LeaseListerExpansion
}

LeaseLister helps list Leases.

func NewLeaseLister

func NewLeaseLister(indexer cache.Indexer) LeaseLister

NewLeaseLister returns a new LeaseLister.

type LeaseListerExpansion

type LeaseListerExpansion interface{}

LeaseListerExpansion allows custom methods to be added to LeaseLister.

type LeaseNamespaceLister

type LeaseNamespaceLister interface {
	// List lists all Leases in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.Lease, err error)
	// Get retrieves the Lease from the indexer for a given namespace and name.
	Get(name string) (*v1.Lease, error)
	LeaseNamespaceListerExpansion
}

LeaseNamespaceLister helps list and get Leases.

type LeaseNamespaceListerExpansion

type LeaseNamespaceListerExpansion interface{}

LeaseNamespaceListerExpansion allows custom methods to be added to LeaseNamespaceLister.

Jump to

Keyboard shortcuts

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