Documentation ¶
Index ¶
- Constants
- func ConvertAddOrUpdateListeners(listeners []*envoy_api_v2.Listener)
- func ConvertAddOrUpdateRouters(routers []*envoy_api_v2.RouteConfiguration)
- func ConvertClustersConfig(xdsClusters []*xdsapi.Cluster) []*v2.Cluster
- func ConvertDeleteClusters(clusters []*envoy_api_v2.Cluster)
- func ConvertDeleteListeners(listeners []*envoy_api_v2.Listener)
- func ConvertEndpointsConfig(xdsEndpoint *xdsendpoint.LocalityLbEndpoints) []v2.Host
- func ConvertListenerConfig(xdsListener *xdsapi.Listener) *v2.Listener
- func ConvertRouterConf(routeConfigName string, xdsRouteConfig *xdsapi.RouteConfiguration) (*v2.RouterConfiguration, bool)
- func ConvertUpdateClusters(clusters []*envoy_api_v2.Cluster)
- func ConvertUpdateEndpoints(loadAssignments []*envoy_api_v2.ClusterLoadAssignment) error
Constants ¶
View Source
const ( IstioFault = "envoy.fault" IstioRouter = "envoy.router" IstioCors = "envoy.cors" MosnPayloadLimit = "mosn.payload_limit" )
istio stream filter names, which is quite different from mosn
Variables ¶
This section is empty.
Functions ¶
func ConvertAddOrUpdateListeners ¶
func ConvertAddOrUpdateListeners(listeners []*envoy_api_v2.Listener)
ConvertAddOrUpdateListeners converts listener configuration, used to add or update listeners
func ConvertAddOrUpdateRouters ¶
func ConvertAddOrUpdateRouters(routers []*envoy_api_v2.RouteConfiguration)
ConvertAddOrUpdateRouters converts router configurationm, used to add or update routers
func ConvertClustersConfig ¶
func ConvertDeleteClusters ¶
func ConvertDeleteClusters(clusters []*envoy_api_v2.Cluster)
ConvertDeleteClusters converts cluster configuration, used to delete cluster
func ConvertDeleteListeners ¶
func ConvertDeleteListeners(listeners []*envoy_api_v2.Listener)
ConvertDeleteListeners converts listener configuration, used to delete listener
func ConvertEndpointsConfig ¶
func ConvertEndpointsConfig(xdsEndpoint *xdsendpoint.LocalityLbEndpoints) []v2.Host
func ConvertListenerConfig ¶
todo add streamfilters parse
func ConvertRouterConf ¶
func ConvertRouterConf(routeConfigName string, xdsRouteConfig *xdsapi.RouteConfiguration) (*v2.RouterConfiguration, bool)
func ConvertUpdateClusters ¶
func ConvertUpdateClusters(clusters []*envoy_api_v2.Cluster)
ConvertUpdateClusters converts cluster configuration, used to udpate cluster
func ConvertUpdateEndpoints ¶
func ConvertUpdateEndpoints(loadAssignments []*envoy_api_v2.ClusterLoadAssignment) error
ConverUpdateEndpoints converts cluster configuration, used to udpate hosts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.