Skip to content

Commit

Permalink
UPSTREAM: <drop>: update generated docs, swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt committed Mar 10, 2016
1 parent a29d982 commit 8f09be5
Show file tree
Hide file tree
Showing 10 changed files with 7,306 additions and 4,156 deletions.
38 changes: 38 additions & 0 deletions api/swagger-spec/autoscaling_v1.json
Expand Up @@ -691,6 +691,44 @@
"consumes": [
"*/*"
]
},
{
"type": "v1.HorizontalPodAutoscaler",
"method": "POST",
"summary": "create a HorizontalPodAutoscaler",
"nickname": "createHorizontalPodAutoscaler",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "v1.HorizontalPodAutoscaler",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1.HorizontalPodAutoscaler"
}
],
"produces": [
"application/json",
"application/yaml"
],
"consumes": [
"*/*"
]
}
]
},
Expand Down
77 changes: 77 additions & 0 deletions api/swagger-spec/batch_v1.json
Expand Up @@ -691,6 +691,44 @@
"consumes": [
"*/*"
]
},
{
"type": "v1.Job",
"method": "POST",
"summary": "create a Job",
"nickname": "createJob",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "v1.Job",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1.Job"
}
],
"produces": [
"application/json",
"application/yaml"
],
"consumes": [
"*/*"
]
}
]
},
Expand Down Expand Up @@ -1111,6 +1149,10 @@
"type": "any",
"description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: http://releases.k8s.io/release-1.2/docs/user-guide/node-selection/README.md"
},
"host": {
"type": "string",
"description": "A request to schedule this pod onto a specific node Deprecated: Use nodeName instead."
},
"serviceAccountName": {
"type": "string",
"description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: http://releases.k8s.io/release-1.2/docs/design/service_accounts.md"
Expand Down Expand Up @@ -1234,6 +1276,10 @@
"configMap": {
"$ref": "v1.ConfigMapVolumeSource",
"description": "ConfigMap represents a configMap that should populate this volume"
},
"metadata": {
"$ref": "v1.MetadataVolumeSource",
"description": "Metadata represents metadata about the pod that should populate this volume Deprecated: Use downwardAPI instead."
}
}
},
Expand Down Expand Up @@ -1733,6 +1779,37 @@
}
}
},
"v1.MetadataVolumeSource": {
"id": "v1.MetadataVolumeSource",
"description": "MetadataVolumeSource represents a volume containing metadata about a pod. NOTE: Deprecated in favor of DownwardAPIVolumeSource",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "v1.MetadataFile"
},
"description": "Items is a list of metadata file name"
}
}
},
"v1.MetadataFile": {
"id": "v1.MetadataFile",
"description": "MetadataFile expresses information about a file holding pod metadata. NOTE: Deprecated in favor of DownwardAPIVolumeFile",
"required": [
"name",
"fieldRef"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the file to be created"
},
"fieldRef": {
"$ref": "v1.ObjectFieldSelector",
"description": "Selects a field of the pod. Supported fields: metadata.annotations, metadata.labels, metadata.name, metadata.namespace"
}
}
},
"v1.Container": {
"id": "v1.Container",
"description": "A single application container that you want to run within a pod.",
Expand Down

0 comments on commit 8f09be5

Please sign in to comment.