analysis

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package analysis provides functions that analyse routes and setup markers that will be reported by oc status

Index

Constants

View Source
const (
	// MissingRoutePortWarning is returned when a route has no route port specified
	// and the service it routes to has multiple ports.
	MissingRoutePortWarning = "MissingRoutePort"
	// MissingServiceWarning is returned when there is no service for the specific route.
	MissingServiceWarning = "MissingService"
	// MissingTLSTerminationTypeErr is returned when a route with a tls config doesn't
	// specify a tls termination type.
	MissingTLSTerminationTypeErr = "MissingTLSTermination"
	// PathBasedPassthroughErr is returned when a path based route is passthrough
	// terminated.
	PathBasedPassthroughErr = "PathBasedPassthrough"
)

Variables

This section is empty.

Functions

func FindMissingPortMapping

func FindMissingPortMapping(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker

FindMissingPortMapping checks all routes and reports those that don't specify a port while the service they are routing to, has multiple ports. Also if a service for a route doesn't exist, will be reported.

func FindMissingTLSTerminationType added in v1.1.1

func FindMissingTLSTerminationType(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker

func FindPathBasedPassthroughRoutes added in v1.1.2

func FindPathBasedPassthroughRoutes(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker

Types

This section is empty.

Jump to

Keyboard shortcuts

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