Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Default deadman's switch interval DefaultInterval = toml.Duration(time.Second * 10) // Default deadman's switch threshold DefaultThreshold = float64(0) // Default deadman's switch id DefaultId = "{{ .Group }}:NODE_NAME for task '{{ .TaskName }}'" // Default deadman's switch message DefaultMessage = "" /* 135-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Diagnostic ¶ added in v1.4.0
type Diagnostic interface {
ConfiguredGlobally()
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(c Config, d Diagnostic) *Service
Click to show internal directories.
Click to hide internal directories.