subscriber

package
v0.0.0-...-1f1d885 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSubscriber

func NewSubscriber(
	topoSubscriber topology.Subscriber,
	varSubscriber pdvariable.Subscriber,
	cfgSubscriber config.Subscriber,
	store store.Store,
) *subscriber.Subscriber

Types

type Scraper

type Scraper struct {
	// contains filtered or unexported fields
}

func NewScraper

func NewScraper(ctx context.Context, component topology.Component, store store.Store, tlsConfig *tls.Config) *Scraper

func (*Scraper) Close

func (s *Scraper) Close()

func (*Scraper) IsDown

func (s *Scraper) IsDown() bool

func (*Scraper) Run

func (s *Scraper) Run()

type SubscriberController

type SubscriberController struct {
	// contains filtered or unexported fields
}

func NewSubscriberController

func NewSubscriberController(store store.Store) *SubscriberController

func (*SubscriberController) IsEnabled

func (sc *SubscriberController) IsEnabled() bool

func (*SubscriberController) Name

func (sc *SubscriberController) Name() string

func (*SubscriberController) NewScraper

func (sc *SubscriberController) NewScraper(ctx context.Context, component topology.Component) subscriber.Scraper

func (*SubscriberController) UpdateConfig

func (sc *SubscriberController) UpdateConfig(cfg config.Config)

func (*SubscriberController) UpdatePDVariable

func (sc *SubscriberController) UpdatePDVariable(variable pdvariable.PDVariable)

func (*SubscriberController) UpdateTopology

func (sc *SubscriberController) UpdateTopology(components []topology.Component)

Jump to

Keyboard shortcuts

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