clusters

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultInitialConnectionWindowSize = 1024 * 1024
View Source
const DefaultInitialStreamWindowSize = 64 * 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 CircuitBreakerConfigurer

type CircuitBreakerConfigurer struct {
	CircuitBreaker *core_mesh.CircuitBreakerResource
}

func (*CircuitBreakerConfigurer) Configure

func (c *CircuitBreakerConfigurer) Configure(cluster *envoy_cluster.Cluster) error

type ClientSideMTLSConfigurer

type ClientSideMTLSConfigurer struct {
	SecretsTracker   core_xds.SecretsTracker
	UpstreamMesh     *core_mesh.MeshResource
	UpstreamService  string
	LocalMesh        *core_mesh.MeshResource
	Tags             []envoy.Tags
	UpstreamTLSReady bool
}

func (*ClientSideMTLSConfigurer) Configure

func (c *ClientSideMTLSConfigurer) Configure(cluster *envoy_cluster.Cluster) error

type ClientSideTLSConfigurer

type ClientSideTLSConfigurer struct {
	Endpoints []xds.Endpoint
}

func (*ClientSideTLSConfigurer) Configure

func (c *ClientSideTLSConfigurer) 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 added in v1.8.1

type ClusterMustConfigureFunc func(cluster *envoy_cluster.Cluster)

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

func (ClusterMustConfigureFunc) Configure added in v1.8.1

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

type EdsClusterConfigurer

type EdsClusterConfigurer struct {
	Name string
}

func (*EdsClusterConfigurer) Configure

type HealthCheckConfigurer

type HealthCheckConfigurer struct {
	HealthCheck *core_mesh.HealthCheckResource
	Protocol    core_mesh.Protocol
}

func (*HealthCheckConfigurer) Configure

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

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 LbConfigurer

type LbConfigurer struct {
	Lb *mesh_proto.TrafficRoute_LoadBalancer
}

func (*LbConfigurer) Configure

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

type LbSubsetConfigurer

type LbSubsetConfigurer struct {
	TagKeysSets envoy.TagKeysSlice
}

func (*LbSubsetConfigurer) Configure

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

type OutlierDetectionConfigurer

type OutlierDetectionConfigurer struct {
	CircuitBreaker *core_mesh.CircuitBreakerResource
}

func (*OutlierDetectionConfigurer) Configure

func (c *OutlierDetectionConfigurer) Configure(cluster *envoy_cluster.Cluster) error

type PassThroughClusterConfigurer

type PassThroughClusterConfigurer struct {
	Name string
}

func (*PassThroughClusterConfigurer) Configure

type ProvidedEndpointClusterConfigurer added in v1.8.1

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

func (*ProvidedEndpointClusterConfigurer) Configure added in v1.8.1

type TimeoutConfigurer

type TimeoutConfigurer struct {
	Protocol core_mesh.Protocol
	Conf     *mesh_proto.Timeout_Conf
}

func (*TimeoutConfigurer) Configure

func (t *TimeoutConfigurer) Configure(cluster *envoy_cluster.Cluster) error

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