Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add workspace:list command #574

Merged
merged 2 commits into from
Mar 17, 2020
Merged

feat: Add workspace:list command #574

merged 2 commits into from
Mar 17, 2020

Conversation

tolusha
Copy link
Collaborator

@tolusha tolusha commented Mar 11, 2020

Signed-off-by: Anatoliy Bazko abazko@redhat.com

What does this PR do?

Add workspace:list command

  ✔ Verify Kubernetes API...OK
  ✔ Verify if namespace che exists
  ✔ Retrieving Eclipse Che server URL... http://che-che.192.168.99.100.nip.io
  ✔ Eclipse Che status check
  ✔ Get workspaces... done
Id      Name    Namespace       Status  Last modified
workspaceadm0rrdlo2kt9hj9	golang-5ssqg	che	STARTING	Wed Mar 11 2020 12:40:25 GMT+0200 (Eastern European Standard Time)

What issues does this PR fix or reference?

eclipse-che/che#15071

@tolusha tolusha changed the title Add workspace:list command feat: Add workspace:list command Mar 12, 2020
Copy link
Contributor

@sleshchenko sleshchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  ✔ Verify Kubernetes API...OK
  ✔ Verify if namespace che exists
  ✔ Retrieving Eclipse Che server URL... http://che-che.192.168.99.100.nip.io
  ✔ Eclipse Che status check
  ✔ Get workspaces... done
Id      Name    Namespace       Status  Last modified
workspaceadm0rrdlo2kt9hj9	golang-5ssqg	che	STARTING	Wed Mar 11 2020 12:40:25 GMT+0200 (Eastern European Standard Time)

Could we do preflight checks silent?

Id      Name    Namespace       Status  Last modified
workspaceadm0rrdlo2kt9hj9	golang-5ssqg	che	STARTING	Wed Mar 11 2020 12:40:25 GMT+0200 (Eastern European Standard Time)

Is the info user needs... Maybe http://che-che.192.168.99.100.nip.io, but not all of the preflight checks every time...

README.md Outdated Show resolved Hide resolved
src/commands/workspace/list.ts Outdated Show resolved Hide resolved
src/commands/workspace/list.ts Outdated Show resolved Hide resolved
@tolusha
Copy link
Collaborator Author

tolusha commented Mar 17, 2020

[test]

@tolusha
Copy link
Collaborator Author

tolusha commented Mar 17, 2020

[10:52:22] tolusha@fractal ~/projects/chectl/bin (ab/wlist) $ ./run workspace:list
  ✔ Verify Kubernetes API...OK
  ✔ Verify if namespace che exists
  ✔ Retrieving Eclipse Che server URL... https://che-che.192.168.99.100.nip.io
  ✔ Eclipse Che status check
  ✔ Get workspaces... done
Id                        Name              Namespace Status  Created                  Updated                  
workspacefqq2289aq4fjdm2s golang-o7db4      che-che   STOPPED 2020-03-17T07:54:40.293Z 2020-03-17T07:54:41.372Z 
workspaceiof4jt5u8f2vec7v java-gradle-o8fwf che-che   STOPPED 2020-03-17T07:54:54.239Z 

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
@tolusha tolusha merged commit a992767 into master Mar 17, 2020
@tolusha tolusha deleted the ab/wlist branch March 17, 2020 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants