Documentation ¶
Index ¶
- func NewEndpointSliceClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredEndpointSliceClusterInformer(client clientset.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 clientset.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 clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.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 internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type EndpointSliceClusterInformer ¶
type EndpointSliceClusterInformer interface { Cluster(logicalcluster.Name) upstreamdiscoveryv1informers.EndpointSliceInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() discoveryv1listers.EndpointSliceClusterLister }
EndpointSliceClusterInformer provides access to a shared informer and lister for EndpointSlices.