Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PartitionClusterLister ¶
type PartitionClusterLister interface {
// List lists all Partitions in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*kcpv1alpha1.Partition, err error)
// Cluster returns a lister that can list and get Partitions in one workspace.
Cluster(clusterName logicalcluster.Name) PartitionLister
PartitionClusterListerExpansion
}
PartitionClusterLister helps list Partitions across all workspaces, or scope down to a PartitionLister for one workspace. All objects returned here must be treated as read-only.
func NewPartitionClusterLister ¶
func NewPartitionClusterLister(indexer cache.Indexer) PartitionClusterLister
NewPartitionClusterLister returns a new PartitionClusterLister. 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 PartitionClusterListerExpansion ¶
type PartitionClusterListerExpansion interface{}
PartitionClusterListerExpansion allows custom methods to be added to PartitionClusterLister.
type PartitionLister ¶
type PartitionLister interface {
// List lists all Partitions in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*kcpv1alpha1.Partition, err error)
// Get retrieves the Partition from the indexer for a given workspace and name.
// Objects returned here must be treated as read-only.
Get(name string) (*kcpv1alpha1.Partition, error)
PartitionListerExpansion
}
PartitionLister can list all Partitions, or get one in particular. All objects returned here must be treated as read-only.
func NewPartitionLister ¶
func NewPartitionLister(indexer cache.Indexer) PartitionLister
NewPartitionLister returns a new PartitionLister. 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 PartitionListerExpansion ¶
type PartitionListerExpansion interface{}
PartitionListerExpansion allows custom methods to be added to PartitionLister.
type PartitionSetClusterLister ¶
type PartitionSetClusterLister interface {
// List lists all PartitionSets in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*kcpv1alpha1.PartitionSet, err error)
// Cluster returns a lister that can list and get PartitionSets in one workspace.
Cluster(clusterName logicalcluster.Name) PartitionSetLister
PartitionSetClusterListerExpansion
}
PartitionSetClusterLister helps list PartitionSets across all workspaces, or scope down to a PartitionSetLister for one workspace. All objects returned here must be treated as read-only.
func NewPartitionSetClusterLister ¶
func NewPartitionSetClusterLister(indexer cache.Indexer) PartitionSetClusterLister
NewPartitionSetClusterLister returns a new PartitionSetClusterLister. 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 PartitionSetClusterListerExpansion ¶
type PartitionSetClusterListerExpansion interface{}
PartitionSetClusterListerExpansion allows custom methods to be added to PartitionSetClusterLister.
type PartitionSetLister ¶
type PartitionSetLister interface {
// List lists all PartitionSets in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*kcpv1alpha1.PartitionSet, err error)
// Get retrieves the PartitionSet from the indexer for a given workspace and name.
// Objects returned here must be treated as read-only.
Get(name string) (*kcpv1alpha1.PartitionSet, error)
PartitionSetListerExpansion
}
PartitionSetLister can list all PartitionSets, or get one in particular. All objects returned here must be treated as read-only.
func NewPartitionSetLister ¶
func NewPartitionSetLister(indexer cache.Indexer) PartitionSetLister
NewPartitionSetLister returns a new PartitionSetLister. 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 PartitionSetListerExpansion ¶
type PartitionSetListerExpansion interface{}
PartitionSetListerExpansion allows custom methods to be added to PartitionSetLister.