istio: Index | Files | Directories

package core

import ""


Package Files


type ConfigGenerator Uses

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, push *model.PushContext) []*v2.Listener

    // BuildClusters returns the list of clusters for the given proxy. This is the CDS output
    BuildClusters(env *model.Environment, node *model.Proxy, push *model.PushContext) []*v2.Cluster

    // BuildHTTPRoutes returns the list of HTTP routes for the given proxy. This is the RDS output
    BuildHTTPRoutes(env *model.Environment, node *model.Proxy, push *model.PushContext, routeNames []string) []*v2.RouteConfiguration

ConfigGenerator represents the interfaces to be implemented by code that generates xDS responses

func NewConfigGenerator Uses

func NewConfigGenerator(plugins []string) ConfigGenerator

NewConfigGenerator creates a new instance of the dataplane configuration generator


v1alpha3/fakesCode generated by counterfeiter.
v1alpha3/loadbalancerpackages used for load balancer setting

Package core imports 4 packages (graph) and is imported by 4 packages. Updated 2019-10-15. Refresh now. Tools for package owners.