v2beta2

package
v0.0.0-...-be065d1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigInformer

func NewConfigInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewConfigInformer constructs a new informer for Config 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 NewFilteredConfigInformer

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

NewFilteredConfigInformer constructs a new informer for Config 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 NewFilteredNotificationManagerInformer

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

NewFilteredNotificationManagerInformer constructs a new informer for NotificationManager 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 NewFilteredReceiverInformer

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

NewFilteredReceiverInformer constructs a new informer for Receiver 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 NewFilteredRouterInformer

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

NewFilteredRouterInformer constructs a new informer for Router 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 NewFilteredSilenceInformer

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

NewFilteredSilenceInformer constructs a new informer for Silence 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 NewNotificationManagerInformer

func NewNotificationManagerInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewNotificationManagerInformer constructs a new informer for NotificationManager 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 NewReceiverInformer

func NewReceiverInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewReceiverInformer constructs a new informer for Receiver 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 NewRouterInformer

func NewRouterInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewRouterInformer constructs a new informer for Router 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 NewSilenceInformer

func NewSilenceInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewSilenceInformer constructs a new informer for Silence 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 ConfigInformer

type ConfigInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2beta2.ConfigLister
}

ConfigInformer provides access to a shared informer and lister for Configs.

type Interface

type Interface interface {
	// Configs returns a ConfigInformer.
	Configs() ConfigInformer
	// NotificationManagers returns a NotificationManagerInformer.
	NotificationManagers() NotificationManagerInformer
	// Receivers returns a ReceiverInformer.
	Receivers() ReceiverInformer
	// Routers returns a RouterInformer.
	Routers() RouterInformer
	// Silences returns a SilenceInformer.
	Silences() SilenceInformer
}

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

func New

New returns a new Interface.

type NotificationManagerInformer

type NotificationManagerInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2beta2.NotificationManagerLister
}

NotificationManagerInformer provides access to a shared informer and lister for NotificationManagers.

type ReceiverInformer

type ReceiverInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2beta2.ReceiverLister
}

ReceiverInformer provides access to a shared informer and lister for Receivers.

type RouterInformer

type RouterInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2beta2.RouterLister
}

RouterInformer provides access to a shared informer and lister for Routers.

type SilenceInformer

type SilenceInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2beta2.SilenceLister
}

SilenceInformer provides access to a shared informer and lister for Silences.

Jump to

Keyboard shortcuts

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