var _ … type CgroupsValidator … // Validate is part of the system.Validator interface. func (c *CgroupsValidator) Validate(spec SysSpec) (warns, errs []error) { … } // Name is part of the system.Validator interface. func (c *CgroupsValidator) Name() string { … }