v1alpha1

package
v0.0.0-...-d24fd3e Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlertRelabelConfigInformer

func NewAlertRelabelConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewAlertRelabelConfigInformer constructs a new informer for AlertRelabelConfig 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 NewAlertingRuleInformer

func NewAlertingRuleInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewAlertingRuleInformer constructs a new informer for AlertingRule 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 NewFilteredAlertRelabelConfigInformer

func NewFilteredAlertRelabelConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredAlertRelabelConfigInformer constructs a new informer for AlertRelabelConfig 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 NewFilteredAlertingRuleInformer

func NewFilteredAlertingRuleInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredAlertingRuleInformer constructs a new informer for AlertingRule 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 AlertRelabelConfigInformer

type AlertRelabelConfigInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.AlertRelabelConfigLister
}

AlertRelabelConfigInformer provides access to a shared informer and lister for AlertRelabelConfigs.

type AlertingRuleInformer

type AlertingRuleInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.AlertingRuleLister
}

AlertingRuleInformer provides access to a shared informer and lister for AlertingRules.

type Interface

type Interface interface {
	// AlertRelabelConfigs returns a AlertRelabelConfigInformer.
	AlertRelabelConfigs() AlertRelabelConfigInformer
	// AlertingRules returns a AlertingRuleInformer.
	AlertingRules() AlertingRuleInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

Jump to

Keyboard shortcuts

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