vscode-openshift-tools
vscode-openshift-tools copied to clipboard
Replace oc and odo with nodejs client when logging in and requesting resources form cluster
Client generation is simple enough, but logging into cluster is presenting a bigger problem. oc implementation is here:
- Login command https://github.com/openshift/oc/blob/master/pkg/cli/login/login.go
- Tokencmd to get token from different auth providers https://github.com/openshift/oc/tree/master/pkg/helpers/tokencmd