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