Documentation ¶
Index ¶
- func NewConfigMapInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredConfigMapInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredPrometheusInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewPrometheusInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type ConfigMapInformer
- type Interface
- type PrometheusInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigMapInformer ¶
func NewConfigMapInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewConfigMapInformer constructs a new informer for ConfigMap 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 NewFilteredConfigMapInformer ¶
func NewFilteredConfigMapInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredConfigMapInformer constructs a new informer for ConfigMap 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 NewFilteredPrometheusInformer ¶ added in v1.3.1
func NewFilteredPrometheusInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredPrometheusInformer constructs a new informer for Prometheus 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 NewPrometheusInformer ¶ added in v1.3.1
func NewPrometheusInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewPrometheusInformer constructs a new informer for Prometheus 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 ConfigMapInformer ¶
type ConfigMapInformer interface { Informer() cache.SharedIndexInformer Lister() v1.ConfigMapLister }
ConfigMapInformer provides access to a shared informer and lister for ConfigMaps.
type Interface ¶
type Interface interface { // ConfigMaps returns a ConfigMapInformer. ConfigMaps() ConfigMapInformer // Prometheuses returns a PrometheusInformer. Prometheuses() PrometheusInformer }
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 PrometheusInformer ¶ added in v1.3.1
type PrometheusInformer interface { Informer() cache.SharedIndexInformer Lister() v1.PrometheusLister }
PrometheusInformer provides access to a shared informer and lister for Prometheuses.