mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-05 11:11:13 +00:00
remove vestiges of edge metadata from comments
This commit is contained in:
@@ -6,9 +6,9 @@ import (
|
||||
"github.com/weaveworks/common/mtime"
|
||||
)
|
||||
|
||||
// Node describes a superset of the metadata that probes can collect about a
|
||||
// given node in a given topology, along with the edges emanating from the
|
||||
// node and metadata about those edges.
|
||||
// Node describes a superset of the metadata that probes can collect
|
||||
// about a given node in a given topology, along with the edges (aka
|
||||
// adjacency) emanating from the node.
|
||||
type Node struct {
|
||||
ID string `json:"id,omitempty"`
|
||||
Topology string `json:"topology,omitempty"`
|
||||
|
||||
@@ -5,9 +5,8 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// Topology describes a specific view of a network. It consists of nodes and
|
||||
// edges, and metadata about those nodes and edges, represented by
|
||||
// EdgeMetadatas and Nodes respectively. Edges are directional, and embedded
|
||||
// Topology describes a specific view of a network. It consists of
|
||||
// nodes with metadata, and edges. Edges are directional, and embedded
|
||||
// in the Node struct.
|
||||
type Topology struct {
|
||||
Shape string `json:"shape,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user