nodes

package
v3.11.0-0.35.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 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(routev1.Route{}).Name()
)

Functions

func RouteNodeName

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

Types

type RouteNode

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

func EnsureRouteNode

func EnsureRouteNode(g osgraph.MutableUniqueGraph, route *routev1.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