Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigGenerator ¶
type ConfigGenerator interface { // BuildListeners returns the list of inbound/outbound listeners for the given proxy. This is the LDS output // Internally, the computation will be optimized to ensure that listeners are computed only // once and shared across multiple invocations of this function. BuildListeners(env model.Environment, node model.Proxy) ([]*v2.Listener, error) // BuildClusters returns the list of clusters for the given proxy. This is the CDS output BuildClusters(env model.Environment, node model.Proxy) ([]*v2.Cluster, error) // BuildHTTPRoutes returns the list of HTTP routes for the given proxy. This is the RDS output BuildHTTPRoutes(env model.Environment, node model.Proxy, routeName string) (*v2.RouteConfiguration, error) }
ConfigGenerator represents the interfaces to be implemented by code that generates xDS responses
func NewConfigGenerator ¶
func NewConfigGenerator(plugins []string) ConfigGenerator
NewConfigGenerator creates a new instance of the dataplane configuration generator
Click to show internal directories.
Click to hide internal directories.