Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Configure ¶
func Configure(rules RulesMap, proxiedSites *ProxiedSitesConfig)
Configure configures domain routing with the new Rules and ProxiedSitesConfig. The ProxiedSitesConfig is supported for backwards compatibility. All domains in the ProxiedSitesConfig are treated as Proxy rules.
func RemoveRules ¶
RemoveRules removes the domains from the current rules.
Types ¶
type ProxiedSitesConfig ¶
type ProxiedSitesConfig struct { // Global list of white-listed sites Cloud []string }
ProxiedSitesConfig is a legacy config structure that provides backwards compatibility with old config formats
type Rule ¶
type Rule string
Rule specifies how we should handle traffic to a domain and its sub-domains
Click to show internal directories.
Click to hide internal directories.