Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reloader ¶
type Reloader struct { SourceConfigPath string TargetConfigPath string PollingInterval time.Duration Session *cloudfoundry.Session PrometheusInstanceGUID string Labels map[string]string RemoteWriteConfigs []*promconfig.RemoteWriteConfig RemoteReadConfigs []*promconfig.RemoteReadConfig ScrapeConfigs []*promconfig.ScrapeConfig Log *logrus.Logger sync.Mutex // contains filtered or unexported fields }
func (*Reloader) GenerateConfig ¶
func (r *Reloader) GenerateConfig() (*promconfig.Config, error)
type RouteDestination ¶
type RouteDestination struct { Port int ccv3.RouteDestination }
I need the port in the destination, but ccv2 and ccv3 clients haven't implemnented it so make a func that fetches the full response
Click to show internal directories.
Click to hide internal directories.