Documentation
¶
Index ¶
- type Node
- func (n *Node) AddDependent(p graph.Node)
- func (n *Node) AddPublishers(p graph.Listener)
- func (n *Node) AddSubscriber(p graph.Listener)
- func (n *Node) Dependents() []graph.Node
- func (n *Node) ID() string
- func (n *Node) Method() (*graph.Info, error)
- func (n *Node) Name() string
- func (n *Node) NormalizedName() string
- func (n *Node) Provide() ([]*gen.Node, error)
- func (n *Node) Provider() (graph.Node, error)
- func (n *Node) Publishers() []graph.Listener
- func (n *Node) SetProvider(p graph.Node) error
- func (n *Node) Subscribers() []graph.Listener
- func (n *Node) Type() (*graph.Info, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func NodeFromProto ¶
NodeFromProto creates a new Node from a gen.Node, gen.Node cannot be embedded into Node because proto deserialization will fail on the type
func (*Node) AddDependent ¶
func (*Node) AddPublishers ¶
func (*Node) AddSubscriber ¶
func (*Node) Dependents ¶
func (*Node) NormalizedName ¶
func (*Node) Provider ¶
TODO breadchris this should be more robust and take into consideration type types of edges into the node
func (*Node) Publishers ¶
func (*Node) Subscribers ¶
Click to show internal directories.
Click to hide internal directories.