Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ProjectID string Provider content.Provider Netconf internal.NetconfClient }
type ConfigCheckerCollector ¶
type ConfigCheckerCollector struct {
// contains filtered or unexported fields
}
func New ¶
func New(target string, config Config) *ConfigCheckerCollector
func (*ConfigCheckerCollector) Collect ¶
func (c *ConfigCheckerCollector) Collect(ch chan<- prometheus.Metric)
func (*ConfigCheckerCollector) Describe ¶
func (c *ConfigCheckerCollector) Describe(ch chan<- *prometheus.Desc)
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is the HTTP handler for /check
func NewHandler ¶
func NewHandler(projectID string, netconf internal.NetconfClient) *Handler
NewHandler returns a Handler with the specified configuration.
Click to show internal directories.
Click to hide internal directories.