runtime

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureEnvoyVersion

func EnsureEnvoyVersion(ctx context.Context, o *globals.GlobalOpts) error

EnsureEnvoyVersion makes sure the Envoy version is set

func EnsurePatchVersion

func EnsurePatchVersion(ctx context.Context, o *globals.GlobalOpts, v version.Version) (version.PatchVersion, error)

EnsurePatchVersion ensures we either have a valid version.PatchVersion or an error If remote lookup of the latest patch fails, this logs and falls back to the last installed one NOTE: Warnings and errors include the platform because a release isn't available at the same time for all platforms.

func InitializeGlobalOpts

func InitializeGlobalOpts(o *globals.GlobalOpts, envoyVersionsURL, envoyPath, homeDir, configHome, dataHome, stateHome, runtimeDir, platform, runID string) error

InitializeGlobalOpts ensures the global options are initialized.

func Run

func Run(ctx context.Context, o *globals.GlobalOpts, args []string) error

Run runs Envoy with the given arguments. Returns nil when Envoy exits cleanly, including when interrupted by signals (SIGINT/SIGTERM). This matches Envoy's behavior of returning exit code 0 on graceful shutdown.

Types

This section is empty.

Jump to

Keyboard shortcuts

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