Documentation ¶
Index ¶
- Constants
- func ClearItems()
- func EnsureService(name string, namespace string)
- func HealthCheckHandler() http.Handler
- func PrometheusScrapHandler() http.Handler
- func ServiceDown(name string, namespace string)
- func ServiceUp(name string, namespace string)
- func SetSafeNameReplacer(r Replacer)
- type Replacer
Constants ¶
View Source
const ( UndefinedServiceState serviceState = iota RunningServiceState StoppedServiceState )
Variables ¶
This section is empty.
Functions ¶
func ClearItems ¶ added in v1.0.1
func ClearItems()
func EnsureService ¶
func HealthCheckHandler ¶
func PrometheusScrapHandler ¶
func ServiceDown ¶
func SetSafeNameReplacer ¶ added in v1.0.1
func SetSafeNameReplacer(r Replacer)
Types ¶
type Replacer ¶ added in v1.0.1
func GetSafeNameReplacer ¶ added in v1.0.1
func GetSafeNameReplacer() Replacer
func NewCharacterToUnderscoreReplacer ¶ added in v1.0.1
NewCharacterToUnderscoreReplacer will retun a replacer which will replace given chars to _
Click to show internal directories.
Click to hide internal directories.