Documentation ¶
Overview ¶
Copyright (c) 2018-2019, AT&T Intellectual Property. All rights reserved.
Copyright (c) 2015-2016 by Brocade Communications Systems, Inc. All rights reserved.
SPDX-License-Identifier: MPL-2.0
Index ¶
- func CreateChangedNSMap(new, old *data.Node, sch schema.Node, parent *Node) *map[string]bool
- type BySystem
- type ByUser
- type Node
- func (n *Node) Added() bool
- func (n *Node) Changed() bool
- func (n *Node) Child(name string) *Node
- func (n *Node) Children() []*Node
- func (n *Node) Data() *data.Node
- func (n *Node) Deleted() bool
- func (n *Node) Descendant(path []string) *Node
- func (n *Node) Empty() bool
- func (n *Node) EmptyNonDefault() bool
- func (n *Node) Index() uint64
- func (n *Node) IsDefault() bool
- func (n *Node) Name() string
- func (n *Node) Parent() *Node
- func (n *Node) QualifiedNamespace() string
- func (n *Node) Schema() schema.Node
- func (n *Node) Serialize(ctxdiff bool, options ...Option) string
- func (n *Node) UnsortedChildren() []*Node
- func (n *Node) Updated() bool
- func (n *Node) YangDataChildren() []datanode.DataNode
- func (n *Node) YangDataChildrenNoSorting() []datanode.DataNode
- func (n *Node) YangDataName() string
- func (n *Node) YangDataValues() []string
- func (n *Node) YangDataValuesNoSorting() []string
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) Descendant ¶
func (*Node) EmptyNonDefault ¶
func (*Node) QualifiedNamespace ¶
func (*Node) Serialize ¶
If there's nothing to serialize (node is nil) this isn't an error, and we just return the empty string.
func (*Node) UnsortedChildren ¶
func (*Node) YangDataChildren ¶
func (*Node) YangDataChildrenNoSorting ¶
func (*Node) YangDataName ¶
func (*Node) YangDataValues ¶
func (*Node) YangDataValuesNoSorting ¶
Click to show internal directories.
Click to hide internal directories.