v1

package
v0.37.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 11 Imported by: 4,009

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComponentStatusInformer

func NewComponentStatusInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewComponentStatusInformer constructs a new informer for ComponentStatus 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedComponentStatusInformer).

func NewComponentStatusInformerWithOptions added in v0.36.0

func NewComponentStatusInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewComponentStatusInformerWithOptions constructs a new informer for ComponentStatus type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedComponentStatusInformerWithOptions).

func NewConfigMapInformer

func NewConfigMapInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewConfigMapInformer constructs a new informer for ConfigMap 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedConfigMapInformer).

func NewConfigMapInformerWithOptions added in v0.36.0

func NewConfigMapInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewConfigMapInformerWithOptions constructs a new informer for ConfigMap type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedConfigMapInformerWithOptions).

func NewEndpointsInformer

func NewEndpointsInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewEndpointsInformer constructs a new informer for Endpoints 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedEndpointsInformer).

func NewEndpointsInformerWithOptions added in v0.36.0

func NewEndpointsInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewEndpointsInformerWithOptions constructs a new informer for Endpoints type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedEndpointsInformerWithOptions).

func NewEventInformer

func NewEventInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewEventInformer constructs a new informer for Event 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedEventInformer).

func NewEventInformerWithOptions added in v0.36.0

func NewEventInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewEventInformerWithOptions constructs a new informer for Event type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedEventInformerWithOptions).

func NewFilteredComponentStatusInformer

func NewFilteredComponentStatusInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredComponentStatusInformer constructs a new informer for ComponentStatus 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredComponentStatusInformer).

func NewFilteredConfigMapInformer

func NewFilteredConfigMapInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredConfigMapInformer constructs a new informer for ConfigMap 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredConfigMapInformer).

func NewFilteredEndpointsInformer

func NewFilteredEndpointsInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredEndpointsInformer constructs a new informer for Endpoints 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredEndpointsInformer).

func NewFilteredEventInformer

func NewFilteredEventInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredEventInformer constructs a new informer for Event 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredEventInformer).

func NewFilteredLimitRangeInformer

func NewFilteredLimitRangeInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredLimitRangeInformer constructs a new informer for LimitRange 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredLimitRangeInformer).

func NewFilteredNamespaceInformer

func NewFilteredNamespaceInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredNamespaceInformer constructs a new informer for Namespace 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredNamespaceInformer).

func NewFilteredNodeInformer

func NewFilteredNodeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredNodeInformer constructs a new informer for Node 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredNodeInformer).

func NewFilteredPersistentVolumeClaimInformer

func NewFilteredPersistentVolumeClaimInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredPersistentVolumeClaimInformer constructs a new informer for PersistentVolumeClaim 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredPersistentVolumeClaimInformer).

func NewFilteredPersistentVolumeInformer

func NewFilteredPersistentVolumeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredPersistentVolumeInformer constructs a new informer for PersistentVolume 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredPersistentVolumeInformer).

func NewFilteredPodInformer

func NewFilteredPodInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredPodInformer constructs a new informer for Pod 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredPodInformer).

func NewFilteredPodTemplateInformer

func NewFilteredPodTemplateInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredPodTemplateInformer constructs a new informer for PodTemplate 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredPodTemplateInformer).

func NewFilteredReplicationControllerInformer

func NewFilteredReplicationControllerInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredReplicationControllerInformer constructs a new informer for ReplicationController 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredReplicationControllerInformer).

func NewFilteredResourceQuotaInformer

func NewFilteredResourceQuotaInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredResourceQuotaInformer constructs a new informer for ResourceQuota 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredResourceQuotaInformer).

func NewFilteredSecretInformer

func NewFilteredSecretInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredSecretInformer constructs a new informer for Secret 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredSecretInformer).

func NewFilteredServiceAccountInformer

func NewFilteredServiceAccountInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredServiceAccountInformer constructs a new informer for ServiceAccount 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredServiceAccountInformer).

func NewFilteredServiceInformer

func NewFilteredServiceInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredServiceInformer constructs a new informer for Service 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedFilteredServiceInformer).

func NewLimitRangeInformer

func NewLimitRangeInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewLimitRangeInformer constructs a new informer for LimitRange 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedLimitRangeInformer).

func NewLimitRangeInformerWithOptions added in v0.36.0

func NewLimitRangeInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewLimitRangeInformerWithOptions constructs a new informer for LimitRange type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedLimitRangeInformerWithOptions).

func NewNamespaceInformer

func NewNamespaceInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewNamespaceInformer constructs a new informer for Namespace 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedNamespaceInformer).

func NewNamespaceInformerWithOptions added in v0.36.0

func NewNamespaceInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewNamespaceInformerWithOptions constructs a new informer for Namespace type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedNamespaceInformerWithOptions).

func NewNodeInformer

func NewNodeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewNodeInformer constructs a new informer for Node 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedNodeInformer).

func NewNodeInformerWithOptions added in v0.36.0

func NewNodeInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewNodeInformerWithOptions constructs a new informer for Node type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedNodeInformerWithOptions).

func NewPersistentVolumeClaimInformer

func NewPersistentVolumeClaimInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPersistentVolumeClaimInformer constructs a new informer for PersistentVolumeClaim 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedPersistentVolumeClaimInformer).

func NewPersistentVolumeClaimInformerWithOptions added in v0.36.0

func NewPersistentVolumeClaimInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewPersistentVolumeClaimInformerWithOptions constructs a new informer for PersistentVolumeClaim type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedPersistentVolumeClaimInformerWithOptions).

func NewPersistentVolumeInformer

func NewPersistentVolumeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPersistentVolumeInformer constructs a new informer for PersistentVolume 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedPersistentVolumeInformer).

func NewPersistentVolumeInformerWithOptions added in v0.36.0

func NewPersistentVolumeInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewPersistentVolumeInformerWithOptions constructs a new informer for PersistentVolume type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedPersistentVolumeInformerWithOptions).

func NewPodInformer

func NewPodInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPodInformer constructs a new informer for Pod 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedPodInformer).

func NewPodInformerWithOptions added in v0.36.0

func NewPodInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewPodInformerWithOptions constructs a new informer for Pod type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedPodInformerWithOptions).

func NewPodTemplateInformer

func NewPodTemplateInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPodTemplateInformer constructs a new informer for PodTemplate 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedPodTemplateInformer).

func NewPodTemplateInformerWithOptions added in v0.36.0

func NewPodTemplateInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewPodTemplateInformerWithOptions constructs a new informer for PodTemplate type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedPodTemplateInformerWithOptions).

func NewReplicationControllerInformer

func NewReplicationControllerInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewReplicationControllerInformer constructs a new informer for ReplicationController 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedReplicationControllerInformer).

func NewReplicationControllerInformerWithOptions added in v0.36.0

func NewReplicationControllerInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewReplicationControllerInformerWithOptions constructs a new informer for ReplicationController type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedReplicationControllerInformerWithOptions).

func NewResourceQuotaInformer

func NewResourceQuotaInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewResourceQuotaInformer constructs a new informer for ResourceQuota 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedResourceQuotaInformer).

func NewResourceQuotaInformerWithOptions added in v0.36.0

func NewResourceQuotaInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewResourceQuotaInformerWithOptions constructs a new informer for ResourceQuota type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedResourceQuotaInformerWithOptions).

func NewSecretInformer

func NewSecretInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewSecretInformer constructs a new informer for Secret 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedSecretInformer).

func NewSecretInformerWithOptions added in v0.36.0

func NewSecretInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewSecretInformerWithOptions constructs a new informer for Secret type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedSecretInformerWithOptions).

func NewServiceAccountInformer

func NewServiceAccountInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewServiceAccountInformer constructs a new informer for ServiceAccount 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedServiceAccountInformer).

func NewServiceAccountInformerWithOptions added in v0.36.0

func NewServiceAccountInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewServiceAccountInformerWithOptions constructs a new informer for ServiceAccount type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedServiceAccountInformerWithOptions).

func NewServiceInformer

func NewServiceInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewServiceInformer constructs a new informer for Service 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedServiceInformer).

func NewServiceInformerWithOptions added in v0.36.0

func NewServiceInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer

NewServiceInformerWithOptions constructs a new informer for Service type with additional options. 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. If you really need an independent one, prefer using the type-safe variant (see NewTypedServiceInformerWithOptions).

Types

type ComponentStatusDetailedHandlerFuncs added in v0.37.0

type ComponentStatusDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.ComponentStatus]

ComponentStatusDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for ComponentStatus.

type ComponentStatusFilteringHandler added in v0.37.0

type ComponentStatusFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.ComponentStatus]

ComponentStatusFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for ComponentStatus.

type ComponentStatusHandlerFuncs added in v0.37.0

type ComponentStatusHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.ComponentStatus]

ComponentStatusHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for ComponentStatus.

type ComponentStatusIndexInformer added in v0.37.0

type ComponentStatusIndexInformer cache.TypedSharedIndexInformer[*apicorev1.ComponentStatus]

ComponentStatusIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedComponentStatusInformer added in v0.37.0

func NewTypedComponentStatusInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers ComponentStatusIndexers) ComponentStatusIndexInformer

NewTypedComponentStatusInformer constructs a new informer for ComponentStatus 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 NewTypedComponentStatusInformerWithOptions added in v0.37.0

func NewTypedComponentStatusInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) ComponentStatusIndexInformer

NewTypedComponentStatusInformerWithOptions constructs a new informer for ComponentStatus type with additional options. 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 NewTypedFilteredComponentStatusInformer added in v0.37.0

func NewTypedFilteredComponentStatusInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers ComponentStatusIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) ComponentStatusIndexInformer

NewTypedFilteredComponentStatusInformer constructs a new informer for ComponentStatus 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 ToComponentStatusIndexInformer added in v0.37.0

func ToComponentStatusIndexInformer(informer cache.SharedIndexInformer) ComponentStatusIndexInformer

ToComponentStatusIndexInformer converts an untyped informer into a ComponentStatusIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *ComponentStatus. If that is not the case, calling type-safe methods of the returned ComponentStatusIndexInformer leads to runtime panics. A safer alternative is to pass around a ComponentStatusIndexInformer instances that was obtained from a SharedInformerFactory.

type ComponentStatusIndexers added in v0.37.0

type ComponentStatusIndexers = cache.TypedIndexers[*apicorev1.ComponentStatus]

ComponentStatusIndexers is a specialization of cache.TypedIndexers for ComponentStatus.

type ComponentStatusInformer

type ComponentStatusInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.ComponentStatusLister
}

ComponentStatusInformer provides access to a shared informer and lister for ComponentStatuses. Prefer using the type-safe variant (see TypedComponentStatusInformer).

type ConfigMapDetailedHandlerFuncs added in v0.37.0

type ConfigMapDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.ConfigMap]

ConfigMapDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for ConfigMap.

type ConfigMapFilteringHandler added in v0.37.0

type ConfigMapFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.ConfigMap]

ConfigMapFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for ConfigMap.

type ConfigMapHandlerFuncs added in v0.37.0

type ConfigMapHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.ConfigMap]

ConfigMapHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for ConfigMap.

type ConfigMapIndexInformer added in v0.37.0

type ConfigMapIndexInformer cache.TypedSharedIndexInformer[*apicorev1.ConfigMap]

ConfigMapIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedConfigMapInformer added in v0.37.0

func NewTypedConfigMapInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers ConfigMapIndexers) ConfigMapIndexInformer

NewTypedConfigMapInformer constructs a new informer for ConfigMap 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 NewTypedConfigMapInformerWithOptions added in v0.37.0

func NewTypedConfigMapInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) ConfigMapIndexInformer

NewTypedConfigMapInformerWithOptions constructs a new informer for ConfigMap type with additional options. 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 NewTypedFilteredConfigMapInformer added in v0.37.0

func NewTypedFilteredConfigMapInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers ConfigMapIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) ConfigMapIndexInformer

NewTypedFilteredConfigMapInformer constructs a new informer for ConfigMap 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 ToConfigMapIndexInformer added in v0.37.0

func ToConfigMapIndexInformer(informer cache.SharedIndexInformer) ConfigMapIndexInformer

ToConfigMapIndexInformer converts an untyped informer into a ConfigMapIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *ConfigMap. If that is not the case, calling type-safe methods of the returned ConfigMapIndexInformer leads to runtime panics. A safer alternative is to pass around a ConfigMapIndexInformer instances that was obtained from a SharedInformerFactory.

type ConfigMapIndexers added in v0.37.0

type ConfigMapIndexers = cache.TypedIndexers[*apicorev1.ConfigMap]

ConfigMapIndexers is a specialization of cache.TypedIndexers for ConfigMap.

type ConfigMapInformer

type ConfigMapInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.ConfigMapLister
}

ConfigMapInformer provides access to a shared informer and lister for ConfigMaps. Prefer using the type-safe variant (see TypedConfigMapInformer).

type DeletedComponentStatus added in v0.37.0

type DeletedComponentStatus = cache.DeletedObject[*apicorev1.ComponentStatus]

DeletedComponentStatus is a specialization of cache.DeletedObject for ComponentStatus.

type DeletedConfigMap added in v0.37.0

type DeletedConfigMap = cache.DeletedObject[*apicorev1.ConfigMap]

DeletedConfigMap is a specialization of cache.DeletedObject for ConfigMap.

type DeletedEndpoints added in v0.37.0

type DeletedEndpoints = cache.DeletedObject[*apicorev1.Endpoints]

DeletedEndpoints is a specialization of cache.DeletedObject for Endpoints.

type DeletedEvent added in v0.37.0

type DeletedEvent = cache.DeletedObject[*apicorev1.Event]

DeletedEvent is a specialization of cache.DeletedObject for Event.

type DeletedLimitRange added in v0.37.0

type DeletedLimitRange = cache.DeletedObject[*apicorev1.LimitRange]

DeletedLimitRange is a specialization of cache.DeletedObject for LimitRange.

type DeletedNamespace added in v0.37.0

type DeletedNamespace = cache.DeletedObject[*apicorev1.Namespace]

DeletedNamespace is a specialization of cache.DeletedObject for Namespace.

type DeletedNode added in v0.37.0

type DeletedNode = cache.DeletedObject[*apicorev1.Node]

DeletedNode is a specialization of cache.DeletedObject for Node.

type DeletedPersistentVolume added in v0.37.0

type DeletedPersistentVolume = cache.DeletedObject[*apicorev1.PersistentVolume]

DeletedPersistentVolume is a specialization of cache.DeletedObject for PersistentVolume.

type DeletedPersistentVolumeClaim added in v0.37.0

type DeletedPersistentVolumeClaim = cache.DeletedObject[*apicorev1.PersistentVolumeClaim]

DeletedPersistentVolumeClaim is a specialization of cache.DeletedObject for PersistentVolumeClaim.

type DeletedPod added in v0.37.0

type DeletedPod = cache.DeletedObject[*apicorev1.Pod]

DeletedPod is a specialization of cache.DeletedObject for Pod.

type DeletedPodTemplate added in v0.37.0

type DeletedPodTemplate = cache.DeletedObject[*apicorev1.PodTemplate]

DeletedPodTemplate is a specialization of cache.DeletedObject for PodTemplate.

type DeletedReplicationController added in v0.37.0

type DeletedReplicationController = cache.DeletedObject[*apicorev1.ReplicationController]

DeletedReplicationController is a specialization of cache.DeletedObject for ReplicationController.

type DeletedResourceQuota added in v0.37.0

type DeletedResourceQuota = cache.DeletedObject[*apicorev1.ResourceQuota]

DeletedResourceQuota is a specialization of cache.DeletedObject for ResourceQuota.

type DeletedSecret added in v0.37.0

type DeletedSecret = cache.DeletedObject[*apicorev1.Secret]

DeletedSecret is a specialization of cache.DeletedObject for Secret.

type DeletedService added in v0.37.0

type DeletedService = cache.DeletedObject[*apicorev1.Service]

DeletedService is a specialization of cache.DeletedObject for Service.

type DeletedServiceAccount added in v0.37.0

type DeletedServiceAccount = cache.DeletedObject[*apicorev1.ServiceAccount]

DeletedServiceAccount is a specialization of cache.DeletedObject for ServiceAccount.

type EndpointsDetailedHandlerFuncs added in v0.37.0

type EndpointsDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.Endpoints]

EndpointsDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for Endpoints.

type EndpointsFilteringHandler added in v0.37.0

type EndpointsFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.Endpoints]

EndpointsFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for Endpoints.

type EndpointsHandlerFuncs added in v0.37.0

type EndpointsHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.Endpoints]

EndpointsHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for Endpoints.

type EndpointsIndexInformer added in v0.37.0

type EndpointsIndexInformer cache.TypedSharedIndexInformer[*apicorev1.Endpoints]

EndpointsIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedEndpointsInformer added in v0.37.0

func NewTypedEndpointsInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers EndpointsIndexers) EndpointsIndexInformer

NewTypedEndpointsInformer constructs a new informer for Endpoints 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 NewTypedEndpointsInformerWithOptions added in v0.37.0

func NewTypedEndpointsInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) EndpointsIndexInformer

NewTypedEndpointsInformerWithOptions constructs a new informer for Endpoints type with additional options. 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 NewTypedFilteredEndpointsInformer added in v0.37.0

func NewTypedFilteredEndpointsInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers EndpointsIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) EndpointsIndexInformer

NewTypedFilteredEndpointsInformer constructs a new informer for Endpoints 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 ToEndpointsIndexInformer added in v0.37.0

func ToEndpointsIndexInformer(informer cache.SharedIndexInformer) EndpointsIndexInformer

ToEndpointsIndexInformer converts an untyped informer into a EndpointsIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Endpoints. If that is not the case, calling type-safe methods of the returned EndpointsIndexInformer leads to runtime panics. A safer alternative is to pass around a EndpointsIndexInformer instances that was obtained from a SharedInformerFactory.

type EndpointsIndexers added in v0.37.0

type EndpointsIndexers = cache.TypedIndexers[*apicorev1.Endpoints]

EndpointsIndexers is a specialization of cache.TypedIndexers for Endpoints.

type EndpointsInformer

type EndpointsInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.EndpointsLister
}

EndpointsInformer provides access to a shared informer and lister for Endpoints. Prefer using the type-safe variant (see TypedEndpointsInformer).

type EventDetailedHandlerFuncs added in v0.37.0

type EventDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.Event]

EventDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for Event.

type EventFilteringHandler added in v0.37.0

type EventFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.Event]

EventFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for Event.

type EventHandlerFuncs added in v0.37.0

EventHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for Event.

type EventIndexInformer added in v0.37.0

type EventIndexInformer cache.TypedSharedIndexInformer[*apicorev1.Event]

EventIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedEventInformer added in v0.37.0

func NewTypedEventInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers EventIndexers) EventIndexInformer

NewTypedEventInformer constructs a new informer for Event 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 NewTypedEventInformerWithOptions added in v0.37.0

func NewTypedEventInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) EventIndexInformer

NewTypedEventInformerWithOptions constructs a new informer for Event type with additional options. 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 NewTypedFilteredEventInformer added in v0.37.0

func NewTypedFilteredEventInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers EventIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) EventIndexInformer

NewTypedFilteredEventInformer constructs a new informer for Event 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 ToEventIndexInformer added in v0.37.0

func ToEventIndexInformer(informer cache.SharedIndexInformer) EventIndexInformer

ToEventIndexInformer converts an untyped informer into a EventIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Event. If that is not the case, calling type-safe methods of the returned EventIndexInformer leads to runtime panics. A safer alternative is to pass around a EventIndexInformer instances that was obtained from a SharedInformerFactory.

type EventIndexers added in v0.37.0

type EventIndexers = cache.TypedIndexers[*apicorev1.Event]

EventIndexers is a specialization of cache.TypedIndexers for Event.

type EventInformer

type EventInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.EventLister
}

EventInformer provides access to a shared informer and lister for Events. Prefer using the type-safe variant (see TypedEventInformer).

type Interface

type Interface interface {
	// ComponentStatuses returns a ComponentStatusInformer.
	ComponentStatuses() TypedComponentStatusInformer
	// ConfigMaps returns a ConfigMapInformer.
	ConfigMaps() TypedConfigMapInformer
	// Endpoints returns a EndpointsInformer.
	Endpoints() TypedEndpointsInformer
	// Events returns a EventInformer.
	Events() TypedEventInformer
	// LimitRanges returns a LimitRangeInformer.
	LimitRanges() TypedLimitRangeInformer
	// Namespaces returns a NamespaceInformer.
	Namespaces() TypedNamespaceInformer
	// Nodes returns a NodeInformer.
	Nodes() TypedNodeInformer
	// PersistentVolumes returns a PersistentVolumeInformer.
	PersistentVolumes() TypedPersistentVolumeInformer
	// PersistentVolumeClaims returns a PersistentVolumeClaimInformer.
	PersistentVolumeClaims() TypedPersistentVolumeClaimInformer
	// Pods returns a PodInformer.
	Pods() TypedPodInformer
	// PodTemplates returns a PodTemplateInformer.
	PodTemplates() TypedPodTemplateInformer
	// ReplicationControllers returns a ReplicationControllerInformer.
	ReplicationControllers() TypedReplicationControllerInformer
	// ResourceQuotas returns a ResourceQuotaInformer.
	ResourceQuotas() TypedResourceQuotaInformer
	// Secrets returns a SecretInformer.
	Secrets() TypedSecretInformer
	// Services returns a ServiceInformer.
	Services() TypedServiceInformer
	// ServiceAccounts returns a ServiceAccountInformer.
	ServiceAccounts() TypedServiceAccountInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

type LimitRangeDetailedHandlerFuncs added in v0.37.0

type LimitRangeDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.LimitRange]

LimitRangeDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for LimitRange.

type LimitRangeFilteringHandler added in v0.37.0

type LimitRangeFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.LimitRange]

LimitRangeFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for LimitRange.

type LimitRangeHandlerFuncs added in v0.37.0

type LimitRangeHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.LimitRange]

LimitRangeHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for LimitRange.

type LimitRangeIndexInformer added in v0.37.0

type LimitRangeIndexInformer cache.TypedSharedIndexInformer[*apicorev1.LimitRange]

LimitRangeIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredLimitRangeInformer added in v0.37.0

func NewTypedFilteredLimitRangeInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers LimitRangeIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) LimitRangeIndexInformer

NewTypedFilteredLimitRangeInformer constructs a new informer for LimitRange 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 NewTypedLimitRangeInformer added in v0.37.0

func NewTypedLimitRangeInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers LimitRangeIndexers) LimitRangeIndexInformer

NewTypedLimitRangeInformer constructs a new informer for LimitRange 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 NewTypedLimitRangeInformerWithOptions added in v0.37.0

func NewTypedLimitRangeInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) LimitRangeIndexInformer

NewTypedLimitRangeInformerWithOptions constructs a new informer for LimitRange type with additional options. 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 ToLimitRangeIndexInformer added in v0.37.0

func ToLimitRangeIndexInformer(informer cache.SharedIndexInformer) LimitRangeIndexInformer

ToLimitRangeIndexInformer converts an untyped informer into a LimitRangeIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *LimitRange. If that is not the case, calling type-safe methods of the returned LimitRangeIndexInformer leads to runtime panics. A safer alternative is to pass around a LimitRangeIndexInformer instances that was obtained from a SharedInformerFactory.

type LimitRangeIndexers added in v0.37.0

type LimitRangeIndexers = cache.TypedIndexers[*apicorev1.LimitRange]

LimitRangeIndexers is a specialization of cache.TypedIndexers for LimitRange.

type LimitRangeInformer

type LimitRangeInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.LimitRangeLister
}

LimitRangeInformer provides access to a shared informer and lister for LimitRanges. Prefer using the type-safe variant (see TypedLimitRangeInformer).

type NamespaceDetailedHandlerFuncs added in v0.37.0

type NamespaceDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.Namespace]

NamespaceDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for Namespace.

type NamespaceFilteringHandler added in v0.37.0

type NamespaceFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.Namespace]

NamespaceFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for Namespace.

type NamespaceHandlerFuncs added in v0.37.0

type NamespaceHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.Namespace]

NamespaceHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for Namespace.

type NamespaceIndexInformer added in v0.37.0

type NamespaceIndexInformer cache.TypedSharedIndexInformer[*apicorev1.Namespace]

NamespaceIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredNamespaceInformer added in v0.37.0

func NewTypedFilteredNamespaceInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers NamespaceIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) NamespaceIndexInformer

NewTypedFilteredNamespaceInformer constructs a new informer for Namespace 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 NewTypedNamespaceInformer added in v0.37.0

func NewTypedNamespaceInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers NamespaceIndexers) NamespaceIndexInformer

NewTypedNamespaceInformer constructs a new informer for Namespace 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 NewTypedNamespaceInformerWithOptions added in v0.37.0

func NewTypedNamespaceInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) NamespaceIndexInformer

NewTypedNamespaceInformerWithOptions constructs a new informer for Namespace type with additional options. 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 ToNamespaceIndexInformer added in v0.37.0

func ToNamespaceIndexInformer(informer cache.SharedIndexInformer) NamespaceIndexInformer

ToNamespaceIndexInformer converts an untyped informer into a NamespaceIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Namespace. If that is not the case, calling type-safe methods of the returned NamespaceIndexInformer leads to runtime panics. A safer alternative is to pass around a NamespaceIndexInformer instances that was obtained from a SharedInformerFactory.

type NamespaceIndexers added in v0.37.0

type NamespaceIndexers = cache.TypedIndexers[*apicorev1.Namespace]

NamespaceIndexers is a specialization of cache.TypedIndexers for Namespace.

type NamespaceInformer

type NamespaceInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.NamespaceLister
}

NamespaceInformer provides access to a shared informer and lister for Namespaces. Prefer using the type-safe variant (see TypedNamespaceInformer).

type NodeDetailedHandlerFuncs added in v0.37.0

type NodeDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.Node]

NodeDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for Node.

type NodeFilteringHandler added in v0.37.0

type NodeFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.Node]

NodeFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for Node.

type NodeHandlerFuncs added in v0.37.0

NodeHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for Node.

type NodeIndexInformer added in v0.37.0

type NodeIndexInformer cache.TypedSharedIndexInformer[*apicorev1.Node]

NodeIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredNodeInformer added in v0.37.0

func NewTypedFilteredNodeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers NodeIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) NodeIndexInformer

NewTypedFilteredNodeInformer constructs a new informer for Node 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 NewTypedNodeInformer added in v0.37.0

func NewTypedNodeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers NodeIndexers) NodeIndexInformer

NewTypedNodeInformer constructs a new informer for Node 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 NewTypedNodeInformerWithOptions added in v0.37.0

func NewTypedNodeInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) NodeIndexInformer

NewTypedNodeInformerWithOptions constructs a new informer for Node type with additional options. 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 ToNodeIndexInformer added in v0.37.0

func ToNodeIndexInformer(informer cache.SharedIndexInformer) NodeIndexInformer

ToNodeIndexInformer converts an untyped informer into a NodeIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Node. If that is not the case, calling type-safe methods of the returned NodeIndexInformer leads to runtime panics. A safer alternative is to pass around a NodeIndexInformer instances that was obtained from a SharedInformerFactory.

type NodeIndexers added in v0.37.0

type NodeIndexers = cache.TypedIndexers[*apicorev1.Node]

NodeIndexers is a specialization of cache.TypedIndexers for Node.

type NodeInformer

type NodeInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.NodeLister
}

NodeInformer provides access to a shared informer and lister for Nodes. Prefer using the type-safe variant (see TypedNodeInformer).

type PersistentVolumeClaimDetailedHandlerFuncs added in v0.37.0

type PersistentVolumeClaimDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.PersistentVolumeClaim]

PersistentVolumeClaimDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for PersistentVolumeClaim.

type PersistentVolumeClaimFilteringHandler added in v0.37.0

type PersistentVolumeClaimFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.PersistentVolumeClaim]

PersistentVolumeClaimFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for PersistentVolumeClaim.

type PersistentVolumeClaimHandlerFuncs added in v0.37.0

type PersistentVolumeClaimHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.PersistentVolumeClaim]

PersistentVolumeClaimHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for PersistentVolumeClaim.

type PersistentVolumeClaimIndexInformer added in v0.37.0

type PersistentVolumeClaimIndexInformer cache.TypedSharedIndexInformer[*apicorev1.PersistentVolumeClaim]

PersistentVolumeClaimIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredPersistentVolumeClaimInformer added in v0.37.0

func NewTypedFilteredPersistentVolumeClaimInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers PersistentVolumeClaimIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) PersistentVolumeClaimIndexInformer

NewTypedFilteredPersistentVolumeClaimInformer constructs a new informer for PersistentVolumeClaim 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 NewTypedPersistentVolumeClaimInformer added in v0.37.0

func NewTypedPersistentVolumeClaimInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers PersistentVolumeClaimIndexers) PersistentVolumeClaimIndexInformer

NewTypedPersistentVolumeClaimInformer constructs a new informer for PersistentVolumeClaim 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 NewTypedPersistentVolumeClaimInformerWithOptions added in v0.37.0

func NewTypedPersistentVolumeClaimInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) PersistentVolumeClaimIndexInformer

NewTypedPersistentVolumeClaimInformerWithOptions constructs a new informer for PersistentVolumeClaim type with additional options. 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 ToPersistentVolumeClaimIndexInformer added in v0.37.0

func ToPersistentVolumeClaimIndexInformer(informer cache.SharedIndexInformer) PersistentVolumeClaimIndexInformer

ToPersistentVolumeClaimIndexInformer converts an untyped informer into a PersistentVolumeClaimIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *PersistentVolumeClaim. If that is not the case, calling type-safe methods of the returned PersistentVolumeClaimIndexInformer leads to runtime panics. A safer alternative is to pass around a PersistentVolumeClaimIndexInformer instances that was obtained from a SharedInformerFactory.

type PersistentVolumeClaimIndexers added in v0.37.0

type PersistentVolumeClaimIndexers = cache.TypedIndexers[*apicorev1.PersistentVolumeClaim]

PersistentVolumeClaimIndexers is a specialization of cache.TypedIndexers for PersistentVolumeClaim.

type PersistentVolumeClaimInformer

type PersistentVolumeClaimInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.PersistentVolumeClaimLister
}

PersistentVolumeClaimInformer provides access to a shared informer and lister for PersistentVolumeClaims. Prefer using the type-safe variant (see TypedPersistentVolumeClaimInformer).

type PersistentVolumeDetailedHandlerFuncs added in v0.37.0

type PersistentVolumeDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.PersistentVolume]

PersistentVolumeDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for PersistentVolume.

type PersistentVolumeFilteringHandler added in v0.37.0

type PersistentVolumeFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.PersistentVolume]

PersistentVolumeFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for PersistentVolume.

type PersistentVolumeHandlerFuncs added in v0.37.0

type PersistentVolumeHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.PersistentVolume]

PersistentVolumeHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for PersistentVolume.

type PersistentVolumeIndexInformer added in v0.37.0

type PersistentVolumeIndexInformer cache.TypedSharedIndexInformer[*apicorev1.PersistentVolume]

PersistentVolumeIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredPersistentVolumeInformer added in v0.37.0

func NewTypedFilteredPersistentVolumeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers PersistentVolumeIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) PersistentVolumeIndexInformer

NewTypedFilteredPersistentVolumeInformer constructs a new informer for PersistentVolume 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 NewTypedPersistentVolumeInformer added in v0.37.0

func NewTypedPersistentVolumeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers PersistentVolumeIndexers) PersistentVolumeIndexInformer

NewTypedPersistentVolumeInformer constructs a new informer for PersistentVolume 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 NewTypedPersistentVolumeInformerWithOptions added in v0.37.0

func NewTypedPersistentVolumeInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) PersistentVolumeIndexInformer

NewTypedPersistentVolumeInformerWithOptions constructs a new informer for PersistentVolume type with additional options. 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 ToPersistentVolumeIndexInformer added in v0.37.0

func ToPersistentVolumeIndexInformer(informer cache.SharedIndexInformer) PersistentVolumeIndexInformer

ToPersistentVolumeIndexInformer converts an untyped informer into a PersistentVolumeIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *PersistentVolume. If that is not the case, calling type-safe methods of the returned PersistentVolumeIndexInformer leads to runtime panics. A safer alternative is to pass around a PersistentVolumeIndexInformer instances that was obtained from a SharedInformerFactory.

type PersistentVolumeIndexers added in v0.37.0

type PersistentVolumeIndexers = cache.TypedIndexers[*apicorev1.PersistentVolume]

PersistentVolumeIndexers is a specialization of cache.TypedIndexers for PersistentVolume.

type PersistentVolumeInformer

type PersistentVolumeInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.PersistentVolumeLister
}

PersistentVolumeInformer provides access to a shared informer and lister for PersistentVolumes. Prefer using the type-safe variant (see TypedPersistentVolumeInformer).

type PodDetailedHandlerFuncs added in v0.37.0

type PodDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.Pod]

PodDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for Pod.

type PodFilteringHandler added in v0.37.0

type PodFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.Pod]

PodFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for Pod.

type PodHandlerFuncs added in v0.37.0

PodHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for Pod.

type PodIndexInformer added in v0.37.0

type PodIndexInformer cache.TypedSharedIndexInformer[*apicorev1.Pod]

PodIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredPodInformer added in v0.37.0

func NewTypedFilteredPodInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers PodIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) PodIndexInformer

NewTypedFilteredPodInformer constructs a new informer for Pod 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 NewTypedPodInformer added in v0.37.0

func NewTypedPodInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers PodIndexers) PodIndexInformer

NewTypedPodInformer constructs a new informer for Pod 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 NewTypedPodInformerWithOptions added in v0.37.0

func NewTypedPodInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) PodIndexInformer

NewTypedPodInformerWithOptions constructs a new informer for Pod type with additional options. 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 ToPodIndexInformer added in v0.37.0

func ToPodIndexInformer(informer cache.SharedIndexInformer) PodIndexInformer

ToPodIndexInformer converts an untyped informer into a PodIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Pod. If that is not the case, calling type-safe methods of the returned PodIndexInformer leads to runtime panics. A safer alternative is to pass around a PodIndexInformer instances that was obtained from a SharedInformerFactory.

type PodIndexers added in v0.37.0

type PodIndexers = cache.TypedIndexers[*apicorev1.Pod]

PodIndexers is a specialization of cache.TypedIndexers for Pod.

type PodInformer

type PodInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.PodLister
}

PodInformer provides access to a shared informer and lister for Pods. Prefer using the type-safe variant (see TypedPodInformer).

type PodTemplateDetailedHandlerFuncs added in v0.37.0

type PodTemplateDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.PodTemplate]

PodTemplateDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for PodTemplate.

type PodTemplateFilteringHandler added in v0.37.0

type PodTemplateFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.PodTemplate]

PodTemplateFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for PodTemplate.

type PodTemplateHandlerFuncs added in v0.37.0

type PodTemplateHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.PodTemplate]

PodTemplateHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for PodTemplate.

type PodTemplateIndexInformer added in v0.37.0

type PodTemplateIndexInformer cache.TypedSharedIndexInformer[*apicorev1.PodTemplate]

PodTemplateIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredPodTemplateInformer added in v0.37.0

func NewTypedFilteredPodTemplateInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers PodTemplateIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) PodTemplateIndexInformer

NewTypedFilteredPodTemplateInformer constructs a new informer for PodTemplate 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 NewTypedPodTemplateInformer added in v0.37.0

func NewTypedPodTemplateInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers PodTemplateIndexers) PodTemplateIndexInformer

NewTypedPodTemplateInformer constructs a new informer for PodTemplate 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 NewTypedPodTemplateInformerWithOptions added in v0.37.0

func NewTypedPodTemplateInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) PodTemplateIndexInformer

NewTypedPodTemplateInformerWithOptions constructs a new informer for PodTemplate type with additional options. 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 ToPodTemplateIndexInformer added in v0.37.0

func ToPodTemplateIndexInformer(informer cache.SharedIndexInformer) PodTemplateIndexInformer

ToPodTemplateIndexInformer converts an untyped informer into a PodTemplateIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *PodTemplate. If that is not the case, calling type-safe methods of the returned PodTemplateIndexInformer leads to runtime panics. A safer alternative is to pass around a PodTemplateIndexInformer instances that was obtained from a SharedInformerFactory.

type PodTemplateIndexers added in v0.37.0

type PodTemplateIndexers = cache.TypedIndexers[*apicorev1.PodTemplate]

PodTemplateIndexers is a specialization of cache.TypedIndexers for PodTemplate.

type PodTemplateInformer

type PodTemplateInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.PodTemplateLister
}

PodTemplateInformer provides access to a shared informer and lister for PodTemplates. Prefer using the type-safe variant (see TypedPodTemplateInformer).

type ReplicationControllerDetailedHandlerFuncs added in v0.37.0

type ReplicationControllerDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.ReplicationController]

ReplicationControllerDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for ReplicationController.

type ReplicationControllerFilteringHandler added in v0.37.0

type ReplicationControllerFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.ReplicationController]

ReplicationControllerFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for ReplicationController.

type ReplicationControllerHandlerFuncs added in v0.37.0

type ReplicationControllerHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.ReplicationController]

ReplicationControllerHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for ReplicationController.

type ReplicationControllerIndexInformer added in v0.37.0

type ReplicationControllerIndexInformer cache.TypedSharedIndexInformer[*apicorev1.ReplicationController]

ReplicationControllerIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredReplicationControllerInformer added in v0.37.0

func NewTypedFilteredReplicationControllerInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers ReplicationControllerIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) ReplicationControllerIndexInformer

NewTypedFilteredReplicationControllerInformer constructs a new informer for ReplicationController 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 NewTypedReplicationControllerInformer added in v0.37.0

func NewTypedReplicationControllerInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers ReplicationControllerIndexers) ReplicationControllerIndexInformer

NewTypedReplicationControllerInformer constructs a new informer for ReplicationController 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 NewTypedReplicationControllerInformerWithOptions added in v0.37.0

func NewTypedReplicationControllerInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) ReplicationControllerIndexInformer

NewTypedReplicationControllerInformerWithOptions constructs a new informer for ReplicationController type with additional options. 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 ToReplicationControllerIndexInformer added in v0.37.0

func ToReplicationControllerIndexInformer(informer cache.SharedIndexInformer) ReplicationControllerIndexInformer

ToReplicationControllerIndexInformer converts an untyped informer into a ReplicationControllerIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *ReplicationController. If that is not the case, calling type-safe methods of the returned ReplicationControllerIndexInformer leads to runtime panics. A safer alternative is to pass around a ReplicationControllerIndexInformer instances that was obtained from a SharedInformerFactory.

type ReplicationControllerIndexers added in v0.37.0

type ReplicationControllerIndexers = cache.TypedIndexers[*apicorev1.ReplicationController]

ReplicationControllerIndexers is a specialization of cache.TypedIndexers for ReplicationController.

type ReplicationControllerInformer

type ReplicationControllerInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.ReplicationControllerLister
}

ReplicationControllerInformer provides access to a shared informer and lister for ReplicationControllers. Prefer using the type-safe variant (see TypedReplicationControllerInformer).

type ResourceQuotaDetailedHandlerFuncs added in v0.37.0

type ResourceQuotaDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.ResourceQuota]

ResourceQuotaDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for ResourceQuota.

type ResourceQuotaFilteringHandler added in v0.37.0

type ResourceQuotaFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.ResourceQuota]

ResourceQuotaFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for ResourceQuota.

type ResourceQuotaHandlerFuncs added in v0.37.0

type ResourceQuotaHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.ResourceQuota]

ResourceQuotaHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for ResourceQuota.

type ResourceQuotaIndexInformer added in v0.37.0

type ResourceQuotaIndexInformer cache.TypedSharedIndexInformer[*apicorev1.ResourceQuota]

ResourceQuotaIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredResourceQuotaInformer added in v0.37.0

func NewTypedFilteredResourceQuotaInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers ResourceQuotaIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) ResourceQuotaIndexInformer

NewTypedFilteredResourceQuotaInformer constructs a new informer for ResourceQuota 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 NewTypedResourceQuotaInformer added in v0.37.0

func NewTypedResourceQuotaInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers ResourceQuotaIndexers) ResourceQuotaIndexInformer

NewTypedResourceQuotaInformer constructs a new informer for ResourceQuota 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 NewTypedResourceQuotaInformerWithOptions added in v0.37.0

func NewTypedResourceQuotaInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) ResourceQuotaIndexInformer

NewTypedResourceQuotaInformerWithOptions constructs a new informer for ResourceQuota type with additional options. 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 ToResourceQuotaIndexInformer added in v0.37.0

func ToResourceQuotaIndexInformer(informer cache.SharedIndexInformer) ResourceQuotaIndexInformer

ToResourceQuotaIndexInformer converts an untyped informer into a ResourceQuotaIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *ResourceQuota. If that is not the case, calling type-safe methods of the returned ResourceQuotaIndexInformer leads to runtime panics. A safer alternative is to pass around a ResourceQuotaIndexInformer instances that was obtained from a SharedInformerFactory.

type ResourceQuotaIndexers added in v0.37.0

type ResourceQuotaIndexers = cache.TypedIndexers[*apicorev1.ResourceQuota]

ResourceQuotaIndexers is a specialization of cache.TypedIndexers for ResourceQuota.

type ResourceQuotaInformer

type ResourceQuotaInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.ResourceQuotaLister
}

ResourceQuotaInformer provides access to a shared informer and lister for ResourceQuotas. Prefer using the type-safe variant (see TypedResourceQuotaInformer).

type SecretDetailedHandlerFuncs added in v0.37.0

type SecretDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.Secret]

SecretDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for Secret.

type SecretFilteringHandler added in v0.37.0

type SecretFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.Secret]

SecretFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for Secret.

type SecretHandlerFuncs added in v0.37.0

SecretHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for Secret.

type SecretIndexInformer added in v0.37.0

type SecretIndexInformer cache.TypedSharedIndexInformer[*apicorev1.Secret]

SecretIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredSecretInformer added in v0.37.0

func NewTypedFilteredSecretInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers SecretIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) SecretIndexInformer

NewTypedFilteredSecretInformer constructs a new informer for Secret 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 NewTypedSecretInformer added in v0.37.0

func NewTypedSecretInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers SecretIndexers) SecretIndexInformer

NewTypedSecretInformer constructs a new informer for Secret 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 NewTypedSecretInformerWithOptions added in v0.37.0

func NewTypedSecretInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) SecretIndexInformer

NewTypedSecretInformerWithOptions constructs a new informer for Secret type with additional options. 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 ToSecretIndexInformer added in v0.37.0

func ToSecretIndexInformer(informer cache.SharedIndexInformer) SecretIndexInformer

ToSecretIndexInformer converts an untyped informer into a SecretIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Secret. If that is not the case, calling type-safe methods of the returned SecretIndexInformer leads to runtime panics. A safer alternative is to pass around a SecretIndexInformer instances that was obtained from a SharedInformerFactory.

type SecretIndexers added in v0.37.0

type SecretIndexers = cache.TypedIndexers[*apicorev1.Secret]

SecretIndexers is a specialization of cache.TypedIndexers for Secret.

type SecretInformer

type SecretInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.SecretLister
}

SecretInformer provides access to a shared informer and lister for Secrets. Prefer using the type-safe variant (see TypedSecretInformer).

type ServiceAccountDetailedHandlerFuncs added in v0.37.0

type ServiceAccountDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.ServiceAccount]

ServiceAccountDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for ServiceAccount.

type ServiceAccountFilteringHandler added in v0.37.0

type ServiceAccountFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.ServiceAccount]

ServiceAccountFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for ServiceAccount.

type ServiceAccountHandlerFuncs added in v0.37.0

type ServiceAccountHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.ServiceAccount]

ServiceAccountHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for ServiceAccount.

type ServiceAccountIndexInformer added in v0.37.0

type ServiceAccountIndexInformer cache.TypedSharedIndexInformer[*apicorev1.ServiceAccount]

ServiceAccountIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredServiceAccountInformer added in v0.37.0

func NewTypedFilteredServiceAccountInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers ServiceAccountIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) ServiceAccountIndexInformer

NewTypedFilteredServiceAccountInformer constructs a new informer for ServiceAccount 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 NewTypedServiceAccountInformer added in v0.37.0

func NewTypedServiceAccountInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers ServiceAccountIndexers) ServiceAccountIndexInformer

NewTypedServiceAccountInformer constructs a new informer for ServiceAccount 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 NewTypedServiceAccountInformerWithOptions added in v0.37.0

func NewTypedServiceAccountInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) ServiceAccountIndexInformer

NewTypedServiceAccountInformerWithOptions constructs a new informer for ServiceAccount type with additional options. 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 ToServiceAccountIndexInformer added in v0.37.0

func ToServiceAccountIndexInformer(informer cache.SharedIndexInformer) ServiceAccountIndexInformer

ToServiceAccountIndexInformer converts an untyped informer into a ServiceAccountIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *ServiceAccount. If that is not the case, calling type-safe methods of the returned ServiceAccountIndexInformer leads to runtime panics. A safer alternative is to pass around a ServiceAccountIndexInformer instances that was obtained from a SharedInformerFactory.

type ServiceAccountIndexers added in v0.37.0

type ServiceAccountIndexers = cache.TypedIndexers[*apicorev1.ServiceAccount]

ServiceAccountIndexers is a specialization of cache.TypedIndexers for ServiceAccount.

type ServiceAccountInformer

type ServiceAccountInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.ServiceAccountLister
}

ServiceAccountInformer provides access to a shared informer and lister for ServiceAccounts. Prefer using the type-safe variant (see TypedServiceAccountInformer).

type ServiceDetailedHandlerFuncs added in v0.37.0

type ServiceDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apicorev1.Service]

ServiceDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for Service.

type ServiceFilteringHandler added in v0.37.0

type ServiceFilteringHandler = cache.TypedFilteringResourceEventHandler[*apicorev1.Service]

ServiceFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for Service.

type ServiceHandlerFuncs added in v0.37.0

type ServiceHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apicorev1.Service]

ServiceHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for Service.

type ServiceIndexInformer added in v0.37.0

type ServiceIndexInformer cache.TypedSharedIndexInformer[*apicorev1.Service]

ServiceIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.

func NewTypedFilteredServiceInformer added in v0.37.0

func NewTypedFilteredServiceInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers ServiceIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) ServiceIndexInformer

NewTypedFilteredServiceInformer constructs a new informer for Service 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 NewTypedServiceInformer added in v0.37.0

func NewTypedServiceInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers ServiceIndexers) ServiceIndexInformer

NewTypedServiceInformer constructs a new informer for Service 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 NewTypedServiceInformerWithOptions added in v0.37.0

func NewTypedServiceInformerWithOptions(client kubernetes.Interface, namespace string, options internalinterfaces.InformerOptions) ServiceIndexInformer

NewTypedServiceInformerWithOptions constructs a new informer for Service type with additional options. 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 ToServiceIndexInformer added in v0.37.0

func ToServiceIndexInformer(informer cache.SharedIndexInformer) ServiceIndexInformer

ToServiceIndexInformer converts an untyped informer into a ServiceIndexInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Service. If that is not the case, calling type-safe methods of the returned ServiceIndexInformer leads to runtime panics. A safer alternative is to pass around a ServiceIndexInformer instances that was obtained from a SharedInformerFactory.

type ServiceIndexers added in v0.37.0

type ServiceIndexers = cache.TypedIndexers[*apicorev1.Service]

ServiceIndexers is a specialization of cache.TypedIndexers for Service.

type ServiceInformer

type ServiceInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() corev1.ServiceLister
}

ServiceInformer provides access to a shared informer and lister for Services. Prefer using the type-safe variant (see TypedServiceInformer).

type TypedComponentStatusInformer added in v0.37.0

type TypedComponentStatusInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() ComponentStatusIndexInformer
	Lister() corev1.ComponentStatusLister
}

TypedComponentStatusInformer provides access to a shared informer and lister for ComponentStatuses, including the type-safe TypedInformer variant. It is a superset of ComponentStatusInformer.

func ToTypedComponentStatusInformer added in v0.37.0

func ToTypedComponentStatusInformer(informer ComponentStatusInformer) TypedComponentStatusInformer

ToTypedComponentStatusInformer converts an untyped informer into a TypedComponentStatusInformer.

WARNING: this conversion is only safe if the informer handles objects of type *ComponentStatus. If that is not the case, calling type-safe methods of the returned TypedComponentStatusInformer leads to runtime panics. A safer alternative is to pass around a TypedComponentStatusInformer instances that was obtained from a SharedInformerFactory.

type TypedConfigMapInformer added in v0.37.0

type TypedConfigMapInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() ConfigMapIndexInformer
	Lister() corev1.ConfigMapLister
}

TypedConfigMapInformer provides access to a shared informer and lister for ConfigMaps, including the type-safe TypedInformer variant. It is a superset of ConfigMapInformer.

func ToTypedConfigMapInformer added in v0.37.0

func ToTypedConfigMapInformer(informer ConfigMapInformer) TypedConfigMapInformer

ToTypedConfigMapInformer converts an untyped informer into a TypedConfigMapInformer.

WARNING: this conversion is only safe if the informer handles objects of type *ConfigMap. If that is not the case, calling type-safe methods of the returned TypedConfigMapInformer leads to runtime panics. A safer alternative is to pass around a TypedConfigMapInformer instances that was obtained from a SharedInformerFactory.

type TypedEndpointsInformer added in v0.37.0

type TypedEndpointsInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() EndpointsIndexInformer
	Lister() corev1.EndpointsLister
}

TypedEndpointsInformer provides access to a shared informer and lister for Endpoints, including the type-safe TypedInformer variant. It is a superset of EndpointsInformer.

func ToTypedEndpointsInformer added in v0.37.0

func ToTypedEndpointsInformer(informer EndpointsInformer) TypedEndpointsInformer

ToTypedEndpointsInformer converts an untyped informer into a TypedEndpointsInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Endpoints. If that is not the case, calling type-safe methods of the returned TypedEndpointsInformer leads to runtime panics. A safer alternative is to pass around a TypedEndpointsInformer instances that was obtained from a SharedInformerFactory.

type TypedEventInformer added in v0.37.0

type TypedEventInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() EventIndexInformer
	Lister() corev1.EventLister
}

TypedEventInformer provides access to a shared informer and lister for Events, including the type-safe TypedInformer variant. It is a superset of EventInformer.

func ToTypedEventInformer added in v0.37.0

func ToTypedEventInformer(informer EventInformer) TypedEventInformer

ToTypedEventInformer converts an untyped informer into a TypedEventInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Event. If that is not the case, calling type-safe methods of the returned TypedEventInformer leads to runtime panics. A safer alternative is to pass around a TypedEventInformer instances that was obtained from a SharedInformerFactory.

type TypedLimitRangeInformer added in v0.37.0

type TypedLimitRangeInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() LimitRangeIndexInformer
	Lister() corev1.LimitRangeLister
}

TypedLimitRangeInformer provides access to a shared informer and lister for LimitRanges, including the type-safe TypedInformer variant. It is a superset of LimitRangeInformer.

func ToTypedLimitRangeInformer added in v0.37.0

func ToTypedLimitRangeInformer(informer LimitRangeInformer) TypedLimitRangeInformer

ToTypedLimitRangeInformer converts an untyped informer into a TypedLimitRangeInformer.

WARNING: this conversion is only safe if the informer handles objects of type *LimitRange. If that is not the case, calling type-safe methods of the returned TypedLimitRangeInformer leads to runtime panics. A safer alternative is to pass around a TypedLimitRangeInformer instances that was obtained from a SharedInformerFactory.

type TypedNamespaceInformer added in v0.37.0

type TypedNamespaceInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() NamespaceIndexInformer
	Lister() corev1.NamespaceLister
}

TypedNamespaceInformer provides access to a shared informer and lister for Namespaces, including the type-safe TypedInformer variant. It is a superset of NamespaceInformer.

func ToTypedNamespaceInformer added in v0.37.0

func ToTypedNamespaceInformer(informer NamespaceInformer) TypedNamespaceInformer

ToTypedNamespaceInformer converts an untyped informer into a TypedNamespaceInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Namespace. If that is not the case, calling type-safe methods of the returned TypedNamespaceInformer leads to runtime panics. A safer alternative is to pass around a TypedNamespaceInformer instances that was obtained from a SharedInformerFactory.

type TypedNodeInformer added in v0.37.0

type TypedNodeInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() NodeIndexInformer
	Lister() corev1.NodeLister
}

TypedNodeInformer provides access to a shared informer and lister for Nodes, including the type-safe TypedInformer variant. It is a superset of NodeInformer.

func ToTypedNodeInformer added in v0.37.0

func ToTypedNodeInformer(informer NodeInformer) TypedNodeInformer

ToTypedNodeInformer converts an untyped informer into a TypedNodeInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Node. If that is not the case, calling type-safe methods of the returned TypedNodeInformer leads to runtime panics. A safer alternative is to pass around a TypedNodeInformer instances that was obtained from a SharedInformerFactory.

type TypedPersistentVolumeClaimInformer added in v0.37.0

type TypedPersistentVolumeClaimInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() PersistentVolumeClaimIndexInformer
	Lister() corev1.PersistentVolumeClaimLister
}

TypedPersistentVolumeClaimInformer provides access to a shared informer and lister for PersistentVolumeClaims, including the type-safe TypedInformer variant. It is a superset of PersistentVolumeClaimInformer.

func ToTypedPersistentVolumeClaimInformer added in v0.37.0

func ToTypedPersistentVolumeClaimInformer(informer PersistentVolumeClaimInformer) TypedPersistentVolumeClaimInformer

ToTypedPersistentVolumeClaimInformer converts an untyped informer into a TypedPersistentVolumeClaimInformer.

WARNING: this conversion is only safe if the informer handles objects of type *PersistentVolumeClaim. If that is not the case, calling type-safe methods of the returned TypedPersistentVolumeClaimInformer leads to runtime panics. A safer alternative is to pass around a TypedPersistentVolumeClaimInformer instances that was obtained from a SharedInformerFactory.

type TypedPersistentVolumeInformer added in v0.37.0

type TypedPersistentVolumeInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() PersistentVolumeIndexInformer
	Lister() corev1.PersistentVolumeLister
}

TypedPersistentVolumeInformer provides access to a shared informer and lister for PersistentVolumes, including the type-safe TypedInformer variant. It is a superset of PersistentVolumeInformer.

func ToTypedPersistentVolumeInformer added in v0.37.0

func ToTypedPersistentVolumeInformer(informer PersistentVolumeInformer) TypedPersistentVolumeInformer

ToTypedPersistentVolumeInformer converts an untyped informer into a TypedPersistentVolumeInformer.

WARNING: this conversion is only safe if the informer handles objects of type *PersistentVolume. If that is not the case, calling type-safe methods of the returned TypedPersistentVolumeInformer leads to runtime panics. A safer alternative is to pass around a TypedPersistentVolumeInformer instances that was obtained from a SharedInformerFactory.

type TypedPodInformer added in v0.37.0

type TypedPodInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() PodIndexInformer
	Lister() corev1.PodLister
}

TypedPodInformer provides access to a shared informer and lister for Pods, including the type-safe TypedInformer variant. It is a superset of PodInformer.

func ToTypedPodInformer added in v0.37.0

func ToTypedPodInformer(informer PodInformer) TypedPodInformer

ToTypedPodInformer converts an untyped informer into a TypedPodInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Pod. If that is not the case, calling type-safe methods of the returned TypedPodInformer leads to runtime panics. A safer alternative is to pass around a TypedPodInformer instances that was obtained from a SharedInformerFactory.

type TypedPodTemplateInformer added in v0.37.0

type TypedPodTemplateInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() PodTemplateIndexInformer
	Lister() corev1.PodTemplateLister
}

TypedPodTemplateInformer provides access to a shared informer and lister for PodTemplates, including the type-safe TypedInformer variant. It is a superset of PodTemplateInformer.

func ToTypedPodTemplateInformer added in v0.37.0

func ToTypedPodTemplateInformer(informer PodTemplateInformer) TypedPodTemplateInformer

ToTypedPodTemplateInformer converts an untyped informer into a TypedPodTemplateInformer.

WARNING: this conversion is only safe if the informer handles objects of type *PodTemplate. If that is not the case, calling type-safe methods of the returned TypedPodTemplateInformer leads to runtime panics. A safer alternative is to pass around a TypedPodTemplateInformer instances that was obtained from a SharedInformerFactory.

type TypedReplicationControllerInformer added in v0.37.0

type TypedReplicationControllerInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() ReplicationControllerIndexInformer
	Lister() corev1.ReplicationControllerLister
}

TypedReplicationControllerInformer provides access to a shared informer and lister for ReplicationControllers, including the type-safe TypedInformer variant. It is a superset of ReplicationControllerInformer.

func ToTypedReplicationControllerInformer added in v0.37.0

func ToTypedReplicationControllerInformer(informer ReplicationControllerInformer) TypedReplicationControllerInformer

ToTypedReplicationControllerInformer converts an untyped informer into a TypedReplicationControllerInformer.

WARNING: this conversion is only safe if the informer handles objects of type *ReplicationController. If that is not the case, calling type-safe methods of the returned TypedReplicationControllerInformer leads to runtime panics. A safer alternative is to pass around a TypedReplicationControllerInformer instances that was obtained from a SharedInformerFactory.

type TypedResourceQuotaInformer added in v0.37.0

type TypedResourceQuotaInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() ResourceQuotaIndexInformer
	Lister() corev1.ResourceQuotaLister
}

TypedResourceQuotaInformer provides access to a shared informer and lister for ResourceQuotas, including the type-safe TypedInformer variant. It is a superset of ResourceQuotaInformer.

func ToTypedResourceQuotaInformer added in v0.37.0

func ToTypedResourceQuotaInformer(informer ResourceQuotaInformer) TypedResourceQuotaInformer

ToTypedResourceQuotaInformer converts an untyped informer into a TypedResourceQuotaInformer.

WARNING: this conversion is only safe if the informer handles objects of type *ResourceQuota. If that is not the case, calling type-safe methods of the returned TypedResourceQuotaInformer leads to runtime panics. A safer alternative is to pass around a TypedResourceQuotaInformer instances that was obtained from a SharedInformerFactory.

type TypedSecretInformer added in v0.37.0

type TypedSecretInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() SecretIndexInformer
	Lister() corev1.SecretLister
}

TypedSecretInformer provides access to a shared informer and lister for Secrets, including the type-safe TypedInformer variant. It is a superset of SecretInformer.

func ToTypedSecretInformer added in v0.37.0

func ToTypedSecretInformer(informer SecretInformer) TypedSecretInformer

ToTypedSecretInformer converts an untyped informer into a TypedSecretInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Secret. If that is not the case, calling type-safe methods of the returned TypedSecretInformer leads to runtime panics. A safer alternative is to pass around a TypedSecretInformer instances that was obtained from a SharedInformerFactory.

type TypedServiceAccountInformer added in v0.37.0

type TypedServiceAccountInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() ServiceAccountIndexInformer
	Lister() corev1.ServiceAccountLister
}

TypedServiceAccountInformer provides access to a shared informer and lister for ServiceAccounts, including the type-safe TypedInformer variant. It is a superset of ServiceAccountInformer.

func ToTypedServiceAccountInformer added in v0.37.0

func ToTypedServiceAccountInformer(informer ServiceAccountInformer) TypedServiceAccountInformer

ToTypedServiceAccountInformer converts an untyped informer into a TypedServiceAccountInformer.

WARNING: this conversion is only safe if the informer handles objects of type *ServiceAccount. If that is not the case, calling type-safe methods of the returned TypedServiceAccountInformer leads to runtime panics. A safer alternative is to pass around a TypedServiceAccountInformer instances that was obtained from a SharedInformerFactory.

type TypedServiceInformer added in v0.37.0

type TypedServiceInformer interface {
	Informer() cache.SharedIndexInformer
	TypedInformer() ServiceIndexInformer
	Lister() corev1.ServiceLister
}

TypedServiceInformer provides access to a shared informer and lister for Services, including the type-safe TypedInformer variant. It is a superset of ServiceInformer.

func ToTypedServiceInformer added in v0.37.0

func ToTypedServiceInformer(informer ServiceInformer) TypedServiceInformer

ToTypedServiceInformer converts an untyped informer into a TypedServiceInformer.

WARNING: this conversion is only safe if the informer handles objects of type *Service. If that is not the case, calling type-safe methods of the returned TypedServiceInformer leads to runtime panics. A safer alternative is to pass around a TypedServiceInformer instances that was obtained from a SharedInformerFactory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL