package
0.0.0-20211126141718-aac4589753b8
Repository: https://github.com/facebookincubator/contest.git
Documentation: pkg.go.dev

# Functions

FilterTargets - Filter targets from targets based on targetIDs.
GetLocker gets the desired lock engine for targets.
SetLocker sets the desired lock engine for targets.

# Variables

EventTargetAcquired indicates that a target has been acquired for a Test.
EventTargetErr indicates that a target has encountered an error in a TestStep.
EventTargetIn indicates that a target has entered a TestStep.
EventTargetInErr indicates that a target has encountered an error while entering a TestStep.
EventTargetOut indicates that a target has left a TestStep.
EventTargetAcquired indicates that a target has been released.

# Structs

ErrPayload represents the payload associated with a TargetErr event.
Target represents a target to run tests on.
TargetManagerBundle bundles the selected TargetManager together with its acquire and release parameters based on the content of the job descriptor.

# Interfaces

Locker defines an interface to lock and unlock targets.
TargetManager is an interface used to acquire and release the targets to run tests on.

# Type aliases

LockerFactory is a type representing a function which builds a Locker.
TargetManagerFactory is a type representing a function which builds a TargetManager.
TargetManagerLoader is a type representing a function which returns all the needed things to be able to load a TestStep.