Documentation
¶
Index ¶
- func CheckChaosMonkey(chaosMonkeyPort string, chaosMonkeyPath string, targetPods corev1.PodList) (bool, error)
- func PrepareChaos(ctx context.Context, experimentsDetails *experimentTypes.ExperimentDetails, ...) error
- func SetTargetPodList(experimentsDetails *experimentTypes.ExperimentDetails, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckChaosMonkey ¶
func CheckChaosMonkey(chaosMonkeyPort string, chaosMonkeyPath string, targetPods corev1.PodList) (bool, error)
CheckChaosMonkey verifies if chaos monkey for spring boot is available in the selected pods All pods are checked, even if some errors occur. But in case of one pod in error, the check will be in error
func PrepareChaos ¶
func PrepareChaos(ctx context.Context, experimentsDetails *experimentTypes.ExperimentDetails, clients clients.ClientSets, resultDetails *types.ResultDetails, eventsDetails *types.EventDetails, chaosDetails *types.ChaosDetails) error
PrepareChaos contains the preparation steps before chaos injection
func SetTargetPodList ¶
func SetTargetPodList(experimentsDetails *experimentTypes.ExperimentDetails, clients clients.ClientSets, chaosDetails *types.ChaosDetails) error
SetTargetPodList selects the targeted pod and add them to the experimentDetails
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.