Documentation
¶
Index ¶
- func NewFlowSchemaLister(indexer cache.Indexer) listersflowcontrolv1beta1.FlowSchemaLister
- func NewPriorityLevelConfigurationLister(indexer cache.Indexer) listersflowcontrolv1beta1.PriorityLevelConfigurationLister
- type FlowSchemaClusterLister
- type FlowSchemaClusterListerExpansion
- type PriorityLevelConfigurationClusterLister
- type PriorityLevelConfigurationClusterListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFlowSchemaLister ¶
func NewFlowSchemaLister(indexer cache.Indexer) listersflowcontrolv1beta1.FlowSchemaLister
NewFlowSchemaLister returns a new FlowSchemaLister. 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
func NewPriorityLevelConfigurationLister ¶
func NewPriorityLevelConfigurationLister(indexer cache.Indexer) listersflowcontrolv1beta1.PriorityLevelConfigurationLister
NewPriorityLevelConfigurationLister returns a new PriorityLevelConfigurationLister. 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 FlowSchemaClusterLister ¶
type FlowSchemaClusterLister interface {
// List lists all FlowSchemas in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*flowcontrolv1beta1.FlowSchema, err error)
// Cluster returns a lister that can list and get FlowSchemas in one workspace.
Cluster(clusterName logicalcluster.Name) listersflowcontrolv1beta1.FlowSchemaLister
FlowSchemaClusterListerExpansion
}
FlowSchemaClusterLister helps list FlowSchemas across all workspaces, or scope down to a FlowSchemaLister for one workspace. All objects returned here must be treated as read-only.
func NewFlowSchemaClusterLister ¶
func NewFlowSchemaClusterLister(indexer cache.Indexer) FlowSchemaClusterLister
NewFlowSchemaClusterLister returns a new FlowSchemaClusterLister. 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 FlowSchemaClusterListerExpansion ¶
type FlowSchemaClusterListerExpansion interface{}
FlowSchemaClusterListerExpansion allows custom methods to be added to FlowSchemaClusterLister.
type PriorityLevelConfigurationClusterLister ¶
type PriorityLevelConfigurationClusterLister interface {
// List lists all PriorityLevelConfigurations in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*flowcontrolv1beta1.PriorityLevelConfiguration, err error)
// Cluster returns a lister that can list and get PriorityLevelConfigurations in one workspace.
Cluster(clusterName logicalcluster.Name) listersflowcontrolv1beta1.PriorityLevelConfigurationLister
PriorityLevelConfigurationClusterListerExpansion
}
PriorityLevelConfigurationClusterLister helps list PriorityLevelConfigurations across all workspaces, or scope down to a PriorityLevelConfigurationLister for one workspace. All objects returned here must be treated as read-only.
func NewPriorityLevelConfigurationClusterLister ¶
func NewPriorityLevelConfigurationClusterLister(indexer cache.Indexer) PriorityLevelConfigurationClusterLister
NewPriorityLevelConfigurationClusterLister returns a new PriorityLevelConfigurationClusterLister. 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 PriorityLevelConfigurationClusterListerExpansion ¶
type PriorityLevelConfigurationClusterListerExpansion interface{}
PriorityLevelConfigurationClusterListerExpansion allows custom methods to be added to PriorityLevelConfigurationClusterLister.