Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDiscoverer

func NewDiscoverer(config DiscoveryConfig, log logr.Logger) (*discoverer, error)

Types

type Converter

type Converter struct{}

func (Converter) Convert

func (Converter) ConvertAll

func (c Converter) ConvertAll(assignments []*observability_proto.MonitoringAssignment) []*targetgroup.Group

type DiscoveryConfig

type DiscoveryConfig struct {
	ServerURL  string
	ClientName string
}

type Handler

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

func (*Handler) Handle

func (h *Handler) Handle(assignments []*observability_proto.MonitoringAssignment, ch chan<- []*targetgroup.Group)