Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option any
Option is a option passed to NewTestbed
func WithWorldVerbose ¶
WithWorldVerbose logs all world engine operations.
type Testbed ¶
type Testbed struct {
*testbed.Testbed
// EngineBucketID is the bucket the engine is attached to.
EngineBucketID string
// EngineVolumeID is the volume the engine uses for state.
EngineVolumeID string
// EngineObjectStoreID is the object store the engine uses for state.
EngineObjectStoreID string
// EngineID is the engine identifier on the bus.
EngineID string
// Engine contains a reference to the running world engine.
// Queries the engine directly.
Engine world.Engine
// EngineController contains the world engine controller
EngineController *world_block_engine.Controller
// BusEngine uses directives to locate the Engine.
BusEngine world.Engine
// WorldState contains the BusEngine-backed Engine state.
WorldState world.WorldState
}
Testbed is a constructed testbed.
func NewTestbed ¶
NewTestbed constructs a new world testbed from a Hydra testbed.
Click to show internal directories.
Click to hide internal directories.