Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UNSUPPORTED_TYPE = "[Unsupported type]"
Functions ¶
This section is empty.
Types ¶
type Column ¶
type PluginSettings ¶
type PluginSettings struct { Host string `json:"host"` Port int `json:"port"` Database string `json:"database"` AuthMethod string `json:"authType"` Username string `json:"username"` ConnectionStringScheme string `json:"connectionStringScheme"` ConnectionParameters string `json:"connectionParameters"` Secrets *SecretPluginSettings `json:"-"` }
func LoadPluginSettings ¶
func LoadPluginSettings(source backend.DataSourceInstanceSettings) (*PluginSettings, error)
type SecretPluginSettings ¶
type SecretPluginSettings struct {
Password string `json:"password"`
}
type TimeSeriesTable ¶
type TimeSeriesTable struct { Name string Timestamps []*time.Time RawValues []bson.RawValue IntrinsictValueType reflect.Kind }
func NewTimeSeriesTable ¶
func NewTimeSeriesTable(name string) *TimeSeriesTable
func (*TimeSeriesTable) AppendRow ¶
func (t *TimeSeriesTable) AppendRow(elements []bson.RawElement) error
func (*TimeSeriesTable) MakeDataFrame ¶
func (t *TimeSeriesTable) MakeDataFrame() *data.Frame
Click to show internal directories.
Click to hide internal directories.