v1alpha2

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIBindingClusterLister

type APIBindingClusterLister interface {
	// List lists all APIBindings in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*kcpv1alpha2.APIBinding, err error)
	// Cluster returns a lister that can list and get APIBindings in one workspace.
	Cluster(clusterName logicalcluster.Name) APIBindingLister
	APIBindingClusterListerExpansion
}

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

func NewAPIBindingClusterLister

func NewAPIBindingClusterLister(indexer cache.Indexer) APIBindingClusterLister

NewAPIBindingClusterLister returns a new APIBindingClusterLister. 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 APIBindingClusterListerExpansion

type APIBindingClusterListerExpansion interface{}

APIBindingClusterListerExpansion allows custom methods to be added to APIBindingClusterLister.

type APIBindingLister

type APIBindingLister interface {
	// List lists all APIBindings in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*kcpv1alpha2.APIBinding, err error)
	// Get retrieves the APIBinding from the indexer for a given workspace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*kcpv1alpha2.APIBinding, error)
	APIBindingListerExpansion
}

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

func NewAPIBindingLister

func NewAPIBindingLister(indexer cache.Indexer) APIBindingLister

NewAPIBindingLister returns a new APIBindingLister. 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 APIBindingListerExpansion

type APIBindingListerExpansion interface{}

APIBindingListerExpansion allows custom methods to be added to APIBindingLister.

type APIExportClusterLister

type APIExportClusterLister interface {
	// List lists all APIExports in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*kcpv1alpha2.APIExport, err error)
	// Cluster returns a lister that can list and get APIExports in one workspace.
	Cluster(clusterName logicalcluster.Name) APIExportLister
	APIExportClusterListerExpansion
}

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

func NewAPIExportClusterLister

func NewAPIExportClusterLister(indexer cache.Indexer) APIExportClusterLister

NewAPIExportClusterLister returns a new APIExportClusterLister. 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 APIExportClusterListerExpansion

type APIExportClusterListerExpansion interface{}

APIExportClusterListerExpansion allows custom methods to be added to APIExportClusterLister.

type APIExportLister

type APIExportLister interface {
	// List lists all APIExports in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*kcpv1alpha2.APIExport, err error)
	// Get retrieves the APIExport from the indexer for a given workspace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*kcpv1alpha2.APIExport, error)
	APIExportListerExpansion
}

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

func NewAPIExportLister

func NewAPIExportLister(indexer cache.Indexer) APIExportLister

NewAPIExportLister returns a new APIExportLister. 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 APIExportListerExpansion

type APIExportListerExpansion interface{}

APIExportListerExpansion allows custom methods to be added to APIExportLister.

Jump to

Keyboard shortcuts

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