mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
fix api description in swagger
This commit is contained in:
parent
1e1040b524
commit
60c3152c56
@ -48230,7 +48230,7 @@
|
|||||||
"io.k8s.kubernetes.pkg.apis.apps.v1beta1.RollbackConfig": {
|
"io.k8s.kubernetes.pkg.apis.apps.v1beta1.RollbackConfig": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"revision": {
|
"revision": {
|
||||||
"description": "The revision to rollback to. If set to 0, rollbck to the last revision.",
|
"description": "The revision to rollback to. If set to 0, rollback to the last revision.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
}
|
}
|
||||||
@ -51107,7 +51107,7 @@
|
|||||||
"io.k8s.kubernetes.pkg.apis.extensions.v1beta1.RollbackConfig": {
|
"io.k8s.kubernetes.pkg.apis.extensions.v1beta1.RollbackConfig": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"revision": {
|
"revision": {
|
||||||
"description": "The revision to rollback to. If set to 0, rollbck to the last revision.",
|
"description": "The revision to rollback to. If set to 0, rollback to the last revision.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
}
|
}
|
||||||
|
@ -5650,7 +5650,7 @@
|
|||||||
"revision": {
|
"revision": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
"format": "int64",
|
||||||
"description": "The revision to rollback to. If set to 0, rollbck to the last revision."
|
"description": "The revision to rollback to. If set to 0, rollback to the last revision."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -9364,7 +9364,7 @@
|
|||||||
"revision": {
|
"revision": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
"format": "int64",
|
||||||
"description": "The revision to rollback to. If set to 0, rollbck to the last revision."
|
"description": "The revision to rollback to. If set to 0, rollback to the last revision."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2428,7 +2428,7 @@ When an object is created, the system will populate this list with the current s
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">revision</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">revision</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">The revision to rollback to. If set to 0, rollbck to the last revision.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">The revision to rollback to. If set to 0, rollback to the last revision.</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>
|
||||||
|
@ -3007,7 +3007,7 @@ When an object is created, the system will populate this list with the current s
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">revision</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">revision</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">The revision to rollback to. If set to 0, rollbck to the last revision.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">The revision to rollback to. If set to 0, rollback to the last revision.</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>
|
||||||
|
@ -13706,7 +13706,7 @@
|
|||||||
"io.k8s.kubernetes.pkg.apis.extensions.v1beta1.RollbackConfig": {
|
"io.k8s.kubernetes.pkg.apis.extensions.v1beta1.RollbackConfig": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"revision": {
|
"revision": {
|
||||||
"description": "The revision to rollback to. If set to 0, rollbck to the last revision.",
|
"description": "The revision to rollback to. If set to 0, rollback to the last revision.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
}
|
}
|
||||||
|
@ -7108,7 +7108,7 @@
|
|||||||
"revision": {
|
"revision": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
"format": "int64",
|
||||||
"description": "The revision to rollback to. If set to 0, rollbck to the last revision."
|
"description": "The revision to rollback to. If set to 0, rollback to the last revision."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2756,7 +2756,7 @@ When an object is created, the system will populate this list with the current s
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">revision</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">revision</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">The revision to rollback to. If set to 0, rollbck to the last revision.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">The revision to rollback to. If set to 0, rollback to the last revision.</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>
|
||||||
|
@ -226,7 +226,7 @@ message DeploymentStrategy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message RollbackConfig {
|
message RollbackConfig {
|
||||||
// The revision to rollback to. If set to 0, rollbck to the last revision.
|
// The revision to rollback to. If set to 0, rollback to the last revision.
|
||||||
// +optional
|
// +optional
|
||||||
optional int64 revision = 1;
|
optional int64 revision = 1;
|
||||||
}
|
}
|
||||||
|
@ -260,7 +260,7 @@ type DeploymentRollback struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RollbackConfig struct {
|
type RollbackConfig struct {
|
||||||
// The revision to rollback to. If set to 0, rollbck to the last revision.
|
// The revision to rollback to. If set to 0, rollback to the last revision.
|
||||||
// +optional
|
// +optional
|
||||||
Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
|
Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ func (DeploymentStrategy) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_RollbackConfig = map[string]string{
|
var map_RollbackConfig = map[string]string{
|
||||||
"revision": "The revision to rollback to. If set to 0, rollbck to the last revision.",
|
"revision": "The revision to rollback to. If set to 0, rollback to the last revision.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RollbackConfig) SwaggerDoc() map[string]string {
|
func (RollbackConfig) SwaggerDoc() map[string]string {
|
||||||
|
@ -235,7 +235,7 @@ type DeploymentRollback struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RollbackConfig struct {
|
type RollbackConfig struct {
|
||||||
// The revision to rollback to. If set to 0, rollbck to the last revision.
|
// The revision to rollback to. If set to 0, rollback to the last revision.
|
||||||
// +optional
|
// +optional
|
||||||
Revision int64
|
Revision int64
|
||||||
}
|
}
|
||||||
|
@ -831,7 +831,7 @@ message ReplicationControllerDummy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message RollbackConfig {
|
message RollbackConfig {
|
||||||
// The revision to rollback to. If set to 0, rollbck to the last revision.
|
// The revision to rollback to. If set to 0, rollback to the last revision.
|
||||||
// +optional
|
// +optional
|
||||||
optional int64 revision = 1;
|
optional int64 revision = 1;
|
||||||
}
|
}
|
||||||
|
@ -228,7 +228,7 @@ type DeploymentRollback struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RollbackConfig struct {
|
type RollbackConfig struct {
|
||||||
// The revision to rollback to. If set to 0, rollbck to the last revision.
|
// The revision to rollback to. If set to 0, rollback to the last revision.
|
||||||
// +optional
|
// +optional
|
||||||
Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
|
Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
|
||||||
}
|
}
|
||||||
|
@ -497,7 +497,7 @@ func (ReplicationControllerDummy) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_RollbackConfig = map[string]string{
|
var map_RollbackConfig = map[string]string{
|
||||||
"revision": "The revision to rollback to. If set to 0, rollbck to the last revision.",
|
"revision": "The revision to rollback to. If set to 0, rollback to the last revision.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RollbackConfig) SwaggerDoc() map[string]string {
|
func (RollbackConfig) SwaggerDoc() map[string]string {
|
||||||
|
@ -226,7 +226,7 @@ message DeploymentStrategy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message RollbackConfig {
|
message RollbackConfig {
|
||||||
// The revision to rollback to. If set to 0, rollbck to the last revision.
|
// The revision to rollback to. If set to 0, rollback to the last revision.
|
||||||
// +optional
|
// +optional
|
||||||
optional int64 revision = 1;
|
optional int64 revision = 1;
|
||||||
}
|
}
|
||||||
|
@ -260,7 +260,7 @@ type DeploymentRollback struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RollbackConfig struct {
|
type RollbackConfig struct {
|
||||||
// The revision to rollback to. If set to 0, rollbck to the last revision.
|
// The revision to rollback to. If set to 0, rollback to the last revision.
|
||||||
// +optional
|
// +optional
|
||||||
Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
|
Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ func (DeploymentStrategy) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_RollbackConfig = map[string]string{
|
var map_RollbackConfig = map[string]string{
|
||||||
"revision": "The revision to rollback to. If set to 0, rollbck to the last revision.",
|
"revision": "The revision to rollback to. If set to 0, rollback to the last revision.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RollbackConfig) SwaggerDoc() map[string]string {
|
func (RollbackConfig) SwaggerDoc() map[string]string {
|
||||||
|
@ -235,7 +235,7 @@ type DeploymentRollback struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RollbackConfig struct {
|
type RollbackConfig struct {
|
||||||
// The revision to rollback to. If set to 0, rollbck to the last revision.
|
// The revision to rollback to. If set to 0, rollback to the last revision.
|
||||||
// +optional
|
// +optional
|
||||||
Revision int64
|
Revision int64
|
||||||
}
|
}
|
||||||
|
@ -831,7 +831,7 @@ message ReplicationControllerDummy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message RollbackConfig {
|
message RollbackConfig {
|
||||||
// The revision to rollback to. If set to 0, rollbck to the last revision.
|
// The revision to rollback to. If set to 0, rollback to the last revision.
|
||||||
// +optional
|
// +optional
|
||||||
optional int64 revision = 1;
|
optional int64 revision = 1;
|
||||||
}
|
}
|
||||||
|
@ -228,7 +228,7 @@ type DeploymentRollback struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RollbackConfig struct {
|
type RollbackConfig struct {
|
||||||
// The revision to rollback to. If set to 0, rollbck to the last revision.
|
// The revision to rollback to. If set to 0, rollback to the last revision.
|
||||||
// +optional
|
// +optional
|
||||||
Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
|
Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
|
||||||
}
|
}
|
||||||
|
@ -497,7 +497,7 @@ func (ReplicationControllerDummy) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_RollbackConfig = map[string]string{
|
var map_RollbackConfig = map[string]string{
|
||||||
"revision": "The revision to rollback to. If set to 0, rollbck to the last revision.",
|
"revision": "The revision to rollback to. If set to 0, rollback to the last revision.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RollbackConfig) SwaggerDoc() map[string]string {
|
func (RollbackConfig) SwaggerDoc() map[string]string {
|
||||||
|
Loading…
Reference in New Issue
Block a user