MCPcopy Index your code
hub / github.com/koding/kite / NewNode

Function NewNode

kontrol/node.go:20–24  ·  view source on GitHub ↗

New returns a new initialized node with the given etcd node.

(node *etcd.Node)

Source from the content-addressed store, hash-verified

18
19// New returns a new initialized node with the given etcd node.
20func NewNode(node *etcd.Node) *Node {
21 return &Node{
22 Node: node,
23 }
24}
25
26// HasValue returns true if the give node has a non-empty value
27func (n *Node) HasValue() bool {

Callers 3

FlattenMethod · 0.85
GetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected