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(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

Directories

PathSynopsis
v1alpha3
v1alpha3/envoyfilter
v1alpha3/fakesCode generated by counterfeiter.
v1alpha3/loadbalancerpackages used for load balancer setting
v1alpha3/route
v1alpha3/route/retry

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