Versions in this module Expand all Collapse all v0 v0.12.0 Mar 9, 2026 v0.11.0 Mar 2, 2026 Changes in this version + const DefaultDirMode + const DefaultFileMode + var AreaDocumentation = "documentation" + var AreaQA = "qa" + var AreaRelease = "release" + var AreaSecurity = "security" + var DefaultRegistry = NewRegistry() + func AdapterNames() []string + func Register(adapter Adapter) + func WriteAreasToDir(areas []*ValidationArea, dir string, adapterName string) error + func WriteCanonicalFile(area *ValidationArea, path string) error + type Adapter interface + DefaultDir func() string + FileExtension func() string + Marshal func(area *ValidationArea) ([]byte, error) + Name func() string + Parse func(data []byte) (*ValidationArea, error) + ReadFile func(path string) (*ValidationArea, error) + WriteFile func(area *ValidationArea, path string) error + func GetAdapter(name string) (Adapter, bool) + type Check struct + Command string + Description string + FilePattern string + Name string + Pattern string + Required bool + type CheckStatus string + const StatusGo + const StatusNoGo + const StatusSkip + const StatusWarn + type MarshalError struct + Err error + Format string + func (e *MarshalError) Error() string + func (e *MarshalError) Unwrap() error + type ParseError struct + Err error + Format string + Path string + func (e *ParseError) Error() string + func (e *ParseError) Unwrap() error + type ReadError struct + Err error + Path string + func (e *ReadError) Error() string + func (e *ReadError) Unwrap() error + type Registry struct + func NewRegistry() *Registry + func (r *Registry) AdapterNames() []string + func (r *Registry) GetAdapter(name string) (Adapter, bool) + func (r *Registry) Register(adapter Adapter) + type ValidationArea struct + Checks []Check + Dependencies []string + Description string + Instructions string + Model string + Name string + SignOffCriteria string + Skills []string + Tools []string + func NewValidationArea(name, description string) *ValidationArea + func ReadCanonicalDir(dir string) ([]*ValidationArea, error) + func ReadCanonicalFile(path string) (*ValidationArea, error) + func (v *ValidationArea) AddCheck(check Check) + func (v *ValidationArea) AddDependency(dep string) + func (v *ValidationArea) AddSkill(skill string) + func (v *ValidationArea) AddTool(tool string) + func (v *ValidationArea) AddTools(tools ...string) + func (v *ValidationArea) SetModel(model string) + type WriteError struct + Err error + Path string + func (e *WriteError) Error() string + func (e *WriteError) Unwrap() error