Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gateway ¶
type Gateway struct {
GlobalDownstreamMaxConnections uint64 `json:"globalDownstreamMaxConnections" envconfig:"DUBBO_PROXY_GATEWAY_GLOBAL_DOWNSTREAM_MAX_CONNECTIONS"`
}
type Proxy ¶
type Proxy struct { // Gateway holds data plane wide configuration for MeshGateway proxies Gateway Gateway `json:"gateway"` }
type XdsServerConfig ¶
type XdsServerConfig struct { config.BaseConfig // Interval for re-generating configuration for Dataplanes connected to the Control Plane DataplaneConfigurationRefreshInterval config_types.Duration `json:"dataplaneConfigurationRefreshInterval" envconfig:"DUBBO_XDS_SERVER_DATAPLANE_CONFIGURATION_REFRESH_INTERVAL"` // Interval for flushing status of Dataplanes connected to the Control Plane DataplaneStatusFlushInterval config_types.Duration `json:"dataplaneStatusFlushInterval" envconfig:"DUBBO_XDS_SERVER_DATAPLANE_STATUS_FLUSH_INTERVAL"` // DataplaneDeregistrationDelay is a delay between proxy terminating a connection and the CP trying to deregister the proxy. // It is used only in universal mode when you use direct lifecycle. // Setting this setting to 0s disables the delay. // Disabling this may cause race conditions that one instance of CP removes proxy object // while proxy is connected to another instance of the CP. DataplaneDeregistrationDelay config_types.Duration `json:"dataplaneDeregistrationDelay" envconfig:"DUBBO_XDS_DATAPLANE_DEREGISTRATION_DELAY"` // Backoff that is executed when Control Plane is sending the response that was previously rejected by Dataplane NACKBackoff config_types.Duration `json:"nackBackoff" envconfig:"DUBBO_XDS_SERVER_NACK_BACKOFF"` }
Envoy XDS server configuration
func DefaultXdsServerConfig ¶
func DefaultXdsServerConfig() *XdsServerConfig
func (*XdsServerConfig) Validate ¶
func (x *XdsServerConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.