Documentation
¶
Index ¶
Constants ¶
View Source
const ( // OriginTypeRPC represents thee Reverse Proxy Cache origin type OriginTypeRPC = OriginType(iota) // OriginTypeRule represents the Ruler origin type OriginTypeRule // OriginTypePrometheus represents the Prometheus origin type OriginTypePrometheus // OriginTypeInfluxDB represents the InfluxDB origin type OriginTypeInfluxDB // OriginTypeIronDB represents the IRONdb origin type OriginTypeIronDB // OriginTypeClickHouse represents the ClickHouse origin type OriginTypeClickHouse )
Variables ¶
View Source
var Names = map[string]OriginType{ "rule": OriginTypeRule, "reverseproxycache": OriginTypeRPC, "rpc": OriginTypeRPC, "prometheus": OriginTypePrometheus, "influxdb": OriginTypeInfluxDB, "irondb": OriginTypeIronDB, "clickhouse": OriginTypeClickHouse, }
Names is a map of OriginTypes keyed by string name
View Source
var Values = make(map[OriginType]string)
Values is a map of OriginTypes valued by string name
Functions ¶
func IsValidOriginType ¶
IsValidOriginType returns true if the provided OriginType is valid for use with Trickster
Types ¶
type OriginType ¶
type OriginType int
OriginType enumerates the supported origin types
func (OriginType) String ¶
func (t OriginType) String() string
Click to show internal directories.
Click to hide internal directories.