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

bootstrap

package
v1.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// EnvoyAdminAddress is the listening address of the envoy admin interface.
	EnvoyAdminAddress = "127.0.0.1"
	// EnvoyAdminPort is the port used to expose admin interface.
	EnvoyAdminPort = 19000

	// DefaultXdsServerPort is the default listening port of the xds-server.
	DefaultXdsServerPort = 18000

	EnvoyReadinessPort = 19001
	EnvoyReadinessPath = "/ready"
)

Variables

This section is empty.

Functions

func ApplyBootstrapConfig added in v0.6.0

func ApplyBootstrapConfig(boostrapConfig *egv1a1.ProxyBootstrap, defaultBootstrap string) (string, error)

ApplyBootstrapConfig applies the bootstrap config to the default bootstrap config and return the result config.

func GetRenderedBootstrapConfig

func GetRenderedBootstrapConfig(opts *RenderBootstrapConfigOptions) (string, error)

GetRenderedBootstrapConfig renders the bootstrap YAML string

Types

type RenderBootstrapConfigOptions added in v1.1.0

type RenderBootstrapConfigOptions struct {
	ProxyMetrics     *egv1a1.ProxyMetrics
	MaxHeapSizeBytes uint64
}

type StatsMatcherParameters added in v0.6.0

type StatsMatcherParameters struct {
	Exacts             []string
	Prefixes           []string
	Suffixes           []string
	RegularExpressions []string
}

Jump to

Keyboard shortcuts

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