Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶
ValidateConfig validates that a Config has all the required fields TODO (z): These should all be private, but right now tests depend on parsing bytes into yaml
Types ¶
type Config ¶
type Config struct { Proxy Proxy HealthCheck HealthCheck `yaml:"health-check"` Limits map[string]Limit Storage map[string]string }
Config holds the yaml data for the config file
func LoadAndValidateYaml ¶
LoadAndValidateYaml turns a sequence of bytes into a Config and validates that all the necessary fields are set TODO (z): These should all be private, but right now tests depend on parsing bytes into yaml
type HealthCheck ¶ added in v0.3.1
HealthCheck holds the yaml data for how to run the health check service.
Click to show internal directories.
Click to hide internal directories.