v1beta1

package
v1.23.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlertProviderInformer

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

NewAlertProviderInformer constructs a new informer for AlertProvider 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 NewCanaryInformer

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

NewCanaryInformer constructs a new informer for Canary 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 NewFilteredAlertProviderInformer

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

NewFilteredAlertProviderInformer constructs a new informer for AlertProvider 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 NewFilteredCanaryInformer

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

NewFilteredCanaryInformer constructs a new informer for Canary 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 NewFilteredMetricTemplateInformer

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

NewFilteredMetricTemplateInformer constructs a new informer for MetricTemplate 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 NewMetricTemplateInformer

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

NewMetricTemplateInformer constructs a new informer for MetricTemplate 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 AlertProviderInformer

type AlertProviderInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.AlertProviderLister
}

AlertProviderInformer provides access to a shared informer and lister for AlertProviders.

type CanaryInformer

type CanaryInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.CanaryLister
}

CanaryInformer provides access to a shared informer and lister for Canaries.

type Interface

type Interface interface {
	// AlertProviders returns a AlertProviderInformer.
	AlertProviders() AlertProviderInformer
	// Canaries returns a CanaryInformer.
	Canaries() CanaryInformer
	// MetricTemplates returns a MetricTemplateInformer.
	MetricTemplates() MetricTemplateInformer
}

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

func New

New returns a new Interface.

type MetricTemplateInformer

type MetricTemplateInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.MetricTemplateLister
}

MetricTemplateInformer provides access to a shared informer and lister for MetricTemplates.

Jump to

Keyboard shortcuts

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