clusters

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 *mesh_core.CircuitBreakerResource
}

func (*CircuitBreakerConfigurer) Configure

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

type ClientSideMTLSConfigurer

type ClientSideMTLSConfigurer struct {
	Ctx           xds_context.Context
	Metadata      *core_xds.DataplaneMetadata
	ClientService string
	Tags          []envoy.Tags
}

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 DnsClusterConfigurer

type DnsClusterConfigurer struct {
	Name    string
	Address string
	Port    uint32
}

func (*DnsClusterConfigurer) Configure

type EdsClusterConfigurer

type EdsClusterConfigurer struct {
	Name string
}

func (*EdsClusterConfigurer) Configure

type HealthCheckConfigurer

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

func (*HealthCheckConfigurer) Configure

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

type Http2Configurer

type Http2Configurer struct {
}

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 *mesh_core.CircuitBreakerResource
}

func (*OutlierDetectionConfigurer) Configure

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

type PassThroughClusterConfigurer

type PassThroughClusterConfigurer struct {
	Name string
}

func (*PassThroughClusterConfigurer) Configure

type StaticClusterConfigurer

type StaticClusterConfigurer struct {
	Name           string
	LoadAssignment *envoy_endpoint.ClusterLoadAssignment
}

func (*StaticClusterConfigurer) Configure

type StrictDNSClusterConfigurer

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

func (*StrictDNSClusterConfigurer) Configure

type TimeoutConfigurer

type TimeoutConfigurer struct {
	Protocol mesh_core.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