validation

package
v1.15.0-beta17 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RouteErrorMsg      = "Route Error"
	RouteIdentifierTxt = "Route Name"
)

Functions

func AppendHTTPListenerError

func AppendHTTPListenerError(httpListenerReport *validation.HttpListenerReport, errType validation.HttpListenerReport_Error_Type, reason string)

func AppendListenerError

func AppendListenerError(listenerReport *validation.ListenerReport, errType validation.ListenerReport_Error_Type, reason string)

func AppendRouteError

func AppendRouteError(routeReport *validation.RouteReport, errType validation.RouteReport_Error_Type, reason string, routeName string)

func AppendRouteWarning added in v0.20.2

func AppendRouteWarning(routeReport *validation.RouteReport, errType validation.RouteReport_Warning_Type, reason string)

func AppendTCPListenerError added in v1.9.25

func AppendTCPListenerError(httpListenerReport *validation.TcpListenerReport, errType validation.TcpListenerReport_Error_Type, reason string)

func AppendVirtualHostError

func AppendVirtualHostError(virtualHostReport *validation.VirtualHostReport, errType validation.VirtualHostReport_Error_Type, reason string)

func GetHttpListenerErr added in v1.0.0

func GetHttpListenerErr(httpListener *validation.HttpListenerReport) []error

func GetListenerErr added in v1.0.0

func GetListenerErr(listener *validation.ListenerReport) []error

func GetProxyError

func GetProxyError(proxyRpt *validation.ProxyReport) error

func GetProxyWarning added in v0.20.2

func GetProxyWarning(proxyRpt *validation.ProxyReport) []string

func GetRouteErr added in v1.0.0

func GetRouteErr(route *validation.RouteReport) []error

func GetRouteWarning added in v1.0.0

func GetRouteWarning(route *validation.RouteReport) []string

func GetTcpHostErr added in v1.0.0

func GetTcpHostErr(tcpHost *validation.TcpHostReport) []error

func GetTcpListenerErr added in v1.0.0

func GetTcpListenerErr(tcpListener *validation.TcpListenerReport) []error

func GetVirtualHostErr added in v1.0.0

func GetVirtualHostErr(virtualHost *validation.VirtualHostReport) []error

func MakeReport

func MakeReport(proxy *v1.Proxy) *validation.ProxyReport

Types

This section is empty.

Jump to

Keyboard shortcuts

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