experiments

package
v3.46.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package experiments provides a global registry of enabled and disabled experiments.

It is intended for internal use by buildkite-agent only.

Index

Constants

View Source
const (
	JobAPI                     = "job-api"
	KubernetesExec             = "kubernetes-exec"
	ANSITimestamps             = "ansi-timestamps"
	GitMirrors                 = "git-mirrors"
	FlockFileLocks             = "flock-file-locks"
	ResolveCommitAfterCheckout = "resolve-commit-after-checkout"
	DescendingSpawnPrioity     = "descending-spawn-priority"
	InbuiltStatusPage          = "inbuilt-status-page"
)

Variables

Functions

func Disable added in v3.22.0

func Disable(key string)

Disable a particular experiment in the agent.

func Enable

func Enable(key string) (known bool)

Enable a particular experiment in the agent.

func Enabled

func Enabled() []string

Enabled returns the keys of all the enabled experiments.

func IsEnabled

func IsEnabled(key string) bool

IsEnabled reports whether the named experiment is enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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