receivers

package
v0.103.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuilderFor

func BuilderFor(name string) components.ComponentPortParser

BuilderFor returns a parser builder for the given exporter name.

func IsRegistered

func IsRegistered(name string) bool

IsRegistered checks whether a parser is registered with the given 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, config interface{}) ([]corev1.ServicePort, error)

Jump to

Keyboard shortcuts

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