Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidInput is returned when an invalid input is provided. ErrInvalidInput = errors.New("invalid input") )
Functions ¶
This section is empty.
Types ¶
type Simulator ¶
type Simulator interface { // Start triggers an action to start simulations. Start(ctx context.Context, platform platform.Platform, groupID simulations.GroupID) error // Stop triggers an action to stop a simulation. Stop(ctx context.Context, platform platform.Platform, groupID simulations.GroupID) error }
Simulator groups a set of methods to perform different operations with simulations. Simulator should be implemented by the applications.
Click to show internal directories.
Click to hide internal directories.