Documentation ¶
Index ¶
- func NewAlertmanagerConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredAlertmanagerConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredPrometheusAgentInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredScrapeConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewPrometheusAgentInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewScrapeConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type AlertmanagerConfigInformer
- type Interface
- type PrometheusAgentInformer
- type ScrapeConfigInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAlertmanagerConfigInformer ¶
func NewAlertmanagerConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewAlertmanagerConfigInformer constructs a new informer for AlertmanagerConfig 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 NewFilteredAlertmanagerConfigInformer ¶
func NewFilteredAlertmanagerConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredAlertmanagerConfigInformer constructs a new informer for AlertmanagerConfig 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 NewFilteredPrometheusAgentInformer ¶ added in v0.64.0
func NewFilteredPrometheusAgentInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredPrometheusAgentInformer constructs a new informer for PrometheusAgent 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 NewFilteredScrapeConfigInformer ¶ added in v0.65.0
func NewFilteredScrapeConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredScrapeConfigInformer constructs a new informer for ScrapeConfig 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 NewPrometheusAgentInformer ¶ added in v0.64.0
func NewPrometheusAgentInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewPrometheusAgentInformer constructs a new informer for PrometheusAgent 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 NewScrapeConfigInformer ¶ added in v0.65.0
func NewScrapeConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewScrapeConfigInformer constructs a new informer for ScrapeConfig 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 AlertmanagerConfigInformer ¶
type AlertmanagerConfigInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.AlertmanagerConfigLister }
AlertmanagerConfigInformer provides access to a shared informer and lister for AlertmanagerConfigs.
type Interface ¶
type Interface interface { // AlertmanagerConfigs returns a AlertmanagerConfigInformer. AlertmanagerConfigs() AlertmanagerConfigInformer // PrometheusAgents returns a PrometheusAgentInformer. PrometheusAgents() PrometheusAgentInformer // ScrapeConfigs returns a ScrapeConfigInformer. ScrapeConfigs() ScrapeConfigInformer }
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 PrometheusAgentInformer ¶ added in v0.64.0
type PrometheusAgentInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.PrometheusAgentLister }
PrometheusAgentInformer provides access to a shared informer and lister for PrometheusAgents.
type ScrapeConfigInformer ¶ added in v0.65.0
type ScrapeConfigInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.ScrapeConfigLister }
ScrapeConfigInformer provides access to a shared informer and lister for ScrapeConfigs.