Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_CONF_PATH = "./sentinel.yml"
NOTE maybe fmt.Sprintf("%s.yml", agent.nodename) sentinel will try to read this file if environment variable SENTINEL_CONF_PATH isn't set
View Source
const PATTERN string = "([a-z0-9]+)=(\"[\\s-:,@a-z0-9]+\")"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Name string Actuator *PluginConfig Heartbeat *HeartbeatConfig Adapter *PluginConfig }
type HeartbeatConfig ¶
type HeartbeatConfig struct { // NOTE create Heartbeat plugin here ? Plugin string Opts map[string]string Filters []agent.EventFilter }
type PluginConfig ¶
Click to show internal directories.
Click to hide internal directories.