fake

package
v0.0.0-...-70b330c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSimulation

func NewSimulation(config SimulationConfig) subt.Simulation

NewSimulation initializes a new Simulation interface using a fake implementation.

Types

type SimulationConfig

type SimulationConfig struct {
	GroupID    simulations.GroupID
	Status     simulations.Status
	Kind       simulations.Kind
	Error      *simulations.Error
	Image      string
	Track      string
	Token      *string
	Owner      *string
	LaunchedAt *time.Time
	Robots     []simulations.Robot
	Marsupials []simulations.Robot
}

SimulationConfig is used to configure a fake subt simulation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL