execution_config

package
v0.0.0-...-4e73ca7 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RouterCompatibilityVersionThreshold should ONLY be updated if there is a breaking change in the router execution config.
	RouterCompatibilityVersionThreshold = 1
)

Variables

This section is empty.

Functions

func FromFile

func FromFile(path string) (*nodev1.RouterConfig, error)

FromFile creates a new router config from the file at the given path.

func IsRouterCompatibleWithExecutionConfig

func IsRouterCompatibleWithExecutionConfig(logger *zap.Logger, compatibilityVersion string) bool

func UnmarshalConfig

func UnmarshalConfig(config []byte) (*nodev1.RouterConfig, error)

UnmarshalConfig deserializes the router config from the given byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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