Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct {
Enable bool `yaml:"enable"`
RBACInternalServerAddr string `yaml:"rbacInternalServerAddr"`
}
AuthConfig is the authentication configuration.
type Config ¶
type Config struct {
GRPCPort int `yaml:"grpcPort"`
HTTPPort int `yaml:"httpPort"`
WorkerServiceGRPCPort int `yaml:"workerServiceGrpcPort"`
MonitoringPort int `yaml:"monitoringPort"`
AdminPort int `yaml:"adminPort"`
Database db.Config `yaml:"database"`
ModelManagerServerAddr string `yaml:"modelManagerServerAddr"`
VectorStoreManagerServerAddr string `yaml:"vectorStoreManagerServerAddr"`
VectorStoreManagerInternalServerAddr string `yaml:"vectorStoreManagerInternalServerAddr"`
AuthConfig AuthConfig `yaml:"auth"`
WorkerServiceTLS *TLS `yaml:"workerServiceTls"`
UsageSender sender.Config `yaml:"usageSender"`
Debug DebugConfig `yaml:"debug"`
// EnableEngineReadinessCheck enables the engine readiness check. This is set to false
// when the server still connects to an old version of engines that don't set the 'ready'
// field in the status.
EnableEngineReadinessCheck bool `yaml:"enableEngineReadinessCheck"`
}
Config is the configuration.
type DebugConfig ¶
type DebugConfig struct {
UseNoopClient bool `yaml:"useNoopClient"`
}
DebugConfig is the debug configuration.
Click to show internal directories.
Click to hide internal directories.