Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { APIOptions *RestAPIOptions `yaml:"api_options"` JobsFromConfig []*JobsFromConfig `yaml:"jobs,flow"` Bots *Bots `yaml:"bots,flow"` HealthCheck *HealthCheck `yaml:"health_check,flow"` }
type FailureType ¶
type FailureType string
const ( Docker FailureType = "Docker" Service FailureType = "Service" CPU FailureType = "CPU" Server FailureType = "Server" Network FailureType = "Network" )
type HealthCheck ¶
type Job ¶
type Job struct { ComponentName string FailureType FailureType Target []string }
type JobsFromConfig ¶
type JobsFromConfig struct { JobName string `yaml:"job_name"` FailureType FailureType `yaml:"type"` ComponentName string `yaml:"component_name,omitempty"` Targets []string `yaml:"targets,omitempty"` }
type RestAPIOptions ¶
Click to show internal directories.
Click to hide internal directories.