testdatasource

package
v0.0.85-test Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: AGPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCsvContent

func LoadCsvContent(ioReader io.Reader, name string) (*data.Frame, error)

LoadCsvContent should be moved to the SDK

func RandomWalk

func RandomWalk(query backend.DataQuery, model *simplejson.Json, index int) *data.Frame

Types

type Scenario

type Scenario struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	StringInput string `json:"stringInput"`
	Description string `json:"description"`
	// contains filtered or unexported fields
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func ProvideService

func ProvideService(cfg *setting.Cfg, features featuremgmt.FeatureToggles) *Service

func (*Service) CallResource

func (*Service) PublishStream

func (*Service) QueryData

func (*Service) RunStream

func (s *Service) RunStream(ctx context.Context, request *backend.RunStreamRequest, sender *backend.StreamSender) error

Jump to

Keyboard shortcuts

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