v1alpha1

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 11 Imported by: 18

Documentation

Index

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

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

New returns a new Interface.

type StorageVersionDetailedHandlerFuncs added in v0.37.0

StorageVersionDetailedHandlerFuncs is a specialization of cache.TypedResourceEventHandlerDetailedFuncs for StorageVersion.

type StorageVersionFilteringHandler added in v0.37.0

StorageVersionFilteringHandler is a specialization of cache.TypedFilteringResourceEventHandler for StorageVersion.

type StorageVersionHandlerFuncs added in v0.37.0

StorageVersionHandlerFuncs is a specialization of cache.TypedResourceEventHandlerFuncs for StorageVersion.

type StorageVersionIndexInformer added in v0.37.0

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

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.

Jump to

Keyboard shortcuts

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