apps: update observedGeneration doc for statefulsets

This commit is contained in:
Michail Kargakis 2016-12-16 16:23:28 +01:00
parent 2b0a1f2b11
commit 19e181d8eb
8 changed files with 9 additions and 9 deletions

View File

@ -36012,7 +36012,7 @@
], ],
"properties": { "properties": {
"observedGeneration": { "observedGeneration": {
"description": "most recent generation observed by this autoscaler.", "description": "most recent generation observed by this StatefulSet.",
"type": "integer", "type": "integer",
"format": "int64" "format": "int64"
}, },

View File

@ -2891,7 +2891,7 @@
"observedGeneration": { "observedGeneration": {
"type": "integer", "type": "integer",
"format": "int64", "format": "int64",
"description": "most recent generation observed by this autoscaler." "description": "most recent generation observed by this StatefulSet."
}, },
"replicas": { "replicas": {
"type": "integer", "type": "integer",

View File

@ -1282,7 +1282,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tbody> <tbody>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">observedGeneration</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">observedGeneration</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">most recent generation observed by this autoscaler.</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">most recent generation observed by this StatefulSet.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int64)</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">integer (int64)</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
@ -4875,7 +4875,7 @@ Examples:<br>
</div> </div>
<div id="footer"> <div id="footer">
<div id="footer-text"> <div id="footer-text">
Last updated 2016-12-16 14:44:13 UTC Last updated 2016-12-19 12:58:07 UTC
</div> </div>
</div> </div>
</body> </body>

View File

@ -86,7 +86,7 @@ type StatefulSetSpec struct {
// StatefulSetStatus represents the current state of a StatefulSet. // StatefulSetStatus represents the current state of a StatefulSet.
type StatefulSetStatus struct { type StatefulSetStatus struct {
// most recent generation observed by this autoscaler. // most recent generation observed by this StatefulSet.
// +optional // +optional
ObservedGeneration *int64 ObservedGeneration *int64

View File

@ -101,7 +101,7 @@ message StatefulSetSpec {
// StatefulSetStatus represents the current state of a StatefulSet. // StatefulSetStatus represents the current state of a StatefulSet.
message StatefulSetStatus { message StatefulSetStatus {
// most recent generation observed by this autoscaler. // most recent generation observed by this StatefulSet.
// +optional // +optional
optional int64 observedGeneration = 1; optional int64 observedGeneration = 1;

View File

@ -86,7 +86,7 @@ type StatefulSetSpec struct {
// StatefulSetStatus represents the current state of a StatefulSet. // StatefulSetStatus represents the current state of a StatefulSet.
type StatefulSetStatus struct { type StatefulSetStatus struct {
// most recent generation observed by this autoscaler. // most recent generation observed by this StatefulSet.
// +optional // +optional
ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"` ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`

View File

@ -60,7 +60,7 @@ func (StatefulSetSpec) SwaggerDoc() map[string]string {
var map_StatefulSetStatus = map[string]string{ var map_StatefulSetStatus = map[string]string{
"": "StatefulSetStatus represents the current state of a StatefulSet.", "": "StatefulSetStatus represents the current state of a StatefulSet.",
"observedGeneration": "most recent generation observed by this autoscaler.", "observedGeneration": "most recent generation observed by this StatefulSet.",
"replicas": "Replicas is the number of actual replicas.", "replicas": "Replicas is the number of actual replicas.",
} }

View File

@ -12050,7 +12050,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
Properties: map[string]spec.Schema{ Properties: map[string]spec.Schema{
"observedGeneration": { "observedGeneration": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "most recent generation observed by this autoscaler.", Description: "most recent generation observed by this StatefulSet.",
Type: []string{"integer"}, Type: []string{"integer"},
Format: "int64", Format: "int64",
}, },