providers

package
v2.0.0-beta2.0...-3469a79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RPC represents the Reverse Proxy Cache backend provider
	RPC = Provider(iota)
	// ALB represents the Application Load Balancer backend provider
	ALB
	// RP represents the Reverse Proxy (no caching) backend provider
	RP
	// Rule represents the Ruler backend provider
	Rule
	// Prometheus represents the Prometheus backend provider
	Prometheus
	// InfluxDB represents the InfluxDB backend provider
	InfluxDB
	// IronDB represents the IRONdb backend provider
	IronDB
	// ClickHouse represents the ClickHouse backend provider
	ClickHouse
)

Variables

View Source
var Names = map[string]Provider{
	"rule":              Rule,
	"reverseproxycache": RPC,
	"rpc":               RPC,
	"alb":               ALB,
	"prometheus":        Prometheus,
	"influxdb":          InfluxDB,
	"irondb":            IronDB,
	"clickhouse":        ClickHouse,
	"proxy":             RP,
	"reverseproxy":      RP,
	"rp":                RP,
}

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

func IsSupportedTimeSeriesMergeProvider(name string) bool

IsSupportedTimeSeriesProvider returns true if the provided time series is supported by Trickster

func IsSupportedTimeSeriesProvider

func IsSupportedTimeSeriesProvider(name string) bool

IsSupportedTimeSeriesProvider returns true if the provided time series is supported by Trickster

func IsValidProvider

func IsValidProvider(t string) bool

IsValidProvider returns true if the provided Provider is valid for use with Trickster

Types

type Provider

type Provider int

Provider enumerates the supported backend providers

func (Provider) String

func (t Provider) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL