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

procedures: List, create, start, stop, and remove one or more workspaces by using APIs #2487

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/end-user-guide/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
** xref:mounting-configmaps.adoc[]
* xref:requesting-persistent-storage-for-workspaces.adoc[]
* xref:integrating-with-kubernetes.adoc[]
** xref:managing-workspaces-with-apis.adoc[]
** xref:automatic-token-injection.adoc[]
** xref:navigating-che-from-openshift-developer-perspective.adoc[]
** xref:navigating-openshift-web-console-from-che.adoc[]
Expand Down
24 changes: 24 additions & 0 deletions modules/end-user-guide/pages/managing-workspaces-with-apis.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
:_content-type: ASSEMBLY
:navtitle: Managing workspaces with OpenShift APIs
:description: Managing workspaces with OpenShift APIs
:keywords: api, list workspaces, create workspace, restart workspace, stop workspace, start workspace, remove workspace
// :page-aliases:

[id="managing-workspaces-with-apis"]
= Managing workspaces with OpenShift APIs

...

Consider writing this entire page as a reference. (If so, then rename all the files in `/partials/` and in the `include::` statements below from `proc_` to `ref_`.)
nickboldt marked this conversation as resolved.
Show resolved Hide resolved

include::partial$proc_listing-workspaces.adoc[leveloffset=+1]

include::partial$proc_creating-workspaces.adoc[leveloffset=+1]

include::partial$proc_restarting-workspaces.adoc[leveloffset=+1]

include::partial$proc_stopping-workspaces.adoc[leveloffset=+1]

include::partial$proc_starting-stopped-workspaces.adoc[leveloffset=+1]

include::partial$proc_removing-workspaces.adoc[leveloffset=+1]
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

[id="creating-workspaces"]
= Creating workspaces

Rough technical info to be dumped here by the assigned SME.
15 changes: 15 additions & 0 deletions modules/end-user-guide/partials/proc_listing-workspaces.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

[id="listing-workspaces"]
= Listing workspaces

Explain why `--all-namespaces`.

[source,subs="+attributes"]
----
$ {orch-cli} get devworkspace --all-namespaces
----

TIP: You can add the `--watch` flag.

To be confirmed by the assigned SME.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

[id="removing-workspaces"]
= Removing workspaces

Rough technical info to be dumped here by the assigned SME.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

[id="restarting-workspaces"]
= Restarting workspaces

Rough technical info to be dumped here by the assigned SME.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

[id="starting-stopped-workspaces"]
= Starting stopped workspaces

Rough technical info to be dumped here by the assigned SME.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

[id="stopping-workspaces"]
= Stopping workspaces

Rough technical info to be dumped here by the assigned SME.