Documentation
¶
Index ¶
- func NewDeviceClassLister(indexer cache.Indexer) listersresourcev1beta2.DeviceClassLister
- func NewResourceClaimLister(indexer cache.Indexer) listersresourcev1beta2.ResourceClaimLister
- func NewResourceClaimTemplateLister(indexer cache.Indexer) listersresourcev1beta2.ResourceClaimTemplateLister
- func NewResourceSliceLister(indexer cache.Indexer) listersresourcev1beta2.ResourceSliceLister
- type DeviceClassClusterLister
- type DeviceClassClusterListerExpansion
- type ResourceClaimClusterLister
- type ResourceClaimClusterListerExpansion
- type ResourceClaimTemplateClusterLister
- type ResourceClaimTemplateClusterListerExpansion
- type ResourceSliceClusterLister
- type ResourceSliceClusterListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeviceClassLister ¶
func NewDeviceClassLister(indexer cache.Indexer) listersresourcev1beta2.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) listersresourcev1beta2.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) listersresourcev1beta2.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) listersresourcev1beta2.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 []*resourcev1beta2.DeviceClass, err error)
// Cluster returns a lister that can list and get DeviceClasses in one workspace.
Cluster(clusterName logicalcluster.Name) listersresourcev1beta2.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 []*resourcev1beta2.ResourceClaim, err error)
// Cluster returns a lister that can list and get ResourceClaims in one workspace.
Cluster(clusterName logicalcluster.Name) listersresourcev1beta2.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 []*resourcev1beta2.ResourceClaimTemplate, err error)
// Cluster returns a lister that can list and get ResourceClaimTemplates in one workspace.
Cluster(clusterName logicalcluster.Name) listersresourcev1beta2.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 []*resourcev1beta2.ResourceSlice, err error)
// Cluster returns a lister that can list and get ResourceSlices in one workspace.
Cluster(clusterName logicalcluster.Name) listersresourcev1beta2.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.