Versions in this module Expand all Collapse all v1 v1.19.1 Oct 25, 2022 Changes in this version + var HealthStatusNotOK = false + var HealthStatusOK = true + var HealthStatusOKMsg = "I am OK" + var LoadbalanceConfigRefreshTotal = prometheus.NewCounterVec(prometheus.CounterOpts{ ... }, []string{ ... }) + var LoadbalanceConfigRenderTotal = prometheus.NewCounterVec(prometheus.CounterOpts{ ... }, []string{ ... }) + var LoadbalanceProxyReloadTotal = prometheus.NewCounterVec(prometheus.CounterOpts{ ... }, []string{ ... }) + func IsFileExist(filename string) bool + type Manager interface + CheckDifference func(oldFile, curFile string) bool + Collect func(ch chan<- prometheus.Metric) + Create func(tmpData *types.TemplateData) (string, error) + Describe func(ch chan<- *prometheus.Desc) + GetStatusFunction func() restful.RouteFunction + Reload func(cfgFile string) error + Replace func(oldFile, curFile string) error + Start func() error + Stop func() + TryUpdateWithoutReload func(tmpData *types.TemplateData) bool + Validate func(newFile string) bool