Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
60c3152c
Commit
60c3152c
authored
May 25, 2017
by
zhengjiajin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix api description in swagger
parent
1e1040b5
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
23 additions
and
23 deletions
+23
-23
swagger.json
api/openapi-spec/swagger.json
+2
-2
apps_v1beta1.json
api/swagger-spec/apps_v1beta1.json
+1
-1
extensions_v1beta1.json
api/swagger-spec/extensions_v1beta1.json
+1
-1
definitions.html
docs/api-reference/apps/v1beta1/definitions.html
+1
-1
definitions.html
docs/api-reference/extensions/v1beta1/definitions.html
+1
-1
swagger.json
federation/apis/openapi-spec/swagger.json
+1
-1
extensions_v1beta1.json
federation/apis/swagger-spec/extensions_v1beta1.json
+1
-1
definitions.html
...on/docs/api-reference/extensions/v1beta1/definitions.html
+1
-1
generated.proto
pkg/apis/apps/v1beta1/generated.proto
+1
-1
types.go
pkg/apis/apps/v1beta1/types.go
+1
-1
types_swagger_doc_generated.go
pkg/apis/apps/v1beta1/types_swagger_doc_generated.go
+1
-1
types.go
pkg/apis/extensions/types.go
+1
-1
generated.proto
pkg/apis/extensions/v1beta1/generated.proto
+1
-1
types.go
pkg/apis/extensions/v1beta1/types.go
+1
-1
types_swagger_doc_generated.go
pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go
+1
-1
generated.proto
...rc/k8s.io/client-go/pkg/apis/apps/v1beta1/generated.proto
+1
-1
types.go
staging/src/k8s.io/client-go/pkg/apis/apps/v1beta1/types.go
+1
-1
types_swagger_doc_generated.go
...t-go/pkg/apis/apps/v1beta1/types_swagger_doc_generated.go
+1
-1
types.go
staging/src/k8s.io/client-go/pkg/apis/extensions/types.go
+1
-1
generated.proto
....io/client-go/pkg/apis/extensions/v1beta1/generated.proto
+1
-1
types.go
...src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types.go
+1
-1
types_swagger_doc_generated.go
...kg/apis/extensions/v1beta1/types_swagger_doc_generated.go
+1
-1
No files found.
api/openapi-spec/swagger.json
View file @
60c3152c
...
...
@@ -48230,7 +48230,7 @@
"io.k8s.kubernetes.pkg.apis.apps.v1beta1.RollbackConfig"
:
{
"properties"
:
{
"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, rollb
a
ck to the last revision."
,
"type"
:
"integer"
,
"format"
:
"int64"
}
...
...
@@ -51107,7 +51107,7 @@
"io.k8s.kubernetes.pkg.apis.extensions.v1beta1.RollbackConfig"
:
{
"properties"
:
{
"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, rollb
a
ck to the last revision."
,
"type"
:
"integer"
,
"format"
:
"int64"
}
api/swagger-spec/apps_v1beta1.json
View file @
60c3152c
...
...
@@ -5650,7 +5650,7 @@
"revision"
:
{
"type"
:
"integer"
,
"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, rollb
a
ck to the last revision."
}
}
},
...
...
api/swagger-spec/extensions_v1beta1.json
View file @
60c3152c
...
...
@@ -9364,7 +9364,7 @@
"revision"
:
{
"type"
:
"integer"
,
"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, rollb
a
ck to the last revision."
}
}
},
...
...
docs/api-reference/apps/v1beta1/definitions.html
View file @
60c3152c
...
...
@@ -2428,7 +2428,7 @@ When an object is created, the system will populate this list with the current s
<tbody>
<tr>
<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, rollb
a
ck 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"
>
integer (int64)
</p></td>
<td
class=
"tableblock halign-left valign-top"
></td>
...
...
docs/api-reference/extensions/v1beta1/definitions.html
View file @
60c3152c
...
...
@@ -3007,7 +3007,7 @@ When an object is created, the system will populate this list with the current s
<tbody>
<tr>
<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, rollb
a
ck 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"
>
integer (int64)
</p></td>
<td
class=
"tableblock halign-left valign-top"
></td>
...
...
federation/apis/openapi-spec/swagger.json
View file @
60c3152c
...
...
@@ -13706,7 +13706,7 @@
"io.k8s.kubernetes.pkg.apis.extensions.v1beta1.RollbackConfig"
:
{
"properties"
:
{
"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, rollb
a
ck to the last revision."
,
"type"
:
"integer"
,
"format"
:
"int64"
}
...
...
federation/apis/swagger-spec/extensions_v1beta1.json
View file @
60c3152c
...
...
@@ -7108,7 +7108,7 @@
"revision"
:
{
"type"
:
"integer"
,
"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, rollb
a
ck to the last revision."
}
}
},
...
...
federation/docs/api-reference/extensions/v1beta1/definitions.html
View file @
60c3152c
...
...
@@ -2756,7 +2756,7 @@ When an object is created, the system will populate this list with the current s
<tbody>
<tr>
<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, rollb
a
ck 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"
>
integer (int64)
</p></td>
<td
class=
"tableblock halign-left valign-top"
></td>
...
...
pkg/apis/apps/v1beta1/generated.proto
View file @
60c3152c
...
...
@@ -226,7 +226,7 @@ message DeploymentStrategy {
}
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, rollb
a
ck to the last revision.
// +optional
optional
int64
revision
=
1
;
}
...
...
pkg/apis/apps/v1beta1/types.go
View file @
60c3152c
...
...
@@ -260,7 +260,7 @@ type DeploymentRollback 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, rollb
a
ck to the last revision.
// +optional
Revision
int64
`json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
}
...
...
pkg/apis/apps/v1beta1/types_swagger_doc_generated.go
View file @
60c3152c
...
...
@@ -138,7 +138,7 @@ func (DeploymentStrategy) SwaggerDoc() 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, rollb
a
ck to the last revision."
,
}
func
(
RollbackConfig
)
SwaggerDoc
()
map
[
string
]
string
{
...
...
pkg/apis/extensions/types.go
View file @
60c3152c
...
...
@@ -235,7 +235,7 @@ type DeploymentRollback 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, rollb
a
ck to the last revision.
// +optional
Revision
int64
}
...
...
pkg/apis/extensions/v1beta1/generated.proto
View file @
60c3152c
...
...
@@ -831,7 +831,7 @@ message ReplicationControllerDummy {
}
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, rollb
a
ck to the last revision.
// +optional
optional
int64
revision
=
1
;
}
...
...
pkg/apis/extensions/v1beta1/types.go
View file @
60c3152c
...
...
@@ -228,7 +228,7 @@ type DeploymentRollback 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, rollb
a
ck to the last revision.
// +optional
Revision
int64
`json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
}
...
...
pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go
View file @
60c3152c
...
...
@@ -497,7 +497,7 @@ func (ReplicationControllerDummy) SwaggerDoc() 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, rollb
a
ck to the last revision."
,
}
func
(
RollbackConfig
)
SwaggerDoc
()
map
[
string
]
string
{
...
...
staging/src/k8s.io/client-go/pkg/apis/apps/v1beta1/generated.proto
View file @
60c3152c
...
...
@@ -226,7 +226,7 @@ message DeploymentStrategy {
}
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, rollb
a
ck to the last revision.
// +optional
optional
int64
revision
=
1
;
}
...
...
staging/src/k8s.io/client-go/pkg/apis/apps/v1beta1/types.go
View file @
60c3152c
...
...
@@ -260,7 +260,7 @@ type DeploymentRollback 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, rollb
a
ck to the last revision.
// +optional
Revision
int64
`json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
}
...
...
staging/src/k8s.io/client-go/pkg/apis/apps/v1beta1/types_swagger_doc_generated.go
View file @
60c3152c
...
...
@@ -138,7 +138,7 @@ func (DeploymentStrategy) SwaggerDoc() 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, rollb
a
ck to the last revision."
,
}
func
(
RollbackConfig
)
SwaggerDoc
()
map
[
string
]
string
{
...
...
staging/src/k8s.io/client-go/pkg/apis/extensions/types.go
View file @
60c3152c
...
...
@@ -235,7 +235,7 @@ type DeploymentRollback 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, rollb
a
ck to the last revision.
// +optional
Revision
int64
}
...
...
staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/generated.proto
View file @
60c3152c
...
...
@@ -831,7 +831,7 @@ message ReplicationControllerDummy {
}
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, rollb
a
ck to the last revision.
// +optional
optional
int64
revision
=
1
;
}
...
...
staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types.go
View file @
60c3152c
...
...
@@ -228,7 +228,7 @@ type DeploymentRollback 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, rollb
a
ck to the last revision.
// +optional
Revision
int64
`json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
}
...
...
staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go
View file @
60c3152c
...
...
@@ -497,7 +497,7 @@ func (ReplicationControllerDummy) SwaggerDoc() 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, rollb
a
ck to the last revision."
,
}
func
(
RollbackConfig
)
SwaggerDoc
()
map
[
string
]
string
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment