Documentation
¶
Index ¶
- func NewEndpointSliceClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredEndpointSliceClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type EndpointSliceClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEndpointSliceClusterInformer ¶
func NewEndpointSliceClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewEndpointSliceClusterInformer constructs a new informer for EndpointSlice 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 NewFilteredEndpointSliceClusterInformer ¶
func NewFilteredEndpointSliceClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredEndpointSliceClusterInformer constructs a new informer for EndpointSlice 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 {
// EndpointSlices returns a EndpointSliceClusterInformer.
EndpointSlices() EndpointSliceClusterInformer
}
func New ¶
func New(f kcpinternalinterfaces.SharedInformerFactory, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new Interface.
type EndpointSliceClusterInformer ¶
type EndpointSliceClusterInformer interface {
Cluster(logicalcluster.Name) discoveryv1.EndpointSliceInformer
ClusterWithContext(context.Context, logicalcluster.Name) discoveryv1.EndpointSliceInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1.EndpointSliceClusterLister
}
EndpointSliceClusterInformer provides access to a shared informer and lister for EndpointSlices.
Click to show internal directories.
Click to hide internal directories.