validation

package
v1.18.0-beta28 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateBootstrap

func ValidateBootstrap(ctx context.Context, bootstrap string) error

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.

Jump to

Keyboard shortcuts

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