Documentation ¶
Index ¶
- Constants
- func ApplyBootstrapConfig(boostrapConfig *egv1a1.ProxyBootstrap, defaultBootstrap string) (string, error)
- func GetRenderedBootstrapConfig(opts *RenderBootstrapConfigOptions) (string, error)
- func Validate(boostrapConfig *egv1a1.ProxyBootstrap) error
- type RenderBootstrapConfigOptions
- type SdsConfigPath
- type StatsMatcherParameters
Constants ¶
View Source
const ( // EnvoyAdminAddress is the listening v4 address of the envoy admin interface. EnvoyAdminAddress = "127.0.0.1" EnvoyAdminAddressV6 = "::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. The defaultBootstrap is expected to be a YAML string
func GetRenderedBootstrapConfig ¶
func GetRenderedBootstrapConfig(opts *RenderBootstrapConfigOptions) (string, error)
GetRenderedBootstrapConfig renders the bootstrap YAML string
func Validate ¶ added in v1.2.0
func Validate(boostrapConfig *egv1a1.ProxyBootstrap) error
Validate ensures that after applying the provided bootstrap configuration, the resulting bootstrap is still OK. This code previously was part of the validate logic in api/v1alpha1/validate, but was moved here to prevent code in the api packages from accessing code from the internal packages.
Types ¶
type RenderBootstrapConfigOptions ¶ added in v1.1.0
type SdsConfigPath ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.