Documentation
¶
Index ¶
- func NewCachedObjectClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewCachedObjectInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewCachedResourceClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewCachedResourceEndpointSliceClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewCachedResourceEndpointSliceInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewCachedResourceInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredCachedObjectClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredCachedObjectInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredCachedResourceClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredCachedResourceEndpointSliceClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredCachedResourceEndpointSliceInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredCachedResourceInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type CachedObjectClusterInformer
- type CachedObjectInformer
- type CachedResourceClusterInformer
- type CachedResourceEndpointSliceClusterInformer
- type CachedResourceEndpointSliceInformer
- type CachedResourceInformer
- type ClusterInterface
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCachedObjectClusterInformer ¶
func NewCachedObjectClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewCachedObjectClusterInformer constructs a new informer for CachedObject 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 NewCachedObjectInformer ¶
func NewCachedObjectInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewCachedObjectInformer constructs a new informer for CachedObject 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 NewCachedResourceClusterInformer ¶
func NewCachedResourceClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewCachedResourceClusterInformer constructs a new informer for CachedResource 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 NewCachedResourceEndpointSliceClusterInformer ¶
func NewCachedResourceEndpointSliceClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewCachedResourceEndpointSliceClusterInformer constructs a new informer for CachedResourceEndpointSlice 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 NewCachedResourceEndpointSliceInformer ¶
func NewCachedResourceEndpointSliceInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewCachedResourceEndpointSliceInformer constructs a new informer for CachedResourceEndpointSlice 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 NewCachedResourceInformer ¶
func NewCachedResourceInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewCachedResourceInformer constructs a new informer for CachedResource 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 NewFilteredCachedObjectClusterInformer ¶
func NewFilteredCachedObjectClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredCachedObjectClusterInformer constructs a new informer for CachedObject 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 NewFilteredCachedObjectInformer ¶
func NewFilteredCachedObjectInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredCachedObjectInformer constructs a new informer for CachedObject 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 NewFilteredCachedResourceClusterInformer ¶
func NewFilteredCachedResourceClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredCachedResourceClusterInformer constructs a new informer for CachedResource 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 NewFilteredCachedResourceEndpointSliceClusterInformer ¶
func NewFilteredCachedResourceEndpointSliceClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredCachedResourceEndpointSliceClusterInformer constructs a new informer for CachedResourceEndpointSlice 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 NewFilteredCachedResourceEndpointSliceInformer ¶
func NewFilteredCachedResourceEndpointSliceInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredCachedResourceEndpointSliceInformer constructs a new informer for CachedResourceEndpointSlice 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 NewFilteredCachedResourceInformer ¶
func NewFilteredCachedResourceInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredCachedResourceInformer constructs a new informer for CachedResource 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 CachedObjectClusterInformer ¶
type CachedObjectClusterInformer interface {
Cluster(logicalcluster.Name) CachedObjectInformer
ClusterWithContext(context.Context, logicalcluster.Name) CachedObjectInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1alpha1.CachedObjectClusterLister
}
CachedObjectClusterInformer provides access to a shared informer and lister for CachedObjects.
type CachedObjectInformer ¶
type CachedObjectInformer interface {
Informer() cache.SharedIndexInformer
Lister() kcpv1alpha1.CachedObjectLister
}
CachedObjectInformer provides access to a shared informer and lister for CachedObjects.
type CachedResourceClusterInformer ¶
type CachedResourceClusterInformer interface {
Cluster(logicalcluster.Name) CachedResourceInformer
ClusterWithContext(context.Context, logicalcluster.Name) CachedResourceInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1alpha1.CachedResourceClusterLister
}
CachedResourceClusterInformer provides access to a shared informer and lister for CachedResources.
type CachedResourceEndpointSliceClusterInformer ¶
type CachedResourceEndpointSliceClusterInformer interface {
Cluster(logicalcluster.Name) CachedResourceEndpointSliceInformer
ClusterWithContext(context.Context, logicalcluster.Name) CachedResourceEndpointSliceInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1alpha1.CachedResourceEndpointSliceClusterLister
}
CachedResourceEndpointSliceClusterInformer provides access to a shared informer and lister for CachedResourceEndpointSlices.
type CachedResourceEndpointSliceInformer ¶
type CachedResourceEndpointSliceInformer interface {
Informer() cache.SharedIndexInformer
Lister() kcpv1alpha1.CachedResourceEndpointSliceLister
}
CachedResourceEndpointSliceInformer provides access to a shared informer and lister for CachedResourceEndpointSlices.
type CachedResourceInformer ¶
type CachedResourceInformer interface {
Informer() cache.SharedIndexInformer
Lister() kcpv1alpha1.CachedResourceLister
}
CachedResourceInformer provides access to a shared informer and lister for CachedResources.
type ClusterInterface ¶
type ClusterInterface interface {
// CachedObjects returns a CachedObjectClusterInformer.
CachedObjects() CachedObjectClusterInformer
// CachedResources returns a CachedResourceClusterInformer.
CachedResources() CachedResourceClusterInformer
// CachedResourceEndpointSlices returns a CachedResourceEndpointSliceClusterInformer.
CachedResourceEndpointSlices() CachedResourceEndpointSliceClusterInformer
}
func New ¶
func New(f kcpinternalinterfaces.SharedInformerFactory, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new Interface.
type Interface ¶
type Interface interface {
// CachedObjects returns a CachedObjectInformer.
CachedObjects() CachedObjectInformer
// CachedResources returns a CachedResourceInformer.
CachedResources() CachedResourceInformer
// CachedResourceEndpointSlices returns a CachedResourceEndpointSliceInformer.
CachedResourceEndpointSlices() CachedResourceEndpointSliceInformer
}
func NewScoped ¶
func NewScoped(f kcpinternalinterfaces.SharedScopedInformerFactory, namespace string, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.