v1alpha1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlertContactGroupInformer

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

NewAlertContactGroupInformer constructs a new informer for AlertContactGroup 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 NewAlertContactInformer

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

NewAlertContactInformer constructs a new informer for AlertContact 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 NewDispatchRuleInformer

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

NewDispatchRuleInformer constructs a new informer for DispatchRule 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 NewFilteredAlertContactGroupInformer

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

NewFilteredAlertContactGroupInformer constructs a new informer for AlertContactGroup 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 NewFilteredAlertContactInformer

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

NewFilteredAlertContactInformer constructs a new informer for AlertContact 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 NewFilteredDispatchRuleInformer

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

NewFilteredDispatchRuleInformer constructs a new informer for DispatchRule 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 NewFilteredPrometheusAlertRuleInformer

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

NewFilteredPrometheusAlertRuleInformer constructs a new informer for PrometheusAlertRule 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 NewPrometheusAlertRuleInformer

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

NewPrometheusAlertRuleInformer constructs a new informer for PrometheusAlertRule 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 AlertContactGroupInformer

type AlertContactGroupInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.AlertContactGroupLister
}

AlertContactGroupInformer provides access to a shared informer and lister for AlertContactGroups.

type AlertContactInformer

type AlertContactInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.AlertContactLister
}

AlertContactInformer provides access to a shared informer and lister for AlertContacts.

type DispatchRuleInformer

type DispatchRuleInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.DispatchRuleLister
}

DispatchRuleInformer provides access to a shared informer and lister for DispatchRules.

type Interface

type Interface interface {
	// AlertContacts returns a AlertContactInformer.
	AlertContacts() AlertContactInformer
	// AlertContactGroups returns a AlertContactGroupInformer.
	AlertContactGroups() AlertContactGroupInformer
	// DispatchRules returns a DispatchRuleInformer.
	DispatchRules() DispatchRuleInformer
	// PrometheusAlertRules returns a PrometheusAlertRuleInformer.
	PrometheusAlertRules() PrometheusAlertRuleInformer
}

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

func New

New returns a new Interface.

type PrometheusAlertRuleInformer

type PrometheusAlertRuleInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.PrometheusAlertRuleLister
}

PrometheusAlertRuleInformer provides access to a shared informer and lister for PrometheusAlertRules.

Jump to

Keyboard shortcuts

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