validate

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommands

func AddCommands(parentCmd *cobra.Command, globals *config.CommandLineGlobals)

func PrettyPrintErrors

func PrettyPrintErrors(err error) error

PrettyPrintErrors outputs to STDOUT the single or multi-valued error (supported by multierr package). Returns a new error that indicates the number of errors contained within the input.

func PrettyPrintSuccess

func PrettyPrintSuccess(root *model.RoutemapRoot, summary model.RoutemapSummary)

PrettyPrintSuccess outputs to STDOUT info from the model and summary objects.

func RunValidateCommand

func RunValidateCommand(opts *Options) error

Types

type Options

type Options struct {
	Globals *config.CommandLineGlobals

	InputFilename string
}

Jump to

Keyboard shortcuts

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