v1alpha2

package
v0.32.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPodGroupLister

func NewPodGroupLister(indexer cache.Indexer) listersschedulingv1alpha2.PodGroupLister

NewPodGroupLister returns a new PodGroupLister. 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 - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewWorkloadLister

func NewWorkloadLister(indexer cache.Indexer) listersschedulingv1alpha2.WorkloadLister

NewWorkloadLister returns a new WorkloadLister. 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 - has the kcpcache.ClusterAndNamespaceIndex as an index

Types

type PodGroupClusterLister

type PodGroupClusterLister interface {
	// List lists all PodGroups in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*schedulingv1alpha2.PodGroup, err error)
	// Cluster returns a lister that can list and get PodGroups in one workspace.
	Cluster(clusterName logicalcluster.Name) listersschedulingv1alpha2.PodGroupLister
	PodGroupClusterListerExpansion
}

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

func NewPodGroupClusterLister

func NewPodGroupClusterLister(indexer cache.Indexer) PodGroupClusterLister

NewPodGroupClusterLister returns a new PodGroupClusterLister. 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 - has the kcpcache.ClusterAndNamespaceIndex as an index

type PodGroupClusterListerExpansion

type PodGroupClusterListerExpansion interface{}

PodGroupClusterListerExpansion allows custom methods to be added to PodGroupClusterLister.

type WorkloadClusterLister

type WorkloadClusterLister interface {
	// List lists all Workloads in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*schedulingv1alpha2.Workload, err error)
	// Cluster returns a lister that can list and get Workloads in one workspace.
	Cluster(clusterName logicalcluster.Name) listersschedulingv1alpha2.WorkloadLister
	WorkloadClusterListerExpansion
}

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

func NewWorkloadClusterLister

func NewWorkloadClusterLister(indexer cache.Indexer) WorkloadClusterLister

NewWorkloadClusterLister returns a new WorkloadClusterLister. 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 - has the kcpcache.ClusterAndNamespaceIndex as an index

type WorkloadClusterListerExpansion

type WorkloadClusterListerExpansion interface{}

WorkloadClusterListerExpansion allows custom methods to be added to WorkloadClusterLister.

Jump to

Keyboard shortcuts

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