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 NewAPIResourceImportClusterLister

func NewAPIResourceImportClusterLister(indexer cache.Indexer) *aPIResourceImportClusterLister

NewAPIResourceImportClusterLister returns a new APIResourceImportClusterLister. 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 NewAPIResourceImportLister

func NewAPIResourceImportLister(indexer cache.Indexer) *aPIResourceImportScopedLister

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

func NewNegotiatedAPIResourceClusterLister

func NewNegotiatedAPIResourceClusterLister(indexer cache.Indexer) *negotiatedAPIResourceClusterLister

NewNegotiatedAPIResourceClusterLister returns a new NegotiatedAPIResourceClusterLister. 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 NewNegotiatedAPIResourceLister

func NewNegotiatedAPIResourceLister(indexer cache.Indexer) *negotiatedAPIResourceScopedLister

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

Types

type APIResourceImportClusterLister

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

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

type APIResourceImportClusterListerExpansion

type APIResourceImportClusterListerExpansion interface{}

APIResourceImportClusterListerExpansion allows custom methods to be added to APIResourceImportClusterLister.

type APIResourceImportLister

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

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

type APIResourceImportListerExpansion

type APIResourceImportListerExpansion interface{}

APIResourceImportListerExpansion allows custom methods to be added to APIResourceImportLister.

type NegotiatedAPIResourceClusterLister

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

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

type NegotiatedAPIResourceClusterListerExpansion

type NegotiatedAPIResourceClusterListerExpansion interface{}

NegotiatedAPIResourceClusterListerExpansion allows custom methods to be added to NegotiatedAPIResourceClusterLister.

type NegotiatedAPIResourceLister

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

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

type NegotiatedAPIResourceListerExpansion

type NegotiatedAPIResourceListerExpansion interface{}

NegotiatedAPIResourceListerExpansion allows custom methods to be added to NegotiatedAPIResourceLister.

Jump to

Keyboard shortcuts

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