Documentation
¶
Index ¶
Constants ¶
View Source
const XdsClusterName = "xds_cluster"
Variables ¶
This section is empty.
Functions ¶
func StartDebugServer ¶
func StartDebugServer(port int, node string, c cache.SnapshotCache)
Types ¶
type Config ¶
type Config struct {
Global *GlobalConfig
Consul *ConsulConfig
XDS *XDS
}
func NewEmptyConfig ¶ added in v0.0.2
func NewEmptyConfig() *Config
func (*Config) ParseFlags ¶ added in v0.0.2
func (c *Config) ParseFlags()
type ConsulConfig ¶ added in v0.0.2
type DebugConfig ¶ added in v0.0.2
type DebugServer ¶
type DebugServer struct {
// contains filtered or unexported fields
}
func (*DebugServer) ListenAndServe ¶
func (d *DebugServer) ListenAndServe(port int)
type EnvoyConfig ¶ added in v0.0.2
type EnvoyConfig struct {
NodeName string
ListenerPort int
ListenerDrainType string
ListenTransparent bool
ListenTcpFastOpenQueueLength int
ListenerPerConnBufLimitBytes int
HttpAccessLogPath string
HttpIdleTimeout int64
HttpStreamIdleTimeout int64
HttpRequestTimeout int64
HttpDrainTimeout int64
HttpDelayedCloseTimeout int64
HttpPreserveExtReqId bool
EnableTracing bool
TracingOpName string
TracingVerbose bool
}
type GlobalConfig ¶ added in v0.0.2
type SyncChans ¶ added in v0.0.2
type SyncChans struct {
// contains filtered or unexported fields
}
func NewSyncChans ¶ added in v0.0.2
func NewSyncChans() *SyncChans
type XDS ¶
type XDS struct {
ServiceName string
ListenPort int
Consul *consul.Client
Cache cache.SnapshotCache
Envoy *EnvoyConfig
Debug *DebugConfig
}
Click to show internal directories.
Click to hide internal directories.