Documentation ¶
Index ¶
- func NewAppInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredAppInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredProductInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewProductInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type AppInformer
- type Interface
- type ProductInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppInformer ¶
func NewAppInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewAppInformer constructs a new informer for App 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 NewFilteredAppInformer ¶
func NewFilteredAppInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredAppInformer constructs a new informer for App 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 NewFilteredProductInformer ¶
func NewFilteredProductInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredProductInformer constructs a new informer for Product 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 NewProductInformer ¶
func NewProductInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewProductInformer constructs a new informer for Product type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
Types ¶
type AppInformer ¶
type AppInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.AppLister }
AppInformer provides access to a shared informer and lister for Apps.
type Interface ¶
type Interface interface { // Apps returns a AppInformer. Apps() AppInformer // Products returns a ProductInformer. Products() ProductInformer }
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 ProductInformer ¶
type ProductInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.ProductLister }
ProductInformer provides access to a shared informer and lister for Products.