nodes

package
v3.9.0-alpha.2+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package nodes contains graph functions and types for routes

Index

Constants

This section is empty.

Variables

View Source
var (
	RouteNodeKind = reflect.TypeOf(routeapi.Route{}).Name()
)

Functions

func RouteNodeName

func RouteNodeName(o *routeapi.Route) osgraph.UniqueName

Types

type RouteNode

type RouteNode struct {
	osgraph.Node
	*routeapi.Route
}

func EnsureRouteNode

func EnsureRouteNode(g osgraph.MutableUniqueGraph, route *routeapi.Route) *RouteNode

EnsureRouteNode adds a graph node for the specific route if it does not exist

func (*RouteNode) Kind

func (*RouteNode) Kind() string

func (RouteNode) Object

func (n RouteNode) Object() interface{}

func (RouteNode) String

func (n RouteNode) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL