Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2024 v1.0.0 Feb 21, 2024 Changes in this version + func SetPrestoConfig(cfg *Config) error + func URLMustParse(s string) config.URL + type Config struct + DefaultRoutingGroup string + DefaultUser string + Environment config.URL + ReadRateLimiterConfig RateLimiterConfig + RefreshCacheConfig RefreshCacheConfig + RoutingGroupConfigs []RoutingGroupConfig + UseNamespaceAsUser bool + WriteRateLimiterConfig RateLimiterConfig + func GetPrestoConfig() *Config + func (cfg Config) GetPFlagSet(prefix string) *pflag.FlagSet + type RateLimiterConfig struct + Burst int + Rate int64 + type RefreshCacheConfig struct + LruCacheSize int + Name string + SyncPeriod config.Duration + Workers int + type RoutingGroupConfig struct + Limit int + Name string + NamespaceScopeQuotaProportionCap float64 + ProjectScopeQuotaProportionCap float64