Documentation ¶
Index ¶
- func NewFilteredStorageVersionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewStorageVersionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type StorageVersionClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredStorageVersionClusterInformer ¶
func NewFilteredStorageVersionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredStorageVersionClusterInformer constructs a new informer for StorageVersion 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 NewStorageVersionClusterInformer ¶
func NewStorageVersionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewStorageVersionClusterInformer constructs a new informer for StorageVersion 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 ClusterInterface ¶
type ClusterInterface interface { // StorageVersions returns a StorageVersionClusterInformer StorageVersions() StorageVersionClusterInformer }
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type StorageVersionClusterInformer ¶
type StorageVersionClusterInformer interface { Cluster(logicalcluster.Name) upstreaminternalv1alpha1informers.StorageVersionInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() internalv1alpha1listers.StorageVersionClusterLister }
StorageVersionClusterInformer provides access to a shared informer and lister for StorageVersions.