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`.