experiments

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarkEnabled

func MarkEnabled(id string, status bool) error

Types

type Experiment

type Experiment struct {
	Id          string         `json:"id"`
	Name        string         `json:"name"`
	Description string         `json:"description"`
	Stability   StabilityLevel `json:"stability"`
	UpScript    string         `json:"-"`
	DownScript  string         `json:"-"`
	Enabled     bool           `json:"-"`
}

func Find

func Find(id string) (*Experiment, error)

func List

func List() ([]Experiment, error)

type StabilityLevel

type StabilityLevel int
const (
	GFL StabilityLevel = iota
	Devel
	Alpha
	Beta
)

func (StabilityLevel) String

func (s StabilityLevel) String() string

Jump to

Keyboard shortcuts

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