package
Version:
v0.0.0-...-3216bbb
Opens a new window with list of versions in this module.
Published: Oct 25, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type BackendTLSConfig struct {
Enabled bool `yaml:"enabled"`
CACertificatePath string `yaml:"ca_cert_path"`
ClientCertAndKeyPath string `yaml:"client_cert_and_key_path"`
}
type Config struct {
OAuth OAuthConfig `yaml:"oauth"`
RoutingAPI RoutingAPIConfig `yaml:"routing_api"`
HaProxyPidFile string `yaml:"haproxy_pid_file"`
IsolationSegments []string `yaml:"isolation_segments"`
ReservedSystemComponentPorts []uint16 `yaml:"reserved_system_component_ports"`
DrainWaitDuration time.Duration `yaml:"drain_wait"`
BackendTLS BackendTLSConfig `yaml:"backend_tls"`
}
type OAuthConfig struct {
TokenEndpoint string `yaml:"token_endpoint"`
Port uint16 `yaml:"port"`
SkipSSLValidation bool `yaml:"skip_ssl_validation"`
ClientName string `yaml:"client_name"`
ClientSecret string `yaml:"client_secret"`
CACerts string `yaml:"ca_certs"`
}
type RoutingAPIConfig struct {
URI string `yaml:"uri"`
Port uint16 `yaml:"port"`
AuthDisabled bool `yaml:"auth_disabled"`
ClientCertificatePath string `yaml:"client_cert_path"`
ClientPrivateKeyPath string `yaml:"client_private_key_path"`
CACertificatePath string `yaml:"ca_cert_path"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.