receivers

package
v0.106.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRegistered

func IsRegistered(name string) bool

IsRegistered checks whether a parser is registered with the given name.

func ReceiverFor added in v0.104.0

func ReceiverFor(name string) components.ComponentPortParser

ReceiverFor returns a parser builder for the given exporter name.

func Register

func Register(name string, p components.ComponentPortParser)

Register adds a new parser builder to the list of known builders.

Types

type ScraperParser

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

func NewScraperParser

func NewScraperParser(name string) *ScraperParser

func (*ScraperParser) ParserName

func (s *ScraperParser) ParserName() string

func (*ScraperParser) ParserType

func (s *ScraperParser) ParserType() string

func (*ScraperParser) Ports

func (s *ScraperParser) Ports(logger logr.Logger, name string, config interface{}) ([]corev1.ServicePort, error)

Jump to

Keyboard shortcuts

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