models

package
v0.0.0-...-72bb1b0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginSettings

type PluginSettings struct {
	DefaultTimeField string                `json:"defaultTimeField"`
	Secrets          *SecretPluginSettings `json:"-"`
}

func LoadPluginSettings

func LoadPluginSettings(source backend.DataSourceInstanceSettings) (*PluginSettings, error)

type QueryModel

type QueryModel struct {
	RawQuery      string `json:"rawQuery"`
	RunnableQuery string `json:"-"`
}

type SecretPluginSettings

type SecretPluginSettings struct {
	ApiKey string
}

Jump to

Keyboard shortcuts

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