Back to godoc.org
github.com/luci/luci-go / led / job / experiments

Package experiments

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Index

func Apply

func Apply(ctx context.Context, b *bbpb.Build, task *swarmingpb.TaskRequest) error

Apply mutates `task` based on known experiments in b.Input.Experiments.

func Register

func Register(key string, exp Experiment)

Register registers a known experiment given its key and implementation.

type Experiment

type Experiment func(ctx context.Context, b *bbpb.Build, task *swarmingpb.TaskRequest) error

Experiment mutates `task` based on `b`.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier