v1alpha1

package
v0.74.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL