99fa530967
- Removed obsolete Redis protocol test cases and helper functions that were no longer relevant due to recent architecture changes. - Streamlined remaining test files to align with updated Redis handling and connection management logic.
22 lines
942 B
Go
22 lines
942 B
Go
package config
|
|
|
|
// HomeConfig stores runtime-only Home control plane settings from -home-jwt.
|
|
type HomeConfig struct {
|
|
Enabled bool `yaml:"enabled" json:"enabled"`
|
|
Host string `yaml:"host" json:"-"`
|
|
Port int `yaml:"port" json:"-"`
|
|
DisableClusterDiscovery bool `yaml:"disable-cluster-discovery" json:"-"`
|
|
TLS HomeTLSConfig `yaml:"tls" json:"-"`
|
|
}
|
|
|
|
// HomeTLSConfig configures client-side TLS for the home Redis connection.
|
|
type HomeTLSConfig struct {
|
|
Enable bool `yaml:"enable" json:"-"`
|
|
ServerName string `yaml:"server-name" json:"-"`
|
|
InsecureSkipVerify bool `yaml:"insecure-skip-verify" json:"-"`
|
|
CACert string `yaml:"ca-cert" json:"-"`
|
|
ClientCert string `yaml:"-" json:"-"`
|
|
ClientKey string `yaml:"-" json:"-"`
|
|
UseTargetServerName bool `yaml:"-" json:"-"`
|
|
}
|