to fix comment for apis.extensions.JobCondition

This commit is contained in:
Salvatore Dario Minonne 2016-01-05 23:45:30 +01:00
parent 30f206c9e3
commit 172d7ee32c
5 changed files with 5 additions and 5 deletions

View File

@ -4374,7 +4374,7 @@
"properties": { "properties": {
"type": { "type": {
"type": "string", "type": "string",
"description": "Type of job condition, currently only Complete." "description": "Type of job condition, Complete or Failed."
}, },
"status": { "status": {
"type": "string", "type": "string",

View File

@ -3057,7 +3057,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<tbody> <tbody>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">type</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">type</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Type of job condition, currently only Complete.</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">Type of job condition, Complete or Failed.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>

View File

@ -470,7 +470,7 @@ const (
// JobCondition describes current state of a job. // JobCondition describes current state of a job.
type JobCondition struct { type JobCondition struct {
// Type of job condition, currently only Complete. // Type of job condition, Complete or Failed.
Type JobConditionType `json:"type"` Type JobConditionType `json:"type"`
// Status of the condition, one of True, False, Unknown. // Status of the condition, one of True, False, Unknown.
Status api.ConditionStatus `json:"status"` Status api.ConditionStatus `json:"status"`

View File

@ -468,7 +468,7 @@ const (
// JobCondition describes current state of a job. // JobCondition describes current state of a job.
type JobCondition struct { type JobCondition struct {
// Type of job condition, currently only Complete. // Type of job condition, Complete or Failed.
Type JobConditionType `json:"type"` Type JobConditionType `json:"type"`
// Status of the condition, one of True, False, Unknown. // Status of the condition, one of True, False, Unknown.
Status v1.ConditionStatus `json:"status"` Status v1.ConditionStatus `json:"status"`

View File

@ -345,7 +345,7 @@ func (Job) SwaggerDoc() map[string]string {
var map_JobCondition = map[string]string{ var map_JobCondition = map[string]string{
"": "JobCondition describes current state of a job.", "": "JobCondition describes current state of a job.",
"type": "Type of job condition, currently only Complete.", "type": "Type of job condition, Complete or Failed.",
"status": "Status of the condition, one of True, False, Unknown.", "status": "Status of the condition, one of True, False, Unknown.",
"lastProbeTime": "Last time the condition was checked.", "lastProbeTime": "Last time the condition was checked.",
"lastTransitionTime": "Last time the condition transit from one status to another.", "lastTransitionTime": "Last time the condition transit from one status to another.",