Documentation ¶
Index ¶
- func NewFilteredRuleGroupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredScrapeInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewRuleGroupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewScrapeInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type Interface
- type RuleGroupInformer
- type ScrapeInformer
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 ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
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.