Commit c059dfdb authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #18712 from pmorie/config-kubectl

Auto commit by PR queue bot
parents e7f29514 adc04924
...@@ -5,14 +5,14 @@ ...@@ -5,14 +5,14 @@
"resourcePath": "/apis/extensions/v1beta1", "resourcePath": "/apis/extensions/v1beta1",
"apis": [ "apis": [
{ {
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers", "path": "/apis/extensions/v1beta1/namespaces/{namespace}/configmaps",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.HorizontalPodAutoscalerList", "type": "v1beta1.ConfigMapList",
"method": "GET", "method": "GET",
"summary": "list or watch objects of kind HorizontalPodAutoscaler", "summary": "list or watch objects of kind ConfigMap",
"nickname": "listNamespacedHorizontalPodAutoscaler", "nickname": "listNamespacedConfigMap",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.HorizontalPodAutoscalerList" "responseModel": "v1beta1.ConfigMapList"
} }
], ],
"produces": [ "produces": [
...@@ -86,10 +86,10 @@ ...@@ -86,10 +86,10 @@
] ]
}, },
{ {
"type": "v1beta1.HorizontalPodAutoscaler", "type": "v1beta1.ConfigMap",
"method": "POST", "method": "POST",
"summary": "create a HorizontalPodAutoscaler", "summary": "create a ConfigMap",
"nickname": "createNamespacedHorizontalPodAutoscaler", "nickname": "createNamespacedConfigMap",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "v1beta1.HorizontalPodAutoscaler", "type": "v1beta1.ConfigMap",
"paramType": "body", "paramType": "body",
"name": "body", "name": "body",
"description": "", "description": "",
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.HorizontalPodAutoscaler" "responseModel": "v1beta1.ConfigMap"
} }
], ],
"produces": [ "produces": [
...@@ -133,8 +133,8 @@ ...@@ -133,8 +133,8 @@
{ {
"type": "unversioned.Status", "type": "unversioned.Status",
"method": "DELETE", "method": "DELETE",
"summary": "delete collection of HorizontalPodAutoscaler", "summary": "delete collection of ConfigMap",
"nickname": "deletecollectionNamespacedHorizontalPodAutoscaler", "nickname": "deletecollectionNamespacedConfigMap",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -210,14 +210,14 @@ ...@@ -210,14 +210,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/horizontalpodautoscalers", "path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/configmaps",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "json.WatchEvent", "type": "json.WatchEvent",
"method": "GET", "method": "GET",
"summary": "watch individual changes to a list of HorizontalPodAutoscaler", "summary": "watch individual changes to a list of ConfigMap",
"nickname": "watchNamespacedHorizontalPodAutoscalerList", "nickname": "watchNamespacedConfigMapList",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -293,14 +293,14 @@ ...@@ -293,14 +293,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}", "path": "/apis/extensions/v1beta1/namespaces/{namespace}/configmaps/{name}",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.HorizontalPodAutoscaler", "type": "v1beta1.ConfigMap",
"method": "GET", "method": "GET",
"summary": "read the specified HorizontalPodAutoscaler", "summary": "read the specified ConfigMap",
"nickname": "readNamespacedHorizontalPodAutoscaler", "nickname": "readNamespacedConfigMap",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -338,7 +338,7 @@ ...@@ -338,7 +338,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the HorizontalPodAutoscaler", "description": "name of the ConfigMap",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -347,7 +347,7 @@ ...@@ -347,7 +347,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.HorizontalPodAutoscaler" "responseModel": "v1beta1.ConfigMap"
} }
], ],
"produces": [ "produces": [
...@@ -358,10 +358,10 @@ ...@@ -358,10 +358,10 @@
] ]
}, },
{ {
"type": "v1beta1.HorizontalPodAutoscaler", "type": "v1beta1.ConfigMap",
"method": "PUT", "method": "PUT",
"summary": "replace the specified HorizontalPodAutoscaler", "summary": "replace the specified ConfigMap",
"nickname": "replaceNamespacedHorizontalPodAutoscaler", "nickname": "replaceNamespacedConfigMap",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -372,7 +372,7 @@ ...@@ -372,7 +372,7 @@
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "v1beta1.HorizontalPodAutoscaler", "type": "v1beta1.ConfigMap",
"paramType": "body", "paramType": "body",
"name": "body", "name": "body",
"description": "", "description": "",
...@@ -391,7 +391,7 @@ ...@@ -391,7 +391,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the HorizontalPodAutoscaler", "description": "name of the ConfigMap",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -400,7 +400,7 @@ ...@@ -400,7 +400,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.HorizontalPodAutoscaler" "responseModel": "v1beta1.ConfigMap"
} }
], ],
"produces": [ "produces": [
...@@ -411,10 +411,10 @@ ...@@ -411,10 +411,10 @@
] ]
}, },
{ {
"type": "v1beta1.HorizontalPodAutoscaler", "type": "v1beta1.ConfigMap",
"method": "PATCH", "method": "PATCH",
"summary": "partially update the specified HorizontalPodAutoscaler", "summary": "partially update the specified ConfigMap",
"nickname": "patchNamespacedHorizontalPodAutoscaler", "nickname": "patchNamespacedConfigMap",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -444,7 +444,7 @@ ...@@ -444,7 +444,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the HorizontalPodAutoscaler", "description": "name of the ConfigMap",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -453,7 +453,7 @@ ...@@ -453,7 +453,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.HorizontalPodAutoscaler" "responseModel": "v1beta1.ConfigMap"
} }
], ],
"produces": [ "produces": [
...@@ -468,8 +468,8 @@ ...@@ -468,8 +468,8 @@
{ {
"type": "unversioned.Status", "type": "unversioned.Status",
"method": "DELETE", "method": "DELETE",
"summary": "delete a HorizontalPodAutoscaler", "summary": "delete a ConfigMap",
"nickname": "deleteNamespacedHorizontalPodAutoscaler", "nickname": "deleteNamespacedConfigMap",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -499,7 +499,7 @@ ...@@ -499,7 +499,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the HorizontalPodAutoscaler", "description": "name of the ConfigMap",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -521,14 +521,14 @@ ...@@ -521,14 +521,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}", "path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/configmaps/{name}",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "json.WatchEvent", "type": "json.WatchEvent",
"method": "GET", "method": "GET",
"summary": "watch changes to an object of kind HorizontalPodAutoscaler", "summary": "watch changes to an object of kind ConfigMap",
"nickname": "watchNamespacedHorizontalPodAutoscaler", "nickname": "watchNamespacedConfigMap",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -590,7 +590,7 @@ ...@@ -590,7 +590,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the HorizontalPodAutoscaler", "description": "name of the ConfigMap",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -612,14 +612,14 @@ ...@@ -612,14 +612,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/horizontalpodautoscalers", "path": "/apis/extensions/v1beta1/configmaps",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.HorizontalPodAutoscalerList", "type": "v1beta1.ConfigMapList",
"method": "GET", "method": "GET",
"summary": "list or watch objects of kind HorizontalPodAutoscaler", "summary": "list or watch objects of kind ConfigMap",
"nickname": "listHorizontalPodAutoscaler", "nickname": "listConfigMap",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -674,7 +674,7 @@ ...@@ -674,7 +674,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.HorizontalPodAutoscalerList" "responseModel": "v1beta1.ConfigMapList"
} }
], ],
"produces": [ "produces": [
...@@ -687,14 +687,14 @@ ...@@ -687,14 +687,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/watch/horizontalpodautoscalers", "path": "/apis/extensions/v1beta1/watch/configmaps",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "json.WatchEvent", "type": "json.WatchEvent",
"method": "GET", "method": "GET",
"summary": "watch individual changes to a list of HorizontalPodAutoscaler", "summary": "watch individual changes to a list of ConfigMap",
"nickname": "watchHorizontalPodAutoscalerList", "nickname": "watchConfigMapList",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -762,73 +762,14 @@ ...@@ -762,73 +762,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status", "path": "/apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers",
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "v1beta1.HorizontalPodAutoscaler",
"method": "PUT",
"summary": "replace status of the specified HorizontalPodAutoscaler",
"nickname": "replaceNamespacedHorizontalPodAutoscalerStatus",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "v1beta1.HorizontalPodAutoscaler",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the HorizontalPodAutoscaler",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta1.HorizontalPodAutoscaler"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.IngressList", "type": "v1beta1.HorizontalPodAutoscalerList",
"method": "GET", "method": "GET",
"summary": "list or watch objects of kind Ingress", "summary": "list or watch objects of kind HorizontalPodAutoscaler",
"nickname": "listNamespacedIngress", "nickname": "listNamespacedHorizontalPodAutoscaler",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -891,7 +832,7 @@ ...@@ -891,7 +832,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.IngressList" "responseModel": "v1beta1.HorizontalPodAutoscalerList"
} }
], ],
"produces": [ "produces": [
...@@ -902,10 +843,10 @@ ...@@ -902,10 +843,10 @@
] ]
}, },
{ {
"type": "v1beta1.Ingress", "type": "v1beta1.HorizontalPodAutoscaler",
"method": "POST", "method": "POST",
"summary": "create a Ingress", "summary": "create a HorizontalPodAutoscaler",
"nickname": "createNamespacedIngress", "nickname": "createNamespacedHorizontalPodAutoscaler",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -916,7 +857,7 @@ ...@@ -916,7 +857,7 @@
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "v1beta1.Ingress", "type": "v1beta1.HorizontalPodAutoscaler",
"paramType": "body", "paramType": "body",
"name": "body", "name": "body",
"description": "", "description": "",
...@@ -936,7 +877,7 @@ ...@@ -936,7 +877,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Ingress" "responseModel": "v1beta1.HorizontalPodAutoscaler"
} }
], ],
"produces": [ "produces": [
...@@ -949,8 +890,8 @@ ...@@ -949,8 +890,8 @@
{ {
"type": "unversioned.Status", "type": "unversioned.Status",
"method": "DELETE", "method": "DELETE",
"summary": "delete collection of Ingress", "summary": "delete collection of HorizontalPodAutoscaler",
"nickname": "deletecollectionNamespacedIngress", "nickname": "deletecollectionNamespacedHorizontalPodAutoscaler",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1026,14 +967,14 @@ ...@@ -1026,14 +967,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses", "path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/horizontalpodautoscalers",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "json.WatchEvent", "type": "json.WatchEvent",
"method": "GET", "method": "GET",
"summary": "watch individual changes to a list of Ingress", "summary": "watch individual changes to a list of HorizontalPodAutoscaler",
"nickname": "watchNamespacedIngressList", "nickname": "watchNamespacedHorizontalPodAutoscalerList",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1109,14 +1050,14 @@ ...@@ -1109,14 +1050,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}", "path": "/apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.Ingress", "type": "v1beta1.HorizontalPodAutoscaler",
"method": "GET", "method": "GET",
"summary": "read the specified Ingress", "summary": "read the specified HorizontalPodAutoscaler",
"nickname": "readNamespacedIngress", "nickname": "readNamespacedHorizontalPodAutoscaler",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1154,7 +1095,7 @@ ...@@ -1154,7 +1095,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Ingress", "description": "name of the HorizontalPodAutoscaler",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -1163,7 +1104,7 @@ ...@@ -1163,7 +1104,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Ingress" "responseModel": "v1beta1.HorizontalPodAutoscaler"
} }
], ],
"produces": [ "produces": [
...@@ -1174,10 +1115,10 @@ ...@@ -1174,10 +1115,10 @@
] ]
}, },
{ {
"type": "v1beta1.Ingress", "type": "v1beta1.HorizontalPodAutoscaler",
"method": "PUT", "method": "PUT",
"summary": "replace the specified Ingress", "summary": "replace the specified HorizontalPodAutoscaler",
"nickname": "replaceNamespacedIngress", "nickname": "replaceNamespacedHorizontalPodAutoscaler",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1188,7 +1129,7 @@ ...@@ -1188,7 +1129,7 @@
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "v1beta1.Ingress", "type": "v1beta1.HorizontalPodAutoscaler",
"paramType": "body", "paramType": "body",
"name": "body", "name": "body",
"description": "", "description": "",
...@@ -1207,7 +1148,7 @@ ...@@ -1207,7 +1148,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Ingress", "description": "name of the HorizontalPodAutoscaler",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -1216,7 +1157,7 @@ ...@@ -1216,7 +1157,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Ingress" "responseModel": "v1beta1.HorizontalPodAutoscaler"
} }
], ],
"produces": [ "produces": [
...@@ -1227,10 +1168,10 @@ ...@@ -1227,10 +1168,10 @@
] ]
}, },
{ {
"type": "v1beta1.Ingress", "type": "v1beta1.HorizontalPodAutoscaler",
"method": "PATCH", "method": "PATCH",
"summary": "partially update the specified Ingress", "summary": "partially update the specified HorizontalPodAutoscaler",
"nickname": "patchNamespacedIngress", "nickname": "patchNamespacedHorizontalPodAutoscaler",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1260,7 +1201,7 @@ ...@@ -1260,7 +1201,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Ingress", "description": "name of the HorizontalPodAutoscaler",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -1269,7 +1210,7 @@ ...@@ -1269,7 +1210,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Ingress" "responseModel": "v1beta1.HorizontalPodAutoscaler"
} }
], ],
"produces": [ "produces": [
...@@ -1284,8 +1225,8 @@ ...@@ -1284,8 +1225,8 @@
{ {
"type": "unversioned.Status", "type": "unversioned.Status",
"method": "DELETE", "method": "DELETE",
"summary": "delete a Ingress", "summary": "delete a HorizontalPodAutoscaler",
"nickname": "deleteNamespacedIngress", "nickname": "deleteNamespacedHorizontalPodAutoscaler",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1315,7 +1256,7 @@ ...@@ -1315,7 +1256,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Ingress", "description": "name of the HorizontalPodAutoscaler",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -1337,14 +1278,14 @@ ...@@ -1337,14 +1278,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}", "path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "json.WatchEvent", "type": "json.WatchEvent",
"method": "GET", "method": "GET",
"summary": "watch changes to an object of kind Ingress", "summary": "watch changes to an object of kind HorizontalPodAutoscaler",
"nickname": "watchNamespacedIngress", "nickname": "watchNamespacedHorizontalPodAutoscaler",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1406,7 +1347,7 @@ ...@@ -1406,7 +1347,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Ingress", "description": "name of the HorizontalPodAutoscaler",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -1428,14 +1369,14 @@ ...@@ -1428,14 +1369,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/ingresses", "path": "/apis/extensions/v1beta1/horizontalpodautoscalers",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.IngressList", "type": "v1beta1.HorizontalPodAutoscalerList",
"method": "GET", "method": "GET",
"summary": "list or watch objects of kind Ingress", "summary": "list or watch objects of kind HorizontalPodAutoscaler",
"nickname": "listIngress", "nickname": "listHorizontalPodAutoscaler",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1490,7 +1431,7 @@ ...@@ -1490,7 +1431,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.IngressList" "responseModel": "v1beta1.HorizontalPodAutoscalerList"
} }
], ],
"produces": [ "produces": [
...@@ -1503,14 +1444,14 @@ ...@@ -1503,14 +1444,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/watch/ingresses", "path": "/apis/extensions/v1beta1/watch/horizontalpodautoscalers",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "json.WatchEvent", "type": "json.WatchEvent",
"method": "GET", "method": "GET",
"summary": "watch individual changes to a list of Ingress", "summary": "watch individual changes to a list of HorizontalPodAutoscaler",
"nickname": "watchIngressList", "nickname": "watchHorizontalPodAutoscalerList",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1578,14 +1519,14 @@ ...@@ -1578,14 +1519,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status", "path": "/apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.Ingress", "type": "v1beta1.HorizontalPodAutoscaler",
"method": "PUT", "method": "PUT",
"summary": "replace status of the specified Ingress", "summary": "replace status of the specified HorizontalPodAutoscaler",
"nickname": "replaceNamespacedIngressStatus", "nickname": "replaceNamespacedHorizontalPodAutoscalerStatus",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1596,7 +1537,7 @@ ...@@ -1596,7 +1537,7 @@
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "v1beta1.Ingress", "type": "v1beta1.HorizontalPodAutoscaler",
"paramType": "body", "paramType": "body",
"name": "body", "name": "body",
"description": "", "description": "",
...@@ -1615,7 +1556,7 @@ ...@@ -1615,7 +1556,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Ingress", "description": "name of the HorizontalPodAutoscaler",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -1624,7 +1565,7 @@ ...@@ -1624,7 +1565,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Ingress" "responseModel": "v1beta1.HorizontalPodAutoscaler"
} }
], ],
"produces": [ "produces": [
...@@ -1637,14 +1578,14 @@ ...@@ -1637,14 +1578,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/jobs", "path": "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.JobList", "type": "v1beta1.IngressList",
"method": "GET", "method": "GET",
"summary": "list or watch objects of kind Job", "summary": "list or watch objects of kind Ingress",
"nickname": "listNamespacedJob", "nickname": "listNamespacedIngress",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1707,7 +1648,7 @@ ...@@ -1707,7 +1648,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.JobList" "responseModel": "v1beta1.IngressList"
} }
], ],
"produces": [ "produces": [
...@@ -1718,10 +1659,10 @@ ...@@ -1718,10 +1659,10 @@
] ]
}, },
{ {
"type": "v1beta1.Job", "type": "v1beta1.Ingress",
"method": "POST", "method": "POST",
"summary": "create a Job", "summary": "create a Ingress",
"nickname": "createNamespacedJob", "nickname": "createNamespacedIngress",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1732,7 +1673,7 @@ ...@@ -1732,7 +1673,7 @@
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "v1beta1.Job", "type": "v1beta1.Ingress",
"paramType": "body", "paramType": "body",
"name": "body", "name": "body",
"description": "", "description": "",
...@@ -1752,7 +1693,7 @@ ...@@ -1752,7 +1693,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Job" "responseModel": "v1beta1.Ingress"
} }
], ],
"produces": [ "produces": [
...@@ -1765,8 +1706,8 @@ ...@@ -1765,8 +1706,8 @@
{ {
"type": "unversioned.Status", "type": "unversioned.Status",
"method": "DELETE", "method": "DELETE",
"summary": "delete collection of Job", "summary": "delete collection of Ingress",
"nickname": "deletecollectionNamespacedJob", "nickname": "deletecollectionNamespacedIngress",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1842,14 +1783,14 @@ ...@@ -1842,14 +1783,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/jobs", "path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "json.WatchEvent", "type": "json.WatchEvent",
"method": "GET", "method": "GET",
"summary": "watch individual changes to a list of Job", "summary": "watch individual changes to a list of Ingress",
"nickname": "watchNamespacedJobList", "nickname": "watchNamespacedIngressList",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1925,14 +1866,14 @@ ...@@ -1925,14 +1866,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}", "path": "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.Job", "type": "v1beta1.Ingress",
"method": "GET", "method": "GET",
"summary": "read the specified Job", "summary": "read the specified Ingress",
"nickname": "readNamespacedJob", "nickname": "readNamespacedIngress",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -1970,7 +1911,7 @@ ...@@ -1970,7 +1911,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Job", "description": "name of the Ingress",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -1979,7 +1920,7 @@ ...@@ -1979,7 +1920,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Job" "responseModel": "v1beta1.Ingress"
} }
], ],
"produces": [ "produces": [
...@@ -1990,10 +1931,10 @@ ...@@ -1990,10 +1931,10 @@
] ]
}, },
{ {
"type": "v1beta1.Job", "type": "v1beta1.Ingress",
"method": "PUT", "method": "PUT",
"summary": "replace the specified Job", "summary": "replace the specified Ingress",
"nickname": "replaceNamespacedJob", "nickname": "replaceNamespacedIngress",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2004,7 +1945,7 @@ ...@@ -2004,7 +1945,7 @@
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "v1beta1.Job", "type": "v1beta1.Ingress",
"paramType": "body", "paramType": "body",
"name": "body", "name": "body",
"description": "", "description": "",
...@@ -2023,7 +1964,7 @@ ...@@ -2023,7 +1964,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Job", "description": "name of the Ingress",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -2032,7 +1973,7 @@ ...@@ -2032,7 +1973,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Job" "responseModel": "v1beta1.Ingress"
} }
], ],
"produces": [ "produces": [
...@@ -2043,10 +1984,10 @@ ...@@ -2043,10 +1984,10 @@
] ]
}, },
{ {
"type": "v1beta1.Job", "type": "v1beta1.Ingress",
"method": "PATCH", "method": "PATCH",
"summary": "partially update the specified Job", "summary": "partially update the specified Ingress",
"nickname": "patchNamespacedJob", "nickname": "patchNamespacedIngress",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2076,7 +2017,7 @@ ...@@ -2076,7 +2017,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Job", "description": "name of the Ingress",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -2085,7 +2026,7 @@ ...@@ -2085,7 +2026,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Job" "responseModel": "v1beta1.Ingress"
} }
], ],
"produces": [ "produces": [
...@@ -2100,8 +2041,8 @@ ...@@ -2100,8 +2041,8 @@
{ {
"type": "unversioned.Status", "type": "unversioned.Status",
"method": "DELETE", "method": "DELETE",
"summary": "delete a Job", "summary": "delete a Ingress",
"nickname": "deleteNamespacedJob", "nickname": "deleteNamespacedIngress",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2131,7 +2072,7 @@ ...@@ -2131,7 +2072,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Job", "description": "name of the Ingress",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -2153,14 +2094,14 @@ ...@@ -2153,14 +2094,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/jobs/{name}", "path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "json.WatchEvent", "type": "json.WatchEvent",
"method": "GET", "method": "GET",
"summary": "watch changes to an object of kind Job", "summary": "watch changes to an object of kind Ingress",
"nickname": "watchNamespacedJob", "nickname": "watchNamespacedIngress",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2222,7 +2163,7 @@ ...@@ -2222,7 +2163,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Job", "description": "name of the Ingress",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -2244,14 +2185,14 @@ ...@@ -2244,14 +2185,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/jobs", "path": "/apis/extensions/v1beta1/ingresses",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.JobList", "type": "v1beta1.IngressList",
"method": "GET", "method": "GET",
"summary": "list or watch objects of kind Job", "summary": "list or watch objects of kind Ingress",
"nickname": "listJob", "nickname": "listIngress",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2306,7 +2247,7 @@ ...@@ -2306,7 +2247,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.JobList" "responseModel": "v1beta1.IngressList"
} }
], ],
"produces": [ "produces": [
...@@ -2319,14 +2260,14 @@ ...@@ -2319,14 +2260,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/watch/jobs", "path": "/apis/extensions/v1beta1/watch/ingresses",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "json.WatchEvent", "type": "json.WatchEvent",
"method": "GET", "method": "GET",
"summary": "watch individual changes to a list of Job", "summary": "watch individual changes to a list of Ingress",
"nickname": "watchJobList", "nickname": "watchIngressList",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2394,14 +2335,14 @@ ...@@ -2394,14 +2335,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}/status", "path": "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.Job", "type": "v1beta1.Ingress",
"method": "PUT", "method": "PUT",
"summary": "replace status of the specified Job", "summary": "replace status of the specified Ingress",
"nickname": "replaceNamespacedJobStatus", "nickname": "replaceNamespacedIngressStatus",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2412,7 +2353,7 @@ ...@@ -2412,7 +2353,7 @@
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "v1beta1.Job", "type": "v1beta1.Ingress",
"paramType": "body", "paramType": "body",
"name": "body", "name": "body",
"description": "", "description": "",
...@@ -2431,7 +2372,7 @@ ...@@ -2431,7 +2372,7 @@
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "name",
"description": "name of the Job", "description": "name of the Ingress",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -2440,7 +2381,7 @@ ...@@ -2440,7 +2381,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Job" "responseModel": "v1beta1.Ingress"
} }
], ],
"produces": [ "produces": [
...@@ -2453,14 +2394,14 @@ ...@@ -2453,14 +2394,14 @@
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale", "path": "/apis/extensions/v1beta1/namespaces/{namespace}/jobs",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "v1beta1.Scale", "type": "v1beta1.JobList",
"method": "GET", "method": "GET",
"summary": "read scale of the specified Scale", "summary": "list or watch objects of kind Job",
"nickname": "readNamespacedScaleScale", "nickname": "listNamespacedJob",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2472,17 +2413,49 @@ ...@@ -2472,17 +2413,49 @@
}, },
{ {
"type": "string", "type": "string",
"paramType": "path", "paramType": "query",
"name": "namespace", "name": "labelSelector",
"description": "object name and auth scope, such as for teams and projects", "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"required": true, "required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "fieldSelector",
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"required": false,
"allowMultiple": false
},
{
"type": "boolean",
"paramType": "query",
"name": "watch",
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "resourceVersion",
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.",
"required": false,
"allowMultiple": false
},
{
"type": "integer",
"paramType": "query",
"name": "timeoutSeconds",
"description": "Timeout for the list/watch call.",
"required": false,
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "namespace",
"description": "name of the Scale", "description": "object name and auth scope, such as for teams and projects",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -2491,7 +2464,7 @@ ...@@ -2491,7 +2464,7 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Scale" "responseModel": "v1beta1.JobList"
} }
], ],
"produces": [ "produces": [
...@@ -2502,10 +2475,10 @@ ...@@ -2502,10 +2475,10 @@
] ]
}, },
{ {
"type": "v1beta1.Scale", "type": "v1beta1.Job",
"method": "PUT", "method": "POST",
"summary": "replace scale of the specified Scale", "summary": "create a Job",
"nickname": "replaceNamespacedScaleScale", "nickname": "createNamespacedJob",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2516,7 +2489,7 @@ ...@@ -2516,7 +2489,7 @@
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "v1beta1.Scale", "type": "v1beta1.Job",
"paramType": "body", "paramType": "body",
"name": "body", "name": "body",
"description": "", "description": "",
...@@ -2530,21 +2503,13 @@ ...@@ -2530,21 +2503,13 @@
"description": "object name and auth scope, such as for teams and projects", "description": "object name and auth scope, such as for teams and projects",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Scale",
"required": true,
"allowMultiple": false
} }
], ],
"responseMessages": [ "responseMessages": [
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Scale" "responseModel": "v1beta1.Job"
} }
], ],
"produces": [ "produces": [
...@@ -2555,10 +2520,10 @@ ...@@ -2555,10 +2520,10 @@
] ]
}, },
{ {
"type": "v1beta1.Scale", "type": "unversioned.Status",
"method": "PATCH", "method": "DELETE",
"summary": "partially update scale of the specified Scale", "summary": "delete collection of Job",
"nickname": "patchNamespacedScaleScale", "nickname": "deletecollectionNamespacedJob",
"parameters": [ "parameters": [
{ {
"type": "string", "type": "string",
...@@ -2569,26 +2534,50 @@ ...@@ -2569,26 +2534,50 @@
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "unversioned.Patch", "type": "string",
"paramType": "body", "paramType": "query",
"name": "body", "name": "labelSelector",
"description": "", "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"required": true, "required": false,
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "string", "type": "string",
"paramType": "path", "paramType": "query",
"name": "namespace", "name": "fieldSelector",
"description": "object name and auth scope, such as for teams and projects", "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"required": true, "required": false,
"allowMultiple": false
},
{
"type": "boolean",
"paramType": "query",
"name": "watch",
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "resourceVersion",
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.",
"required": false,
"allowMultiple": false
},
{
"type": "integer",
"paramType": "query",
"name": "timeoutSeconds",
"description": "Timeout for the list/watch call.",
"required": false,
"allowMultiple": false "allowMultiple": false
}, },
{ {
"type": "string", "type": "string",
"paramType": "path", "paramType": "path",
"name": "name", "name": "namespace",
"description": "name of the Scale", "description": "object name and auth scope, such as for teams and projects",
"required": true, "required": true,
"allowMultiple": false "allowMultiple": false
} }
...@@ -2597,86 +2586,812 @@ ...@@ -2597,86 +2586,812 @@
{ {
"code": 200, "code": 200,
"message": "OK", "message": "OK",
"responseModel": "v1beta1.Scale" "responseModel": "unversioned.Status"
} }
], ],
"produces": [ "produces": [
"application/json" "application/json"
], ],
"consumes": [ "consumes": [
"application/json-patch+json", "*/*"
"application/merge-patch+json",
"application/strategic-merge-patch+json"
] ]
} }
] ]
}, },
{ {
"path": "/apis/extensions/v1beta1", "path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/jobs",
"description": "API at /apis/extensions/v1beta1", "description": "API at /apis/extensions/v1beta1",
"operations": [ "operations": [
{ {
"type": "void", "type": "json.WatchEvent",
"method": "GET", "method": "GET",
"summary": "get available resources", "summary": "watch individual changes to a list of Job",
"nickname": "getAPIResources", "nickname": "watchNamespacedJobList",
"parameters": [], "parameters": [
"produces": [ {
"application/json" "type": "string",
], "paramType": "query",
"consumes": [ "name": "pretty",
"application/json" "description": "If 'true', then the output is pretty printed.",
] "required": false,
} "allowMultiple": false
] },
} {
], "type": "string",
"models": { "paramType": "query",
"v1beta1.HorizontalPodAutoscalerList": { "name": "labelSelector",
"id": "v1beta1.HorizontalPodAutoscalerList", "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"description": "list of horizontal pod autoscaler objects.", "required": false,
"required": [ "allowMultiple": false
"items" },
], {
"properties": { "type": "string",
"kind": { "paramType": "query",
"type": "string", "name": "fieldSelector",
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
}, "required": false,
"apiVersion": { "allowMultiple": false
"type": "string", },
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" {
}, "type": "boolean",
"metadata": { "paramType": "query",
"$ref": "unversioned.ListMeta", "name": "watch",
"description": "Standard list metadata." "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
}, "required": false,
"items": { "allowMultiple": false
"type": "array", },
"items": { {
"$ref": "v1beta1.HorizontalPodAutoscaler" "type": "string",
}, "paramType": "query",
"description": "list of horizontal pod autoscaler objects." "name": "resourceVersion",
} "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.",
} "required": false,
}, "allowMultiple": false
"unversioned.ListMeta": { },
"id": "unversioned.ListMeta", {
"description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "type": "integer",
"properties": { "paramType": "query",
"selfLink": { "name": "timeoutSeconds",
"type": "string", "description": "Timeout for the list/watch call.",
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only." "required": false,
}, "allowMultiple": false
"resourceVersion": { },
"type": "string", {
"description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency" "type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "json.WatchEvent"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}",
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "v1beta1.Job",
"method": "GET",
"summary": "read the specified Job",
"nickname": "readNamespacedJob",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "boolean",
"paramType": "query",
"name": "export",
"description": "Should this value be exported. Export strips fields that a user can not specify.",
"required": false,
"allowMultiple": false
},
{
"type": "boolean",
"paramType": "query",
"name": "exact",
"description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Job",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Job"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
},
{
"type": "v1beta1.Job",
"method": "PUT",
"summary": "replace the specified Job",
"nickname": "replaceNamespacedJob",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "v1beta1.Job",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Job",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Job"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
},
{
"type": "v1beta1.Job",
"method": "PATCH",
"summary": "partially update the specified Job",
"nickname": "patchNamespacedJob",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "unversioned.Patch",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Job",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Job"
}
],
"produces": [
"application/json"
],
"consumes": [
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json"
]
},
{
"type": "unversioned.Status",
"method": "DELETE",
"summary": "delete a Job",
"nickname": "deleteNamespacedJob",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "v1.DeleteOptions",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Job",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "unversioned.Status"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{
"path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/jobs/{name}",
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "json.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind Job",
"nickname": "watchNamespacedJob",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "labelSelector",
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "fieldSelector",
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"required": false,
"allowMultiple": false
},
{
"type": "boolean",
"paramType": "query",
"name": "watch",
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "resourceVersion",
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.",
"required": false,
"allowMultiple": false
},
{
"type": "integer",
"paramType": "query",
"name": "timeoutSeconds",
"description": "Timeout for the list/watch call.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Job",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "json.WatchEvent"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{
"path": "/apis/extensions/v1beta1/jobs",
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "v1beta1.JobList",
"method": "GET",
"summary": "list or watch objects of kind Job",
"nickname": "listJob",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "labelSelector",
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "fieldSelector",
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"required": false,
"allowMultiple": false
},
{
"type": "boolean",
"paramType": "query",
"name": "watch",
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "resourceVersion",
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.",
"required": false,
"allowMultiple": false
},
{
"type": "integer",
"paramType": "query",
"name": "timeoutSeconds",
"description": "Timeout for the list/watch call.",
"required": false,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta1.JobList"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{
"path": "/apis/extensions/v1beta1/watch/jobs",
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "json.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Job",
"nickname": "watchJobList",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "labelSelector",
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "fieldSelector",
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"required": false,
"allowMultiple": false
},
{
"type": "boolean",
"paramType": "query",
"name": "watch",
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
"name": "resourceVersion",
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.",
"required": false,
"allowMultiple": false
},
{
"type": "integer",
"paramType": "query",
"name": "timeoutSeconds",
"description": "Timeout for the list/watch call.",
"required": false,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "json.WatchEvent"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{
"path": "/apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}/status",
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "v1beta1.Job",
"method": "PUT",
"summary": "replace status of the specified Job",
"nickname": "replaceNamespacedJobStatus",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "v1beta1.Job",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Job",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Job"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
} }
} ]
}, },
"v1beta1.HorizontalPodAutoscaler": { {
"id": "v1beta1.HorizontalPodAutoscaler", "path": "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale",
"description": "configuration of a horizontal pod autoscaler.", "description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "v1beta1.Scale",
"method": "GET",
"summary": "read scale of the specified Scale",
"nickname": "readNamespacedScaleScale",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Scale",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Scale"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
},
{
"type": "v1beta1.Scale",
"method": "PUT",
"summary": "replace scale of the specified Scale",
"nickname": "replaceNamespacedScaleScale",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "v1beta1.Scale",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Scale",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Scale"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
},
{
"type": "v1beta1.Scale",
"method": "PATCH",
"summary": "partially update scale of the specified Scale",
"nickname": "patchNamespacedScaleScale",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "unversioned.Patch",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Scale",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Scale"
}
],
"produces": [
"application/json"
],
"consumes": [
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json"
]
}
]
},
{
"path": "/apis/extensions/v1beta1",
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "void",
"method": "GET",
"summary": "get available resources",
"nickname": "getAPIResources",
"parameters": [],
"produces": [
"application/json"
],
"consumes": [
"application/json"
]
}
]
}
],
"models": {
"v1beta1.ConfigMapList": {
"id": "v1beta1.ConfigMapList",
"description": "ConfigMapList is a resource containing a list of ConfigMap objects.",
"properties": { "properties": {
"kind": { "kind": {
"type": "string", "type": "string",
...@@ -2687,16 +3402,51 @@ ...@@ -2687,16 +3402,51 @@
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources"
}, },
"metadata": { "metadata": {
"$ref": "v1.ObjectMeta", "$ref": "unversioned.ListMeta",
"description": "Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" "description": "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata"
}, },
"spec": { "items": {
"$ref": "v1beta1.HorizontalPodAutoscalerSpec", "type": "array",
"description": "behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status." "items": {
"$ref": "v1beta1.ConfigMap"
},
"description": "Items is the list of ConfigMaps."
}
}
},
"unversioned.ListMeta": {
"id": "unversioned.ListMeta",
"description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
"properties": {
"selfLink": {
"type": "string",
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only."
},
"resourceVersion": {
"type": "string",
"description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency"
}
}
},
"v1beta1.ConfigMap": {
"id": "v1beta1.ConfigMap",
"description": "ConfigMap holds configuration data for pods to consume.",
"properties": {
"kind": {
"type": "string",
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds"
},
"apiVersion": {
"type": "string",
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources"
}, },
"status": { "metadata": {
"$ref": "v1beta1.HorizontalPodAutoscalerStatus", "$ref": "v1.ObjectMeta",
"description": "current information about the autoscaler." "description": "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata."
},
"data": {
"type": "any",
"description": "Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot."
} }
} }
}, },
...@@ -2756,103 +3506,6 @@ ...@@ -2756,103 +3506,6 @@
} }
} }
}, },
"v1beta1.HorizontalPodAutoscalerSpec": {
"id": "v1beta1.HorizontalPodAutoscalerSpec",
"description": "specification of a horizontal pod autoscaler.",
"required": [
"scaleRef",
"maxReplicas"
],
"properties": {
"scaleRef": {
"$ref": "v1beta1.SubresourceReference",
"description": "reference to Scale subresource; horizontal pod autoscaler will learn the current resource consumption from its status, and will set the desired number of pods by modifying its spec."
},
"minReplicas": {
"type": "integer",
"format": "int32",
"description": "lower limit for the number of pods that can be set by the autoscaler, default 1."
},
"maxReplicas": {
"type": "integer",
"format": "int32",
"description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas."
},
"cpuUtilization": {
"$ref": "v1beta1.CPUTargetUtilization",
"description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified it defaults to the target CPU utilization at 80% of the requested resources."
}
}
},
"v1beta1.SubresourceReference": {
"id": "v1beta1.SubresourceReference",
"description": "SubresourceReference contains enough information to let you inspect or modify the referred subresource.",
"properties": {
"kind": {
"type": "string",
"description": "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\""
},
"name": {
"type": "string",
"description": "Name of the referent; More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names"
},
"apiVersion": {
"type": "string",
"description": "API version of the referent"
},
"subresource": {
"type": "string",
"description": "Subresource name of the referent"
}
}
},
"v1beta1.CPUTargetUtilization": {
"id": "v1beta1.CPUTargetUtilization",
"required": [
"targetPercentage"
],
"properties": {
"targetPercentage": {
"type": "integer",
"format": "int32",
"description": "fraction of the requested CPU that should be utilized/used, e.g. 70 means that 70% of the requested CPU should be in use."
}
}
},
"v1beta1.HorizontalPodAutoscalerStatus": {
"id": "v1beta1.HorizontalPodAutoscalerStatus",
"description": "current status of a horizontal pod autoscaler",
"required": [
"currentReplicas",
"desiredReplicas"
],
"properties": {
"observedGeneration": {
"type": "integer",
"format": "int64",
"description": "most recent generation observed by this autoscaler."
},
"lastScaleTime": {
"type": "string",
"description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed."
},
"currentReplicas": {
"type": "integer",
"format": "int32",
"description": "current number of replicas of pods managed by this autoscaler."
},
"desiredReplicas": {
"type": "integer",
"format": "int32",
"description": "desired number of replicas of pods managed by this autoscaler."
},
"currentCPUUtilizationPercentage": {
"type": "integer",
"format": "int32",
"description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU."
}
}
},
"unversioned.Status": { "unversioned.Status": {
"id": "unversioned.Status", "id": "unversioned.Status",
"description": "Status is a return value for calls that don't return other objects.", "description": "Status is a return value for calls that don't return other objects.",
...@@ -2980,6 +3633,157 @@ ...@@ -2980,6 +3633,157 @@
} }
} }
}, },
"v1beta1.HorizontalPodAutoscalerList": {
"id": "v1beta1.HorizontalPodAutoscalerList",
"description": "list of horizontal pod autoscaler objects.",
"required": [
"items"
],
"properties": {
"kind": {
"type": "string",
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds"
},
"apiVersion": {
"type": "string",
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources"
},
"metadata": {
"$ref": "unversioned.ListMeta",
"description": "Standard list metadata."
},
"items": {
"type": "array",
"items": {
"$ref": "v1beta1.HorizontalPodAutoscaler"
},
"description": "list of horizontal pod autoscaler objects."
}
}
},
"v1beta1.HorizontalPodAutoscaler": {
"id": "v1beta1.HorizontalPodAutoscaler",
"description": "configuration of a horizontal pod autoscaler.",
"properties": {
"kind": {
"type": "string",
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds"
},
"apiVersion": {
"type": "string",
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources"
},
"metadata": {
"$ref": "v1.ObjectMeta",
"description": "Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata"
},
"spec": {
"$ref": "v1beta1.HorizontalPodAutoscalerSpec",
"description": "behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status."
},
"status": {
"$ref": "v1beta1.HorizontalPodAutoscalerStatus",
"description": "current information about the autoscaler."
}
}
},
"v1beta1.HorizontalPodAutoscalerSpec": {
"id": "v1beta1.HorizontalPodAutoscalerSpec",
"description": "specification of a horizontal pod autoscaler.",
"required": [
"scaleRef",
"maxReplicas"
],
"properties": {
"scaleRef": {
"$ref": "v1beta1.SubresourceReference",
"description": "reference to Scale subresource; horizontal pod autoscaler will learn the current resource consumption from its status, and will set the desired number of pods by modifying its spec."
},
"minReplicas": {
"type": "integer",
"format": "int32",
"description": "lower limit for the number of pods that can be set by the autoscaler, default 1."
},
"maxReplicas": {
"type": "integer",
"format": "int32",
"description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas."
},
"cpuUtilization": {
"$ref": "v1beta1.CPUTargetUtilization",
"description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified it defaults to the target CPU utilization at 80% of the requested resources."
}
}
},
"v1beta1.SubresourceReference": {
"id": "v1beta1.SubresourceReference",
"description": "SubresourceReference contains enough information to let you inspect or modify the referred subresource.",
"properties": {
"kind": {
"type": "string",
"description": "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\""
},
"name": {
"type": "string",
"description": "Name of the referent; More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names"
},
"apiVersion": {
"type": "string",
"description": "API version of the referent"
},
"subresource": {
"type": "string",
"description": "Subresource name of the referent"
}
}
},
"v1beta1.CPUTargetUtilization": {
"id": "v1beta1.CPUTargetUtilization",
"required": [
"targetPercentage"
],
"properties": {
"targetPercentage": {
"type": "integer",
"format": "int32",
"description": "fraction of the requested CPU that should be utilized/used, e.g. 70 means that 70% of the requested CPU should be in use."
}
}
},
"v1beta1.HorizontalPodAutoscalerStatus": {
"id": "v1beta1.HorizontalPodAutoscalerStatus",
"description": "current status of a horizontal pod autoscaler",
"required": [
"currentReplicas",
"desiredReplicas"
],
"properties": {
"observedGeneration": {
"type": "integer",
"format": "int64",
"description": "most recent generation observed by this autoscaler."
},
"lastScaleTime": {
"type": "string",
"description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed."
},
"currentReplicas": {
"type": "integer",
"format": "int32",
"description": "current number of replicas of pods managed by this autoscaler."
},
"desiredReplicas": {
"type": "integer",
"format": "int32",
"description": "desired number of replicas of pods managed by this autoscaler."
},
"currentCPUUtilizationPercentage": {
"type": "integer",
"format": "int32",
"description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU."
}
}
},
"v1beta1.IngressList": { "v1beta1.IngressList": {
"id": "v1beta1.IngressList", "id": "v1beta1.IngressList",
"description": "IngressList is a collection of Ingress.", "description": "IngressList is a collection of Ingress.",
......
...@@ -316,6 +316,7 @@ _kubectl_get() ...@@ -316,6 +316,7 @@ _kubectl_get()
must_have_one_flag=() must_have_one_flag=()
must_have_one_noun=() must_have_one_noun=()
must_have_one_noun+=("componentstatus") must_have_one_noun+=("componentstatus")
must_have_one_noun+=("configmap")
must_have_one_noun+=("daemonset") must_have_one_noun+=("daemonset")
must_have_one_noun+=("deployment") must_have_one_noun+=("deployment")
must_have_one_noun+=("endpoints") must_have_one_noun+=("endpoints")
...@@ -383,6 +384,7 @@ _kubectl_describe() ...@@ -383,6 +384,7 @@ _kubectl_describe()
must_have_one_flag=() must_have_one_flag=()
must_have_one_noun=() must_have_one_noun=()
must_have_one_noun+=("configmap")
must_have_one_noun+=("daemonset") must_have_one_noun+=("daemonset")
must_have_one_noun+=("deployment") must_have_one_noun+=("deployment")
must_have_one_noun+=("endpoints") must_have_one_noun+=("endpoints")
...@@ -808,6 +810,7 @@ _kubectl_delete() ...@@ -808,6 +810,7 @@ _kubectl_delete()
must_have_one_flag=() must_have_one_flag=()
must_have_one_noun=() must_have_one_noun=()
must_have_one_noun+=("componentstatus") must_have_one_noun+=("componentstatus")
must_have_one_noun+=("configmap")
must_have_one_noun+=("daemonset") must_have_one_noun+=("daemonset")
must_have_one_noun+=("deployment") must_have_one_noun+=("deployment")
must_have_one_noun+=("endpoints") must_have_one_noun+=("endpoints")
...@@ -1712,6 +1715,7 @@ _kubectl_label() ...@@ -1712,6 +1715,7 @@ _kubectl_label()
must_have_one_flag=() must_have_one_flag=()
must_have_one_noun=() must_have_one_noun=()
must_have_one_noun+=("componentstatus") must_have_one_noun+=("componentstatus")
must_have_one_noun+=("configmap")
must_have_one_noun+=("daemonset") must_have_one_noun+=("daemonset")
must_have_one_noun+=("deployment") must_have_one_noun+=("deployment")
must_have_one_noun+=("endpoints") must_have_one_noun+=("endpoints")
......
...@@ -390,6 +390,12 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } ...@@ -390,6 +390,12 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<li> <li>
<p><a href="#_v1beta1_ingresslist">v1beta1.IngressList</a></p> <p><a href="#_v1beta1_ingresslist">v1beta1.IngressList</a></p>
</li> </li>
<li>
<p><a href="#_v1beta1_configmap">v1beta1.ConfigMap</a></p>
</li>
<li>
<p><a href="#_v1beta1_configmaplist">v1beta1.ConfigMapList</a></p>
</li>
</ul> </ul>
</div> </div>
</div> </div>
...@@ -1610,10 +1616,7 @@ Both these may change in the future. Incoming requests are matched against the h ...@@ -1610,10 +1616,7 @@ Both these may change in the future. Incoming requests are matched against the h
</div> </div>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_loadbalancerstatus">v1.LoadBalancerStatus</h3> <h3 id="_v1beta1_cputargetutilization">v1beta1.CPUTargetUtilization</h3>
<div class="paragraph">
<p>LoadBalancerStatus represents the status of a load-balancer.</p>
</div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
<col style="width:20%;"> <col style="width:20%;">
...@@ -1633,10 +1636,10 @@ Both these may change in the future. Incoming requests are matched against the h ...@@ -1633,10 +1636,10 @@ Both these may change in the future. Incoming requests are matched against the h
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">ingress</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">targetPercentage</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">fraction of the requested CPU that should be utilized/used, e.g. 70 means that 70% of the requested CPU should be in use.</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">true</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_loadbalanceringress">v1.LoadBalancerIngress</a> array</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">integer (int32)</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
</tbody> </tbody>
...@@ -1644,7 +1647,10 @@ Both these may change in the future. Incoming requests are matched against the h ...@@ -1644,7 +1647,10 @@ Both these may change in the future. Incoming requests are matched against the h
</div> </div>
<div class="sect2"> <div class="sect2">
<h3 id="_v1beta1_cputargetutilization">v1beta1.CPUTargetUtilization</h3> <h3 id="_v1_loadbalancerstatus">v1.LoadBalancerStatus</h3>
<div class="paragraph">
<p>LoadBalancerStatus represents the status of a load-balancer.</p>
</div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
<col style="width:20%;"> <col style="width:20%;">
...@@ -1664,10 +1670,10 @@ Both these may change in the future. Incoming requests are matched against the h ...@@ -1664,10 +1670,10 @@ Both these may change in the future. Incoming requests are matched against the h
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">targetPercentage</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">ingress</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">fraction of the requested CPU that should be utilized/used, e.g. 70 means that 70% of the requested CPU should be in use.</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</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 (int32)</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_loadbalanceringress">v1.LoadBalancerIngress</a> array</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
</tbody> </tbody>
...@@ -1926,6 +1932,61 @@ Both these may change in the future. Incoming requests are matched against the h ...@@ -1926,6 +1932,61 @@ Both these may change in the future. Incoming requests are matched against the h
</div> </div>
<div class="sect2"> <div class="sect2">
<h3 id="_v1beta1_configmap">v1beta1.ConfigMap</h3>
<div class="paragraph">
<p>ConfigMap holds configuration data for pods to consume.</p>
</div>
<table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup>
<col style="width:20%;">
<col style="width:20%;">
<col style="width:20%;">
<col style="width:20%;">
<col style="width:20%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">Name</th>
<th class="tableblock halign-left valign-top">Description</th>
<th class="tableblock halign-left valign-top">Required</th>
<th class="tableblock halign-left valign-top">Schema</th>
<th class="tableblock halign-left valign-top">Default</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">kind</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: <a href="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds</a></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">string</p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">apiVersion</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: <a href="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources</a></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">string</p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">metadata</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Standard object metadata; More info: <a href="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata</a>.</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"><a href="#_v1_objectmeta">v1.ObjectMeta</a></p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">data</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.</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"><a href="#_any">any</a></p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
</tbody>
</table>
</div>
<div class="sect2">
<h3 id="_v1_objectmeta">v1.ObjectMeta</h3> <h3 id="_v1_objectmeta">v1.ObjectMeta</h3>
<div class="paragraph"> <div class="paragraph">
<p>ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.</p> <p>ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.</p>
...@@ -2472,6 +2533,40 @@ Populated by the system when a graceful deletion is requested. Read-only. More i ...@@ -2472,6 +2533,40 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
</div> </div>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_flockervolumesource">v1.FlockerVolumeSource</h3>
<div class="paragraph">
<p>Represents a Flocker volume mounted by the Flocker agent. Flocker volumes do not support ownership management or SELinux relabeling.</p>
</div>
<table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup>
<col style="width:20%;">
<col style="width:20%;">
<col style="width:20%;">
<col style="width:20%;">
<col style="width:20%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">Name</th>
<th class="tableblock halign-left valign-top">Description</th>
<th class="tableblock halign-left valign-top">Required</th>
<th class="tableblock halign-left valign-top">Schema</th>
<th class="tableblock halign-left valign-top">Default</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">datasetName</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Required: the volume name. This is going to be store on metadata &#8594; name on the payload for Flocker</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
</tbody>
</table>
</div>
<div class="sect2">
<h3 id="_v1_awselasticblockstorevolumesource">v1.AWSElasticBlockStoreVolumeSource</h3> <h3 id="_v1_awselasticblockstorevolumesource">v1.AWSElasticBlockStoreVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>Represents a Persistent Disk resource in AWS.</p> <p>Represents a Persistent Disk resource in AWS.</p>
...@@ -2571,9 +2666,9 @@ Populated by the system when a graceful deletion is requested. Read-only. More i ...@@ -2571,9 +2666,9 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
</div> </div>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_flockervolumesource">v1.FlockerVolumeSource</h3> <h3 id="_v1beta1_horizontalpodautoscalerspec">v1beta1.HorizontalPodAutoscalerSpec</h3>
<div class="paragraph"> <div class="paragraph">
<p>Represents a Flocker volume mounted by the Flocker agent. Flocker volumes do not support ownership management or SELinux relabeling.</p> <p>specification of a horizontal pod autoscaler.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
...@@ -2594,10 +2689,31 @@ Populated by the system when a graceful deletion is requested. Read-only. More i ...@@ -2594,10 +2689,31 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">datasetName</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">scaleRef</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Required: the volume name. This is going to be store on metadata &#8594; name on the payload for Flocker</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">reference to Scale subresource; horizontal pod autoscaler will learn the current resource consumption from its status, and will set the desired number of pods by modifying its spec.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1beta1_subresourcereference">v1beta1.SubresourceReference</a></p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">minReplicas</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">lower limit for the number of pods that can be set by the autoscaler, default 1.</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 (int32)</p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">maxReplicas</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int32)</p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">cpuUtilization</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified it defaults to the target CPU utilization at 80% of the requested resources.</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"><a href="#_v1beta1_cputargetutilization">v1beta1.CPUTargetUtilization</a></p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
</tbody> </tbody>
...@@ -2605,9 +2721,9 @@ Populated by the system when a graceful deletion is requested. Read-only. More i ...@@ -2605,9 +2721,9 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
</div> </div>
<div class="sect2"> <div class="sect2">
<h3 id="_unversioned_listmeta">unversioned.ListMeta</h3> <h3 id="_v1beta1_configmaplist">v1beta1.ConfigMapList</h3>
<div class="paragraph"> <div class="paragraph">
<p>ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.</p> <p>ConfigMapList is a resource containing a list of ConfigMap objects.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
...@@ -2628,27 +2744,41 @@ Populated by the system when a graceful deletion is requested. Read-only. More i ...@@ -2628,27 +2744,41 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">selfLink</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">kind</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">SelfLink is a URL representing this object. Populated by the system. Read-only.</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: <a href="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds</a></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">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">resourceVersion</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">apiVersion</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">String that identifies the server&#8217;s internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: <a href="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: <a href="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources</a></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">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">metadata</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">More info: <a href="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata</a></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"><a href="#_unversioned_listmeta">unversioned.ListMeta</a></p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">items</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Items is the list of ConfigMaps.</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"><a href="#_v1beta1_configmap">v1beta1.ConfigMap</a> array</p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<div class="sect2"> <div class="sect2">
<h3 id="_v1beta1_horizontalpodautoscalerspec">v1beta1.HorizontalPodAutoscalerSpec</h3> <h3 id="_unversioned_listmeta">unversioned.ListMeta</h3>
<div class="paragraph"> <div class="paragraph">
<p>specification of a horizontal pod autoscaler.</p> <p>ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
...@@ -2669,31 +2799,17 @@ Populated by the system when a graceful deletion is requested. Read-only. More i ...@@ -2669,31 +2799,17 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">scaleRef</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">selfLink</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">reference to Scale subresource; horizontal pod autoscaler will learn the current resource consumption from its status, and will set the desired number of pods by modifying its spec.</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">SelfLink is a URL representing this object. Populated by the system. Read-only.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1beta1_subresourcereference">v1beta1.SubresourceReference</a></p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">minReplicas</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">lower limit for the number of pods that can be set by the autoscaler, default 1.</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 (int32)</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">maxReplicas</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int32)</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">cpuUtilization</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">resourceVersion</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified it defaults to the target CPU utilization at 80% of the requested resources.</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">String that identifies the server&#8217;s internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: <a href="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency</a></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"><a href="#_v1beta1_cputargetutilization">v1beta1.CPUTargetUtilization</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
</tbody> </tbody>
...@@ -4361,7 +4477,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i ...@@ -4361,7 +4477,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
</div> </div>
<div id="footer"> <div id="footer">
<div id="footer-text"> <div id="footer-text">
Last updated 2015-12-29 09:07:13 UTC Last updated 2016-01-06 14:06:54 UTC
</div> </div>
</div> </div>
</body> </body>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
apiVersion: extensions/v1beta1
kind: ConfigMap
metadata:
name: test-configmap
data:
data-1: value-1
data-2: value-2
...@@ -1064,6 +1064,14 @@ __EOF__ ...@@ -1064,6 +1064,14 @@ __EOF__
kubectl delete rc -l deployment.kubernetes.io/podTemplateHash "${kube_flags[@]}" kubectl delete rc -l deployment.kubernetes.io/podTemplateHash "${kube_flags[@]}"
###################### ######################
# ConfigMap #
######################
kubectl create -f docs/user-guide/configmap/config-map.yaml
kube::test::get_object_assert configmap "{{range.items}}{{$id_field}}{{end}}" 'test-configmap'
kubectl delete configmap test-configmap "${kube_flags[@]}"
######################
# Multiple Resources # # Multiple Resources #
###################### ######################
......
...@@ -90,6 +90,7 @@ func describerMap(c *client.Client) map[unversioned.GroupKind]Describer { ...@@ -90,6 +90,7 @@ func describerMap(c *client.Client) map[unversioned.GroupKind]Describer {
extensions.Kind("Job"): &JobDescriber{c}, extensions.Kind("Job"): &JobDescriber{c},
extensions.Kind("Deployment"): &DeploymentDescriber{c}, extensions.Kind("Deployment"): &DeploymentDescriber{c},
extensions.Kind("Ingress"): &IngressDescriber{c}, extensions.Kind("Ingress"): &IngressDescriber{c},
extensions.Kind("ConfigMap"): &ConfigMapDescriber{c},
} }
return m return m
...@@ -1693,6 +1694,38 @@ func getPodStatusForController(c client.PodInterface, selector labels.Selector) ...@@ -1693,6 +1694,38 @@ func getPodStatusForController(c client.PodInterface, selector labels.Selector)
return return
} }
// ConfigMapDescriber generates information about a ConfigMap
type ConfigMapDescriber struct {
client.Interface
}
func (d *ConfigMapDescriber) Describe(namespace, name string) (string, error) {
c := d.Extensions().ConfigMaps(namespace)
configMap, err := c.Get(name)
if err != nil {
return "", err
}
return describeConfigMap(configMap)
}
func describeConfigMap(configMap *extensions.ConfigMap) (string, error) {
return tabbedString(func(out io.Writer) error {
fmt.Fprintf(out, "Name:\t%s\n", configMap.Name)
fmt.Fprintf(out, "Namespace:\t%s\n", configMap.Namespace)
fmt.Fprintf(out, "Labels:\t%s\n", labels.FormatLabels(configMap.Labels))
fmt.Fprintf(out, "Annotations:\t%s\n", labels.FormatLabels(configMap.Annotations))
fmt.Fprintf(out, "\nData\n====\n")
for k, v := range configMap.Data {
fmt.Fprintf(out, "%s:\t%d bytes\n", k, len(v))
}
return nil
})
}
// newErrNoDescriber creates a new ErrNoDescriber with the names of the provided types. // newErrNoDescriber creates a new ErrNoDescriber with the names of the provided types.
func newErrNoDescriber(types ...reflect.Type) error { func newErrNoDescriber(types ...reflect.Type) error {
names := []string{} names := []string{}
......
...@@ -428,6 +428,7 @@ var thirdPartyResourceColumns = []string{"NAME", "DESCRIPTION", "VERSION(S)"} ...@@ -428,6 +428,7 @@ var thirdPartyResourceColumns = []string{"NAME", "DESCRIPTION", "VERSION(S)"}
var horizontalPodAutoscalerColumns = []string{"NAME", "REFERENCE", "TARGET", "CURRENT", "MINPODS", "MAXPODS", "AGE"} var horizontalPodAutoscalerColumns = []string{"NAME", "REFERENCE", "TARGET", "CURRENT", "MINPODS", "MAXPODS", "AGE"}
var withNamespacePrefixColumns = []string{"NAMESPACE"} // TODO(erictune): print cluster name too. var withNamespacePrefixColumns = []string{"NAMESPACE"} // TODO(erictune): print cluster name too.
var deploymentColumns = []string{"NAME", "UPDATEDREPLICAS", "AGE"} var deploymentColumns = []string{"NAME", "UPDATEDREPLICAS", "AGE"}
var configMapColumns = []string{"NAME", "DATA", "AGE"}
// addDefaultHandlers adds print handlers for default Kubernetes types. // addDefaultHandlers adds print handlers for default Kubernetes types.
func (h *HumanReadablePrinter) addDefaultHandlers() { func (h *HumanReadablePrinter) addDefaultHandlers() {
...@@ -473,6 +474,8 @@ func (h *HumanReadablePrinter) addDefaultHandlers() { ...@@ -473,6 +474,8 @@ func (h *HumanReadablePrinter) addDefaultHandlers() {
h.Handler(deploymentColumns, printDeploymentList) h.Handler(deploymentColumns, printDeploymentList)
h.Handler(horizontalPodAutoscalerColumns, printHorizontalPodAutoscaler) h.Handler(horizontalPodAutoscalerColumns, printHorizontalPodAutoscaler)
h.Handler(horizontalPodAutoscalerColumns, printHorizontalPodAutoscalerList) h.Handler(horizontalPodAutoscalerColumns, printHorizontalPodAutoscalerList)
h.Handler(configMapColumns, printConfigMap)
h.Handler(configMapColumns, printConfigMapList)
} }
func (h *HumanReadablePrinter) unknown(data []byte, w io.Writer) error { func (h *HumanReadablePrinter) unknown(data []byte, w io.Writer) error {
...@@ -1461,6 +1464,31 @@ func printHorizontalPodAutoscalerList(list *extensions.HorizontalPodAutoscalerLi ...@@ -1461,6 +1464,31 @@ func printHorizontalPodAutoscalerList(list *extensions.HorizontalPodAutoscalerLi
return nil return nil
} }
func printConfigMap(configMap *extensions.ConfigMap, w io.Writer, options printOptions) error {
name := configMap.Name
namespace := configMap.Namespace
if options.withNamespace {
if _, err := fmt.Fprintf(w, "%s\t", namespace); err != nil {
return err
}
}
if _, err := fmt.Fprintf(w, "%s\t%v\t%s", name, len(configMap.Data), translateTimestamp(configMap.CreationTimestamp)); err != nil {
return err
}
_, err := fmt.Fprint(w, appendLabels(configMap.Labels, options.columnLabels))
return err
}
func printConfigMapList(list *extensions.ConfigMapList, w io.Writer, options printOptions) error {
for i := range list.Items {
if err := printConfigMap(&list.Items[i], w, options); err != nil {
return err
}
}
return nil
}
func appendLabels(itemLabels map[string]string, columnLabels []string) string { func appendLabels(itemLabels map[string]string, columnLabels []string) string {
var buffer bytes.Buffer var buffer bytes.Buffer
......
...@@ -37,6 +37,7 @@ import ( ...@@ -37,6 +37,7 @@ import (
kubeletclient "k8s.io/kubernetes/pkg/kubelet/client" kubeletclient "k8s.io/kubernetes/pkg/kubelet/client"
"k8s.io/kubernetes/pkg/master/ports" "k8s.io/kubernetes/pkg/master/ports"
"k8s.io/kubernetes/pkg/registry/componentstatus" "k8s.io/kubernetes/pkg/registry/componentstatus"
configmapetcd "k8s.io/kubernetes/pkg/registry/configmap/etcd"
controlleretcd "k8s.io/kubernetes/pkg/registry/controller/etcd" controlleretcd "k8s.io/kubernetes/pkg/registry/controller/etcd"
deploymentetcd "k8s.io/kubernetes/pkg/registry/deployment/etcd" deploymentetcd "k8s.io/kubernetes/pkg/registry/deployment/etcd"
"k8s.io/kubernetes/pkg/registry/endpoint" "k8s.io/kubernetes/pkg/registry/endpoint"
...@@ -557,7 +558,7 @@ func (m *Master) thirdpartyapi(group, kind, version string) *apiserver.APIGroupV ...@@ -557,7 +558,7 @@ func (m *Master) thirdpartyapi(group, kind, version string) *apiserver.APIGroupV
// getExperimentalResources returns the resources for extenstions api // getExperimentalResources returns the resources for extenstions api
func (m *Master) getExtensionResources(c *Config) map[string]rest.Storage { func (m *Master) getExtensionResources(c *Config) map[string]rest.Storage {
// All resources except these are disabled by default. // All resources except these are disabled by default.
enabledResources := sets.NewString("jobs", "horizontalpodautoscalers", "ingresses") enabledResources := sets.NewString("jobs", "horizontalpodautoscalers", "ingresses", "configmaps")
resourceOverrides := m.ApiGroupVersionOverrides["extensions/v1beta1"].ResourceOverrides resourceOverrides := m.ApiGroupVersionOverrides["extensions/v1beta1"].ResourceOverrides
isEnabled := func(resource string) bool { isEnabled := func(resource string) bool {
// Check if the resource has been overriden. // Check if the resource has been overriden.
...@@ -619,6 +620,10 @@ func (m *Master) getExtensionResources(c *Config) map[string]rest.Storage { ...@@ -619,6 +620,10 @@ func (m *Master) getExtensionResources(c *Config) map[string]rest.Storage {
storage["ingresses"] = ingressStorage storage["ingresses"] = ingressStorage
storage["ingresses/status"] = ingressStatusStorage storage["ingresses/status"] = ingressStatusStorage
} }
if isEnabled("configmaps") {
storage["configmaps"] = configmapetcd.NewREST(dbClient("configmaps"), storageDecorator)
}
return storage return storage
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment