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

package v1alpha2

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

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 []*coordinationv1alpha2.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 []*coordinationv1alpha2.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) (*coordinationv1alpha2.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.

Source Files

expansion_generated.go leasecandidate.go

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

Tools for package owners.