reporting

package
v1.16.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddProxyValidationResult

func AddProxyValidationResult(resourceReports reporter.ResourceReports, proxy *gloov1.Proxy, proxyReport *validation.ProxyReport) error

Update a set of ResourceReports with the results of a proxy validation Using the sources from Listener.Metadata, VirtualHost.Metadata, and Route.Metadata, we can extrapolate the errors this function should not return an error unless: - parsing the {listener/virtualhost/route}.Metadata struct as a translator.Sources fails - the proxy report does not match the proxy

func AllSourcesAccepted

func AllSourcesAccepted(reports reporter.ResourceReports, configObj translator.ObjectWithMetadata) (bool, error)

returns true if all the source objects for the config object were accepted in the resource reports errors if parsing the config obj metadata fails (should never happen)

Types

This section is empty.

Jump to

Keyboard shortcuts

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