Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSimpleErrorFromGlooValidation ¶
func GetSimpleErrorFromGlooValidation( reports []*gloovalidation.GlooValidationReport, proxy *gloov1.Proxy, ) error
GetSimpleErrorFromGlooValidation will get the Errors for the provided `proxy` that exist in the provided `reports` This function will return with the first error present if multiple reports exist
func TranslateK8sGatewayProxies ¶
func TranslateK8sGatewayProxies(ctx context.Context, snap *gloosnapshot.ApiSnapshot, res resources.Resource) ([]*gloov1.Proxy, error)
TranslateK8sGatewayProxies builds an extremely basic "dummy" gloov1.Proxy object with the provided `res` attached in the correct location, i.e. if a RouteOption is passed it will be on the Route or if a VirtualHostOption is passed it will be on the VirtualHost
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.