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`.
Click to show internal directories.
Click to hide internal directories.