client-gok8s.io/client-go/listers/coordination/v1beta1 Index | Files

package v1beta1

import "k8s.io/client-go/listers/coordination/v1beta1"

Index

Types

type LeaseCandidateLister

type LeaseCandidateLister interface {
	// List lists all LeaseCandidates in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*coordinationv1beta1.LeaseCandidate, err error)
	// LeaseCandidates returns an object that can list and get LeaseCandidates.
	LeaseCandidates(namespace string) LeaseCandidateNamespaceLister
	LeaseCandidateListerExpansion
}

LeaseCandidateLister helps list LeaseCandidates. All objects returned here must be treated as read-only.

func NewLeaseCandidateLister

func NewLeaseCandidateLister(indexer cache.Indexer) LeaseCandidateLister

NewLeaseCandidateLister returns a new LeaseCandidateLister.

type LeaseCandidateListerExpansion

type LeaseCandidateListerExpansion interface{}

LeaseCandidateListerExpansion allows custom methods to be added to LeaseCandidateLister.

type LeaseCandidateNamespaceLister

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

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

type LeaseCandidateNamespaceListerExpansion

type LeaseCandidateNamespaceListerExpansion interface{}

LeaseCandidateNamespaceListerExpansion allows custom methods to be added to LeaseCandidateNamespaceLister.

type LeaseLister

type LeaseLister interface {
	// List lists all Leases in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*coordinationv1beta1.Lease, err error)
	// Leases returns an object that can list and get Leases.
	Leases(namespace string) LeaseNamespaceLister
	LeaseListerExpansion
}

LeaseLister helps list Leases. All objects returned here must be treated as read-only.

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.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*coordinationv1beta1.Lease, err error)
	// Get retrieves the Lease from the indexer for a given namespace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*coordinationv1beta1.Lease, error)
	LeaseNamespaceListerExpansion
}

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

type LeaseNamespaceListerExpansion

type LeaseNamespaceListerExpansion interface{}

LeaseNamespaceListerExpansion allows custom methods to be added to LeaseNamespaceLister.

Source Files

expansion_generated.go lease.go leasecandidate.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
2 hours ago

Tools for package owners.