client-go: Index | Files

package v1

import ""


Package Files

expansion_generated.go lease.go

type LeaseLister Uses

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

LeaseLister helps list Leases.

func NewLeaseLister Uses

func NewLeaseLister(indexer cache.Indexer) LeaseLister

NewLeaseLister returns a new LeaseLister.

type LeaseListerExpansion Uses

type LeaseListerExpansion interface{}

LeaseListerExpansion allows custom methods to be added to LeaseLister.

type LeaseNamespaceLister Uses

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)

LeaseNamespaceLister helps list and get Leases.

type LeaseNamespaceListerExpansion Uses

type LeaseNamespaceListerExpansion interface{}

LeaseNamespaceListerExpansion allows custom methods to be added to LeaseNamespaceLister.

Package v1 imports 4 packages (graph) and is imported by 8 packages. Updated 2019-03-18. Refresh now. Tools for package owners.