mirror of https://github.com/k3s-io/k3s
update swagger
parent
4c9b88a3c2
commit
7554331185
|
@ -560,7 +560,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -1184,7 +1184,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -1808,7 +1808,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -2392,7 +2392,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -2920,7 +2920,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -3761,7 +3761,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -4404,7 +4404,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -4921,7 +4921,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -7088,7 +7088,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -7712,7 +7712,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -8395,7 +8395,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -9078,7 +9078,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -9702,7 +9702,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -10326,7 +10326,7 @@
|
|||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "api.Patch",
|
||||
"type": "unversioned.Patch",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
|
@ -11414,8 +11414,9 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"api.Patch": {
|
||||
"id": "api.Patch",
|
||||
"unversioned.Patch": {
|
||||
"id": "unversioned.Patch",
|
||||
"description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
|
||||
"properties": {}
|
||||
},
|
||||
"unversioned.Status": {
|
||||
|
|
|
@ -27,6 +27,65 @@ package unversioned
|
|||
// Those methods can be generated by using hack/update-generated-swagger-docs.sh
|
||||
|
||||
// AUTO-GENERATED FUNCTIONS START HERE
|
||||
var map_APIGroup = map[string]string{
|
||||
"": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
|
||||
"name": "name is the name of the group.",
|
||||
"versions": "versions are the versions supported in this group.",
|
||||
"preferredVersion": "preferredVersion is the version preferred by the API server, which probably is the storage version.",
|
||||
}
|
||||
|
||||
func (APIGroup) SwaggerDoc() map[string]string {
|
||||
return map_APIGroup
|
||||
}
|
||||
|
||||
var map_APIGroupList = map[string]string{
|
||||
"": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
|
||||
"groups": "groups is a list of APIGroup.",
|
||||
}
|
||||
|
||||
func (APIGroupList) SwaggerDoc() map[string]string {
|
||||
return map_APIGroupList
|
||||
}
|
||||
|
||||
var map_APIResource = map[string]string{
|
||||
"": "APIResource specifies the name of a resource and whether it is namespaced.",
|
||||
"name": "name is the name of the resource.",
|
||||
"namespaced": "namespaced indicates if a resource is namespaced or not.",
|
||||
}
|
||||
|
||||
func (APIResource) SwaggerDoc() map[string]string {
|
||||
return map_APIResource
|
||||
}
|
||||
|
||||
var map_APIResourceList = map[string]string{
|
||||
"": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.",
|
||||
"groupVersion": "groupVersion is the group and version this APIResourceList is for.",
|
||||
"resources": "resources contains the name of the resources and if they are namespaced.",
|
||||
}
|
||||
|
||||
func (APIResourceList) SwaggerDoc() map[string]string {
|
||||
return map_APIResourceList
|
||||
}
|
||||
|
||||
var map_APIVersions = map[string]string{
|
||||
"": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.",
|
||||
"versions": "versions are the api versions that are available.",
|
||||
}
|
||||
|
||||
func (APIVersions) SwaggerDoc() map[string]string {
|
||||
return map_APIVersions
|
||||
}
|
||||
|
||||
var map_GroupVersion = map[string]string{
|
||||
"": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensiblity.",
|
||||
"groupVersion": "groupVersion specifies the API group and version in the form \"group/version\"",
|
||||
"version": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
|
||||
}
|
||||
|
||||
func (GroupVersion) SwaggerDoc() map[string]string {
|
||||
return map_GroupVersion
|
||||
}
|
||||
|
||||
var map_ListMeta = map[string]string{
|
||||
"": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
|
||||
"selfLink": "SelfLink is a URL representing this object. Populated by the system. Read-only.",
|
||||
|
@ -37,6 +96,23 @@ func (ListMeta) SwaggerDoc() map[string]string {
|
|||
return map_ListMeta
|
||||
}
|
||||
|
||||
var map_Patch = map[string]string{
|
||||
"": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
|
||||
}
|
||||
|
||||
func (Patch) SwaggerDoc() map[string]string {
|
||||
return map_Patch
|
||||
}
|
||||
|
||||
var map_RootPaths = map[string]string{
|
||||
"": "RootPaths lists the paths available at root. For example: \"/healthz\", \"/apis\".",
|
||||
"paths": "paths are the paths available at root.",
|
||||
}
|
||||
|
||||
func (RootPaths) SwaggerDoc() map[string]string {
|
||||
return map_RootPaths
|
||||
}
|
||||
|
||||
var map_Status = map[string]string{
|
||||
"": "Status is a return value for calls that don't return other objects.",
|
||||
"metadata": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
|
||||
|
|
Loading…
Reference in New Issue