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.
Click to show internal directories.
Click to hide internal directories.