v1beta1

package
v0.3.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredRuleGroupInformer

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

NewFilteredRuleGroupInformer constructs a new informer for RuleGroup 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 NewFilteredScrapeInformer

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

NewFilteredScrapeInformer constructs a new informer for Scrape 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 NewRuleGroupInformer

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

NewRuleGroupInformer constructs a new informer for RuleGroup 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 NewScrapeInformer

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

NewScrapeInformer constructs a new informer for Scrape 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 Interface

type Interface interface {
	// RuleGroups returns a RuleGroupInformer.
	RuleGroups() RuleGroupInformer
	// Scrapes returns a ScrapeInformer.
	Scrapes() ScrapeInformer
}

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

func New

New returns a new Interface.

type RuleGroupInformer

type RuleGroupInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.RuleGroupLister
}

RuleGroupInformer provides access to a shared informer and lister for RuleGroups.

type ScrapeInformer

type ScrapeInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.ScrapeLister
}

ScrapeInformer provides access to a shared informer and lister for Scrapes.

Jump to

Keyboard shortcuts

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