Skip to content

Commit a6912b9

Browse files
authored
api: refresh docs for Tilt v0.25.0 (#33)
1 parent 5220db8 commit a6912b9

File tree

8 files changed

+87
-8
lines changed

8 files changed

+87
-8
lines changed

docs/core/cmd-v1alpha1.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Based loosely on ContainerStatus in Kubernetes
159159

160160
- **disableStatus.disabled** (boolean), required
161161

162-
Whether this is currently disabled.
162+
Whether this is currently disabled. Deprecated in favor of `State`.
163163

164164
- **disableStatus.lastUpdateTime** (Time), required
165165

@@ -172,6 +172,10 @@ Based loosely on ContainerStatus in Kubernetes
172172

173173
The reason this status was updated.
174174

175+
- **disableStatus.state** (string), required
176+
177+
Whether this is currently disabled (if known)
178+
175179
- **ready** (boolean)
176180

177181
Specifies whether the command has passed its readiness probe.

docs/core/file-watch-v1alpha1.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ FileWatchStatus defines the observed state of FileWatch
115115

116116
- **disableStatus.disabled** (boolean), required
117117

118-
Whether this is currently disabled.
118+
Whether this is currently disabled. Deprecated in favor of `State`.
119119

120120
- **disableStatus.lastUpdateTime** (Time), required
121121

@@ -128,6 +128,10 @@ FileWatchStatus defines the observed state of FileWatch
128128

129129
The reason this status was updated.
130130

131+
- **disableStatus.state** (string), required
132+
133+
Whether this is currently disabled (if known)
134+
131135
- **error** (string)
132136

133137
Error is set if there is a problem with the filesystem watch. If non-empty, consumers should assume that no filesystem events will be seen and that the file watcher is in a failed state.

docs/core/session-v1alpha1.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ SessionStatus defines the observed state of Session
108108
<a name="TargetState"></a>
109109
*TargetState describes the current execution status for a target.
110110

111-
Either EXACTLY one of Waiting, Active, or Terminated will be populated or NONE of them will be. In the event that all states are null, the target is currently inactive or disabled and should not be expected to execute.*
111+
Either EXACTLY one of Waiting, Active, Disabled, or Terminated will be populated or NONE of them will be. In the event that all states are null, the target is currently inactive or disabled and should not be expected to execute.*
112112

113113
- **targets.state.active** (TargetStateActive)
114114

@@ -130,6 +130,13 @@ SessionStatus defines the observed state of Session
130130
<a name="MicroTime"></a>
131131
*MicroTime is version of Time with microsecond level precision.*
132132

133+
- **targets.state.disabled** (TargetStateDisabled)
134+
135+
Disabled being non-nil indicates that the target is disabled.
136+
137+
<a name="TargetStateDisabled"></a>
138+
*TargetStateDisabled is a target that has been disabled.*
139+
133140
- **targets.state.terminated** (TargetStateTerminated)
134141

135142
Terminated being non-nil indicates that the target finished execution either normally or due to failure.

docs/core/tiltfile-v1alpha1.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,17 @@ TiltfileSpec defines the desired state of Tiltfile
8181

8282
UIButtons that can trigger a restart.
8383

84+
- **stopOn** (StopOnSpec)
85+
86+
Objects that can stop execution of this Tiltfile.
87+
88+
<a name="StopOnSpec"></a>
89+
**
90+
91+
- **stopOn.uiButtons** ([]string), required
92+
93+
UIButtons that can trigger a stop.
94+
8495

8596

8697

docs/interface/ui-resource-v1alpha1.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ UIResourceStatus defines the observed state of UIResource
187187

188188
The name of the ConfigMap
189189

190+
- **disableStatus.state** (string), required
191+
192+
Whether this is currently disabled (if known)
193+
190194
- **endpointLinks** ([]UIResourceLink)
191195

192196
Links attached to this resource.

docs/kubernetes/kubernetes-apply-v1alpha1.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ KubernetesApplyStatus defines the observed state of KubernetesApply
370370

371371
- **disableStatus.disabled** (boolean), required
372372

373-
Whether this is currently disabled.
373+
Whether this is currently disabled. Deprecated in favor of `State`.
374374

375375
- **disableStatus.lastUpdateTime** (Time), required
376376

@@ -383,6 +383,10 @@ KubernetesApplyStatus defines the observed state of KubernetesApply
383383

384384
The reason this status was updated.
385385

386+
- **disableStatus.state** (string), required
387+
388+
Whether this is currently disabled (if known)
389+
386390
- **error** (string)
387391

388392
An error applying the YAML.

docs/kubernetes/pod-log-stream-v1alpha1.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ PodLogStreamStatus defines the observed state of PodLogStream
129129

130130
True when the logs are done stream and the container is terminated.
131131

132+
- **error** (string)
133+
134+
Error message encountered while setting up the stream.
135+
132136

133137

134138

openapi-spec/swagger.json

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"swagger": "2.0",
33
"info": {
44
"title": "tilt",
5-
"version": "0.23.5"
5+
"version": "0.25.0"
66
},
77
"paths": {
88
"/apis/": {
@@ -19967,6 +19967,7 @@
1996719967
"required": [
1996819968
"enabledCount",
1996919969
"disabledCount",
19970+
"state",
1997019971
"sources"
1997119972
],
1997219973
"properties": {
@@ -19986,6 +19987,10 @@
1998619987
"items": {
1998719988
"$ref": "#/definitions/com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.DisableSource"
1998819989
}
19990+
},
19991+
"state": {
19992+
"description": "Whether this is currently disabled (if known)",
19993+
"type": "string"
1998919994
}
1999019995
}
1999119996
},
@@ -20004,11 +20009,12 @@
2000420009
"required": [
2000520010
"disabled",
2000620011
"lastUpdateTime",
20007-
"reason"
20012+
"reason",
20013+
"state"
2000820014
],
2000920015
"properties": {
2001020016
"disabled": {
20011-
"description": "Whether this is currently disabled.",
20017+
"description": "Whether this is currently disabled. Deprecated in favor of `State`.",
2001220018
"type": "boolean"
2001320019
},
2001420020
"lastUpdateTime": {
@@ -20018,6 +20024,10 @@
2001820024
"reason": {
2001920025
"description": "The reason this status was updated.",
2002020026
"type": "string"
20027+
},
20028+
"state": {
20029+
"description": "Whether this is currently disabled (if known)",
20030+
"type": "string"
2002120031
}
2002220032
}
2002320033
},
@@ -21869,6 +21879,10 @@
2186921879
"items": {
2187021880
"$ref": "#/definitions/com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.ContainerLogStreamStatus"
2187121881
}
21882+
},
21883+
"error": {
21884+
"description": "Error message encountered while setting up the stream.",
21885+
"type": "string"
2187221886
}
2187321887
}
2187421888
},
@@ -22249,6 +22263,21 @@
2224922263
}
2225022264
}
2225122265
},
22266+
"com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.StopOnSpec": {
22267+
"type": "object",
22268+
"required": [
22269+
"uiButtons"
22270+
],
22271+
"properties": {
22272+
"uiButtons": {
22273+
"description": "UIButtons that can trigger a stop.",
22274+
"type": "array",
22275+
"items": {
22276+
"type": "string"
22277+
}
22278+
}
22279+
}
22280+
},
2225222281
"com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.TCPSocketAction": {
2225322282
"description": "TCPSocketAction describes an action based on opening a socket",
2225422283
"type": "object",
@@ -22299,13 +22328,17 @@
2229922328
}
2230022329
},
2230122330
"com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.TargetState": {
22302-
"description": "TargetState describes the current execution status for a target.\n\nEither EXACTLY one of Waiting, Active, or Terminated will be populated or NONE of them will be. In the event that all states are null, the target is currently inactive or disabled and should not be expected to execute.",
22331+
"description": "TargetState describes the current execution status for a target.\n\nEither EXACTLY one of Waiting, Active, Disabled, or Terminated will be populated or NONE of them will be. In the event that all states are null, the target is currently inactive or disabled and should not be expected to execute.",
2230322332
"type": "object",
2230422333
"properties": {
2230522334
"active": {
2230622335
"description": "Active being non-nil indicates that the target is currently executing.",
2230722336
"$ref": "#/definitions/com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.TargetStateActive"
2230822337
},
22338+
"disabled": {
22339+
"description": "Disabled being non-nil indicates that the target is disabled.",
22340+
"$ref": "#/definitions/com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.TargetStateDisabled"
22341+
},
2230922342
"terminated": {
2231022343
"description": "Terminated being non-nil indicates that the target finished execution either normally or due to failure.",
2231122344
"$ref": "#/definitions/com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.TargetStateTerminated"
@@ -22334,6 +22367,10 @@
2233422367
}
2233522368
}
2233622369
},
22370+
"com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.TargetStateDisabled": {
22371+
"description": "TargetStateDisabled is a target that has been disabled.",
22372+
"type": "object"
22373+
},
2233722374
"com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.TargetStateTerminated": {
2233822375
"description": "TargetStateTerminated is a target that finished running, either because it completed successfully or encountered an error.",
2233922376
"type": "object",
@@ -22482,6 +22519,10 @@
2248222519
"restartOn": {
2248322520
"description": "Objects that can trigger a re-execution of this Tiltfile.",
2248422521
"$ref": "#/definitions/com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.RestartOnSpec"
22522+
},
22523+
"stopOn": {
22524+
"description": "Objects that can stop execution of this Tiltfile.",
22525+
"$ref": "#/definitions/com.github.tilt-dev.tilt.pkg.apis.core.v1alpha1.StopOnSpec"
2248522526
}
2248622527
}
2248722528
},

0 commit comments

Comments
 (0)