Documentation
¶
Overview ¶
Package podcache caches the proxy pods for the operator (0004 §4.3): one informer per integration's pod selector, read as one cache. A label selector can't express a union, so a single informer would watch every pod whenever the selectors share no label key.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(selectors []labels.Selector, namespaces []string) cache.NewCacheFunc
New returns a cache constructor for the manager (ctrl.Options.NewCache). Its cache holds, of the pods, only those matching one of selectors in namespaces (none: every namespace), with an informer per distinct selector; other kinds are cached as the options say. Options.ByObject must not configure pods.
Types ¶
This section is empty.