metadata

package
v1.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateMetadataFile

func ValidateMetadataFile(srcPath, metadataType string) error

ValidateMetadataFile checks that metadata files are valid according to the validation rules of the metadata directory (metadataType)

Types

type InvalidFileError

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

InvalidFileError is returned for invalid metadata files

func (*InvalidFileError) Error

func (e *InvalidFileError) Error() string

type UnhandledDirectoryError

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

UnhandledDirectoryError is returned for metadata files in unhandled directories

func (*UnhandledDirectoryError) Error

func (e *UnhandledDirectoryError) Error() string

Jump to

Keyboard shortcuts

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