experiments

package
v0.0.0-...-ff9afc2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

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.NewTaskRequest) 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.NewTaskRequest) 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