performing operations like kubectl apply -f using go-client [closed]

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:
litmus-e2e: https://github.com/litmuschaos/litmus-e2e
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!

%d bloggers like this: