messages

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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 NewEdsCluster

func NewEdsCluster(
	clusterName string,
	connectTimeout time.Duration,
	lbPolicy string) *envoyv2.Cluster

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 NewStaticCluster(
	clusterName string,
	connectTimeout time.Duration,
	lbPolicy string,
	addresses []*envoycore.Address) *envoyv2.Cluster

func NewStaticHttpConnectionManagerFilter

func NewStaticHttpConnectionManagerFilter(
	statPrefix string,
	virtualHosts []envoyroute.VirtualHost,
	httpFilters []*envoyhttpcxnmgr.HttpFilter) *envoylistener.Filter

func NewTCPProxyFilter

func NewTCPProxyFilter(statPrefix, clusterName string) *envoylistener.Filter

func NewTcpSocketAddress

func NewTcpSocketAddress(address string, port int32) *envoycore.Address

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?)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL