Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StartSimulation ¶
type StartSimulation struct { state.PlatformGetter state.ServicesGetter GroupID simulations.GroupID GazeboServerPod resource.Resource CreateMachinesInput []machines.CreateMachinesInput CreateMachinesOutput []machines.CreateMachinesOutput ParentGroupID *simulations.GroupID UpstreamName string GazeboServerIP string WebsocketConnection ignws.PubSubWebsocketTransporter CommsBridgeIPs []string MappingServerIP string // contains filtered or unexported fields }
StartSimulation is the state of the action that starts a simulation.
func NewStartSimulation ¶
func NewStartSimulation(platform platform.Platform, services subtapp.Services, groupID simulations.GroupID) *StartSimulation
NewStartSimulation initializes a new state for starting simulations.
func (*StartSimulation) Platform ¶
func (s *StartSimulation) Platform() platform.Platform
Platform returns the underlying platform.
func (*StartSimulation) Services ¶
func (s *StartSimulation) Services() application.Services
Services returns the underlying application services.
func (*StartSimulation) SubTServices ¶
func (s *StartSimulation) SubTServices() subtapp.Services
SubTServices returns the subt specific application services.
type StopSimulation ¶
type StopSimulation struct { GroupID simulations.GroupID Score *float64 Stats simulations.Statistics Summary simulations.Summary RunData string PodList []resource.Resource UpstreamName string // contains filtered or unexported fields }
StopSimulation is the state of the action that stops a simulation.
func NewStopSimulation ¶
func NewStopSimulation(platform platform.Platform, services subtapp.Services, groupID simulations.GroupID) *StopSimulation
NewStopSimulation initializes a new state for stopping simulations.
func (*StopSimulation) Platform ¶
func (s *StopSimulation) Platform() platform.Platform
Platform returns the underlying platform.
func (*StopSimulation) Services ¶
func (s *StopSimulation) Services() application.Services
Services returns the underlying application services.
func (*StopSimulation) SubTServices ¶
func (s *StopSimulation) SubTServices() subtapp.Services
SubTServices returns the subt specific application services.
Click to show internal directories.
Click to hide internal directories.