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.