Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XdsServerConfig ¶
type XdsServerConfig struct { // Port of GRPC server that Envoy connects to GrpcPort int `yaml:"grpcPort" envconfig:"kuma_xds_server_grpc_port"` // Port of Diagnostic Server for checking health and readiness of the Control Plane DiagnosticsPort int `yaml:"diagnosticsPort" envconfig:"kuma_xds_server_diagnostics_port"` // Interval for re-genarting configuration for Dataplanes connected to the Control Plane DataplaneConfigurationRefreshInterval time.Duration `yaml:"dataplaneConfigurationRefreshInterval" envconfig:"kuma_xds_server_dataplane_configuration_refresh_interval"` // Interval for flushing status of Dataplanes connected to the Control Plane DataplaneStatusFlushInterval time.Duration `yaml:"dataplaneStatusFlushInterval" envconfig:"kuma_xds_server_dataplane_status_flush_interval"` // TlsCertFile defines a path to a file with PEM-encoded TLS cert. TlsCertFile string `yaml:"tlsCertFile" envconfig:"kuma_xds_server_tls_cert_file"` // TlsKeyFile defines a path to a file with PEM-encoded TLS key. TlsKeyFile string `yaml:"tlsKeyFile" envconfig:"kuma_xds_server_tls_key_file"` }
Envoy XDS server configuration
func DefaultXdsServerConfig ¶
func DefaultXdsServerConfig() *XdsServerConfig
func (*XdsServerConfig) Sanitize ¶
func (x *XdsServerConfig) Sanitize()
func (*XdsServerConfig) Validate ¶
func (x *XdsServerConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.