package
0.0.0-20240806073013-7c8ef368501f
Repository: https://github.com/litmuschaos/chaos-runner.git
Documentation: pkg.go.dev
# Functions
BuildingAndLaunchJob builds Job, and then launch it.
GetChaosContainerStatus gets status of the chaos container.
GetChaosPod gets the chaos experiment pod object launched by the runner.
GetResultName returns the resultName using the experimentName and engine Name.
InitialPatchEngine patches the chaosEngine with the initial ExperimentStatuses.
RandomString will generate a random string of length 6.
# Constants
ChaosResourceNotFoundReason contains the reason for the chaos-resources-not-found event.
ExperimentChaosContainerWatchErrorReason contains the reason for the watch-job-error event.
ExperimentDependencyCheckReason contains the reason for the dependency check event.
ExperimentEnvParseErrorReason contains the reason for the env-parse-error event.
ExperimentJobCleanUpReason contains the reason for the job cleanup event.
ExperimentJobCreateReason contains the reason for the job creation event.
ExperimentJobCreationErrorReason contains the reason for the job-creation-error event.
ExperimentNotFoundErrorReason contains the reason for the experiment-not-found event.
ExperimentSideCarPatchErrorReason contains the reason for the side-car-patch-error event.
ExperimentSkippedReason contains the reason for the experiment skip event.
No description provided by the author
No description provided by the author
# Variables
DefaultExpImagePullPolicy contains the defaults value (Always) of imagePullPolicy for exp container.
# Structs
ClientSets is a collection of clientSets needed.
EngineDetails struct is for collecting all the engine-related details.
EventAttributes is for collecting all the events-related details.
ExperimentDetails is for collecting all the experiment-related details.
PodTemplateSpec is struct for creating the *core1.PodTemplateSpec.
No description provided by the author
VolumeOpts is a strcuture for all volume related operations.
# Type aliases
ExperimentStatus is wrapper for v1alpha1.ExperimentStatuses.