Documentation
¶
Index ¶
- func NewFilteredLeaseCandidateClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredLeaseClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewLeaseCandidateClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewLeaseClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type LeaseCandidateClusterInformer
- type LeaseClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredLeaseCandidateClusterInformer ¶
func NewFilteredLeaseCandidateClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredLeaseCandidateClusterInformer constructs a new informer for LeaseCandidate 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 NewFilteredLeaseClusterInformer ¶
func NewFilteredLeaseClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.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 NewLeaseCandidateClusterInformer ¶
func NewLeaseCandidateClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewLeaseCandidateClusterInformer constructs a new informer for LeaseCandidate 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 kcpkubernetes.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
// LeaseCandidates returns a LeaseCandidateClusterInformer.
LeaseCandidates() LeaseCandidateClusterInformer
}
func New ¶
func New(f kcpinternalinterfaces.SharedInformerFactory, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new Interface.
type LeaseCandidateClusterInformer ¶
type LeaseCandidateClusterInformer interface {
Cluster(logicalcluster.Name) coordinationv1beta1.LeaseCandidateInformer
ClusterWithContext(context.Context, logicalcluster.Name) coordinationv1beta1.LeaseCandidateInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1beta1.LeaseCandidateClusterLister
}
LeaseCandidateClusterInformer provides access to a shared informer and lister for LeaseCandidates.
type LeaseClusterInformer ¶
type LeaseClusterInformer interface {
Cluster(logicalcluster.Name) coordinationv1beta1.LeaseInformer
ClusterWithContext(context.Context, logicalcluster.Name) coordinationv1beta1.LeaseInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1beta1.LeaseClusterLister
}
LeaseClusterInformer provides access to a shared informer and lister for Leases.