clusters

package
v0.0.0-...-932f233 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultInitialStreamWindowSize     = 64 * 1024
	DefaultInitialConnectionWindowSize = 1024 * 1024
)

Window size defaults.

Variables

This section is empty.

Functions

func UpdateCommonHttpProtocolOptions

func UpdateCommonHttpProtocolOptions(cluster *envoy_cluster.Cluster, fn func(*envoy_upstream_http.HttpProtocolOptions)) error

Types

type AltStatNameConfigurer

type AltStatNameConfigurer struct{}

func (*AltStatNameConfigurer) Configure

func (e *AltStatNameConfigurer) Configure(cluster *envoy_cluster.Cluster) error

type ClusterConfigurer

type ClusterConfigurer interface {
	// Configure configures a single aspect on a given Envoy cluster.
	Configure(cluster *envoy_cluster.Cluster) error
}

ClusterConfigurer is responsible for configuring a single aspect of the entire Envoy cluster, such as filter chain, transparent proxying, etc.

type ClusterMustConfigureFunc

type ClusterMustConfigureFunc func(cluster *envoy_cluster.Cluster)

ClusterMustConfigureFunc adapts a configuration function that never fails to the ListenerConfigurer interface.

func (ClusterMustConfigureFunc) Configure

func (f ClusterMustConfigureFunc) Configure(cluster *envoy_cluster.Cluster) error

type EdsClusterConfigurer

type EdsClusterConfigurer struct{}

func (*EdsClusterConfigurer) Configure

type Http2Configurer

type Http2Configurer struct {
	EdgeProxyWindowSizes bool
}

func (*Http2Configurer) Configure

func (p *Http2Configurer) Configure(c *envoy_cluster.Cluster) error

type HttpConfigurer

type HttpConfigurer struct{}

func (*HttpConfigurer) Configure

func (p *HttpConfigurer) Configure(c *envoy_cluster.Cluster) error

type LbSubsetConfigurer

type LbSubsetConfigurer struct {
	TagKeysSets tags.TagKeysSlice
}

func (*LbSubsetConfigurer) Configure

func (e *LbSubsetConfigurer) Configure(c *envoy_cluster.Cluster) error

type PassThroughClusterConfigurer

type PassThroughClusterConfigurer struct{}

func (*PassThroughClusterConfigurer) Configure

type ProvidedEndpointClusterConfigurer

type ProvidedEndpointClusterConfigurer struct {
	Name      string
	Endpoints []xds.Endpoint
	HasIPv6   bool
}

func (*ProvidedEndpointClusterConfigurer) Configure

type UpstreamBindConfigConfigurer

type UpstreamBindConfigConfigurer struct {
	Address string
	Port    uint32
}

func (*UpstreamBindConfigConfigurer) Configure

Jump to

Keyboard shortcuts

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