Documentation
¶
Index ¶
- func NewFilteredPizzaInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredToppingInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewPizzaInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewToppingInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type Interface
- type PizzaInformer
- type ToppingInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredPizzaInformer ¶
func NewFilteredPizzaInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredPizzaInformer constructs a new informer for Pizza 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 NewFilteredToppingInformer ¶
func NewFilteredToppingInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredToppingInformer constructs a new informer for Topping 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 NewPizzaInformer ¶
func NewPizzaInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewPizzaInformer constructs a new informer for Pizza 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 NewToppingInformer ¶
func NewToppingInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewToppingInformer constructs a new informer for Topping 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 Interface ¶
type Interface interface {
// Pizzas returns a PizzaInformer.
Pizzas() PizzaInformer
// Toppings returns a ToppingInformer.
Toppings() ToppingInformer
}
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 PizzaInformer ¶
type PizzaInformer interface {
Informer() cache.SharedIndexInformer
Lister() v2alpha1.PizzaLister
}
PizzaInformer provides access to a shared informer and lister for Pizzas.
type ToppingInformer ¶
type ToppingInformer interface {
Informer() cache.SharedIndexInformer
Lister() v2alpha1.ToppingLister
}
ToppingInformer provides access to a shared informer and lister for Toppings.