Documentation
¶
Index ¶
Constants ¶
View Source
const ( // RPC represents the Reverse Proxy Cache backend provider RPCID = Provider(iota) // ALB represents the Application Load Balancer backend provider ALBID // RP represents the Reverse Proxy (no caching) backend provider RPID // Rule represents the Ruler backend provider RuleID // Prometheus represents the Prometheus backend provider PrometheusID // InfluxDB represents the InfluxDB backend provider InfluxDBID // ClickHouse represents the ClickHouse backend provider ClickHouseID Backends = "backends" ReverseProxyShort = "rp" ReverseProxy = "reverseproxy" ReverseProxyCacheShort = "rpc" ReverseProxyCache = "reverseproxycache" Proxy = "proxy" Rule = "rule" ALB = "alb" Prometheus = "prometheus" ClickHouse = "clickhouse" InfluxDB = "influxdb" )
Variables ¶
View Source
var Names = map[string]Provider{ Rule: RuleID, ReverseProxyCache: RPCID, ReverseProxyCacheShort: RPCID, ALB: ALBID, Prometheus: PrometheusID, InfluxDB: InfluxDBID, ClickHouse: ClickHouseID, Proxy: RPID, ReverseProxy: RPID, ReverseProxyShort: RPID, }
Names is a map of Providers keyed by string name
View Source
var Values = make(map[Provider]string)
Values is a map of Providers valued by string name
Functions ¶
func IsSupportedTimeSeriesMergeProvider ¶
IsSupportedTimeSeriesProvider returns true if the provided time series is supported by Trickster
func IsSupportedTimeSeriesProvider ¶
IsSupportedTimeSeriesProvider returns true if the provided time series is supported by Trickster
func IsValidProvider ¶
IsValidProvider returns true if the provided Provider is valid for use with Trickster
func NonCacheBackends ¶
NonCacheBackends returns a set of backend Providers that do not use a cache
func NonOriginBackends ¶
NonOriginBackends returns a set of backend Providers that never proxy to an Origin URL, but instead pass requests off to other Providers that do.
Types ¶
Click to show internal directories.
Click to hide internal directories.