Documentation ¶
Index ¶
- func NewAPIResourceImportClusterLister(indexer cache.Indexer) *aPIResourceImportClusterLister
- func NewAPIResourceImportLister(indexer cache.Indexer) *aPIResourceImportScopedLister
- func NewNegotiatedAPIResourceClusterLister(indexer cache.Indexer) *negotiatedAPIResourceClusterLister
- func NewNegotiatedAPIResourceLister(indexer cache.Indexer) *negotiatedAPIResourceScopedLister
- type APIResourceImportClusterLister
- type APIResourceImportClusterListerExpansion
- type APIResourceImportLister
- type APIResourceImportListerExpansion
- type NegotiatedAPIResourceClusterLister
- type NegotiatedAPIResourceClusterListerExpansion
- type NegotiatedAPIResourceLister
- type NegotiatedAPIResourceListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIResourceImportClusterLister ¶ added in v0.10.0
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 ¶
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 ¶ added in v0.10.0
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 ¶
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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.