Documentation
¶
Index ¶
- func NewAPIResourceClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewAPIResourceInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredAPIResourceClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredAPIResourceInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type APIResourceClusterInformer
- type APIResourceInformer
- type ClusterInterface
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIResourceClusterInformer ¶
func NewAPIResourceClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewAPIResourceClusterInformer constructs a new informer for APIResource type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewAPIResourceInformer ¶
func NewAPIResourceInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewAPIResourceInformer constructs a new informer for APIResource type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewFilteredAPIResourceClusterInformer ¶
func NewFilteredAPIResourceClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredAPIResourceClusterInformer constructs a new informer for APIResource type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewFilteredAPIResourceInformer ¶
func NewFilteredAPIResourceInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredAPIResourceInformer constructs a new informer for APIResource type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
Types ¶
type APIResourceClusterInformer ¶
type APIResourceClusterInformer interface { Cluster(logicalcluster.Name) APIResourceInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() metav1alpha1listers.APIResourceClusterLister }
APIResourceClusterInformer provides access to a shared informer and lister for APIResources.
type APIResourceInformer ¶
type APIResourceInformer interface { Informer() cache.SharedIndexInformer Lister() metav1alpha1listers.APIResourceLister }
APIResourceInformer provides access to a shared informer and lister for APIResources.
type ClusterInterface ¶
type ClusterInterface interface { // APIResources returns a APIResourceClusterInformer APIResources() APIResourceClusterInformer }
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type Interface ¶
type Interface interface { // APIResources returns a APIResourceInformer APIResources() APIResourceInformer }
func NewScoped ¶
func NewScoped(f internalinterfaces.SharedScopedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new ClusterInterface.