istio: istio.io/istio/pilot/pkg/networking/core Index | Files | Directories

package core

import "istio.io/istio/pilot/pkg/networking/core"

Index

Package Files

configgen.go

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(node *model.Proxy, push *model.PushContext) []*listener.Listener

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

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

    // ConfigChanged is invoked when mesh config is changed, giving a chance to rebuild any cached config.
    MeshConfigChanged(mesh *meshconfig.MeshConfig)
}

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

Directories

PathSynopsis
v1alpha3
v1alpha3/envoyfilter
v1alpha3/loadbalancerpackages used for load balancer setting
v1alpha3/route
v1alpha3/route/retry

Package core imports 7 packages (graph) and is imported by 1 packages. Updated 2020-08-05. Refresh now. Tools for package owners.