v1alpha3

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeviceTaintRuleLister

func NewDeviceTaintRuleLister(indexer cache.Indexer) listersresourcev1alpha3.DeviceTaintRuleLister

NewDeviceTaintRuleLister returns a new DeviceTaintRuleLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

Types

type DeviceTaintRuleClusterLister

type DeviceTaintRuleClusterLister interface {
	// List lists all DeviceTaintRules in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*resourcev1alpha3.DeviceTaintRule, err error)
	// Cluster returns a lister that can list and get DeviceTaintRules in one workspace.
	Cluster(clusterName logicalcluster.Name) listersresourcev1alpha3.DeviceTaintRuleLister
	DeviceTaintRuleClusterListerExpansion
}

DeviceTaintRuleClusterLister helps list DeviceTaintRules across all workspaces, or scope down to a DeviceTaintRuleLister for one workspace. All objects returned here must be treated as read-only.

func NewDeviceTaintRuleClusterLister

func NewDeviceTaintRuleClusterLister(indexer cache.Indexer) DeviceTaintRuleClusterLister

NewDeviceTaintRuleClusterLister returns a new DeviceTaintRuleClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

type DeviceTaintRuleClusterListerExpansion

type DeviceTaintRuleClusterListerExpansion interface{}

DeviceTaintRuleClusterListerExpansion allows custom methods to be added to DeviceTaintRuleClusterLister.

Jump to

Keyboard shortcuts

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