Versions in this module Expand all Collapse all v1 v1.4.0 Dec 6, 2019 Changes in this version + const DOCNODE + const FLAG_DEFAULT + const FLAG_IMPLIED + const FLAG_INJECT + const FLAG_INJECTED + const FLAG_LOCAL + const FLAG_STATE + const FLAG_TEMPORARY + const MERGEKEY + const SELF + func EmbeddedDynaml(root Node) *string + func Equals(a, b Node, path []string) (bool, string) + func FindInt(root Node, path ...string) (int64, bool) + func FindIntR(raw bool, root Node, path ...string) (int64, bool) + func FindString(root Node, path ...string) (string, bool) + func FindStringR(raw bool, root Node, path ...string) (string, bool) + func IsListResolved(l []Node) bool + func IsMapResolved(m map[string]Node) bool + func MassageType(value interface{}) interface + func Normalize(root Node) (interface{}, error) + func PathComponent(step string) string + func ToJSON(root Node) ([]byte, error) + func ValueToJSON(root interface{}) ([]byte, error) + type AnnotatedNode struct + func (n AnnotatedNode) EquivalentToNode(o Node) bool + func (n AnnotatedNode) GetAnnotation() Annotation + func (n AnnotatedNode) MarshalYAML() (string, interface{}, error) + func (n AnnotatedNode) Resolver() RefResolver + func (n AnnotatedNode) SourceName() string + func (n AnnotatedNode) Value() interface{} + type Annotation struct + func EmptyAnnotation() Annotation + func NewReferencedAnnotation(node Node) Annotation + func (n Annotation) AddFlags(flags NodeFlags) Annotation + func (n Annotation) AddIssue(error bool, failed bool, issue Issue) Annotation + func (n Annotation) AddKeyName(keyName string) Annotation + func (n Annotation) Failed() bool + func (n Annotation) Flags() NodeFlags + func (n Annotation) HasError() bool + func (n Annotation) Issue() Issue + func (n Annotation) KeyName() string + func (n Annotation) Merged() bool + func (n Annotation) Preferred() bool + func (n Annotation) RedirectPath() []string + func (n Annotation) ReplaceFlag() bool + func (n Annotation) SetLocal() Annotation + func (n Annotation) SetMerged() Annotation + func (n Annotation) SetPreferred() Annotation + func (n Annotation) SetRedirectPath(redirect []string) Annotation + func (n Annotation) SetReplaceFlag() Annotation + func (n Annotation) SetState() Annotation + func (n Annotation) SetTemporary() Annotation + func (n Annotation) SetUndefined() Annotation + func (n Annotation) StandardOverride() bool + func (n Annotation) Undefined() bool + type ComparableValue interface + EquivalentTo func(interface{}) bool + type Issue struct + Issue string + Nested []Issue + Sequence bool + func NewIssue(msg string, args ...interface{}) Issue + type Node interface + EquivalentToNode func(Node) bool + Failed func() bool + Flags func() NodeFlags + GetAnnotation func() Annotation + HasError func() bool + Issue func() Issue + KeyName func() string + Local func() bool + Merged func() bool + Preferred func() bool + RedirectPath func() []string + ReplaceFlag func() bool + Resolver func() RefResolver + SourceName func() string + StandardOverride func() bool + State func() bool + Temporary func() bool + Undefined func() bool + Value func() interface{} + func AddFlags(node Node, flags NodeFlags) Node + func Find(root Node, path ...string) (Node, bool) + func FindR(raw bool, root Node, path ...string) (Node, bool) + func IssueNode(node Node, error bool, failed bool, issue Issue) Node + func KeyNameNode(node Node, keyName string) Node + func LocalNode(node Node) Node + func MergedNode(node Node) Node + func NewNode(value interface{}, sourcePath string) Node + func Parse(sourceName string, source []byte) (Node, error) + func ParseMulti(sourceName string, source []byte) ([]Node, error) + func PreferredNode(node Node) Node + func RedirectNode(value interface{}, node Node, redirect []string) Node + func ReferencedNode(node Node) Node + func ReplaceNode(value interface{}, node Node, redirect []string) Node + func ReplaceValue(value interface{}, node Node) Node + func ResolverNode(node Node, resolver RefResolver) Node + func Sanitize(sourceName string, root interface{}) (Node, error) + func StateNode(node Node) Node + func SubstituteNode(value interface{}, node Node) Node + func TemporaryNode(node Node) Node + func UndefinedNode(node Node) Node + func UnresolvedListEntryMerge(node Node) (Node, string, bool) + type NodeFlags int + func (f *NodeFlags) AddFlags(flags NodeFlags) *NodeFlags + func (f *NodeFlags) Overridden() NodeFlags + func (f *NodeFlags) SetDefault() *NodeFlags + func (f *NodeFlags) SetImplied() *NodeFlags + func (f *NodeFlags) SetInject() *NodeFlags + func (f *NodeFlags) SetLocal() *NodeFlags + func (f *NodeFlags) SetState() *NodeFlags + func (f *NodeFlags) SetTemporary() *NodeFlags + func (f NodeFlags) Default() bool + func (f NodeFlags) Implied() bool + func (f NodeFlags) Inject() bool + func (f NodeFlags) Injected() bool + func (f NodeFlags) Local() bool + func (f NodeFlags) PropagateImplied() bool + func (f NodeFlags) State() bool + func (f NodeFlags) Temporary() bool + type NonStringKeyError struct + Key interface{} + func (e NonStringKeyError) Error() string + type RefResolver interface + FindReference func([]string) (Node, bool)