Skip to content

Commit 0e1efa8

Browse files
committed
docs: add function / option documentation
1 parent 728bde4 commit 0e1efa8

15 files changed

Lines changed: 150 additions & 0 deletions

File tree

devspace-schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,6 +1813,10 @@
18131813
"disableScreen": {
18141814
"type": "boolean",
18151815
"description": "DisableScreen will disable screen which is used by DevSpace by default to preserve\nsessions if connections interrupt or the session is lost."
1816+
},
1817+
"disableTTY": {
1818+
"type": "boolean",
1819+
"description": "DisableTTY will disable a tty shell for terminal command execution"
18161820
}
18171821
},
18181822
"type": "object",

docs/pages/configuration/_partials/functions/group_other.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ import PartialGetflag from "./get_flag.mdx"
99
import PartialCat from "./cat.mdx"
1010
import PartialGetconfigvalue from "./get_config_value.mdx"
1111
import PartialExeccontainer from "./exec_container.mdx"
12+
import PartialWaitpod from "./wait_pod.mdx"
1213
import PartialSelectpod from "./select_pod.mdx"
1314

1415
<PartialSelectpod />
16+
<PartialWaitpod />
1517
<PartialExeccontainer />
1618
<PartialGetconfigvalue />
1719
<PartialCat />

docs/pages/configuration/_partials/functions/group_other_pipeline.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44

55
import PartialGetconfigvalue from "./get_config_value.mdx"
66
import PartialExeccontainer from "./exec_container.mdx"
7+
import PartialWaitpod from "./wait_pod.mdx"
78
import PartialSelectpod from "./select_pod.mdx"
89

910
<PartialSelectpod />
11+
<PartialWaitpod />
1012
<PartialExeccontainer />
1113
<PartialGetconfigvalue />
1214

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
import PartialImageselector from "./wait_pod/image-selector.mdx"
3+
import PartialLabelselector from "./wait_pod/label-selector.mdx"
4+
import PartialContainer from "./wait_pod/container.mdx"
5+
import PartialNamespace from "./wait_pod/namespace.mdx"
6+
import PartialDisablewait from "./wait_pod/disable-wait.mdx"
7+
import PartialTimeout from "./wait_pod/timeout.mdx"
8+
9+
<details className="config-field -function" data-expandable="true">
10+
<summary>
11+
12+
### `wait_pod` <span className="config-field-type">[command]</span> <span className="config-field-enum"></span> <span className="config-field-default -return"></span> <span className="config-field-required" data-required="true">pipeline only</span> {#wait_pod}
13+
14+
Waits for a pod to become running
15+
16+
</summary>
17+
18+
<PartialImageselector />
19+
<PartialLabelselector />
20+
<PartialContainer />
21+
<PartialNamespace />
22+
<PartialDisablewait />
23+
<PartialTimeout />
24+
25+
26+
</details>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
<details className="config-field -function" data-expandable="false">
3+
<summary>
4+
5+
#### `--container` <span className="config-field-type">string</span> <span className="config-field-enum"></span> <span className="config-field-default -return"></span> <span className="config-field-required" data-required="false">pipeline only</span> {#wait_pod-container}
6+
7+
The container to use
8+
9+
</summary>
10+
11+
12+
13+
</details>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
<details className="config-field -function" data-expandable="false">
3+
<summary>
4+
5+
#### `--disable-wait` <span className="config-field-type">bool</span> <span className="config-field-enum"></span> <span className="config-field-default -return"></span> <span className="config-field-required" data-required="false">pipeline only</span> {#wait_pod-disable-wait}
6+
7+
If true, will not wait for the container to become ready
8+
9+
</summary>
10+
11+
12+
13+
</details>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
<details className="config-field -function" data-expandable="false">
3+
<summary>
4+
5+
#### `--image-selector` <span className="config-field-type">string</span> <span className="config-field-enum"></span> <span className="config-field-default -return"></span> <span className="config-field-required" data-required="false">pipeline only</span> {#wait_pod-image-selector}
6+
7+
The image selector to use to select the container
8+
9+
</summary>
10+
11+
12+
13+
</details>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
<details className="config-field -function" data-expandable="false">
3+
<summary>
4+
5+
#### `--label-selector` <span className="config-field-type">string</span> <span className="config-field-enum"></span> <span className="config-field-default -return"></span> <span className="config-field-required" data-required="false">pipeline only</span> {#wait_pod-label-selector}
6+
7+
The label selector to use to select the container
8+
9+
</summary>
10+
11+
12+
13+
</details>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
<details className="config-field -function" data-expandable="false">
3+
<summary>
4+
5+
#### `--namespace / -n` <span className="config-field-type">string</span> <span className="config-field-enum"></span> <span className="config-field-default -return"></span> <span className="config-field-required" data-required="false">pipeline only</span> {#wait_pod-namespace}
6+
7+
The namespace to use
8+
9+
</summary>
10+
11+
12+
13+
</details>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
<details className="config-field -function" data-expandable="false">
3+
<summary>
4+
5+
#### `--timeout` <span className="config-field-type">int64</span> <span className="config-field-enum"></span> <span className="config-field-default -return"></span> <span className="config-field-required" data-required="false">pipeline only</span> {#wait_pod-timeout}
6+
7+
The timeout to wait. Defaults to 5 minutes
8+
9+
</summary>
10+
11+
12+
13+
</details>

0 commit comments

Comments
 (0)