Versions in this module Expand all Collapse all v8 v8.0.1 Mar 21, 2024 v8.0.1-rc1 Mar 21, 2024 v8.0.1-rc0 Mar 21, 2024 v8.0.0 Jan 30, 2024 Changes in this version + const AllowStartup + const BlockStartup + const DBConnMaxLifetimeSecondsDefault + const DBMaxIdleConnectionsDefault + const DefaultDBPort + const DefaultDBQueryTimeoutSecs + const DefaultLDAPTimeoutSecs + const MaxPort + const MinPort + func ValidateRoutingBlacklist(blacklist RoutingBlacklist) error + type BackendConfig struct + Routes []BackendRoute + func LoadBackendConfig(backendConfigPath string) (BackendConfig, error) + type BackendRoute struct + Hosts []Host + ID int + Index int + Insecure bool + Method string + Opts Options + Path string + Permissions []string + type CdniConf struct + DCdnId string + type ClientCertAuth struct + RootCertsDir string + type Config struct + AcmeAccounts []ConfigAcmeAccount + Cdni *CdniConf + CertPath string + ClientCertAuth *ClientCertAuth + ConfigInflux *ConfigInflux + ConfigLDAP *ConfigLDAP + ConfigTO *ConfigTO + DB ConfigDatabase + DefaultCertificateInfo *DefaultCertificateInfo + DisableAutoCertDeletion bool + InfluxDBConfPath string + InfluxEnabled bool + KeyPath string + LDAPConfPath string + LDAPEnabled bool + RoleBasedPermissions bool + SMTP *ConfigSMTP + Secrets []string + ServerUpdateStatusCacheRefreshIntervalSec int + TrafficVaultEnabled bool + URL *url.URL + UseIMS bool + UserCacheRefreshIntervalSec int + Version string + func LoadCdnConfig(cdnConfPath string) (Config, error) + func LoadConfig(cdnConfPath string, dbConfPath string, appVersion string) (Config, []error, bool) + func NewFakeConfig() Config + func ParseConfig(cfg Config) (Config, error) + func (c Config) DebugLog() log.LogLocation + func (c Config) ErrorLog() log.LogLocation + func (c Config) EventLog() log.LogLocation + func (c Config) GetCertPath() string + func (c Config) GetKeyPath() string + func (c Config) InfoLog() log.LogLocation + func (c Config) WarningLog() log.LogLocation + type ConfigAcmeAccount struct + AcmeProvider string + AcmeUrl string + HmacEncoded string + Kid string + UserEmail string + type ConfigAcmeRenewal struct + RenewDaysBeforeExpiration int + SummaryEmail string + type ConfigDatabase struct + DBName string + Description string + Hostname string + Password string + Port string + SSL bool + Type string + User string + type ConfigInflux struct + CacheDBName string + DSDBName string + Password string + Secure *bool + User string + func GetInfluxConfig(path string) (bool, *ConfigInflux, error) + type ConfigLDAP struct + AdminDN string + AdminPass string + Host string + Insecure bool + LDAPTimeoutSecs int + SearchBase string + SearchQuery string + func GetLDAPConfig(LDAPConfPath string) (bool, *ConfigLDAP, error) + type ConfigLetsEncrypt struct + ConvertSelfSigned bool + Email string + Environment string + RenewDaysBeforeExpiration int + SendExpEmail bool + type ConfigPortal struct + BaseURL rfc.URL + DocsURL rfc.URL + EmailFrom rfc.EmailAddress + PasswdResetPath string + UserRegisterPath string + type ConfigSMTP struct + Address string + Enabled bool + Password string + User string + type ConfigTO struct + BaseURL *rfc.URL + EmailFrom *rfc.EmailAddress + NoAccountFoundMessage *string + type ConfigTrafficOpsGolang struct + CRConfigEmulateOldPath bool + CRConfigUseRequestHost bool + Cert string + DBConnMaxLifetimeSeconds int + DBMaxIdleConnections int + DBQueryTimeoutSeconds int + IdleTimeout int + Insecure bool + Key string + LogLocationDebug string + LogLocationError string + LogLocationEvent string + LogLocationInfo string + LogLocationWarning string + MaxDBConnections int + OAuthClientSecret string + OAuthUserAttribute string + PluginConfig map[string]json.RawMessage + PluginSharedConfig map[string]interface{} + Plugins []string + Port string + ProfilingEnabled bool + ProfilingLocation string + ProxyKeepAlive int + ProxyReadHeaderTimeout int + ProxyTLSTimeout int + ProxyTimeout int + ReadHeaderTimeout int + ReadTimeout int + RequestTimeout int + RiakPort *uint + SupportedDSMetrics []string + TLSConfig *tls.Config + TrafficVaultBackend string + TrafficVaultConfig json.RawMessage + WhitelistedOAuthUrls []string + WriteTimeout int + type DefaultCertificateInfo struct + BusinessUnit string + City string + Country string + Organization string + State string + func (d *DefaultCertificateInfo) Validate() (error, bool) + type Host struct + Hostname string + Port int + Protocol string + type Options struct + Algorithm string + type RoutingBlacklist struct + DisabledRoutes []int + IgnoreUnknownRoutes bool v8.0.0-rc6 Jan 24, 2024 v8.0.0-rc5 Jan 17, 2024 v8.0.0-rc4 Oct 23, 2023 v8.0.0-rc3 Oct 3, 2023 v8.0.0-rc2 Sep 25, 2023 v8.0.0-rc1 Sep 22, 2023 Other modules containing this package github.com/apache/trafficcontrol