mirror of https://github.com/k3s-io/k3s
Update swagger spec
parent
0225d76b6a
commit
d9161a1f41
|
@ -24,4 +24,4 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,4 +27,4 @@
|
|||
"title": "",
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1919,6 +1919,49 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta1/minions/{name}/status",
|
||||
"description": "API at /api/v1beta1 version v1beta1",
|
||||
"operations": [
|
||||
{
|
||||
"type": "v1beta1.Minion",
|
||||
"method": "PUT",
|
||||
"summary": "replace the specified Node",
|
||||
"nickname": "replaceNode",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"paramType": "path",
|
||||
"name": "name",
|
||||
"description": "name of the Node",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "v1beta1.Minion",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
}
|
||||
],
|
||||
"responseMessages": [
|
||||
{
|
||||
"code": 200,
|
||||
"message": "OK",
|
||||
"responseModel": "v1beta1.Minion"
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"consumes": [
|
||||
"*/*"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta1/namespaces",
|
||||
"description": "API at /api/v1beta1 version v1beta1",
|
||||
|
@ -2977,6 +3020,49 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta1/nodes/{name}/status",
|
||||
"description": "API at /api/v1beta1 version v1beta1",
|
||||
"operations": [
|
||||
{
|
||||
"type": "v1beta1.Minion",
|
||||
"method": "PUT",
|
||||
"summary": "replace the specified Node",
|
||||
"nickname": "replaceNode",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"paramType": "path",
|
||||
"name": "name",
|
||||
"description": "name of the Node",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "v1beta1.Minion",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
}
|
||||
],
|
||||
"responseMessages": [
|
||||
{
|
||||
"code": 200,
|
||||
"message": "OK",
|
||||
"responseModel": "v1beta1.Minion"
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"consumes": [
|
||||
"*/*"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta1/persistentVolumeClaims",
|
||||
"description": "API at /api/v1beta1 version v1beta1",
|
||||
|
@ -4615,6 +4701,14 @@
|
|||
"summary": "create a Binding",
|
||||
"nickname": "createBinding",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"paramType": "path",
|
||||
"name": "name",
|
||||
"description": "name of the Binding",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"paramType": "query",
|
||||
|
@ -6913,7 +7007,6 @@
|
|||
"required": [
|
||||
"name",
|
||||
"image",
|
||||
"entrypoint:omitempty",
|
||||
"imagePullPolicy"
|
||||
],
|
||||
"properties": {
|
||||
|
@ -6933,7 +7026,7 @@
|
|||
"format": "int32",
|
||||
"description": "CPU share in thousandths of a core; cannot be updated"
|
||||
},
|
||||
"entrypoint:omitempty": {
|
||||
"entrypoint": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
|
@ -8634,9 +8727,9 @@
|
|||
"v1beta1.PersistentVolumeSpec": {
|
||||
"id": "v1beta1.PersistentVolumeSpec",
|
||||
"required": [
|
||||
"persistentDisk",
|
||||
"hostPath",
|
||||
"glusterfs",
|
||||
"persistentDisk"
|
||||
"glusterfs"
|
||||
],
|
||||
"properties": {
|
||||
"accessModes": {
|
||||
|
@ -9800,4 +9893,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1919,6 +1919,49 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta2/minions/{name}/status",
|
||||
"description": "API at /api/v1beta2 version v1beta2",
|
||||
"operations": [
|
||||
{
|
||||
"type": "v1beta2.Minion",
|
||||
"method": "PUT",
|
||||
"summary": "replace the specified Node",
|
||||
"nickname": "replaceNode",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"paramType": "path",
|
||||
"name": "name",
|
||||
"description": "name of the Node",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "v1beta2.Minion",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
}
|
||||
],
|
||||
"responseMessages": [
|
||||
{
|
||||
"code": 200,
|
||||
"message": "OK",
|
||||
"responseModel": "v1beta2.Minion"
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"consumes": [
|
||||
"*/*"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta2/namespaces",
|
||||
"description": "API at /api/v1beta2 version v1beta2",
|
||||
|
@ -2977,6 +3020,49 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta2/nodes/{name}/status",
|
||||
"description": "API at /api/v1beta2 version v1beta2",
|
||||
"operations": [
|
||||
{
|
||||
"type": "v1beta2.Minion",
|
||||
"method": "PUT",
|
||||
"summary": "replace the specified Node",
|
||||
"nickname": "replaceNode",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"paramType": "path",
|
||||
"name": "name",
|
||||
"description": "name of the Node",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "v1beta2.Minion",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
}
|
||||
],
|
||||
"responseMessages": [
|
||||
{
|
||||
"code": 200,
|
||||
"message": "OK",
|
||||
"responseModel": "v1beta2.Minion"
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"consumes": [
|
||||
"*/*"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta2/persistentVolumeClaims",
|
||||
"description": "API at /api/v1beta2 version v1beta2",
|
||||
|
@ -4615,6 +4701,14 @@
|
|||
"summary": "create a Binding",
|
||||
"nickname": "createBinding",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"paramType": "path",
|
||||
"name": "name",
|
||||
"description": "name of the Binding",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"paramType": "query",
|
||||
|
@ -6913,7 +7007,6 @@
|
|||
"required": [
|
||||
"name",
|
||||
"image",
|
||||
"entrypoint:omitempty",
|
||||
"imagePullPolicy"
|
||||
],
|
||||
"properties": {
|
||||
|
@ -6933,7 +7026,7 @@
|
|||
"format": "int32",
|
||||
"description": "CPU share in thousandths of a core; cannot be updated"
|
||||
},
|
||||
"entrypoint:omitempty": {
|
||||
"entrypoint": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
|
@ -9781,4 +9874,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1663,6 +1663,49 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta3/minions/{name}/status",
|
||||
"description": "API at /api/v1beta3 version v1beta3",
|
||||
"operations": [
|
||||
{
|
||||
"type": "v1beta3.Node",
|
||||
"method": "PUT",
|
||||
"summary": "replace the specified Node",
|
||||
"nickname": "replaceNode",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"paramType": "path",
|
||||
"name": "name",
|
||||
"description": "name of the Node",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "v1beta3.Node",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
}
|
||||
],
|
||||
"responseMessages": [
|
||||
{
|
||||
"code": 200,
|
||||
"message": "OK",
|
||||
"responseModel": "v1beta3.Node"
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"consumes": [
|
||||
"*/*"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta3/namespaces",
|
||||
"description": "API at /api/v1beta3 version v1beta3",
|
||||
|
@ -2721,6 +2764,49 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta3/nodes/{name}/status",
|
||||
"description": "API at /api/v1beta3 version v1beta3",
|
||||
"operations": [
|
||||
{
|
||||
"type": "v1beta3.Node",
|
||||
"method": "PUT",
|
||||
"summary": "replace the specified Node",
|
||||
"nickname": "replaceNode",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"paramType": "path",
|
||||
"name": "name",
|
||||
"description": "name of the Node",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
},
|
||||
{
|
||||
"type": "v1beta3.Node",
|
||||
"paramType": "body",
|
||||
"name": "body",
|
||||
"description": "",
|
||||
"required": true,
|
||||
"allowMultiple": false
|
||||
}
|
||||
],
|
||||
"responseMessages": [
|
||||
{
|
||||
"code": 200,
|
||||
"message": "OK",
|
||||
"responseModel": "v1beta3.Node"
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"consumes": [
|
||||
"*/*"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/api/v1beta3/namespaces/{namespaces}/persistentvolumeclaims",
|
||||
"description": "API at /api/v1beta3 version v1beta3",
|
||||
|
@ -9778,14 +9864,14 @@
|
|||
"id": "v1beta3.Volume",
|
||||
"required": [
|
||||
"name",
|
||||
"gcePersistentDisk",
|
||||
"gitRepo",
|
||||
"secret",
|
||||
"nfs",
|
||||
"iscsi",
|
||||
"glusterfs",
|
||||
"hostPath",
|
||||
"emptyDir",
|
||||
"gcePersistentDisk"
|
||||
"emptyDir"
|
||||
],
|
||||
"properties": {
|
||||
"emptyDir": {
|
||||
|
@ -9848,4 +9934,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,4 +24,4 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue