Help us shape the future of Go! Take the 2026 Go Developer Survey

envoy

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ShutdownManagerPort is the port Envoy shutdown manager will listen on.
	ShutdownManagerPort = 19002
	// ShutdownManagerHealthCheckPath is the path used for health checks.
	ShutdownManagerHealthCheckPath = "/healthz"
	// ShutdownManagerReadyPath is the path used to indicate shutdown readiness.
	ShutdownManagerReadyPath = "/shutdown/ready"
	// ShutdownReadyFile is the file used to indicate shutdown readiness.
	ShutdownReadyFile = "/tmp/shutdown-ready"
)

Variables

This section is empty.

Functions

func Shutdown

func Shutdown(drainTimeout time.Duration, minDrainDuration time.Duration, exitAtConnections int) error

Shutdown is called from a preStop hook on the shutdown-manager container where it will initiate a drain sequence on the Envoy proxy and block until connections are drained or a timeout is exceeded.

func ShutdownManager

func ShutdownManager(readyTimeout time.Duration) error

ShutdownManager serves shutdown manager process for Envoy proxies.

Types

This section is empty.

Jump to

Keyboard shortcuts

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