Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
PidFile string `yaml:"pid" default:"/tmp/agent.pid"`
Core []string `yaml:"core" required:"true"`
HostName string `yaml:"-"`
HeartbeatInterval int `yaml:"heartbeat_interval" default:"60"`
CheckOnlyMine bool `yaml:"check_only_mine" default:"false"`
Store string `yaml:"store" default:"grpc"`
Runtime string `yaml:"runtime" default:"docker"`
Auth coretypes.AuthConfig `yaml:"auth"`
Docker DockerConfig
Yavirt YavirtConfig
Metrics MetricsConfig
API APIConfig `yaml:"api"`
Log LogConfig
HealthCheck HealthCheckConfig `yaml:"healthcheck"`
GlobalConnectionTimeout time.Duration `yaml:"global_connection_timeout" default:"5s"`
}
func (*Config) GetHealthCheckStatusTTL ¶
GetHealthCheckStatusTTL returns 0: selfmon lives in eru-core, so core owns the ttl.
type DockerConfig ¶
type DockerConfig struct {
Endpoint string `yaml:"endpoint" required:"false"`
}
type HealthCheckConfig ¶
type MetricsConfig ¶
type WorkloadEventMessage ¶
type WorkloadStatus ¶
type YavirtConfig ¶
Click to show internal directories.
Click to hide internal directories.