Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultManifestPath = "reliably.yaml"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailabilityCriteria ¶ added in v0.11.0
type AvailabilityCriteria struct {
}
type LatencyCriteria ¶ added in v0.11.0
type Manifest ¶
type Manifest struct {
// App *AppInfo `yaml:"app" json:"app"`
Services []*Service `yaml:"services" json:"services"`
}
type Service ¶
type Service struct {
Name string `yaml:"name" json:"name"`
ServiceLevels []*ServiceLevel `yaml:"service-levels" json:"service-levels"`
Dependencies []string `yaml:"-" json:"-"`
}
type ServiceLevel ¶
type ServiceLevel struct {
Name string `yaml:"name" json:"name"`
Type string `yaml:"type" json:"type"`
Criteria interface{} `yaml:"criteria,omitempty" json:"criteria,omitempty"`
//Threshold core.Duration `yaml:"threshold,omitempty" json:"threshold,omitempty"`
Objective float64 `yaml:"slo" json:"slo"`
Indicators []ServiceLevelIndicator `yaml:"sli" json:"sli"`
ObservationWindow core.Iso8601Duration `yaml:"window" json:"window"`
}
func (*ServiceLevel) UnmarshalYAML ¶ added in v0.11.0
func (sl *ServiceLevel) UnmarshalYAML(unmarshal func(v interface{}) error) error
type ServiceLevelIndicator ¶ added in v0.11.0
Click to show internal directories.
Click to hide internal directories.