luci: Index | Files

package experiments

import ""


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 2 packages. Updated 2021-01-24. Refresh now. Tools for package owners.