Documentation ¶
Index ¶
- Constants
- Variables
- 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 ConvertDuration(p *duration.Duration) time.Duration
- 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
- func GetAccessLog(log *accesslog.AccessLog) (*xdsaccesslog.FileAccessLog, error)
- func GetHTTPConnectionManager(filter *xdslistener.Filter) *xdshttp.HttpConnectionManager
- func GetTcpProxy(filter *xdslistener.Filter) *xdstcp.TcpProxy
- func InitStats()
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 ¶
View Source
var Stats types.XdsStats
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
func GetAccessLog ¶ added in v0.14.0
func GetAccessLog(log *accesslog.AccessLog) (*xdsaccesslog.FileAccessLog, error)
func GetHTTPConnectionManager ¶ added in v0.14.0
func GetHTTPConnectionManager(filter *xdslistener.Filter) *xdshttp.HttpConnectionManager
func GetTcpProxy ¶ added in v0.14.0
func GetTcpProxy(filter *xdslistener.Filter) *xdstcp.TcpProxy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.