validator

package
v1.7.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PathResolver

type PathResolver interface {
	Resolve(absPath string) (resolvePaths []string, err error)
}

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

func NewValidator

func NewValidator(
	pathResolver PathResolver,
	rootDirectory string,
) *Validator

func (*Validator) Validate

func (v *Validator) Validate(doc arch.Document) []speca.Notice

type YamlSourceCodeReferenceResolver

type YamlSourceCodeReferenceResolver interface {
	Resolve(yamlPath string) models.Reference
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL