Versions in this module Expand all Collapse all v0 v0.20.0 Nov 6, 2022 Changes in this version + type ConfigRepo interface + Add func(config SinkConfig) error + Edit func(config SinkConfig) error + Exists func(ownerID string, sinkID string) bool + Get func(ownerID string, sinkID string) (SinkConfig, error) + GetAll func(ownerID string) ([]SinkConfig, error) + GetAllOwners func() ([]string, error) + Remove func(ownerID string, sinkID string) error + type PrometheusState int + const Active + const Error + const Idle + const Unknown + func (p *PrometheusState) SetFromString(value string) error + func (p PrometheusState) String() string + func (p PrometheusState) Value() (driver.Value, error) + type SinkConfig struct + LastRemoteWrite time.Time + Msg string + Opentelemetry string + OwnerID string + Password string + SinkID string + State PrometheusState + Url string + User string