Documentation ¶
Index ¶
- func New(options ...Option) (proto.Message, error)
- type APIVersion
- type Address
- type Bootstrap
- type Option
- func AdminAccessLog(path string) Option
- func AdminAddress(addr *Address) Option
- func EnableIncrementalDiscovery() Option
- func ManagementAddress(addr *Address) Option
- func ManagementClusterName(name string) Option
- func NodeCluster(s string) Option
- func NodeID(s string) Option
- func ResourceVersion(vers APIVersion) Option
- func SetNodeOnFirstMessageOnly(value bool) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIVersion ¶
type APIVersion = envoy_config_core_v3.ApiVersion
APIVersion ...
const ( ApiVersion_AUTO APIVersion = envoy_config_core_v3.ApiVersion_AUTO //nolint ApiVersion_V2 APIVersion = envoy_config_core_v3.ApiVersion_V2 //nolint ApiVersion_V3 APIVersion = envoy_config_core_v3.ApiVersion_V3 //nolint )
type Address ¶
type Address = envoy_config_core_v3.Address
Address ...
func NewAddress ¶
NewAddress parses the addr string into a Envoy Address that can subsequently be used in an Option. If the address contains ":", it is assumed to be a socket "address:port" spec, otherwise is it the path to a pipe.
type Option ¶
Option ...
func AdminAccessLog ¶
AdminAccessLog set the access log path for the admin endpoint.
func AdminAddress ¶
AdminAddress sets the address the admin server will listen on.
func EnableIncrementalDiscovery ¶
func EnableIncrementalDiscovery() Option
EnableIncrementalDiscovery enables incremental (Delta) xDS.
func ManagementAddress ¶
ManagementAddress sets the address to connect to the xDS management server.
func ManagementClusterName ¶
ManagementClusterName sets the name of the xDS management cluster. This is the name that must be subsequently used to build ConfigSource messages in Envoy resources.
func ResourceVersion ¶
func ResourceVersion(vers APIVersion) Option
ResourceVersion sets the default resource API version Envoy will ask for.
func SetNodeOnFirstMessageOnly ¶
SetNodeOnFirstMessageOnly tells Envoy to only send the Node message once.