Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSnapshot ¶
func ValidateSnapshot( ctx context.Context, snap envoycache.Snapshot, ) error
ValidateSnapshot accepts an xDS snapshot, clones it, and does the necessary conversions to imitate the same config being provided as static bootsrap config to Envoy, then executes Envoy in validate mode to ensure the config is valid. This is necessary as some configurations that work in dynamic do not work in static and some configurations may require the context of the destination such as mounted files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.