Commit 73727e37 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #39439 from smarterclayton/version_watch

Automatic merge from submit-queue (batch tested with PRs 37845, 39439, 39514, 39457, 38866) Move watch/versioned to pkg/apis/meta/v1/watch.go Watch is a part of the server API
parents f9d95bcd 5c4fccba
......@@ -226,7 +226,7 @@
"description": "API at /apis/apps/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of StatefulSet",
"nickname": "watchNamespacedStatefulSetList",
......@@ -292,7 +292,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -565,7 +565,7 @@
"description": "API at /apis/apps/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind StatefulSet",
"nickname": "watchNamespacedStatefulSet",
......@@ -639,7 +639,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -739,7 +739,7 @@
"description": "API at /apis/apps/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of StatefulSet",
"nickname": "watchStatefulSetListForAllNamespaces",
......@@ -797,7 +797,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -3018,8 +3018,8 @@
}
}
},
"versioned.Event": {
"id": "versioned.Event",
"v1.WatchEvent": {
"id": "v1.WatchEvent",
"required": [
"type",
"object"
......
......@@ -226,7 +226,7 @@
"description": "API at /apis/autoscaling/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of HorizontalPodAutoscaler",
"nickname": "watchNamespacedHorizontalPodAutoscalerList",
......@@ -292,7 +292,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -565,7 +565,7 @@
"description": "API at /apis/autoscaling/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind HorizontalPodAutoscaler",
"nickname": "watchNamespacedHorizontalPodAutoscaler",
......@@ -639,7 +639,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -739,7 +739,7 @@
"description": "API at /apis/autoscaling/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of HorizontalPodAutoscaler",
"nickname": "watchHorizontalPodAutoscalerListForAllNamespaces",
......@@ -797,7 +797,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1349,8 +1349,8 @@
}
}
},
"versioned.Event": {
"id": "versioned.Event",
"v1.WatchEvent": {
"id": "v1.WatchEvent",
"required": [
"type",
"object"
......
......@@ -226,7 +226,7 @@
"description": "API at /apis/batch/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Job",
"nickname": "watchNamespacedJobList",
......@@ -292,7 +292,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -565,7 +565,7 @@
"description": "API at /apis/batch/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind Job",
"nickname": "watchNamespacedJob",
......@@ -639,7 +639,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -739,7 +739,7 @@
"description": "API at /apis/batch/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Job",
"nickname": "watchJobListForAllNamespaces",
......@@ -797,7 +797,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -2998,8 +2998,8 @@
}
}
},
"versioned.Event": {
"id": "versioned.Event",
"v1.WatchEvent": {
"id": "v1.WatchEvent",
"required": [
"type",
"object"
......
......@@ -202,7 +202,7 @@
"description": "API at /apis/certificates.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of CertificateSigningRequest",
"nickname": "watchCertificateSigningRequestList",
......@@ -260,7 +260,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -501,7 +501,7 @@
"description": "API at /apis/certificates.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind CertificateSigningRequest",
"nickname": "watchCertificateSigningRequest",
......@@ -567,7 +567,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1037,8 +1037,8 @@
}
}
},
"versioned.Event": {
"id": "versioned.Event",
"v1.WatchEvent": {
"id": "v1.WatchEvent",
"required": [
"type",
"object"
......
......@@ -226,7 +226,7 @@
"description": "API at /apis/policy/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of PodDisruptionBudget",
"nickname": "watchNamespacedPodDisruptionBudgetList",
......@@ -292,7 +292,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -565,7 +565,7 @@
"description": "API at /apis/policy/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind PodDisruptionBudget",
"nickname": "watchNamespacedPodDisruptionBudget",
......@@ -639,7 +639,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -739,7 +739,7 @@
"description": "API at /apis/policy/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of PodDisruptionBudget",
"nickname": "watchPodDisruptionBudgetListForAllNamespaces",
......@@ -797,7 +797,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1359,8 +1359,8 @@
}
}
},
"versioned.Event": {
"id": "versioned.Event",
"v1.WatchEvent": {
"id": "v1.WatchEvent",
"required": [
"type",
"object"
......
......@@ -202,7 +202,7 @@
"description": "API at /apis/rbac.authorization.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of ClusterRoleBinding",
"nickname": "watchClusterRoleBindingList",
......@@ -260,7 +260,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -485,7 +485,7 @@
"description": "API at /apis/rbac.authorization.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind ClusterRoleBinding",
"nickname": "watchClusterRoleBinding",
......@@ -551,7 +551,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -761,7 +761,7 @@
"description": "API at /apis/rbac.authorization.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of ClusterRole",
"nickname": "watchClusterRoleList",
......@@ -819,7 +819,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1044,7 +1044,7 @@
"description": "API at /apis/rbac.authorization.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind ClusterRole",
"nickname": "watchClusterRole",
......@@ -1110,7 +1110,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1344,7 +1344,7 @@
"description": "API at /apis/rbac.authorization.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of RoleBinding",
"nickname": "watchNamespacedRoleBindingList",
......@@ -1410,7 +1410,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1667,7 +1667,7 @@
"description": "API at /apis/rbac.authorization.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind RoleBinding",
"nickname": "watchNamespacedRoleBinding",
......@@ -1741,7 +1741,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1841,7 +1841,7 @@
"description": "API at /apis/rbac.authorization.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of RoleBinding",
"nickname": "watchRoleBindingListForAllNamespaces",
......@@ -1899,7 +1899,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -2133,7 +2133,7 @@
"description": "API at /apis/rbac.authorization.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Role",
"nickname": "watchNamespacedRoleList",
......@@ -2199,7 +2199,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -2456,7 +2456,7 @@
"description": "API at /apis/rbac.authorization.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind Role",
"nickname": "watchNamespacedRole",
......@@ -2530,7 +2530,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -2630,7 +2630,7 @@
"description": "API at /apis/rbac.authorization.k8s.io/v1alpha1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Role",
"nickname": "watchRoleListForAllNamespaces",
......@@ -2688,7 +2688,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -3046,8 +3046,8 @@
}
}
},
"versioned.Event": {
"id": "versioned.Event",
"v1.WatchEvent": {
"id": "v1.WatchEvent",
"required": [
"type",
"object"
......
......@@ -202,7 +202,7 @@
"description": "API at /apis/storage.k8s.io/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of StorageClass",
"nickname": "watchStorageClassList",
......@@ -260,7 +260,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -501,7 +501,7 @@
"description": "API at /apis/storage.k8s.io/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind StorageClass",
"nickname": "watchStorageClass",
......@@ -567,7 +567,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -872,8 +872,8 @@
}
}
},
"versioned.Event": {
"id": "versioned.Event",
"v1.WatchEvent": {
"id": "v1.WatchEvent",
"required": [
"type",
"object"
......
......@@ -23,7 +23,6 @@ go_library(
"//pkg/conversion:go_default_library",
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/watch/versioned:go_default_library",
],
)
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
"k8s.io/kubernetes/pkg/watch/versioned"
)
const GroupName = "apiregistration.k8s.io"
......@@ -54,6 +53,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&kapi.DeleteOptions{},
&metav1.GetOptions{},
)
versioned.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -26,7 +26,6 @@ go_library(
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/ugorji/go/codec",
],
)
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
"k8s.io/kubernetes/pkg/watch/versioned"
)
const GroupName = "apiregistration.k8s.io"
......@@ -44,6 +43,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&v1.DeleteOptions{},
&metav1.GetOptions{},
)
versioned.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -22,7 +22,6 @@ go_library(
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/ugorji/go/codec",
],
)
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
var SchemeGroupVersion = schema.GroupVersion{Group: "testgroup.k8s.io", Version: "v1"}
......@@ -44,7 +43,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&metav1.Status{},
&metav1.ExportOptions{},
)
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......
......@@ -64,7 +64,6 @@ func New() *Generator {
`+k8s.io/kubernetes/pkg/api/resource`,
`+k8s.io/kubernetes/pkg/runtime/schema`,
`+k8s.io/kubernetes/pkg/runtime`,
`+k8s.io/kubernetes/pkg/watch/versioned`,
`k8s.io/kubernetes/pkg/apis/meta/v1`,
`k8s.io/kubernetes/pkg/api/v1`,
`k8s.io/kubernetes/pkg/apis/policy/v1beta1`,
......
......@@ -561,44 +561,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_versioned_event">versioned.Event</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_preconditions">v1.Preconditions</h3>
<div class="paragraph">
<p>Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.</p>
......@@ -3109,6 +3071,44 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
</div>
<div class="sect2">
<h3 id="_v1_watchevent">v1.WatchEvent</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_secretvolumesource">v1.SecretVolumeSource</h3>
<div class="paragraph">
<p>Adapts a Secret into a volume.</p>
......@@ -4960,7 +4960,7 @@ Examples:<br>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2017-01-03 16:09:30 UTC
Last updated 2017-01-06 18:13:59 UTC
</div>
</div>
</body>
......
......@@ -2043,7 +2043,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2208,7 +2208,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2357,7 +2357,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2411,7 +2411,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-05 07:38:55 UTC
Last updated 2017-01-06 18:13:59 UTC
</div>
</div>
</body>
......
......@@ -602,44 +602,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_versioned_event">versioned.Event</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_statusdetails">v1.StatusDetails</h3>
<div class="paragraph">
<p>StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.</p>
......@@ -991,6 +953,44 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_v1_watchevent">v1.WatchEvent</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_horizontalpodautoscalerspec">v1.HorizontalPodAutoscalerSpec</h3>
<div class="paragraph">
<p>specification of a horizontal pod autoscaler.</p>
......@@ -1375,7 +1375,7 @@ Examples:<br>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-08 13:47:23 UTC
Last updated 2017-01-06 18:14:17 UTC
</div>
</div>
</body>
......
......@@ -2035,7 +2035,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2192,7 +2192,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2357,7 +2357,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2411,7 +2411,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-05 07:39:08 UTC
Last updated 2017-01-06 18:14:17 UTC
</div>
</div>
</body>
......
......@@ -561,44 +561,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_versioned_event">versioned.Event</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_preconditions">v1.Preconditions</h3>
<div class="paragraph">
<p>Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.</p>
......@@ -2972,6 +2934,44 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
</div>
<div class="sect2">
<h3 id="_v1_watchevent">v1.WatchEvent</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_jobcondition">v1.JobCondition</h3>
<div class="paragraph">
<p>JobCondition describes current state of a job.</p>
......@@ -4892,7 +4892,7 @@ Examples:<br>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2017-01-03 16:09:51 UTC
Last updated 2017-01-06 18:14:24 UTC
</div>
</div>
</body>
......
......@@ -2035,7 +2035,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2192,7 +2192,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2357,7 +2357,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2411,7 +2411,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-05 07:39:13 UTC
Last updated 2017-01-06 18:14:24 UTC
</div>
</div>
</body>
......
......@@ -654,44 +654,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_versioned_event">versioned.Event</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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="_v1alpha1_certificatesigningrequeststatus">v1alpha1.CertificateSigningRequestStatus</h3>
<table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup>
......@@ -1023,6 +985,44 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_v1_watchevent">v1.WatchEvent</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_objectmeta">v1.ObjectMeta</h3>
<div class="paragraph">
<p>ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.</p>
......@@ -1352,7 +1352,7 @@ Examples:<br>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-08 13:47:46 UTC
Last updated 2017-01-06 18:14:37 UTC
</div>
</div>
</body>
......
......@@ -1689,7 +1689,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -1846,7 +1846,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -1900,7 +1900,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-05 07:39:22 UTC
Last updated 2017-01-06 18:14:37 UTC
</div>
</div>
</body>
......
......@@ -4372,44 +4372,6 @@ Examples:<br>
</div>
<div class="sect2">
<h3 id="_versioned_event">versioned.Event</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_status">v1.Status</h3>
<div class="paragraph">
<p>Status is a return value for calls that don&#8217;t return other objects.</p>
......@@ -6306,6 +6268,44 @@ Both these may change in the future. Incoming requests are matched against the h
</div>
<div class="sect2">
<h3 id="_v1_watchevent">v1.WatchEvent</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_envvar">v1.EnvVar</h3>
<div class="paragraph">
<p>EnvVar represents an environment variable present in a Container.</p>
......@@ -7018,7 +7018,7 @@ Both these may change in the future. Incoming requests are matched against the h
</div>
<div id="footer">
<div id="footer-text">
Last updated 2017-01-03 16:10:07 UTC
Last updated 2017-01-06 18:14:43 UTC
</div>
</div>
</body>
......
......@@ -568,44 +568,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_versioned_event">versioned.Event</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_listmeta">v1.ListMeta</h3>
<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>
......@@ -950,6 +912,44 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_v1_watchevent">v1.WatchEvent</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_labelselector">v1.LabelSelector</h3>
<div class="paragraph">
<p>A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.</p>
......@@ -1409,7 +1409,7 @@ Examples:<br>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-08 13:48:01 UTC
Last updated 2017-01-06 18:14:50 UTC
</div>
</div>
</body>
......
......@@ -2043,7 +2043,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2208,7 +2208,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2357,7 +2357,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -2411,7 +2411,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-05 07:39:32 UTC
Last updated 2017-01-06 18:14:50 UTC
</div>
</div>
</body>
......
......@@ -565,44 +565,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_versioned_event">versioned.Event</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_statusdetails">v1.StatusDetails</h3>
<div class="paragraph">
<p>StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.</p>
......@@ -1057,6 +1019,44 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_v1_watchevent">v1.WatchEvent</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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="_v1alpha1_clusterrolelist">v1alpha1.ClusterRoleList</h3>
<div class="paragraph">
<p>ClusterRoleList is a collection of ClusterRoles</p>
......@@ -1737,7 +1737,7 @@ Examples:<br>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-08 13:48:08 UTC
Last updated 2017-01-06 18:14:57 UTC
</div>
</div>
</body>
......
......@@ -4524,7 +4524,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -4681,7 +4681,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -4830,7 +4830,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -4987,7 +4987,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -5144,7 +5144,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -5309,7 +5309,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -5466,7 +5466,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -5631,7 +5631,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -5780,7 +5780,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -5929,7 +5929,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -5983,7 +5983,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-05 07:39:37 UTC
Last updated 2017-01-06 18:14:57 UTC
</div>
</div>
</body>
......
......@@ -602,44 +602,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_versioned_event">versioned.Event</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_statusdetails">v1.StatusDetails</h3>
<div class="paragraph">
<p>StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.</p>
......@@ -884,6 +846,44 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_v1_watchevent">v1.WatchEvent</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_objectmeta">v1.ObjectMeta</h3>
<div class="paragraph">
<p>ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.</p>
......@@ -1213,7 +1213,7 @@ Examples:<br>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-08 13:48:16 UTC
Last updated 2017-01-06 18:15:04 UTC
</div>
</div>
</body>
......
......@@ -1451,7 +1451,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -1608,7 +1608,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -1662,7 +1662,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-05 07:39:41 UTC
Last updated 2017-01-06 18:15:04 UTC
</div>
</div>
</body>
......
......@@ -5562,44 +5562,6 @@ Examples:<br>
</div>
<div class="sect2">
<h3 id="_versioned_event">versioned.Event</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_status">v1.Status</h3>
<div class="paragraph">
<p>Status is a return value for calls that don&#8217;t return other objects.</p>
......@@ -7830,6 +7792,44 @@ Examples:<br>
</div>
<div class="sect2">
<h3 id="_v1_watchevent">v1.WatchEvent</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_event">v1.Event</h3>
<div class="paragraph">
<p>Event is a report of an event somewhere in the cluster.</p>
......@@ -9136,7 +9136,7 @@ Examples:<br>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2017-01-03 16:09:24 UTC
Last updated 2017-01-06 18:13:51 UTC
</div>
</div>
</body>
......
......@@ -22,7 +22,6 @@ go_library(
"//pkg/apis/meta/v1:go_default_library",
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/watch/versioned:go_default_library",
],
)
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -56,6 +55,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion, &metav1.Status{})
// Add the watch version that applies
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -32,7 +32,6 @@ go_library(
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/ugorji/go/codec",
],
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -44,7 +43,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&metav1.ExportOptions{},
&metav1.GetOptions{},
)
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......
......@@ -73,7 +73,7 @@ func (ClusterSpec) SwaggerDoc() map[string]string {
}
var map_ClusterStatus = map[string]string{
"": "ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.",
"": "ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.",
"conditions": "Conditions is an array of current cluster conditions.",
"zones": "Zones is the list of availability zones in which the nodes of the cluster exist, e.g. 'us-east1-a'. These will always be in the same region.",
"region": "Region is the name of the region in which all of the nodes in the cluster exist. e.g. 'us-east1'.",
......
......@@ -2692,7 +2692,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -2769,7 +2769,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -2846,7 +2846,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -2923,7 +2923,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -3008,7 +3008,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -3101,7 +3101,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -3186,7 +3186,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -3279,7 +3279,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -3364,7 +3364,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -3457,7 +3457,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -3542,7 +3542,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -3635,7 +3635,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -3720,7 +3720,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -3797,7 +3797,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -4583,7 +4583,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -4660,7 +4660,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -4745,7 +4745,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -7713,7 +7713,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -7790,7 +7790,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -7867,7 +7867,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -7944,7 +7944,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -8029,7 +8029,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -8122,7 +8122,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -8207,7 +8207,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -8300,7 +8300,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -8385,7 +8385,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -8478,7 +8478,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -8563,7 +8563,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -8656,7 +8656,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -9236,7 +9236,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -9313,7 +9313,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/versioned.Event"
"$ref": "#/definitions/v1.WatchEvent"
}
},
"401": {
......@@ -12101,6 +12101,22 @@
}
}
},
"v1.WatchEvent": {
"description": "Event represents a single event to a watched resource.",
"required": [
"type",
"object"
],
"properties": {
"object": {
"description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.",
"$ref": "#/definitions/runtime.RawExtension"
},
"type": {
"type": "string"
}
}
},
"v1.WeightedPodAffinityTerm": {
"description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)",
"required": [
......@@ -13014,22 +13030,6 @@
"type": "string"
}
}
},
"versioned.Event": {
"description": "Event represents a single event to a watched resource.",
"required": [
"type",
"object"
],
"properties": {
"object": {
"description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *api.Status is recommended; other types may make sense\n depending on context.",
"$ref": "#/definitions/runtime.RawExtension"
},
"type": {
"type": "string"
}
}
}
},
"securityDefinitions": {
......
......@@ -226,7 +226,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of DaemonSet",
"nickname": "watchNamespacedDaemonSetList",
......@@ -292,7 +292,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -565,7 +565,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind DaemonSet",
"nickname": "watchNamespacedDaemonSet",
......@@ -639,7 +639,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -739,7 +739,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of DaemonSet",
"nickname": "watchDaemonSetListForAllNamespaces",
......@@ -797,7 +797,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1196,7 +1196,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Deployment",
"nickname": "watchNamespacedDeploymentList",
......@@ -1262,7 +1262,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1535,7 +1535,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind Deployment",
"nickname": "watchNamespacedDeployment",
......@@ -1609,7 +1609,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1709,7 +1709,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Deployment",
"nickname": "watchDeploymentListForAllNamespaces",
......@@ -1767,7 +1767,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -2392,7 +2392,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Ingress",
"nickname": "watchNamespacedIngressList",
......@@ -2458,7 +2458,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -2731,7 +2731,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind Ingress",
"nickname": "watchNamespacedIngress",
......@@ -2805,7 +2805,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -2905,7 +2905,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Ingress",
"nickname": "watchIngressListForAllNamespaces",
......@@ -2963,7 +2963,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -3362,7 +3362,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of ReplicaSet",
"nickname": "watchNamespacedReplicaSetList",
......@@ -3428,7 +3428,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -3701,7 +3701,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind ReplicaSet",
"nickname": "watchNamespacedReplicaSet",
......@@ -3775,7 +3775,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -3875,7 +3875,7 @@
"description": "API at /apis/extensions/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of ReplicaSet",
"nickname": "watchReplicaSetListForAllNamespaces",
......@@ -3933,7 +3933,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -5435,6 +5435,13 @@
},
"description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated."
},
"envFrom": {
"type": "array",
"items": {
"$ref": "v1.EnvFromSource"
},
"description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. An invalid key will prevent the container from starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."
},
"env": {
"type": "array",
"items": {
......@@ -5522,6 +5529,30 @@
}
}
},
"v1.EnvFromSource": {
"id": "v1.EnvFromSource",
"description": "EnvFromSource represents the source of a set of ConfigMaps",
"properties": {
"prefix": {
"type": "string",
"description": "An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."
},
"configMapRef": {
"$ref": "v1.ConfigMapEnvSource",
"description": "The ConfigMap to select from"
}
}
},
"v1.ConfigMapEnvSource": {
"id": "v1.ConfigMapEnvSource",
"description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.",
"properties": {
"name": {
"type": "string",
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"
}
}
},
"v1.EnvVar": {
"id": "v1.EnvVar",
"description": "EnvVar represents an environment variable present in a Container.",
......@@ -6121,6 +6152,11 @@
"type": "integer",
"format": "int32",
"description": "NumberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready."
},
"observedGeneration": {
"type": "integer",
"format": "int64",
"description": "ObservedGeneration is the most recent generation observed by the daemon set controller."
}
}
},
......@@ -6211,8 +6247,8 @@
}
}
},
"versioned.Event": {
"id": "versioned.Event",
"v1.WatchEvent": {
"id": "v1.WatchEvent",
"required": [
"type",
"object"
......@@ -6432,6 +6468,11 @@
"format": "int32",
"description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec."
},
"readyReplicas": {
"type": "integer",
"format": "int32",
"description": "Total number of ready pods targeted by this deployment."
},
"availableReplicas": {
"type": "integer",
"format": "int32",
......
......@@ -202,7 +202,7 @@
"description": "API at /apis/federation/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Cluster",
"nickname": "watchClusterList",
......@@ -260,7 +260,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -501,7 +501,7 @@
"description": "API at /apis/federation/v1beta1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind Cluster",
"nickname": "watchCluster",
......@@ -567,7 +567,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -885,7 +885,7 @@
},
"v1beta1.ClusterStatus": {
"id": "v1beta1.ClusterStatus",
"description": "ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.",
"description": "ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.",
"properties": {
"conditions": {
"type": "array",
......@@ -1028,8 +1028,8 @@
}
}
},
"versioned.Event": {
"id": "versioned.Event",
"v1.WatchEvent": {
"id": "v1.WatchEvent",
"required": [
"type",
"object"
......
......@@ -36,6 +36,18 @@
{
"path": "/apis/extensions",
"description": "get information of a group"
},
{
"path": "/apis/batch/v1",
"description": "API at /apis/batch/v1"
},
{
"path": "/apis/batch/v2alpha1",
"description": "API at /apis/batch/v2alpha1"
},
{
"path": "/apis/batch",
"description": "get information of a group"
}
],
"apiVersion": "",
......
......@@ -226,7 +226,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of ConfigMap",
"nickname": "watchNamespacedConfigMapList",
......@@ -292,7 +292,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -565,7 +565,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind ConfigMap",
"nickname": "watchNamespacedConfigMap",
......@@ -639,7 +639,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -739,7 +739,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of ConfigMap",
"nickname": "watchConfigMapListForAllNamespaces",
......@@ -797,7 +797,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1031,7 +1031,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Event",
"nickname": "watchNamespacedEventList",
......@@ -1097,7 +1097,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1370,7 +1370,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind Event",
"nickname": "watchNamespacedEvent",
......@@ -1444,7 +1444,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1544,7 +1544,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Event",
"nickname": "watchEventListForAllNamespaces",
......@@ -1602,7 +1602,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -1812,7 +1812,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Namespace",
"nickname": "watchNamespaceList",
......@@ -1870,7 +1870,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -2111,7 +2111,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind Namespace",
"nickname": "watchNamespace",
......@@ -2177,7 +2177,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -2605,7 +2605,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Secret",
"nickname": "watchNamespacedSecretList",
......@@ -2671,7 +2671,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -2944,7 +2944,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind Secret",
"nickname": "watchNamespacedSecret",
......@@ -3018,7 +3018,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -3118,7 +3118,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Secret",
"nickname": "watchSecretListForAllNamespaces",
......@@ -3176,7 +3176,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -3410,7 +3410,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Service",
"nickname": "watchNamespacedServiceList",
......@@ -3476,7 +3476,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -3749,7 +3749,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch changes to an object of kind Service",
"nickname": "watchNamespacedService",
......@@ -3823,7 +3823,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -3923,7 +3923,7 @@
"description": "API at /api/v1",
"operations": [
{
"type": "versioned.Event",
"type": "v1.WatchEvent",
"method": "GET",
"summary": "watch individual changes to a list of Service",
"nickname": "watchServiceListForAllNamespaces",
......@@ -3981,7 +3981,7 @@
{
"code": 200,
"message": "OK",
"responseModel": "versioned.Event"
"responseModel": "v1.WatchEvent"
}
],
"produces": [
......@@ -4444,8 +4444,8 @@
}
}
},
"versioned.Event": {
"id": "versioned.Event",
"v1.WatchEvent": {
"id": "v1.WatchEvent",
"required": [
"type",
"object"
......
......@@ -7399,7 +7399,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -7548,7 +7548,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -7697,7 +7697,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -7854,7 +7854,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8019,7 +8019,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8176,7 +8176,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8341,7 +8341,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8498,7 +8498,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8663,7 +8663,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8820,7 +8820,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8985,7 +8985,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -9134,7 +9134,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -9188,7 +9188,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-08 13:48:38 UTC
Last updated 2017-01-06 18:15:24 UTC
</div>
</div>
</body>
......
......@@ -602,44 +602,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_versioned_event">versioned.Event</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_listmeta">v1.ListMeta</h3>
<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>
......@@ -745,7 +707,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<div class="sect2">
<h3 id="_v1beta1_clusterstatus">v1beta1.ClusterStatus</h3>
<div class="paragraph">
<p>ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.</p>
<p>ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.</p>
</div>
<table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup>
......@@ -983,6 +945,44 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_v1_watchevent">v1.WatchEvent</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_objectmeta">v1.ObjectMeta</h3>
<div class="paragraph">
<p>ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.</p>
......@@ -1443,7 +1443,7 @@ Examples:<br>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-08 13:48:24 UTC
Last updated 2017-01-06 18:15:11 UTC
</div>
</div>
</body>
......
......@@ -1570,7 +1570,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -1727,7 +1727,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -1781,7 +1781,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-08 13:48:24 UTC
Last updated 2017-01-06 18:15:11 UTC
</div>
</div>
</body>
......
......@@ -520,44 +520,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_versioned_event">versioned.Event</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_listmeta">v1.ListMeta</h3>
<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>
......@@ -812,6 +774,44 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div class="sect2">
<h3 id="_v1_watchevent">v1.WatchEvent</h3>
<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">type</p></td>
<td class="tableblock halign-left valign-top"></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>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
<td class="tableblock halign-left valign-top"></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_secret">v1.Secret</h3>
<div class="paragraph">
<p>Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.</p>
......@@ -2204,7 +2204,7 @@ Examples:<br>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-08 13:48:31 UTC
Last updated 2017-01-06 18:15:17 UTC
</div>
</div>
</body>
......
......@@ -6760,7 +6760,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -6909,7 +6909,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -7058,7 +7058,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -7215,7 +7215,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -7380,7 +7380,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -7537,7 +7537,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -7702,7 +7702,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -7859,7 +7859,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8024,7 +8024,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8181,7 +8181,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8346,7 +8346,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8503,7 +8503,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8652,7 +8652,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8801,7 +8801,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">200</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">success</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_versioned_event">versioned.Event</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="../definitions#_v1_watchevent">v1.WatchEvent</a></p></td>
</tr>
</tbody>
</table>
......@@ -8855,7 +8855,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-12-08 13:48:31 UTC
Last updated 2017-01-06 18:15:17 UTC
</div>
</div>
</body>
......
......@@ -156,6 +156,7 @@ pkg/client/listers/storage/internalversion
pkg/client/listers/storage/v1beta1
pkg/client/metrics
pkg/client/metrics/prometheus
pkg/client/restclient/watch
pkg/client/testing/core
pkg/client/typed/discovery
pkg/client/unversioned
......@@ -281,6 +282,7 @@ pkg/volume/util/nestedpendingoperations
pkg/volume/util/operationexecutor
pkg/volume/util/types
pkg/volume/util/volumehelper
pkg/watch
pkg/watch/json
pkg/watch/versioned
plugin/cmd/kube-scheduler
......
......@@ -65,8 +65,7 @@ kube::log::status "Starting federation-apiserver"
--insecure-port="${API_PORT}" \
--etcd-servers="http://${ETCD_HOST}:${ETCD_PORT}" \
--advertise-address="10.10.10.10" \
--cert-dir="${TMP_DIR}/certs" \
--service-cluster-ip-range="10.0.0.0/24" >/tmp/swagger-federation-api-server.log 2>&1 &
--cert-dir="${TMP_DIR}/certs" >/tmp/swagger-federation-api-server.log 2>&1 &
APISERVER_PID=$!
kube::util::wait_for_url "${API_HOST}:${API_PORT}/" "apiserver: "
......
......@@ -102,7 +102,6 @@ go_test(
"//pkg/util/sets:go_default_library",
"//pkg/util/uuid:go_default_library",
"//pkg/watch:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/davecgh/go-spew/spew",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/golang/protobuf/proto",
......
......@@ -47,7 +47,6 @@ import (
"k8s.io/kubernetes/pkg/util/diff"
"k8s.io/kubernetes/pkg/util/sets"
"k8s.io/kubernetes/pkg/watch"
"k8s.io/kubernetes/pkg/watch/versioned"
)
var fuzzIters = flag.Int("fuzz-iters", 20, "How many fuzzing iterations to do.")
......@@ -445,7 +444,7 @@ func TestObjectWatchFraming(t *testing.T) {
if err := embedded.Encode(v1secret, obj); err != nil {
t.Fatal(err)
}
event := &versioned.Event{Type: string(watch.Added)}
event := &metav1.WatchEvent{Type: string(watch.Added)}
event.Object.Raw = obj.Bytes()
obj = &bytes.Buffer{}
if err := s.Encode(event, obj); err != nil {
......@@ -457,7 +456,7 @@ func TestObjectWatchFraming(t *testing.T) {
t.Fatal(err)
}
sr = streaming.NewDecoder(framer.NewFrameReader(ioutil.NopCloser(out)), s)
outEvent := &versioned.Event{}
outEvent := &metav1.WatchEvent{}
res, _, err = sr.Decode(nil, outEvent)
if err != nil || outEvent.Type != string(watch.Added) {
t.Fatalf("%v: %#v", err, outEvent)
......
......@@ -48,7 +48,6 @@ go_library(
"//pkg/util/rand:go_default_library",
"//pkg/util/sets:go_default_library",
"//pkg/util/validation/field:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/gogo/protobuf/sortkeys",
"//vendor:github.com/ugorji/go/codec",
......
......@@ -23,10 +23,10 @@ import (
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/apis/extensions"
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/conversion"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/util/validation/field"
"k8s.io/kubernetes/pkg/watch/versioned"
)
const (
......@@ -123,15 +123,15 @@ func addFastPathConversionFuncs(scheme *runtime.Scheme) error {
return true, Convert_api_Endpoints_To_v1_Endpoints(a, b, s)
}
case *versioned.Event:
case *metav1.WatchEvent:
switch b := objB.(type) {
case *versioned.InternalEvent:
return true, versioned.Convert_versioned_Event_to_versioned_InternalEvent(a, b, s)
case *metav1.InternalEvent:
return true, metav1.Convert_versioned_Event_to_versioned_InternalEvent(a, b, s)
}
case *versioned.InternalEvent:
case *metav1.InternalEvent:
switch b := objB.(type) {
case *versioned.Event:
return true, versioned.Convert_versioned_InternalEvent_to_versioned_Event(a, b, s)
case *metav1.WatchEvent:
return true, metav1.Convert_versioned_InternalEvent_to_versioned_Event(a, b, s)
}
}
return false, nil
......
......@@ -24,7 +24,7 @@ import (
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/resource"
versioned "k8s.io/kubernetes/pkg/api/v1"
"k8s.io/kubernetes/pkg/api/v1"
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/util/diff"
......@@ -36,7 +36,7 @@ func TestPodLogOptions(t *testing.T) {
tailLines := int64(2)
limitBytes := int64(3)
versionedLogOptions := &versioned.PodLogOptions{
versionedLogOptions := &v1.PodLogOptions{
Container: "mycontainer",
Follow: true,
Previous: true,
......@@ -71,7 +71,7 @@ func TestPodLogOptions(t *testing.T) {
// unversioned -> query params
{
actualParameters, err := codec.EncodeParameters(unversionedLogOptions, versioned.SchemeGroupVersion)
actualParameters, err := codec.EncodeParameters(unversionedLogOptions, v1.SchemeGroupVersion)
if err != nil {
t.Fatal(err)
}
......@@ -82,7 +82,7 @@ func TestPodLogOptions(t *testing.T) {
// versioned -> query params
{
actualParameters, err := codec.EncodeParameters(versionedLogOptions, versioned.SchemeGroupVersion)
actualParameters, err := codec.EncodeParameters(versionedLogOptions, v1.SchemeGroupVersion)
if err != nil {
t.Fatal(err)
}
......@@ -93,8 +93,8 @@ func TestPodLogOptions(t *testing.T) {
// query params -> versioned
{
convertedLogOptions := &versioned.PodLogOptions{}
err := codec.DecodeParameters(expectedParameters, versioned.SchemeGroupVersion, convertedLogOptions)
convertedLogOptions := &v1.PodLogOptions{}
err := codec.DecodeParameters(expectedParameters, v1.SchemeGroupVersion, convertedLogOptions)
if err != nil {
t.Fatal(err)
}
......@@ -106,7 +106,7 @@ func TestPodLogOptions(t *testing.T) {
// query params -> unversioned
{
convertedLogOptions := &api.PodLogOptions{}
err := codec.DecodeParameters(expectedParameters, versioned.SchemeGroupVersion, convertedLogOptions)
err := codec.DecodeParameters(expectedParameters, v1.SchemeGroupVersion, convertedLogOptions)
if err != nil {
t.Fatal(err)
}
......@@ -126,7 +126,7 @@ func TestPodSpecConversion(t *testing.T) {
i := &api.PodSpec{
ServiceAccountName: name,
}
v := versioned.PodSpec{}
v := v1.PodSpec{}
if err := api.Scheme.Convert(i, &v, nil); err != nil {
t.Fatalf("unexpected error: %v", err)
}
......@@ -140,7 +140,7 @@ func TestPodSpecConversion(t *testing.T) {
// Test v1 -> internal. Either DeprecatedServiceAccount, ServiceAccountName,
// or both should translate to ServiceAccountName. ServiceAccountName wins
// if both are set.
testCases := []*versioned.PodSpec{
testCases := []*v1.PodSpec{
// New
{ServiceAccountName: name},
// Alias
......@@ -167,14 +167,14 @@ func TestResourceListConversion(t *testing.T) {
bigMilliQuantity.Add(resource.MustParse("12345m"))
tests := []struct {
input versioned.ResourceList
input v1.ResourceList
expected api.ResourceList
}{
{ // No changes necessary.
input: versioned.ResourceList{
versioned.ResourceMemory: resource.MustParse("30M"),
versioned.ResourceCPU: resource.MustParse("100m"),
versioned.ResourceStorage: resource.MustParse("1G"),
input: v1.ResourceList{
v1.ResourceMemory: resource.MustParse("30M"),
v1.ResourceCPU: resource.MustParse("100m"),
v1.ResourceStorage: resource.MustParse("1G"),
},
expected: api.ResourceList{
api.ResourceMemory: resource.MustParse("30M"),
......@@ -183,9 +183,9 @@ func TestResourceListConversion(t *testing.T) {
},
},
{ // Nano-scale values should be rounded up to milli-scale.
input: versioned.ResourceList{
versioned.ResourceCPU: resource.MustParse("3.000023m"),
versioned.ResourceMemory: resource.MustParse("500.000050m"),
input: v1.ResourceList{
v1.ResourceCPU: resource.MustParse("3.000023m"),
v1.ResourceMemory: resource.MustParse("500.000050m"),
},
expected: api.ResourceList{
api.ResourceCPU: resource.MustParse("4m"),
......@@ -193,9 +193,9 @@ func TestResourceListConversion(t *testing.T) {
},
},
{ // Large values should still be accurate.
input: versioned.ResourceList{
versioned.ResourceCPU: *bigMilliQuantity.Copy(),
versioned.ResourceStorage: *bigMilliQuantity.Copy(),
input: v1.ResourceList{
v1.ResourceCPU: *bigMilliQuantity.Copy(),
v1.ResourceStorage: *bigMilliQuantity.Copy(),
},
expected: api.ResourceList{
api.ResourceCPU: *bigMilliQuantity.Copy(),
......
......@@ -20,7 +20,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -95,6 +94,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion, &metav1.Status{})
// Add the watch version that applies
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -34,7 +34,6 @@ go_library(
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/util/intstr:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/ugorji/go/codec",
],
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -50,7 +49,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&metav1.ExportOptions{},
&metav1.GetOptions{},
)
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......
......@@ -31,7 +31,6 @@ go_library(
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/gogo/protobuf/sortkeys",
"//vendor:github.com/ugorji/go/codec",
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -53,7 +52,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&LocalSubjectAccessReview{},
)
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......
......@@ -31,7 +31,6 @@ go_library(
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/ugorji/go/codec",
],
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -51,6 +50,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&metav1.ExportOptions{},
&metav1.GetOptions{},
)
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -35,7 +35,6 @@ go_library(
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/util/intstr:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/ugorji/go/codec",
],
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -50,6 +49,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&metav1.ExportOptions{},
&metav1.GetOptions{},
)
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -35,7 +35,6 @@ go_library(
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/util/intstr:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/ugorji/go/codec",
],
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -55,6 +54,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
)
scheme.AddKnownTypeWithName(SchemeGroupVersion.WithKind("ScheduledJob"), &CronJob{})
scheme.AddKnownTypeWithName(SchemeGroupVersion.WithKind("ScheduledJobList"), &CronJobList{})
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -31,7 +31,6 @@ go_library(
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/ugorji/go/codec",
],
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -57,7 +56,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
)
// Add the watch version that applies
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......
......@@ -36,7 +36,6 @@ go_library(
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/util/intstr:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/gogo/protobuf/sortkeys",
"//vendor:github.com/ugorji/go/codec",
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -70,6 +69,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&NetworkPolicyList{},
)
// Add the watch version that applies
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -53,6 +53,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ImageReview{},
)
// versioned.AddToGroupVersion(scheme, SchemeGroupVersion)
// metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -22,6 +22,7 @@ go_library(
"time_proto.go",
"types.go",
"types_swagger_doc_generated.go",
"watch.go",
"well_known_labels.go",
"zz_generated.deepcopy.go",
"zz_generated.defaults.go",
......@@ -35,6 +36,7 @@ go_library(
"//pkg/runtime/schema:go_default_library",
"//pkg/selection:go_default_library",
"//pkg/types:go_default_library",
"//pkg/watch:go_default_library",
"//vendor:github.com/go-openapi/spec",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/gogo/protobuf/sortkeys",
......
......@@ -446,3 +446,17 @@ message Verbs {
repeated string items = 1;
}
// Event represents a single event to a watched resource.
//
// +protobuf=true
message WatchEvent {
optional string type = 1;
// Object is:
// * If Type is Added or Modified: the new state of the object.
// * If Type is Deleted: the state of the object immediately before deletion.
// * If Type is Error: *Status is recommended; other types may make sense
// depending on context.
optional k8s.io.kubernetes.pkg.runtime.RawExtension object = 2;
}
......@@ -17,6 +17,7 @@ limitations under the License.
package v1
import (
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
)
......@@ -26,7 +27,25 @@ const GroupName = "meta.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: "", Version: ""}
// WatchEventKind is name reserved for serializing watch events.
const WatchEventKind = "WatchEvent"
// Kind takes an unqualified kind and returns a Group qualified GroupKind
func Kind(kind string) schema.GroupKind {
return SchemeGroupVersion.WithKind(kind).GroupKind()
}
// AddToGroupVersion registers common meta types into schemas.
func AddToGroupVersion(scheme *runtime.Scheme, groupVersion schema.GroupVersion) {
scheme.AddKnownTypeWithName(groupVersion.WithKind(WatchEventKind), &WatchEvent{})
scheme.AddKnownTypeWithName(
schema.GroupVersion{Group: groupVersion.Group, Version: runtime.APIVersionInternal}.WithKind(WatchEventKind),
&InternalEvent{},
)
scheme.AddConversionFuncs(
Convert_versioned_Event_to_watch_Event,
Convert_versioned_InternalEvent_to_versioned_Event,
Convert_watch_Event_to_versioned_Event,
Convert_versioned_Event_to_versioned_InternalEvent,
)
}
......@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package versioned
package v1
import (
"k8s.io/kubernetes/pkg/conversion"
......@@ -23,26 +23,21 @@ import (
"k8s.io/kubernetes/pkg/watch"
)
// WatchEventKind is name reserved for serializing watch events.
const WatchEventKind = "WatchEvent"
// Event represents a single event to a watched resource.
//
// +protobuf=true
type WatchEvent struct {
Type string `json:"type" protobuf:"bytes,1,opt,name=type"`
// AddToGroupVersion registers the watch external and internal kinds with the scheme, and ensures the proper
// conversions are in place.
func AddToGroupVersion(scheme *runtime.Scheme, groupVersion schema.GroupVersion) {
scheme.AddKnownTypeWithName(groupVersion.WithKind(WatchEventKind), &Event{})
scheme.AddKnownTypeWithName(
schema.GroupVersion{Group: groupVersion.Group, Version: runtime.APIVersionInternal}.WithKind(WatchEventKind),
&InternalEvent{},
)
scheme.AddConversionFuncs(
Convert_versioned_Event_to_watch_Event,
Convert_versioned_InternalEvent_to_versioned_Event,
Convert_watch_Event_to_versioned_Event,
Convert_versioned_Event_to_versioned_InternalEvent,
)
// Object is:
// * If Type is Added or Modified: the new state of the object.
// * If Type is Deleted: the state of the object immediately before deletion.
// * If Type is Error: *Status is recommended; other types may make sense
// depending on context.
Object runtime.RawExtension `json:"object" protobuf:"bytes,2,opt,name=object"`
}
func Convert_watch_Event_to_versioned_Event(in *watch.Event, out *Event, s conversion.Scope) error {
func Convert_watch_Event_to_versioned_Event(in *watch.Event, out *WatchEvent, s conversion.Scope) error {
out.Type = string(in.Type)
switch t := in.Object.(type) {
case *runtime.Unknown:
......@@ -55,11 +50,11 @@ func Convert_watch_Event_to_versioned_Event(in *watch.Event, out *Event, s conve
return nil
}
func Convert_versioned_InternalEvent_to_versioned_Event(in *InternalEvent, out *Event, s conversion.Scope) error {
func Convert_versioned_InternalEvent_to_versioned_Event(in *InternalEvent, out *WatchEvent, s conversion.Scope) error {
return Convert_watch_Event_to_versioned_Event((*watch.Event)(in), out, s)
}
func Convert_versioned_Event_to_watch_Event(in *Event, out *watch.Event, s conversion.Scope) error {
func Convert_versioned_Event_to_watch_Event(in *WatchEvent, out *watch.Event, s conversion.Scope) error {
out.Type = watch.EventType(in.Type)
if in.Object.Object != nil {
out.Object = in.Object.Object
......@@ -73,12 +68,13 @@ func Convert_versioned_Event_to_watch_Event(in *Event, out *watch.Event, s conve
return nil
}
func Convert_versioned_Event_to_versioned_InternalEvent(in *Event, out *InternalEvent, s conversion.Scope) error {
func Convert_versioned_Event_to_versioned_InternalEvent(in *WatchEvent, out *InternalEvent, s conversion.Scope) error {
return Convert_versioned_Event_to_watch_Event(in, (*watch.Event)(out), s)
}
// InternalEvent makes watch.Event versioned
// +protobuf=false
type InternalEvent watch.Event
func (e *InternalEvent) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind }
func (e *Event) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind }
func (e *WatchEvent) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind }
......@@ -22,6 +22,7 @@ package v1
import (
conversion "k8s.io/kubernetes/pkg/conversion"
runtime "k8s.io/kubernetes/pkg/runtime"
reflect "reflect"
)
......@@ -42,6 +43,7 @@ func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
{Fn: DeepCopy_v1_GroupVersionForDiscovery, InType: reflect.TypeOf(&GroupVersionForDiscovery{})},
{Fn: DeepCopy_v1_GroupVersionKind, InType: reflect.TypeOf(&GroupVersionKind{})},
{Fn: DeepCopy_v1_GroupVersionResource, InType: reflect.TypeOf(&GroupVersionResource{})},
{Fn: DeepCopy_v1_InternalEvent, InType: reflect.TypeOf(&InternalEvent{})},
{Fn: DeepCopy_v1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})},
{Fn: DeepCopy_v1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})},
{Fn: DeepCopy_v1_ListMeta, InType: reflect.TypeOf(&ListMeta{})},
......@@ -55,6 +57,7 @@ func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
{Fn: DeepCopy_v1_Time, InType: reflect.TypeOf(&Time{})},
{Fn: DeepCopy_v1_Timestamp, InType: reflect.TypeOf(&Timestamp{})},
{Fn: DeepCopy_v1_TypeMeta, InType: reflect.TypeOf(&TypeMeta{})},
{Fn: DeepCopy_v1_WatchEvent, InType: reflect.TypeOf(&WatchEvent{})},
}
}
......@@ -233,6 +236,23 @@ func DeepCopy_v1_GroupVersionResource(in interface{}, out interface{}, c *conver
}
}
func DeepCopy_v1_InternalEvent(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*InternalEvent)
out := out.(*InternalEvent)
*out = *in
// in.Object is kind 'Interface'
if in.Object != nil {
if newVal, err := c.DeepCopy(&in.Object); err != nil {
return err
} else {
out.Object = *newVal.(*runtime.Object)
}
}
return nil
}
}
func DeepCopy_v1_LabelSelector(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*LabelSelector)
......@@ -394,3 +414,15 @@ func DeepCopy_v1_TypeMeta(in interface{}, out interface{}, c *conversion.Cloner)
return nil
}
}
func DeepCopy_v1_WatchEvent(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*WatchEvent)
out := out.(*WatchEvent)
*out = *in
if err := runtime.DeepCopy_runtime_RawExtension(&in.Object, &out.Object, c); err != nil {
return err
}
return nil
}
}
......@@ -21,7 +21,6 @@ go_library(
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/util/intstr:go_default_library",
"//pkg/watch/versioned:go_default_library",
],
)
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -52,6 +51,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&metav1.GetOptions{},
)
// Add the watch version that applies
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -30,7 +30,6 @@ go_library(
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/util/intstr:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/gogo/protobuf/sortkeys",
"//vendor:github.com/ugorji/go/codec",
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
versionedwatch "k8s.io/kubernetes/pkg/watch/versioned"
)
// GroupName is the group name use in this package
......@@ -52,6 +51,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&metav1.GetOptions{},
)
// Add the watch version that applies
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -24,7 +24,6 @@ go_library(
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/util/sets:go_default_library",
"//pkg/watch/versioned:go_default_library",
],
)
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
"k8s.io/kubernetes/pkg/watch/versioned"
)
const GroupName = "rbac.authorization.k8s.io"
......@@ -62,6 +61,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&metav1.ExportOptions{},
&metav1.GetOptions{},
)
versioned.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
......@@ -33,7 +33,6 @@ go_library(
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//pkg/watch/versioned:go_default_library",
"//vendor:github.com/gogo/protobuf/proto",
"//vendor:github.com/ugorji/go/codec",
"//vendor:k8s.io/apiserver/pkg/authentication/user",
......
......@@ -21,7 +21,6 @@ import (
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime/schema"
"k8s.io/kubernetes/pkg/watch/versioned"
)
const GroupName = "rbac.authorization.k8s.io"
......@@ -57,6 +56,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&metav1.ExportOptions{},
&metav1.GetOptions{},
)
versioned.AddToGroupVersion(scheme, SchemeGroupVersion)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
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