Currently, there are some of the commands which are in kubectl apply -f to create some yaml file. This is needed to be changed with a go client approach.
The changes need to be done in the following repositories:
chaos-ci-lib : https://github.com/mayadata-io/chaos-ci-lib
Here is something similar i’m are looking for (https://gist.github.com/pytimer/0ad436972a073bb37b8b6b8b474520fc).
Parse the yaml using go client libraries!