Documentation ¶
Index ¶
- func NewFilteredRuntimeClassClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewRuntimeClassClusterInformer(client clientset.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 clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.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 clientset.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 internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type RuntimeClassClusterInformer ¶
type RuntimeClassClusterInformer interface { Cluster(logicalcluster.Name) upstreamnodev1informers.RuntimeClassInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() nodev1listers.RuntimeClassClusterLister }
RuntimeClassClusterInformer provides access to a shared informer and lister for RuntimeClasses.