Documentation ¶
Index ¶
- func GraphPath(g *graph.Graph, n *graph.Node) string
- func NewNetNSContextByNode(g *graph.Graph, n *graph.Node) (*common.NetNSContext, error)
- type GraphPathGremlinTraversalStep
- func (s *GraphPathGremlinTraversalStep) Context() *traversal.GremlinTraversalContext
- func (s *GraphPathGremlinTraversalStep) Exec(last traversal.GraphTraversalStep) (traversal.GraphTraversalStep, error)
- func (s *GraphPathGremlinTraversalStep) Reduce(next traversal.GremlinTraversalStep) traversal.GremlinTraversalStep
- type GraphPathTraversalStep
- type NodePath
- type TIDMapper
- type TopologyTraversalExtension
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNetNSContextByNode ¶ added in v0.8.0
Types ¶
type GraphPathGremlinTraversalStep ¶ added in v0.4.0
type GraphPathGremlinTraversalStep struct { }
func (*GraphPathGremlinTraversalStep) Context ¶ added in v0.6.0
func (s *GraphPathGremlinTraversalStep) Context() *traversal.GremlinTraversalContext
func (*GraphPathGremlinTraversalStep) Exec ¶ added in v0.4.0
func (s *GraphPathGremlinTraversalStep) Exec(last traversal.GraphTraversalStep) (traversal.GraphTraversalStep, error)
func (*GraphPathGremlinTraversalStep) Reduce ¶ added in v0.5.0
func (s *GraphPathGremlinTraversalStep) Reduce(next traversal.GremlinTraversalStep) traversal.GremlinTraversalStep
type GraphPathTraversalStep ¶ added in v0.4.0
type GraphPathTraversalStep struct {
// contains filtered or unexported fields
}
func (*GraphPathTraversalStep) Error ¶ added in v0.4.0
func (p *GraphPathTraversalStep) Error() error
func (*GraphPathTraversalStep) MarshalJSON ¶ added in v0.4.0
func (p *GraphPathTraversalStep) MarshalJSON() ([]byte, error)
func (*GraphPathTraversalStep) Values ¶ added in v0.4.0
func (p *GraphPathTraversalStep) Values() []interface{}
type TIDMapper ¶ added in v0.6.0
type TIDMapper struct { graph.DefaultGraphListener Graph *graph.Graph // contains filtered or unexported fields }
func NewTIDMapper ¶ added in v0.6.0
func (*TIDMapper) OnEdgeAdded ¶ added in v0.6.0
func (*TIDMapper) OnEdgeUpdated ¶ added in v0.6.0
func (*TIDMapper) OnNodeAdded ¶ added in v0.6.0
func (*TIDMapper) OnNodeUpdated ¶ added in v0.6.0
type TopologyTraversalExtension ¶ added in v0.4.0
type TopologyTraversalExtension struct {
// contains filtered or unexported fields
}
func NewTopologyTraversalExtension ¶ added in v0.4.0
func NewTopologyTraversalExtension() *TopologyTraversalExtension
func (*TopologyTraversalExtension) ParseStep ¶ added in v0.4.0
func (e *TopologyTraversalExtension) ParseStep(t traversal.Token, p traversal.GremlinTraversalContext) (traversal.GremlinTraversalStep, error)
Click to show internal directories.
Click to hide internal directories.