type Validator … type Reporter … // Validate uses validators to validate the system and returns a warning or error. func Validate(spec SysSpec, validators []Validator) ([]error, []error) { … } // ValidateSpec uses all default validators to validate the system and writes to stdout. func ValidateSpec(spec SysSpec, containerRuntime string) ([]error, []error) { … }