luci: go.chromium.org/luci/led/job/experiments Index | Files

package experiments

import "go.chromium.org/luci/led/job/experiments"

Index

Package Files

common.go use_realms.go

func Apply Uses

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 Uses

func Register(key string, exp Experiment)

Register registers a known experiment given its key and implementation.

type Experiment Uses

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

Experiment mutates `task` based on `b`.

Package experiments imports 5 packages (graph) and is imported by 1 packages. Updated 2020-10-28. Refresh now. Tools for package owners.