package
1.0.1
Repository: https://github.com/linuxboot/contest.git
Documentation: pkg.go.dev

# Functions

FilterTargets - Filter targets from targets based on targetIDs.
GetLocker gets the desired lock engine for targets.
MarshallErrPayload prepares error message as ErrPayload structure for event data payload.
SetLocker sets the desired lock engine for targets.
UnmarshalErrPayload gets ErrPayload from eventdata's payload.

# Variables

EventTargetAcquired indicates that a target has been acquired for a Test.
EventTargetAcquireErr indicates that an error occurred during target acquiring.
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.
EventTargetReleased indicates that a target has been released.

# Structs

ErrPayload represents the payload associated with a TargetErr or AcquireErr events.
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.