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