Versions in this module Expand all Collapse all v1 v1.5.1 May 8, 2023 Changes in this version + const LinuxConfigPath + const WindowsConfigPath + func FromJSONFile(read ReadFile, path string) (*cdpb.CollectionDefinition, error) + func Load(opts LoadOptions) (*cdpb.CollectionDefinition, error) + func Merge(primary, secondary *cdpb.CollectionDefinition) (merged *cdpb.CollectionDefinition) + type LoadOptions struct + OSType string + ReadFile ReadFile + Version string + type ReadFile func(string) ([]byte, error) + type ValidationError struct + FailureCount int + func (e ValidationError) Error() string + type Validator struct + func NewValidator(version string, collectionDefinition *cdpb.CollectionDefinition) *Validator + func (v *Validator) Validate() + func (v Validator) FailureCount() int + func (v Validator) Valid() bool