package
0.0.0-20250403091405-491dc5e31ac3
Repository: https://github.com/litmuschaos/litmus-go.git
Documentation: pkg.go.dev
# Functions
GetChaosEngine fetches the chaosengine instance.
GetChaosResultVerdictEvent return the verdict and event type.
Getenv fetch the env and set the default value, if any.
No description provided by the author
GetValuesFromChaosEngine get the values from the chaosengine.
InitialiseChaosVariables initialise all the global variables.
No description provided by the author
InitializeSidecarDetails sets the sidecar details.
SetEngineEventAttributes initialise attributes for event generation in chaos engine.
SetResultAfterCompletion set all the chaos result ENV in the EOT.
SetResultAttributes initialise all the chaos result ENV.
SetResultEventAttributes initialise attributes for event generation in chaos result.
# Constants
AbortVerdict marked the verdict as abort when experiment aborted.
AwaitedVerdict marked the start of test.
ChaosInject this stage refer to the main chaos injection.
No description provided by the author
ErrorVerdict marked the verdict as error in the end of experiment.
FailVerdict marked the verdict as failed in the end of experiment.
PassVerdict marked the verdict as passed in the end of experiment.
PostChaosCheck pre-final stage of experiment check for health after chaos injection.
No description provided by the author
PreChaosCheck initial stage of experiment check for health before chaos injection.
No description provided by the author
No description provided by the author
No description provided by the author
Summary final stage of experiment update the verdict.
# Structs
AppDetails contains all the application related envs.
ChaosDetails is for collecting all the global variables.
EventDetails is for collecting all the events-related details.
No description provided by the author
ProbeArtifact contains the probe artifacts.
No description provided by the author
ProbeDetails is for collecting all the probe details.
No description provided by the author
RegisterDetails contains the output of the corresponding probe.
ResultDetails is for collecting all the chaos-result-related details.
No description provided by the author
# Type aliases
No description provided by the author