Documentation
¶
Index ¶
- func NewFilteredStorageVersionInformer(client kubernetes.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewStorageVersionInformer(client kubernetes.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewStorageVersionInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) cache.SharedIndexInformer
- type DeletedStorageVersion
- type Interface
- type StorageVersionDetailedHandlerFuncs
- type StorageVersionFilteringHandler
- type StorageVersionHandlerFuncs
- type StorageVersionIndexInformer
- func NewTypedFilteredStorageVersionInformer(client kubernetes.Interface, resyncPeriod time.Duration, ...) StorageVersionIndexInformer
- func NewTypedStorageVersionInformer(client kubernetes.Interface, resyncPeriod time.Duration, ...) StorageVersionIndexInformer
- func NewTypedStorageVersionInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) StorageVersionIndexInformer
- func ToStorageVersionIndexInformer(informer cache.SharedIndexInformer) StorageVersionIndexInformer
- type StorageVersionIndexers
- type StorageVersionInformer
- type TypedStorageVersionInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredStorageVersionInformer ¶
func NewFilteredStorageVersionInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredStorageVersionInformer constructs a new informer for StorageVersion 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 NewTypedFilteredStorageVersionInformer).
func NewStorageVersionInformer ¶
func NewStorageVersionInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewStorageVersionInformer constructs a new informer for StorageVersion 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 NewTypedStorageVersionInformer).
func NewStorageVersionInformerWithOptions ¶ added in v0.36.0
func NewStorageVersionInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) cache.SharedIndexInformer
NewStorageVersionInformerWithOptions constructs a new informer for StorageVersion 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 NewTypedStorageVersionInformerWithOptions).
Types ¶
type DeletedStorageVersion ¶ added in v0.37.0
type DeletedStorageVersion = cache.DeletedObject[*apiapiserverinternalv1alpha1.StorageVersion]
DeletedStorageVersion is a specialization of cache.DeletedObject for StorageVersion.
type Interface ¶
type Interface interface {
// StorageVersions returns a StorageVersionInformer.
StorageVersions() TypedStorageVersionInformer
}
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.
type StorageVersionDetailedHandlerFuncs ¶ added in v0.37.0
type StorageVersionDetailedHandlerFuncs = cache.TypedResourceEventHandlerDetailedFuncs[*apiapiserverinternalv1alpha1.StorageVersion]
StorageVersionDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for StorageVersion.
type StorageVersionFilteringHandler ¶ added in v0.37.0
type StorageVersionFilteringHandler = cache.TypedFilteringResourceEventHandler[*apiapiserverinternalv1alpha1.StorageVersion]
StorageVersionFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for StorageVersion.
type StorageVersionHandlerFuncs ¶ added in v0.37.0
type StorageVersionHandlerFuncs = cache.TypedResourceEventHandlerFuncs[*apiapiserverinternalv1alpha1.StorageVersion]
StorageVersionHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for StorageVersion.
type StorageVersionIndexInformer ¶ added in v0.37.0
type StorageVersionIndexInformer cache.TypedSharedIndexInformer[*apiapiserverinternalv1alpha1.StorageVersion]
StorageVersionIndexInformer is a wrapper around the underlying cache.SharedIndexInformer with type-safe variants of several methods.
func NewTypedFilteredStorageVersionInformer ¶ added in v0.37.0
func NewTypedFilteredStorageVersionInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers StorageVersionIndexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) StorageVersionIndexInformer
NewTypedFilteredStorageVersionInformer constructs a new informer for StorageVersion 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 NewTypedStorageVersionInformer ¶ added in v0.37.0
func NewTypedStorageVersionInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers StorageVersionIndexers) StorageVersionIndexInformer
NewTypedStorageVersionInformer constructs a new informer for StorageVersion 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 NewTypedStorageVersionInformerWithOptions ¶ added in v0.37.0
func NewTypedStorageVersionInformerWithOptions(client kubernetes.Interface, options internalinterfaces.InformerOptions) StorageVersionIndexInformer
NewTypedStorageVersionInformerWithOptions constructs a new informer for StorageVersion 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 ToStorageVersionIndexInformer ¶ added in v0.37.0
func ToStorageVersionIndexInformer(informer cache.SharedIndexInformer) StorageVersionIndexInformer
ToStorageVersionIndexInformer converts an untyped informer into a StorageVersionIndexInformer.
WARNING: this conversion is only safe if the informer handles objects of type *StorageVersion. If that is not the case, calling type-safe methods of the returned StorageVersionIndexInformer leads to runtime panics. A safer alternative is to pass around a StorageVersionIndexInformer instances that was obtained from a SharedInformerFactory.
type StorageVersionIndexers ¶ added in v0.37.0
type StorageVersionIndexers = cache.TypedIndexers[*apiapiserverinternalv1alpha1.StorageVersion]
StorageVersionIndexers is a specialization of cache.TypedIndexers for StorageVersion.
type StorageVersionInformer ¶
type StorageVersionInformer interface {
Informer() cache.SharedIndexInformer
Lister() apiserverinternalv1alpha1.StorageVersionLister
}
StorageVersionInformer provides access to a shared informer and lister for StorageVersions. Prefer using the type-safe variant (see TypedStorageVersionInformer).
type TypedStorageVersionInformer ¶ added in v0.37.0
type TypedStorageVersionInformer interface {
Informer() cache.SharedIndexInformer
TypedInformer() StorageVersionIndexInformer
Lister() apiserverinternalv1alpha1.StorageVersionLister
}
TypedStorageVersionInformer provides access to a shared informer and lister for StorageVersions, including the type-safe TypedInformer variant. It is a superset of StorageVersionInformer.
func ToTypedStorageVersionInformer ¶ added in v0.37.0
func ToTypedStorageVersionInformer(informer StorageVersionInformer) TypedStorageVersionInformer
ToTypedStorageVersionInformer converts an untyped informer into a TypedStorageVersionInformer.
WARNING: this conversion is only safe if the informer handles objects of type *StorageVersion. If that is not the case, calling type-safe methods of the returned TypedStorageVersionInformer leads to runtime panics. A safer alternative is to pass around a TypedStorageVersionInformer instances that was obtained from a SharedInformerFactory.