Documentation ¶
Index ¶
- func CircuitBreaker(maxConnections, maxRequests, maxPendingRequests, maxRetries uint32) *cluster.CircuitBreakers
- func ConnectionManager(routeName string, vhosts []route.VirtualHost, drainTimeout *time.Duration) *hcm.HttpConnectionManager
- func Listener(name, address string, port uint32, ...) (*v2.Listener, error)
- func OutlierDetection(baseEjectionTimeSeconds, ejectionSweepInterval int64, ...) *cluster.OutlierDetection
- func RetryPolicy(retryOn, retryPredicate string, numRetries uint32, ...) *route.RetryPolicy
- func StrictDNSLRCluster(name, svcAddress string, port uint32, timeoutms int, ...) *v2.Cluster
- func StrictDNSLRHttp2Cluster(name, svcAddress string, port uint32, timeoutms int, ...) *v2.Cluster
- func TCPAddress(address string, port uint32) core.Address
- func VHost(name string, domains []string, targets []Target, ...) route.VirtualHost
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CircuitBreaker ¶ added in v0.1.5
func CircuitBreaker(maxConnections, maxRequests, maxPendingRequests, maxRetries uint32) *cluster.CircuitBreakers
func ConnectionManager ¶
func ConnectionManager(routeName string, vhosts []route.VirtualHost, drainTimeout *time.Duration) *hcm.HttpConnectionManager
ConnectionManager for a given set of virtual hosts
func Listener ¶
func Listener(name, address string, port uint32, connectionManager *hcm.HttpConnectionManager) (*v2.Listener, error)
Listener for given address and connectionManager
func OutlierDetection ¶ added in v0.1.5
func OutlierDetection(baseEjectionTimeSeconds, ejectionSweepInterval int64, consecutive5xx, consecutiveGatewayFailure, enforcingConsecutive5xx, enforcingConsecutiveGatewayFailure, maxEjectionPercent uint32) *cluster.OutlierDetection
func RetryPolicy ¶ added in v0.1.5
func RetryPolicy(retryOn, retryPredicate string, numRetries uint32, hostSelectionMaxRetryAttempts int64) *route.RetryPolicy
func StrictDNSLRCluster ¶
func StrictDNSLRCluster(name, svcAddress string, port uint32, timeoutms int, circuitBreaker *cluster.CircuitBreakers, outlierDetection *cluster.OutlierDetection) *v2.Cluster
StrictDNSLRCluster creates a strict dns cluster with lb policy as least request.
func StrictDNSLRHttp2Cluster ¶
func StrictDNSLRHttp2Cluster(name, svcAddress string, port uint32, timeoutms int, circuitBreaker *cluster.CircuitBreakers, outlierDetection *cluster.OutlierDetection) *v2.Cluster
StrictDNSLRHttp2Cluster creates an http2 strict dns cluster with lb policy as least request.
func TCPAddress ¶
TCPAddress builds a envoy tcp address
func VHost ¶
func VHost(name string, domains []string, targets []Target, retryPolicy *route.RetryPolicy) route.VirtualHost
Types ¶
Click to show internal directories.
Click to hide internal directories.