nodes

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 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