Documentation ¶
Index ¶
- func NewFilteredLeaseClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewLeaseClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type LeaseClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredLeaseClusterInformer ¶
func NewFilteredLeaseClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredLeaseClusterInformer constructs a new informer for Lease 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 NewLeaseClusterInformer ¶
func NewLeaseClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewLeaseClusterInformer constructs a new informer for Lease 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 { // Leases returns a LeaseClusterInformer Leases() LeaseClusterInformer }
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type LeaseClusterInformer ¶
type LeaseClusterInformer interface { Cluster(logicalcluster.Name) upstreamcoordinationv1informers.LeaseInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() coordinationv1listers.LeaseClusterLister }
LeaseClusterInformer provides access to a shared informer and lister for Leases.
Click to show internal directories.
Click to hide internal directories.