Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct { Logger *zap.Logger HTTPDiscovery []*dhttp.HTTPDiscovery Prometheus *prometheus.Prometheus // contains filtered or unexported fields }
Component contains all service discovery instances
func New ¶
func New(logger *zap.Logger, config Configuration, promComponent *prometheus.Prometheus, healthcheck *healthcheck.Component) (*Component, error)
New creates the main component from its configuration
type Configuration ¶
type Configuration struct {
HTTP []http.Configuration
}
Configuration the service discovery mechanisms configuration
Click to show internal directories.
Click to hide internal directories.