experiments

package
v0.0.0-...-4a11b79 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Types

type Experiment

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

Experiment mutates `task` based on `b`.

Jump to

Keyboard shortcuts

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