Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromEnvoyResources ¶
func FromEnvoyResources(resources *EnvoyResources) (string, error)
func FromFilter ¶
FromFilter accepts a filter name and typed config for that filter, contructs a static bootstrap config containing a single vhost with typed per-filter config matching the arguments, marshals it to json, and returns the stringified json or any error if it occurred.
func FromSnapshot ¶
FromSnapshot accepts an xds Snapshot and converts it into valid bootstrap json.
Types ¶
type EnvoyResources ¶
type EnvoyResources struct { Clusters []*envoy_config_cluster_v3.Cluster Listeners []*envoy_config_listener_v3.Listener Secrets []*envoy_extensions_transport_sockets_tls_v3.Secret // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.