v1

package
v0.30.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeviceClassLister

func NewDeviceClassLister(indexer cache.Indexer) listersresourcev1.DeviceClassLister

NewDeviceClassLister returns a new DeviceClassLister. 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 NewResourceClaimLister

func NewResourceClaimLister(indexer cache.Indexer) listersresourcev1.ResourceClaimLister

NewResourceClaimLister returns a new ResourceClaimLister. 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 NewResourceClaimTemplateLister

func NewResourceClaimTemplateLister(indexer cache.Indexer) listersresourcev1.ResourceClaimTemplateLister

NewResourceClaimTemplateLister returns a new ResourceClaimTemplateLister. 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 NewResourceSliceLister

func NewResourceSliceLister(indexer cache.Indexer) listersresourcev1.ResourceSliceLister

NewResourceSliceLister returns a new ResourceSliceLister. 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 DeviceClassClusterLister

type DeviceClassClusterLister interface {
	// List lists all DeviceClasses in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*resourcev1.DeviceClass, err error)
	// Cluster returns a lister that can list and get DeviceClasses in one workspace.
	Cluster(clusterName logicalcluster.Name) listersresourcev1.DeviceClassLister
	DeviceClassClusterListerExpansion
}

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

func NewDeviceClassClusterLister

func NewDeviceClassClusterLister(indexer cache.Indexer) DeviceClassClusterLister

NewDeviceClassClusterLister returns a new DeviceClassClusterLister. 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 DeviceClassClusterListerExpansion

type DeviceClassClusterListerExpansion interface{}

DeviceClassClusterListerExpansion allows custom methods to be added to DeviceClassClusterLister.

type ResourceClaimClusterLister

type ResourceClaimClusterLister interface {
	// List lists all ResourceClaims in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*resourcev1.ResourceClaim, err error)
	// Cluster returns a lister that can list and get ResourceClaims in one workspace.
	Cluster(clusterName logicalcluster.Name) listersresourcev1.ResourceClaimLister
	ResourceClaimClusterListerExpansion
}

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

func NewResourceClaimClusterLister

func NewResourceClaimClusterLister(indexer cache.Indexer) ResourceClaimClusterLister

NewResourceClaimClusterLister returns a new ResourceClaimClusterLister. 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 ResourceClaimClusterListerExpansion

type ResourceClaimClusterListerExpansion interface{}

ResourceClaimClusterListerExpansion allows custom methods to be added to ResourceClaimClusterLister.

type ResourceClaimTemplateClusterLister

type ResourceClaimTemplateClusterLister interface {
	// List lists all ResourceClaimTemplates in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*resourcev1.ResourceClaimTemplate, err error)
	// Cluster returns a lister that can list and get ResourceClaimTemplates in one workspace.
	Cluster(clusterName logicalcluster.Name) listersresourcev1.ResourceClaimTemplateLister
	ResourceClaimTemplateClusterListerExpansion
}

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

func NewResourceClaimTemplateClusterLister

func NewResourceClaimTemplateClusterLister(indexer cache.Indexer) ResourceClaimTemplateClusterLister

NewResourceClaimTemplateClusterLister returns a new ResourceClaimTemplateClusterLister. 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 ResourceClaimTemplateClusterListerExpansion

type ResourceClaimTemplateClusterListerExpansion interface{}

ResourceClaimTemplateClusterListerExpansion allows custom methods to be added to ResourceClaimTemplateClusterLister.

type ResourceSliceClusterLister

type ResourceSliceClusterLister interface {
	// List lists all ResourceSlices in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*resourcev1.ResourceSlice, err error)
	// Cluster returns a lister that can list and get ResourceSlices in one workspace.
	Cluster(clusterName logicalcluster.Name) listersresourcev1.ResourceSliceLister
	ResourceSliceClusterListerExpansion
}

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

func NewResourceSliceClusterLister

func NewResourceSliceClusterLister(indexer cache.Indexer) ResourceSliceClusterLister

NewResourceSliceClusterLister returns a new ResourceSliceClusterLister. 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 ResourceSliceClusterListerExpansion

type ResourceSliceClusterListerExpansion interface{}

ResourceSliceClusterListerExpansion allows custom methods to be added to ResourceSliceClusterLister.

Jump to

Keyboard shortcuts

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