package
Version:
v0.0.0-...-c764716
Opens a new window with list of versions in this module.
Published: Apr 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
OAuth OAuthConfig `yaml:"oauth"`
RoutingAPI RoutingAPIConfig `yaml:"routing_api"`
HaProxyPidFile string `yaml:"haproxy_pid_file"`
IsolationSegments []string `yaml:"isolation_segments"`
ReservedSystemComponentPorts []int `yaml:"reserved_system_component_ports"`
}
type OAuthConfig struct {
TokenEndpoint string `yaml:"token_endpoint"`
Port int `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 int `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.