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 ¶
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)
Click to show internal directories.
Click to hide internal directories.