v1beta1

package
v0.0.0-...-0416c83 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

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 []*flowcontrolv1beta1.FlowSchema, err error)
	// Cluster returns a lister that can list and get FlowSchemas in one workspace.
	Cluster(clusterName logicalcluster.Name) flowcontrolv1beta1listers.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 []*flowcontrolv1beta1.PriorityLevelConfiguration, err error)
	// Cluster returns a lister that can list and get PriorityLevelConfigurations in one workspace.
	Cluster(clusterName logicalcluster.Name) flowcontrolv1beta1listers.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.

Jump to

Keyboard shortcuts

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