Closed noahdietz closed 7 years ago
I was thinking we could move the functionality for random khaos events into a sub-package and just call it from main.go
khaos
main.go
something like khaos.RandomEvent(clientset) that picks a destructive API call at random, i.e. KillRandomPod, KillRandomSvc, etc.
khaos.RandomEvent(clientset)
KillRandomPod
KillRandomSvc
Thoughts?
I like the idea of being able to select events from a sub package. It would be nice if we didn't have to always pass around the client config but it may be more trouble than it's worth to avoid that.
I was thinking we could move the functionality for random
khaos
events into a sub-package and just call it frommain.go
something like
khaos.RandomEvent(clientset)
that picks a destructive API call at random, i.e.KillRandomPod
,KillRandomSvc
, etc.Thoughts?