dsljson

package
v3.24.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package dsljson allows expressing the measurement DSL using JSON.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, rtx dslvm.Runtime, root *RootNode) error

Run runs the DSL represented by the given *RootNode.

Types

type RootNode

type RootNode struct {
	Stages []StageNode `json:"stages"`
}

RootNode is the root node of the DSL.

type StageNode

type StageNode struct {
	Name  string          `json:"name"`
	Value json.RawMessage `json:"value"`
}

StageNode describes a stage node in the DSL.

Jump to

Keyboard shortcuts

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