models

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AuthType added in v0.2.1

type AuthType uint8
const (
	AuthTypeToken AuthType = iota
	AuthTypeCredentials
)

type QueryModel added in v0.0.2

type QueryModel struct {
	RawCql    string `json:"rawSql"`
	Format    any
	ActualCql string `json:"-"`
}

func LoadQueryModel added in v0.0.2

func LoadQueryModel(query backend.DataQuery) (*QueryModel, error)

type Settings

type Settings struct {
	URI          string   `json:"uri"`
	Token        string   `json:"token"`
	GRPCEndpoint string   `json:"grpcEndpoint"`
	AuthEndpoint string   `json:"authEndpoint"`
	UserName     string   `json:"user"`
	Password     string   `json:"password"`
	Secure       bool     `json:"secure"`
	AuthKind     AuthType `json:"authKind"`
}

func LoadSettings

func LoadSettings(config backend.DataSourceInstanceSettings) (Settings, error)

Jump to

Keyboard shortcuts

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