Documentation ¶
Index ¶
- Variables
- func ConvertInterfaceArrayToStringArray(interfaceArray []interface{}) []string
- func DescribeMap(in interface{}, indent string) string
- func FetchFile(fileurl string) ([]byte, error)
- func InvalidKeysInMap(m yaml.MapSlice, allowedKeys []string, allowedPatterns []string) []string
- func MapHasKey(m yaml.MapSlice, key string) bool
- func MapValueForKey(m yaml.MapSlice, key string) interface{}
- func MissingKeysInMap(m yaml.MapSlice, requiredKeys []string) []string
- func NewErrorGroupOrNil(errors []error) error
- func PatternMatches(pattern string, value string) bool
- func PluralProperties(count int) string
- func ReadInfoForFile(filename string) (interface{}, error)
- func ReadInfoForRef(basefile string, ref string) (interface{}, error)
- func SortedKeysForMap(m yaml.MapSlice) []string
- func UnpackMap(in interface{}) (yaml.MapSlice, bool)
- type Context
- type Error
- type ErrorGroup
Constants ¶
This section is empty.
Variables ¶
View Source
var VERBOSE_READER = false
Functions ¶
func ConvertInterfaceArrayToStringArray ¶
func ConvertInterfaceArrayToStringArray(interfaceArray []interface{}) []string
func DescribeMap ¶
describe a map (for debugging purposes)
func InvalidKeysInMap ¶
func MapValueForKey ¶
func MapValueForKey(m yaml.MapSlice, key string) interface{}
func MissingKeysInMap ¶
func NewErrorGroupOrNil ¶
func PatternMatches ¶
func PluralProperties ¶
func ReadInfoForFile ¶
read a file and unmarshal it as a yaml.MapSlice
func ReadInfoForRef ¶
read a file and return the fragment needed to resolve a $ref
func SortedKeysForMap ¶
func SortedKeysForMap(m yaml.MapSlice) []string
Types ¶
type ErrorGroup ¶
type ErrorGroup struct {
Errors []error
}
container for groups of errors
func (*ErrorGroup) Error ¶
func (group *ErrorGroup) Error() string
Click to show internal directories.
Click to hide internal directories.