v1alpha1

package
v0.0.0-...-0f3bb69 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

func NewPartitionLister

func NewPartitionLister(indexer cache.Indexer) *partitionScopedLister

NewPartitionLister returns a new PartitionLister. We assume that the indexer: - is fed by a workspace-scoped LIST+WATCH - uses cache.MetaNamespaceKeyFunc as the key function

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

func NewPartitionSetLister

func NewPartitionSetLister(indexer cache.Indexer) *partitionSetScopedLister

NewPartitionSetLister returns a new PartitionSetLister. We assume that the indexer: - is fed by a workspace-scoped LIST+WATCH - uses cache.MetaNamespaceKeyFunc as the key function

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 []*topologyv1alpha1.Partition, err error)
	// Cluster returns a lister that can list and get Partitions in one workspace.
	Cluster(clusterName logicalcluster.Name) PartitionLister
	PartitionClusterListerExpansion
}

PartitionClusterLister can list Partitions across all workspaces, or scope down to a PartitionLister for one workspace. All objects returned here must be treated as read-only.

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 workspace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*topologyv1alpha1.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) (*topologyv1alpha1.Partition, error)
	PartitionListerExpansion
}

PartitionLister can list all Partitions, or get one in particular. All objects returned here must be treated as read-only.

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 []*topologyv1alpha1.PartitionSet, err error)
	// Cluster returns a lister that can list and get PartitionSets in one workspace.
	Cluster(clusterName logicalcluster.Name) PartitionSetLister
	PartitionSetClusterListerExpansion
}

PartitionSetClusterLister can list PartitionSets across all workspaces, or scope down to a PartitionSetLister for one workspace. All objects returned here must be treated as read-only.

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 workspace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*topologyv1alpha1.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) (*topologyv1alpha1.PartitionSet, error)
	PartitionSetListerExpansion
}

PartitionSetLister can list all PartitionSets, or get one in particular. All objects returned here must be treated as read-only.

type PartitionSetListerExpansion

type PartitionSetListerExpansion interface{}

PartitionSetListerExpansion allows custom methods to be added to PartitionSetLister.

Jump to

Keyboard shortcuts

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