Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Provide a ‘oc’ command proxy #830
I often need to execute ‘oc’ commands (such as ‘oc create -f ..., or oc new-app ...) in my test. Most of the time it’s to execute the exact same instructions we give to our user and so check that the doc is still valid.
It would be great to have a utility class calling ‘oc’ behind the scene. For instance, method allowing to execute oc command, retrieve the result (status) and output (StrIng or byte).
I can also see more and more usage of such a feature with the service catalog (with the new bind and unblind commands).