kubernetes/api/swagger-spec
Kubernetes Submit Queue 94795b3931
Merge pull request #54998 from tengqm/autoscale-api-doc
Automatic merge from submit-queue (batch tested with PRs 56410, 56707, 56661, 54998, 56722). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix autoscaling API documentation

**What this PR does / why we need it**:
This PR fixes the API documentation generated for HorizontalPodAutoscaler resource.

**Which issue(s) this PR fixes**:
The current API doc for `MetricSpec` and `MetricStatus` is confusing. Users get no idea what can be used as the value for the `type` field, because the doc says this:

```
type is the type of metric source. It should match one of the fields below.
```

While acceptable in the source code, it makes no senses when reading the API doc, especially when the "`type`" field is listed as the last row in a table (see: https://kubernetes.io/docs/api-reference/v1.8/#metricspec-v2beta1-autoscaling )

**Special notes for your reviewer**:
This PR makes no changes to the code behavior.

**Release note**:
```release-note
NONE
```
2017-12-16 05:46:37 -08:00
..
admissionregistration.k8s.io_v1alpha1.json update-all generated 2017-11-21 13:00:40 -08:00
admissionregistration.k8s.io_v1beta1.json update-all generated 2017-11-21 13:00:40 -08:00
admissionregistration.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
api.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
apis.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
apps_v1.json Mark Flexvolume as GA 2017-12-12 14:53:40 -05:00
apps_v1alpha1.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
apps_v1beta1.json Mark Flexvolume as GA 2017-12-12 14:53:40 -05:00
apps_v1beta2.json Mark Flexvolume as GA 2017-12-12 14:53:40 -05:00
apps.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
authentication.k8s.io_v1.json Update deletionTimestamp with information about finalizer effect 2017-11-03 10:48:48 +08:00
authentication.k8s.io_v1beta1.json Update deletionTimestamp with information about finalizer effect 2017-11-03 10:48:48 +08:00
authentication.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
authorization.k8s.io_v1.json autogenerated 2017-11-03 13:46:29 -07:00
authorization.k8s.io_v1beta1.json autogenerated 2017-11-03 13:46:29 -07:00
authorization.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
autoscaling_v1.json Merge pull request #54936 from wackxu/deletime 2017-11-03 12:59:16 -07:00
autoscaling_v2beta1.json Merge pull request #54998 from tengqm/autoscale-api-doc 2017-12-16 05:46:37 -08:00
autoscaling.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
batch_v1.json Mark Flexvolume as GA 2017-12-12 14:53:40 -05:00
batch_v1beta1.json Mark Flexvolume as GA 2017-12-12 14:53:40 -05:00
batch_v2alpha1.json Mark Flexvolume as GA 2017-12-12 14:53:40 -05:00
batch.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
certificates.k8s.io_v1beta1.json Merge pull request #54936 from wackxu/deletime 2017-11-03 12:59:16 -07:00
certificates.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
events.k8s.io_v1beta1.json generated 2017-11-22 18:40:09 +00:00
events.k8s.io.json generated 2017-11-22 18:40:09 +00:00
extensions_v1beta1.json Mark Flexvolume as GA 2017-12-12 14:53:40 -05:00
extensions.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
logs.json Update generated proto and swagger docs 2016-09-12 18:47:03 -07:00
networking.k8s.io_v1.json Merge pull request #54936 from wackxu/deletime 2017-11-03 12:59:16 -07:00
networking.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
policy_v1alpha1.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
policy_v1beta1.json Merge pull request #54936 from wackxu/deletime 2017-11-03 12:59:16 -07:00
policy.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
rbac.authorization.k8s.io_v1.json generated 2017-11-13 08:18:00 -05:00
rbac.authorization.k8s.io_v1alpha1.json generated 2017-11-13 08:18:00 -05:00
rbac.authorization.k8s.io_v1beta1.json generated 2017-11-13 08:18:00 -05:00
rbac.authorization.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
resourceListing.json generated 2017-11-22 18:40:09 +00:00
scheduling.k8s.io_v1alpha1.json Merge pull request #54936 from wackxu/deletime 2017-11-03 12:59:16 -07:00
scheduling.k8s.io.json autogenerated files 2017-07-18 17:47:57 -07:00
settings.k8s.io_v1alpha1.json Mark Flexvolume as GA 2017-12-12 14:53:40 -05:00
settings.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
storage.authorization.k8s.io_v1beta1.json generated code for moving StorageClass 2016-09-06 08:41:17 -04:00
storage.k8s.io_v1.json generated files 2017-11-15 09:19:48 -08:00
storage.k8s.io_v1alpha1.json Generated files for new VolumeAttachemnt object 2017-11-14 17:08:49 -08:00
storage.k8s.io_v1beta1.json generated files 2017-11-15 09:19:48 -08:00
storage.k8s.io.json Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
v1.json Generated files 2017-12-15 00:29:38 -05:00
version.json update autogenerated 2016-08-18 14:14:52 -07:00