Documentation
¶
Index ¶
- type CachedObjectClusterLister
- type CachedObjectClusterListerExpansion
- type CachedObjectLister
- type CachedObjectListerExpansion
- type CachedResourceClusterLister
- type CachedResourceClusterListerExpansion
- type CachedResourceEndpointSliceClusterLister
- type CachedResourceEndpointSliceClusterListerExpansion
- type CachedResourceEndpointSliceLister
- type CachedResourceEndpointSliceListerExpansion
- type CachedResourceLister
- type CachedResourceListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedObjectClusterLister ¶
type CachedObjectClusterLister interface {
// List lists all CachedObjects in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*kcpv1alpha1.CachedObject, err error)
// Cluster returns a lister that can list and get CachedObjects in one workspace.
Cluster(clusterName logicalcluster.Name) CachedObjectLister
CachedObjectClusterListerExpansion
}
CachedObjectClusterLister helps list CachedObjects across all workspaces, or scope down to a CachedObjectLister for one workspace. All objects returned here must be treated as read-only.
func NewCachedObjectClusterLister ¶
func NewCachedObjectClusterLister(indexer cache.Indexer) CachedObjectClusterLister
NewCachedObjectClusterLister returns a new CachedObjectClusterLister. 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 CachedObjectClusterListerExpansion ¶
type CachedObjectClusterListerExpansion interface{}
CachedObjectClusterListerExpansion allows custom methods to be added to CachedObjectClusterLister.
type CachedObjectLister ¶
type CachedObjectLister interface {
// List lists all CachedObjects in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*kcpv1alpha1.CachedObject, err error)
// Get retrieves the CachedObject from the indexer for a given workspace and name.
// Objects returned here must be treated as read-only.
Get(name string) (*kcpv1alpha1.CachedObject, error)
CachedObjectListerExpansion
}
CachedObjectLister can list all CachedObjects, or get one in particular. All objects returned here must be treated as read-only.
func NewCachedObjectLister ¶
func NewCachedObjectLister(indexer cache.Indexer) CachedObjectLister
NewCachedObjectLister returns a new CachedObjectLister. 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 CachedObjectListerExpansion ¶
type CachedObjectListerExpansion interface{}
CachedObjectListerExpansion allows custom methods to be added to CachedObjectLister.
type CachedResourceClusterLister ¶
type CachedResourceClusterLister interface {
// List lists all CachedResources in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*kcpv1alpha1.CachedResource, err error)
// Cluster returns a lister that can list and get CachedResources in one workspace.
Cluster(clusterName logicalcluster.Name) CachedResourceLister
CachedResourceClusterListerExpansion
}
CachedResourceClusterLister helps list CachedResources across all workspaces, or scope down to a CachedResourceLister for one workspace. All objects returned here must be treated as read-only.
func NewCachedResourceClusterLister ¶
func NewCachedResourceClusterLister(indexer cache.Indexer) CachedResourceClusterLister
NewCachedResourceClusterLister returns a new CachedResourceClusterLister. 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 CachedResourceClusterListerExpansion ¶
type CachedResourceClusterListerExpansion interface{}
CachedResourceClusterListerExpansion allows custom methods to be added to CachedResourceClusterLister.
type CachedResourceEndpointSliceClusterLister ¶
type CachedResourceEndpointSliceClusterLister interface {
// List lists all CachedResourceEndpointSlices in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*kcpv1alpha1.CachedResourceEndpointSlice, err error)
// Cluster returns a lister that can list and get CachedResourceEndpointSlices in one workspace.
Cluster(clusterName logicalcluster.Name) CachedResourceEndpointSliceLister
CachedResourceEndpointSliceClusterListerExpansion
}
CachedResourceEndpointSliceClusterLister helps list CachedResourceEndpointSlices across all workspaces, or scope down to a CachedResourceEndpointSliceLister for one workspace. All objects returned here must be treated as read-only.
func NewCachedResourceEndpointSliceClusterLister ¶
func NewCachedResourceEndpointSliceClusterLister(indexer cache.Indexer) CachedResourceEndpointSliceClusterLister
NewCachedResourceEndpointSliceClusterLister returns a new CachedResourceEndpointSliceClusterLister. 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 CachedResourceEndpointSliceClusterListerExpansion ¶
type CachedResourceEndpointSliceClusterListerExpansion interface{}
CachedResourceEndpointSliceClusterListerExpansion allows custom methods to be added to CachedResourceEndpointSliceClusterLister.
type CachedResourceEndpointSliceLister ¶
type CachedResourceEndpointSliceLister interface {
// List lists all CachedResourceEndpointSlices in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*kcpv1alpha1.CachedResourceEndpointSlice, err error)
// Get retrieves the CachedResourceEndpointSlice from the indexer for a given workspace and name.
// Objects returned here must be treated as read-only.
Get(name string) (*kcpv1alpha1.CachedResourceEndpointSlice, error)
CachedResourceEndpointSliceListerExpansion
}
CachedResourceEndpointSliceLister can list all CachedResourceEndpointSlices, or get one in particular. All objects returned here must be treated as read-only.
func NewCachedResourceEndpointSliceLister ¶
func NewCachedResourceEndpointSliceLister(indexer cache.Indexer) CachedResourceEndpointSliceLister
NewCachedResourceEndpointSliceLister returns a new CachedResourceEndpointSliceLister. 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 CachedResourceEndpointSliceListerExpansion ¶
type CachedResourceEndpointSliceListerExpansion interface{}
CachedResourceEndpointSliceListerExpansion allows custom methods to be added to CachedResourceEndpointSliceLister.
type CachedResourceLister ¶
type CachedResourceLister interface {
// List lists all CachedResources in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*kcpv1alpha1.CachedResource, err error)
// Get retrieves the CachedResource from the indexer for a given workspace and name.
// Objects returned here must be treated as read-only.
Get(name string) (*kcpv1alpha1.CachedResource, error)
CachedResourceListerExpansion
}
CachedResourceLister can list all CachedResources, or get one in particular. All objects returned here must be treated as read-only.
func NewCachedResourceLister ¶
func NewCachedResourceLister(indexer cache.Indexer) CachedResourceLister
NewCachedResourceLister returns a new CachedResourceLister. 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 CachedResourceListerExpansion ¶
type CachedResourceListerExpansion interface{}
CachedResourceListerExpansion allows custom methods to be added to CachedResourceLister.