This openshift-client library is based on godaddy/kubernetes-client library, created by https://github.com/silasbw I will be maintaing it. Let me know if any objects are missing.
Using
const OpenShiftClient = ; // Get Deployments from a specific namespaceconst oapi = OpenShiftClientconfig;oapi; // Watch Deployment Events across all namespaces.const streamDC = oapideploymentconfigs;const JSONStream = ;const jsonStreamDC = ;streamDC;jsonStreamDC;
For more examples refer https://github.com/godaddy/kubernetes-client
More documentation?
https://github.com/godaddy/kubernetes-client/blob/master/README.md