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