Documentation ¶
Index ¶
- func NewClusterLoadAssignment(name string, lbEndpoints []envoyendpoint.LbEndpoint) *envoyv2.ClusterLoadAssignment
- func NewClusterRouteActionRouteRoute(clusterName string) *envoyroute.Route_Route
- func NewDeprecatedV1TCPProxyFilter(statPrefix string, routes *envoytcpproxy.TcpProxy_DeprecatedV1) *envoylistener.Filter
- func NewDeprecatedV1TcpProxyRoute(cluster string, destinationIPs []string, destinationPorts []int32) *envoytcpproxy.TcpProxy_DeprecatedV1_TCPRoute
- func NewDeprecatedV1TcpProxyRoutes(routes []*envoytcpproxy.TcpProxy_DeprecatedV1_TCPRoute) *envoytcpproxy.TcpProxy_DeprecatedV1
- func NewEdsCluster(clusterName string, connectTimeout time.Duration, lbPolicy string) *envoyv2.Cluster
- func NewFilterChain(filterChainMatch *envoylistener.FilterChainMatch, ...) *envoylistener.FilterChain
- func NewHttpRouterFilter() *envoyhttpcxnmgr.HttpFilter
- func NewLbEndpoint(address *envoycore.Address) *envoyendpoint.LbEndpoint
- func NewListener(name string, address *envoycore.Address, ...) *envoyv2.Listener
- func NewOriginalDestinationListener(name string, address *envoycore.Address, ...) *envoyv2.Listener
- func NewOriginalDestinationListenerFilter() *envoylistener.ListenerFilter
- func NewPrefixRouteMatch(prefix string) *envoyroute.RouteMatch
- func NewRdsHttpConnectionManagerFilter(statPrefix string, routeConfigName string, ...) *envoylistener.Filter
- func NewRouteConfiguration(name string, virtualHosts []envoyroute.VirtualHost) *envoyv2.RouteConfiguration
- func NewRouteRoute(match *envoyroute.RouteMatch, action *envoyroute.Route_Route) *envoyroute.Route
- func NewStaticCluster(clusterName string, connectTimeout time.Duration, lbPolicy string, ...) *envoyv2.Cluster
- func NewStaticHttpConnectionManagerFilter(statPrefix string, virtualHosts []envoyroute.VirtualHost, ...) *envoylistener.Filter
- func NewTCPProxyFilter(statPrefix, clusterName string) *envoylistener.Filter
- func NewTcpSocketAddress(address string, port int32) *envoycore.Address
- func NewVirtualHost(name string, domains []string, routes []envoyroute.Route) *envoyroute.VirtualHost
- type DeprecatedTCPProxyFilterConfig
- type DeprecatedTCPRoute
- type DeprecatedTCPRouteConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterLoadAssignment ¶
func NewClusterLoadAssignment( name string, lbEndpoints []envoyendpoint.LbEndpoint) *envoyv2.ClusterLoadAssignment
func NewClusterRouteActionRouteRoute ¶
func NewClusterRouteActionRouteRoute( clusterName string) *envoyroute.Route_Route
func NewDeprecatedV1TCPProxyFilter ¶
func NewDeprecatedV1TCPProxyFilter( statPrefix string, routes *envoytcpproxy.TcpProxy_DeprecatedV1) *envoylistener.Filter
func NewDeprecatedV1TcpProxyRoute ¶
func NewDeprecatedV1TcpProxyRoute( cluster string, destinationIPs []string, destinationPorts []int32) *envoytcpproxy.TcpProxy_DeprecatedV1_TCPRoute
func NewDeprecatedV1TcpProxyRoutes ¶
func NewDeprecatedV1TcpProxyRoutes( routes []*envoytcpproxy.TcpProxy_DeprecatedV1_TCPRoute) *envoytcpproxy.TcpProxy_DeprecatedV1
func NewEdsCluster ¶
func NewFilterChain ¶
func NewFilterChain( filterChainMatch *envoylistener.FilterChainMatch, tlsContext *envoyauth.DownstreamTlsContext, useProxyProto bool, filters []envoylistener.Filter) *envoylistener.FilterChain
func NewHttpRouterFilter ¶
func NewHttpRouterFilter() *envoyhttpcxnmgr.HttpFilter
func NewLbEndpoint ¶
func NewLbEndpoint(address *envoycore.Address) *envoyendpoint.LbEndpoint
func NewListener ¶
func NewListener( name string, address *envoycore.Address, filterChains []envoylistener.FilterChain) *envoyv2.Listener
func NewOriginalDestinationListener ¶
func NewOriginalDestinationListener( name string, address *envoycore.Address, filterChains []envoylistener.FilterChain) *envoyv2.Listener
func NewOriginalDestinationListenerFilter ¶
func NewOriginalDestinationListenerFilter() *envoylistener.ListenerFilter
func NewPrefixRouteMatch ¶
func NewPrefixRouteMatch(prefix string) *envoyroute.RouteMatch
func NewRdsHttpConnectionManagerFilter ¶
func NewRdsHttpConnectionManagerFilter( statPrefix string, routeConfigName string, httpFilters []*envoyhttpcxnmgr.HttpFilter) *envoylistener.Filter
func NewRouteConfiguration ¶
func NewRouteConfiguration( name string, virtualHosts []envoyroute.VirtualHost) *envoyv2.RouteConfiguration
func NewRouteRoute ¶
func NewRouteRoute( match *envoyroute.RouteMatch, action *envoyroute.Route_Route) *envoyroute.Route
func NewStaticCluster ¶
func NewStaticHttpConnectionManagerFilter ¶
func NewStaticHttpConnectionManagerFilter( statPrefix string, virtualHosts []envoyroute.VirtualHost, httpFilters []*envoyhttpcxnmgr.HttpFilter) *envoylistener.Filter
func NewTCPProxyFilter ¶
func NewTCPProxyFilter(statPrefix, clusterName string) *envoylistener.Filter
func NewVirtualHost ¶
func NewVirtualHost( name string, domains []string, routes []envoyroute.Route) *envoyroute.VirtualHost
Types ¶
type DeprecatedTCPProxyFilterConfig ¶
type DeprecatedTCPProxyFilterConfig struct { StatPrefix string `json:"stat_prefix"` RouteConfig *DeprecatedTCPRouteConfig `json:"route_config"` }
DeprecatedTCPProxyFilterConfig definition
type DeprecatedTCPRoute ¶
type DeprecatedTCPRoute struct { Cluster string `json:"cluster"` DestinationIPList []string `json:"destination_ip_list,omitempty"` DestinationPorts string `json:"destination_ports,omitempty"` SourceIPList []string `json:"source_ip_list,omitempty"` SourcePorts string `json:"source_ports,omitempty"` }
DeprecatedTCPRoute definition
type DeprecatedTCPRouteConfig ¶
type DeprecatedTCPRouteConfig struct {
Routes []*DeprecatedTCPRoute `json:"routes"`
}
DeprecatedTCPRouteConfig (or generalize as RouteConfig or L4RouteConfig for TCP/UDP?)
Click to show internal directories.
Click to hide internal directories.