Documentation
¶
Index ¶
- func CleanupScenario(w *world.World)
- func DeactivateKillSwitch(w *world.World) error
- func DisableReactionNotifications(w *world.World) error
- func Register(sc *godog.ScenarioContext)
- func RestoreAgents(w *world.World) error
- func RestoreAllowedResources(w *world.World) error
- func RestoreRuntime(w *world.World) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupScenario ¶
func DeactivateKillSwitch ¶ added in v0.34.0
DeactivateKillSwitch sets kill_switch: false in the enrolled repo's config.yaml. Exported so CleanupScenario (in package steps) can call it during scenario teardown.
func DisableReactionNotifications ¶ added in v0.38.0
DisableReactionNotifications removes the status_notifications from the enrolled repo's config.yaml. Exported so CleanupScenario can call it during scenario teardown.
func Register ¶
func Register(sc *godog.ScenarioContext)
Register binds all step definitions. Steps retrieve their per-scenario World from the godog context via world.FromContext.
func RestoreAgents ¶ added in v0.38.0
RestoreAgents sets the agents list back to the pre-scenario value captured by snapshotAgents. Exported so CleanupScenario can call it during scenario teardown.
func RestoreAllowedResources ¶ added in v0.38.0
RestoreAllowedResources sets allowed_remote_resources back to the pre-scenario value captured by snapshotAllowedResources. Exported so CleanupScenario can call it during scenario teardown.
func RestoreRuntime ¶ added in v0.37.0
RestoreRuntime puts the install-time runtime back. Exported so CleanupScenario can call it during scenario teardown.
Types ¶
This section is empty.