validate

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Files

func Files(fileNames []string, validationRules []*ValidationRule, excludeAnnotationName string) *report.ValidationReport

Types

type ValidationRule

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

func NewValidationRule

func NewValidationRule(name string, scope config.ValidationScope) *ValidationRule

func (*ValidationRule) AddValidator

func (r *ValidationRule) AddValidator(newValidator validator.Validator)

func (*ValidationRule) Name

func (r *ValidationRule) Name() string

func (*ValidationRule) Scope

func (r *ValidationRule) Scope() string

func (*ValidationRule) ValidationTexts

func (r *ValidationRule) ValidationTexts() []string

Jump to

Keyboard shortcuts

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