This job view page is being replaced by Spyglass soon. Check out the new job view.
PRcpanato: WIP golang: Update to go1.19beta1
ResultFAILURE
Tests 7 failed / 36 succeeded
Started2022-06-23 11:10
Elapsed48m10s
Revision1ace2cc40dc793fb95ec0c51264040d9b2ca9c06
Refs 110739

Test Failures


verify generated-files 0.18s

make verify WHAT=generated-files
Unexpected dirty working directory:

  diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go
  index 74e4c1804ce..aa66d26d985 100644
  --- a/pkg/generated/openapi/zz_generated.openapi.go
  +++ b/pkg/generated/openapi/zz_generated.openapi.go
  @@ -3799,7 +3799,7 @@ func schema_k8sio_api_apps_v1_StatefulSet(ref common.ReferenceCallback) common.O
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
  +				Description: "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -4910,7 +4910,7 @@ func schema_k8sio_api_apps_v1beta1_StatefulSet(ref common.ReferenceCallback) com
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
  +				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -6567,7 +6567,7 @@ func schema_k8sio_api_apps_v1beta2_StatefulSet(ref common.ReferenceCallback) com
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
  +				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -16490,7 +16490,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n  {\n    Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n    Ports:     [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n  }\nThe resulting set of endpoints can be viewed as:\n    a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n    b: [ 10.10.1.1:309, 10.10.2.2:309 ]",
  +				Description: "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t  Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t  Ports:     [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"addresses": {
  @@ -16547,7 +16547,7 @@ func schema_k8sio_api_core_v1_Endpoints(ref common.ReferenceCallback) common.Ope
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "Endpoints is a collection of endpoints that implement the actual service. Example:\n  Name: \"mysvc\",\n  Subsets: [\n    {\n      Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n      Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n    },\n    {\n      Addresses: [{\"ip\": \"10.10.3.3\"}],\n      Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n    },\n ]",
  +				Description: "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t   {\n\t     Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t     Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t   },\n\t   {\n\t     Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t     Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t   },\n\t]",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -21397,7 +21397,7 @@ func schema_k8sio_api_core_v1_PodIP(ref common.ReferenceCallback) common.OpenAPI
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n   IP: An IP address allocated to the pod. Routable at least within the cluster.",
  +				Description: "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n\n\tIP: An IP address allocated to the pod. Routable at least within the cluster.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"ip": {
  @@ -30322,7 +30322,7 @@ func schema_k8sio_api_flowcontrol_v1alpha1_LimitedPriorityLevelConfiguration(ref
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
  +				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"assuredConcurrencyShares": {
  @@ -31307,7 +31307,7 @@ func schema_k8sio_api_flowcontrol_v1beta1_LimitedPriorityLevelConfiguration(ref
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
  +				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"assuredConcurrencyShares": {
  @@ -32292,7 +32292,7 @@ func schema_k8sio_api_flowcontrol_v1beta2_LimitedPriorityLevelConfiguration(ref
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
  +				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"assuredConcurrencyShares": {
  @@ -46088,7 +46088,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -46099,7 +46099,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
  diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  index 8ceea79b0dc..241dd297389 100644
  --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  @@ -3304,7 +3304,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -3315,7 +3315,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
  diff --git a/staging/src/k8s.io/code-generator/examples/apiserver/openapi/zz_generated.openapi.go b/staging/src/k8s.io/code-generator/examples/apiserver/openapi/zz_generated.openapi.go
  index c2e72aab834..58faccba6f2 100644
  --- a/staging/src/k8s.io/code-generator/examples/apiserver/openapi/zz_generated.openapi.go
  +++ b/staging/src/k8s.io/code-generator/examples/apiserver/openapi/zz_generated.openapi.go
  @@ -2367,7 +2367,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -2378,7 +2378,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
  diff --git a/staging/src/k8s.io/kube-aggregator/pkg/generated/openapi/zz_generated.openapi.go b/staging/src/k8s.io/kube-aggregator/pkg/generated/openapi/zz_generated.openapi.go
  index 3272fa71e5c..a1490307a23 100644
  --- a/staging/src/k8s.io/kube-aggregator/pkg/generated/openapi/zz_generated.openapi.go
  +++ b/staging/src/k8s.io/kube-aggregator/pkg/generated/openapi/zz_generated.openapi.go
  @@ -2370,7 +2370,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -2381,7 +2381,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
  diff --git a/staging/src/k8s.io/sample-apiserver/pkg/generated/openapi/zz_generated.openapi.go b/staging/src/k8s.io/sample-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  index 139da2d4649..cef3b163ad1 100644
  --- a/staging/src/k8s.io/sample-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  +++ b/staging/src/k8s.io/sample-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  @@ -2368,7 +2368,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -2379,7 +2379,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
!!! [0623 11:27:36] Call tree:
!!! [0623 11:27:36]  1: hack/make-rules/../../hack/verify-generated-files.sh:29 kube::util::ensure_clean_working_dir(...)
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify generated-protobuf 46s

make verify WHAT=generated-protobuf
2022/06/23 11:28:33 k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:33 k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:34 k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:34 k8s.io/kubernetes/vendor/k8s.io/api/admission/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:34 k8s.io/kubernetes/vendor/k8s.io/api/admission/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:34 k8s.io/kubernetes/vendor/k8s.io/api/admissionregistration/v1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/admissionregistration/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:34 k8s.io/kubernetes/vendor/k8s.io/api/admissionregistration/v1beta1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/admissionregistration/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:35 k8s.io/kubernetes/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:35 k8s.io/kubernetes/vendor/k8s.io/api/apps/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:36 k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:37 k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta2/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:37 k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:37 k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1beta1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:37 k8s.io/kubernetes/vendor/k8s.io/api/authorization/v1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/authorization/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:38 k8s.io/kubernetes/vendor/k8s.io/api/authorization/v1beta1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/authorization/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:38 k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v1/generated.proto:25:1: warning: Import k8s.io/api/core/v1/generated.proto is unused.
2022/06/23 11:28:39 k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2/generated.proto:25:1: warning: Import k8s.io/api/core/v1/generated.proto is unused.
2022/06/23 11:28:39 k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2beta1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2beta1/generated.proto:25:1: warning: Import k8s.io/api/core/v1/generated.proto is unused.
2022/06/23 11:28:40 k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2beta2/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2beta2/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2beta2/generated.proto:25:1: warning: Import k8s.io/api/core/v1/generated.proto is unused.
2022/06/23 11:28:41 k8s.io/kubernetes/vendor/k8s.io/api/batch/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/batch/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:41 k8s.io/kubernetes/vendor/k8s.io/api/batch/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/batch/v1beta1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:42 k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1/generated.proto:25:1: warning: Import k8s.io/api/core/v1/generated.proto is unused.
2022/06/23 11:28:42 k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1beta1/generated.proto:25:1: warning: Import k8s.io/api/core/v1/generated.proto is unused.
2022/06/23 11:28:42 k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:42 k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1beta1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:44 k8s.io/kubernetes/vendor/k8s.io/api/core/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:46 k8s.io/kubernetes/vendor/k8s.io/api/discovery/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/discovery/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:46 k8s.io/kubernetes/vendor/k8s.io/api/discovery/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/discovery/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:47 k8s.io/kubernetes/vendor/k8s.io/api/events/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/events/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:47 k8s.io/kubernetes/vendor/k8s.io/api/events/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/events/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:48 k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:49 k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1alpha1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1alpha1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:49 k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1beta1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:49 k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1beta2/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1beta2/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:50 k8s.io/kubernetes/vendor/k8s.io/api/imagepolicy/v1alpha1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/imagepolicy/v1alpha1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:50 k8s.io/kubernetes/vendor/k8s.io/api/networking/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/networking/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:51 k8s.io/kubernetes/vendor/k8s.io/api/networking/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/networking/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:51 k8s.io/kubernetes/vendor/k8s.io/api/node/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/node/v1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:52 k8s.io/kubernetes/vendor/k8s.io/api/node/v1alpha1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/node/v1alpha1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:52 k8s.io/kubernetes/vendor/k8s.io/api/node/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/node/v1beta1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:52 k8s.io/kubernetes/vendor/k8s.io/api/policy/v1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/policy/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:53 k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:53 k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:53 k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1alpha1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1alpha1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:53 k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1beta1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:54 k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1/generated.proto:25:1: warning: Import k8s.io/api/core/v1/generated.proto is unused.
2022/06/23 11:28:54 k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1alpha1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1alpha1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1alpha1/generated.proto:25:1: warning: Import k8s.io/api/core/v1/generated.proto is unused.
2022/06/23 11:28:55 k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1beta1/generated.proto:25:1: warning: Import k8s.io/api/core/v1/generated.proto is unused.
2022/06/23 11:28:55 k8s.io/kubernetes/vendor/k8s.io/api/storage/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/storage/v1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:56 k8s.io/kubernetes/vendor/k8s.io/api/storage/v1alpha1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/storage/v1alpha1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:56 k8s.io/kubernetes/vendor/k8s.io/api/storage/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/api/storage/v1beta1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:56 k8s.io/kubernetes/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:57 k8s.io/kubernetes/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:57 k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/apis/audit/v1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:58 k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/apis/example/v1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/apis/example/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:58 k8s.io/kubernetes/vendor/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:58 k8s.io/kubernetes/vendor/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1/generated.proto:26:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:58 k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/custom_metrics/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/custom_metrics/v1beta1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:59 k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/custom_metrics/v1beta2/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/custom_metrics/v1beta2/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:59 k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/external_metrics/v1beta1/generated.proto:27:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/external_metrics/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
2022/06/23 11:28:59 k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/metrics/v1alpha1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/metrics/v1alpha1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/metrics/v1alpha1/generated.proto:25:1: warning: Import k8s.io/api/core/v1/generated.proto is unused.
2022/06/23 11:29:00 k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/metrics/v1beta1/generated.proto:28:1: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/metrics/v1beta1/generated.proto:29:1: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto is unused.
k8s.io/kubernetes/vendor/k8s.io/metrics/pkg/apis/metrics/v1beta1/generated.proto:25:1: warning: Import k8s.io/api/core/v1/generated.proto is unused.
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify generated-swagger-docs 11s

make verify WHAT=generated-swagger-docs
Generated swagger type documentation is out of date:
--- /home/prow/go/src/k8s.io/kubernetes/./staging/src/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go	2022-06-23 11:10:41.470992832 +0000
+++ /tmp/swagger-docs.zg2PYd/src/k8s.io/kubernetes/./staging/src/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go	2022-06-23 11:30:12.692985003 +0000
@@ -198,7 +198,7 @@ func (ScaleStatus) SwaggerDoc() map[stri
 }
 
 var map_StatefulSet = map[string]string{
-	"":       "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
+	"":       "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
 	"spec":   "Spec defines the desired identities of pods in this set.",
 	"status": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.",
 }--- /home/prow/go/src/k8s.io/kubernetes/./staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go	2022-06-23 11:10:41.470992832 +0000
+++ /tmp/swagger-docs.zg2PYd/src/k8s.io/kubernetes/./staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go	2022-06-23 11:30:12.628980589 +0000
@@ -291,7 +291,7 @@ func (RollingUpdateStatefulSetStrategy)
 }
 
 var map_StatefulSet = map[string]string{
-	"":         "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
+	"":         "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
 	"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
 	"spec":     "Spec defines the desired identities of pods in this set.",
 	"status":   "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.",--- /home/prow/go/src/k8s.io/kubernetes/./staging/src/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go	2022-06-23 11:10:41.474992831 +0000
+++ /tmp/swagger-docs.zg2PYd/src/k8s.io/kubernetes/./staging/src/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go	2022-06-23 11:30:12.764989970 +0000
@@ -322,7 +322,7 @@ func (ScaleStatus) SwaggerDoc() map[stri
 }
 
 var map_StatefulSet = map[string]string{
-	"":       "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
+	"":       "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
 	"spec":   "Spec defines the desired identities of pods in this set.",
 	"status": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.",
 }--- /home/prow/go/src/k8s.io/kubernetes/./staging/src/k8s.io/api/flowcontrol/v1beta1/types_swagger_doc_generated.go	2022-06-23 11:10:41.514992831 +0000
+++ /tmp/swagger-docs.zg2PYd/src/k8s.io/kubernetes/./staging/src/k8s.io/api/flowcontrol/v1beta1/types_swagger_doc_generated.go	2022-06-23 11:30:15.293164350 +0000
@@ -111,7 +111,7 @@ func (LimitResponse) SwaggerDoc() map[st
 }
 
 var map_LimitedPriorityLevelConfiguration = map[string]string{
-	"":                         "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
+	"":                         "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
 	"assuredConcurrencyShares": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time.  ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) ",
 	"limitResponse":            "`limitResponse` indicates what to do with requests that can not be executed right now",
 }--- /home/prow/go/src/k8s.io/kubernetes/./staging/src/k8s.io/api/flowcontrol/v1alpha1/types_swagger_doc_generated.go	2022-06-23 11:10:41.510992831 +0000
+++ /tmp/swagger-docs.zg2PYd/src/k8s.io/kubernetes/./staging/src/k8s.io/api/flowcontrol/v1alpha1/types_swagger_doc_generated.go	2022-06-23 11:30:15.225159660 +0000
@@ -111,7 +111,7 @@ func (LimitResponse) SwaggerDoc() map[st
 }
 
 var map_LimitedPriorityLevelConfiguration = map[string]string{
-	"":                         "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
+	"":                         "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
 	"assuredConcurrencyShares": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time.  ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) ",
 	"limitResponse":            "`limitResponse` indicates what to do with requests that can not be executed right now",
 }--- /home/prow/go/src/k8s.io/kubernetes/./staging/src/k8s.io/api/flowcontrol/v1beta2/types_swagger_doc_generated.go	2022-06-23 11:10:41.514992831 +0000
+++ /tmp/swagger-docs.zg2PYd/src/k8s.io/kubernetes/./staging/src/k8s.io/api/flowcontrol/v1beta2/types_swagger_doc_generated.go	2022-06-23 11:30:15.361169041 +0000
@@ -111,7 +111,7 @@ func (LimitResponse) SwaggerDoc() map[st
 }
 
 var map_LimitedPriorityLevelConfiguration = map[string]string{
-	"":                         "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
+	"":                         "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
 	"assuredConcurrencyShares": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time.  ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) ",
 	"limitResponse":            "`limitResponse` indicates what to do with requests that can not be executed right now",
 }--- /home/prow/go/src/k8s.io/kubernetes/./staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go	2022-06-23 11:10:41.502992831 +0000
+++ /tmp/swagger-docs.zg2PYd/src/k8s.io/kubernetes/./staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go	2022-06-23 11:30:12.264955481 +0000
@@ -515,7 +515,7 @@ func (EndpointPort) SwaggerDoc() map[str
 }
 
 var map_EndpointSubset = map[string]string{
-	"":                  "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n  {\n    Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n    Ports:     [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n  }\nThe resulting set of endpoints can be viewed as:\n    a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n    b: [ 10.10.1.1:309, 10.10.2.2:309 ]",
+	"":                  "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t  Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t  Ports:     [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]",
 	"addresses":         "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.",
 	"notReadyAddresses": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.",
 	"ports":             "Port numbers available on the related IP addresses.",
@@ -526,7 +526,7 @@ func (EndpointSubset) SwaggerDoc() map[s
 }
 
 var map_Endpoints = map[string]string{
-	"":         "Endpoints is a collection of endpoints that implement the actual service. Example:\n  Name: \"mysvc\",\n  Subsets: [\n    {\n      Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n      Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n    },\n    {\n      Addresses: [{\"ip\": \"10.10.3.3\"}],\n      Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n    },\n ]",
+	"":         "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t   {\n\t     Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t     Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t   },\n\t   {\n\t     Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t     Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t   },\n\t]",
 	"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
 	"subsets":  "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.",
 }
@@ -1535,7 +1535,7 @@ func (PodExecOptions) SwaggerDoc() map[s
 }
 
 var map_PodIP = map[string]string{
-	"":   "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n   IP: An IP address allocated to the pod. Routable at least within the cluster.",
+	"":   "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n\n\tIP: An IP address allocated to the pod. Routable at least within the cluster.",
 	"ip": "ip is an IP address (IPv4 or IPv6) assigned to the pod",
 }
 --- /home/prow/go/src/k8s.io/kubernetes/./staging/src/k8s.io/api/apiserverinternal/v1alpha1/types_swagger_doc_generated.go	2022-06-23 11:10:41.458992832 +0000
+++ /tmp/swagger-docs.zg2PYd/src/k8s.io/kubernetes/./staging/src/k8s.io/api/apiserverinternal/v1alpha1/types_swagger_doc_generated.go	2022-06-23 11:30:15.429173732 +0000
@@ -39,7 +39,7 @@ func (ServerStorageVersion) SwaggerDoc()
 }
 
 var map_StorageVersion = map[string]string{
-	"":         "\n Storage version of a specific resource.",
+	"":         "Storage version of a specific resource.",
 	"metadata": "The name is <group>.<resource>.",
 	"spec":     "Spec is an empty spec. It is here to comply with Kubernetes API style.",
 	"status":   "API server instances report the version they can decode and the version they encode objects to when persisting objects in the backend.",
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify internal-modules 0.20s

make verify WHAT=internal-modules
Unexpected dirty working directory:

  diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go
  index 74e4c1804ce..aa66d26d985 100644
  --- a/pkg/generated/openapi/zz_generated.openapi.go
  +++ b/pkg/generated/openapi/zz_generated.openapi.go
  @@ -3799,7 +3799,7 @@ func schema_k8sio_api_apps_v1_StatefulSet(ref common.ReferenceCallback) common.O
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
  +				Description: "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -4910,7 +4910,7 @@ func schema_k8sio_api_apps_v1beta1_StatefulSet(ref common.ReferenceCallback) com
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
  +				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -6567,7 +6567,7 @@ func schema_k8sio_api_apps_v1beta2_StatefulSet(ref common.ReferenceCallback) com
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
  +				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -16490,7 +16490,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n  {\n    Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n    Ports:     [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n  }\nThe resulting set of endpoints can be viewed as:\n    a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n    b: [ 10.10.1.1:309, 10.10.2.2:309 ]",
  +				Description: "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t  Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t  Ports:     [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"addresses": {
  @@ -16547,7 +16547,7 @@ func schema_k8sio_api_core_v1_Endpoints(ref common.ReferenceCallback) common.Ope
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "Endpoints is a collection of endpoints that implement the actual service. Example:\n  Name: \"mysvc\",\n  Subsets: [\n    {\n      Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n      Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n    },\n    {\n      Addresses: [{\"ip\": \"10.10.3.3\"}],\n      Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n    },\n ]",
  +				Description: "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t   {\n\t     Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t     Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t   },\n\t   {\n\t     Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t     Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t   },\n\t]",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -21397,7 +21397,7 @@ func schema_k8sio_api_core_v1_PodIP(ref common.ReferenceCallback) common.OpenAPI
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n   IP: An IP address allocated to the pod. Routable at least within the cluster.",
  +				Description: "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n\n\tIP: An IP address allocated to the pod. Routable at least within the cluster.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"ip": {
  @@ -30322,7 +30322,7 @@ func schema_k8sio_api_flowcontrol_v1alpha1_LimitedPriorityLevelConfiguration(ref
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
  +				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"assuredConcurrencyShares": {
  @@ -31307,7 +31307,7 @@ func schema_k8sio_api_flowcontrol_v1beta1_LimitedPriorityLevelConfiguration(ref
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
  +				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"assuredConcurrencyShares": {
  @@ -32292,7 +32292,7 @@ func schema_k8sio_api_flowcontrol_v1beta2_LimitedPriorityLevelConfiguration(ref
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
  +				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"assuredConcurrencyShares": {
  @@ -46088,7 +46088,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -46099,7 +46099,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
  diff --git a/staging/src/k8s.io/api/apps/v1/generated.proto b/staging/src/k8s.io/api/apps/v1/generated.proto
  index 1bdc400b9d2..8f36129bf2c 100644
  --- a/staging/src/k8s.io/api/apps/v1/generated.proto
  +++ b/staging/src/k8s.io/api/apps/v1/generated.proto
  @@ -570,8 +570,9 @@ message RollingUpdateStatefulSetStrategy {
   
   // StatefulSet represents a set of pods with consistent identities.
   // Identities are defined as:
  -//  - Network: A single stable DNS and hostname.
  -//  - Storage: As many VolumeClaims as requested.
  +//   - Network: A single stable DNS and hostname.
  +//   - Storage: As many VolumeClaims as requested.
  +//
   // The StatefulSet guarantees that a given network identity will always
   // map to the same storage identity.
   message StatefulSet {
  diff --git a/staging/src/k8s.io/api/apps/v1beta1/generated.proto b/staging/src/k8s.io/api/apps/v1beta1/generated.proto
  index 53df96ee4de..3e4420f96d4 100644
  --- a/staging/src/k8s.io/api/apps/v1beta1/generated.proto
  +++ b/staging/src/k8s.io/api/apps/v1beta1/generated.proto
  @@ -332,8 +332,9 @@ message ScaleStatus {
   // more information.
   // StatefulSet represents a set of pods with consistent identities.
   // Identities are defined as:
  -//  - Network: A single stable DNS and hostname.
  -//  - Storage: As many VolumeClaims as requested.
  +//   - Network: A single stable DNS and hostname.
  +//   - Storage: As many VolumeClaims as requested.
  +//
   // The StatefulSet guarantees that a given network identity will always
   // map to the same storage identity.
   message StatefulSet {
  diff --git a/staging/src/k8s.io/api/apps/v1beta2/generated.proto b/staging/src/k8s.io/api/apps/v1beta2/generated.proto
  index b5bc8c0cab5..810869809c0 100644
  --- a/staging/src/k8s.io/api/apps/v1beta2/generated.proto
  +++ b/staging/src/k8s.io/api/apps/v1beta2/generated.proto
  @@ -620,8 +620,9 @@ message ScaleStatus {
   // more information.
   // StatefulSet represents a set of pods with consistent identities.
   // Identities are defined as:
  -//  - Network: A single stable DNS and hostname.
  -//  - Storage: As many VolumeClaims as requested.
  +//   - Network: A single stable DNS and hostname.
  +//   - Storage: As many VolumeClaims as requested.
  +//
   // The StatefulSet guarantees that a given network identity will always
   // map to the same storage identity.
   message StatefulSet {
  diff --git a/staging/src/k8s.io/api/core/v1/generated.proto b/staging/src/k8s.io/api/core/v1/generated.proto
  index bb6f8b17c51..e7768a7aac6 100644
  --- a/staging/src/k8s.io/api/core/v1/generated.proto
  +++ b/staging/src/k8s.io/api/core/v1/generated.proto
  @@ -1071,13 +1071,16 @@ message EndpointPort {
   // EndpointSubset is a group of addresses with a common set of ports. The
   // expanded set of endpoints is the Cartesian product of Addresses x Ports.
   // For example, given:
  -//   {
  -//     Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
  -//     Ports:     [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
  -//   }
  +//
  +// 	{
  +// 	  Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
  +// 	  Ports:     [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
  +// 	}
  +//
   // The resulting set of endpoints can be viewed as:
  -//     a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
  -//     b: [ 10.10.1.1:309, 10.10.2.2:309 ]
  +//
  +// 	a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
  +// 	b: [ 10.10.1.1:309, 10.10.2.2:309 ]
   message EndpointSubset {
     // IP addresses which offer the related ports that are marked as ready. These endpoints
     // should be considered safe for load balancers and clients to utilize.
  @@ -1096,17 +1099,18 @@ message EndpointSubset {
   }
   
   // Endpoints is a collection of endpoints that implement the actual service. Example:
  -//   Name: "mysvc",
  -//   Subsets: [
  -//     {
  -//       Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
  -//       Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
  -//     },
  -//     {
  -//       Addresses: [{"ip": "10.10.3.3"}],
  -//       Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
  -//     },
  -//  ]
  +//
  +// 	 Name: "mysvc",
  +// 	 Subsets: [
  +// 	   {
  +// 	     Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
  +// 	     Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
  +// 	   },
  +// 	   {
  +// 	     Addresses: [{"ip": "10.10.3.3"}],
  +// 	     Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
  +// 	   },
  +// 	]
   message Endpoints {
     // Standard object's metadata.
     // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
  @@ -2544,6 +2548,7 @@ message ObjectFieldSelector {
   //     and the version of the actual struct is irrelevant.
   //  5. We cannot easily change it.  Because this type is embedded in many locations, updates to this type
   //     will affect numerous schemas.  Don't make new APIs embed an underspecified API type they do not control.
  +//
   // Instead of using this type, create a locally provided and used type that is well-focused on your reference.
   // For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 .
   // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
  @@ -3241,7 +3246,8 @@ message PodExecOptions {
   
   // IP address information for entries in the (plural) PodIPs field.
   // Each entry includes:
  -//    IP: An IP address allocated to the pod. Routable at least within the cluster.
  +//
  +// 	IP: An IP address allocated to the pod. Routable at least within the cluster.
   message PodIP {
     // ip is an IP address (IPv4 or IPv6) assigned to the pod
     optional string ip = 1;
  diff --git a/staging/src/k8s.io/api/flowcontrol/v1alpha1/generated.proto b/staging/src/k8s.io/api/flowcontrol/v1alpha1/generated.proto
  index 347c9d3fa01..455a0fcaf92 100644
  --- a/staging/src/k8s.io/api/flowcontrol/v1alpha1/generated.proto
  +++ b/staging/src/k8s.io/api/flowcontrol/v1alpha1/generated.proto
  @@ -153,8 +153,8 @@ message LimitResponse {
   
   // LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits.
   // It addresses two issues:
  -//  * How are requests for this priority level limited?
  -//  * What should be done with requests that exceed the limit?
  +//   - How are requests for this priority level limited?
  +//   - What should be done with requests that exceed the limit?
   message LimitedPriorityLevelConfiguration {
     // `assuredConcurrencyShares` (ACS) configures the execution
     // limit, which is a limit on the number of requests of this
  diff --git a/staging/src/k8s.io/api/flowcontrol/v1beta1/generated.proto b/staging/src/k8s.io/api/flowcontrol/v1beta1/generated.proto
  index 474d520df74..74327452517 100644
  --- a/staging/src/k8s.io/api/flowcontrol/v1beta1/generated.proto
  +++ b/staging/src/k8s.io/api/flowcontrol/v1beta1/generated.proto
  @@ -153,8 +153,8 @@ message LimitResponse {
   
   // LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits.
   // It addresses two issues:
  -//  * How are requests for this priority level limited?
  -//  * What should be done with requests that exceed the limit?
  +//   - How are requests for this priority level limited?
  +//   - What should be done with requests that exceed the limit?
   message LimitedPriorityLevelConfiguration {
     // `assuredConcurrencyShares` (ACS) configures the execution
     // limit, which is a limit on the number of requests of this
  diff --git a/staging/src/k8s.io/api/flowcontrol/v1beta2/generated.proto b/staging/src/k8s.io/api/flowcontrol/v1beta2/generated.proto
  index 80bbaedea2f..ed57cda8ec6 100644
  --- a/staging/src/k8s.io/api/flowcontrol/v1beta2/generated.proto
  +++ b/staging/src/k8s.io/api/flowcontrol/v1beta2/generated.proto
  @@ -153,8 +153,8 @@ message LimitResponse {
   
   // LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits.
   // It addresses two issues:
  -//  * How are requests for this priority level limited?
  -//  * What should be done with requests that exceed the limit?
  +//   - How are requests for this priority level limited?
  +//   - What should be done with requests that exceed the limit?
   message LimitedPriorityLevelConfiguration {
     // `assuredConcurrencyShares` (ACS) configures the execution
     // limit, which is a limit on the number of requests of this
  diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  index 8ceea79b0dc..241dd297389 100644
  --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  @@ -3304,7 +3304,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -3315,7 +3315,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
  diff --git a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
  index b1d314fb958..2be188a6a8e 100644
  --- a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
  +++ b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
  @@ -162,17 +162,18 @@ message ApplyOptions {
   // Condition contains details for one aspect of the current state of this API Resource.
   // ---
   // This struct is intended for direct use as an array at the field path .status.conditions.  For example,
  -// type FooStatus struct{
  -//     // Represents the observations of a foo's current state.
  -//     // Known .status.conditions.type are: "Available", "Progressing", and "Degraded"
  -//     // +patchMergeKey=type
  -//     // +patchStrategy=merge
  -//     // +listType=map
  -//     // +listMapKey=type
  -//     Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
   //
  -//     // other fields
  -// }
  +// 	type FooStatus struct{
  +// 	    // Represents the observations of a foo's current state.
  +// 	    // Known .status.conditions.type are: "Available", "Progressing", and "Degraded"
  +// 	    // +patchMergeKey=type
  +// 	    // +patchStrategy=merge
  +// 	    // +listType=map
  +// 	    // +listMapKey=type
  +// 	    Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
  +//
  +// 	    // other fields
  +// 	}
   message Condition {
     // type of condition in CamelCase or in foo.example.com/CamelCase.
     // ---
  diff --git a/staging/src/k8s.io/apimachinery/pkg/runtime/generated.proto b/staging/src/k8s.io/apimachinery/pkg/runtime/generated.proto
  index de634e2c64e..5f06cc5743d 100644
  --- a/staging/src/k8s.io/apimachinery/pkg/runtime/generated.proto
  +++ b/staging/src/k8s.io/apimachinery/pkg/runtime/generated.proto
  @@ -31,32 +31,37 @@ option go_package = "k8s.io/apimachinery/pkg/runtime";
   // various plugin types.
   //
   // // Internal package:
  -// type MyAPIObject struct {
  -// 	runtime.TypeMeta `json:",inline"`
  -// 	MyPlugin runtime.Object `json:"myPlugin"`
  -// }
  -// type PluginA struct {
  -// 	AOption string `json:"aOption"`
  -// }
  +//
  +// 	type MyAPIObject struct {
  +// 		runtime.TypeMeta `json:",inline"`
  +// 		MyPlugin runtime.Object `json:"myPlugin"`
  +// 	}
  +//
  +// 	type PluginA struct {
  +// 		AOption string `json:"aOption"`
  +// 	}
   //
   // // External package:
  -// type MyAPIObject struct {
  -// 	runtime.TypeMeta `json:",inline"`
  -// 	MyPlugin runtime.RawExtension `json:"myPlugin"`
  -// }
  -// type PluginA struct {
  -// 	AOption string `json:"aOption"`
  -// }
  +//
  +// 	type MyAPIObject struct {
  +// 		runtime.TypeMeta `json:",inline"`
  +// 		MyPlugin runtime.RawExtension `json:"myPlugin"`
  +// 	}
  +//
  +// 	type PluginA struct {
  +// 		AOption string `json:"aOption"`
  +// 	}
   //
   // // On the wire, the JSON will look something like this:
  -// {
  -// 	"kind":"MyAPIObject",
  -// 	"apiVersion":"v1",
  -// 	"myPlugin": {
  -// 		"kind":"PluginA",
  -// 		"aOption":"foo",
  -// 	},
  -// }
  +//
  +// 	{
  +// 		"kind":"MyAPIObject",
  +// 		"apiVersion":"v1",
  +// 		"myPlugin": {
  +// 			"kind":"PluginA",
  +// 			"aOption":"foo",
  +// 		},
  +// 	}
   //
   // So what happens? Decode first uses json or yaml to unmarshal the serialized data into
   // your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked.
  @@ -78,10 +83,12 @@ message RawExtension {
   
   // TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type,
   // like this:
  -// type MyAwesomeAPIObject struct {
  -//      runtime.TypeMeta    `json:",inline"`
  -//      ... // other fields
  -// }
  +//
  +// 	type MyAwesomeAPIObject struct {
  +// 	     runtime.TypeMeta    `json:",inline"`
  +// 	     ... // other fields
  +// 	}
  +//
   // func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind
   //
   // TypeMeta is provided here for convenience. You may use it directly from this package or define
  diff --git a/staging/src/k8s.io/code-generator/examples/apiserver/openapi/zz_generated.openapi.go b/staging/src/k8s.io/code-generator/examples/apiserver/openapi/zz_generated.openapi.go
  index c2e72aab834..58faccba6f2 100644
  --- a/staging/src/k8s.io/code-generator/examples/apiserver/openapi/zz_generated.openapi.go
  +++ b/staging/src/k8s.io/code-generator/examples/apiserver/openapi/zz_generated.openapi.go
  @@ -2367,7 +2367,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -2378,7 +2378,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
  diff --git a/staging/src/k8s.io/kube-aggregator/pkg/generated/openapi/zz_generated.openapi.go b/staging/src/k8s.io/kube-aggregator/pkg/generated/openapi/zz_generated.openapi.go
  index 3272fa71e5c..a1490307a23 100644
  --- a/staging/src/k8s.io/kube-aggregator/pkg/generated/openapi/zz_generated.openapi.go
  +++ b/staging/src/k8s.io/kube-aggregator/pkg/generated/openapi/zz_generated.openapi.go
  @@ -2370,7 +2370,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -2381,7 +2381,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
  diff --git a/staging/src/k8s.io/sample-apiserver/pkg/generated/openapi/zz_generated.openapi.go b/staging/src/k8s.io/sample-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  index 139da2d4649..cef3b163ad1 100644
  --- a/staging/src/k8s.io/sample-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  +++ b/staging/src/k8s.io/sample-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  @@ -2368,7 +2368,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -2379,7 +2379,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
!!! [0623 11:52:53] Call tree:
!!! [0623 11:52:53]  1: hack/make-rules/../../hack/verify-internal-modules.sh:24 kube::util::ensure_clean_working_dir(...)
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify mocks 23s

make verify WHAT=mocks
test/e2e/storage/drivers/csi-test/driver/driver.go
go: downloading github.com/container-storage-interface/spec v1.6.0
pkg/kubelet/eviction/types.go
pkg/kubelet/server/stats/summary.go
pkg/kubelet/server/stats/handler.go
pkg/kubelet/status/status_manager.go
pkg/kubelet/apis/podresources/types.go
pkg/kubelet/cadvisor/types.go
pkg/kubelet/container/runtime.go
pkg/kubelet/container/runtime_cache.go
pkg/kubelet/pod/pod_manager.go
go: downloading github.com/opencontainers/selinux v1.10.0
staging/src/k8s.io/legacy-cloud-providers/azure/clients/snapshotclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/vmclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/containerserviceclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/vmssvmclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/diskclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/interfaceclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/deploymentclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/vmssclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/routetableclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/storageaccountclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/securitygroupclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/subnetclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/publicipclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/armclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/loadbalancerclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/vmsizeclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/clients/routeclient/interface.go
staging/src/k8s.io/legacy-cloud-providers/azure/azure_vmsets.go
Mock files are out of date. Please run hack/update-mocks.sh
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify openapi-spec 3m12s

make verify WHAT=openapi-spec
rm: cannot remove '/home/prow/go/src/k8s.io/kubernetes/hack/../api/openapi-spec/v3/*': No such file or directory
rm: refusing to remove '.' or '..' directory: skipping '/home/prow/go/src/k8s.io/kubernetes/hack/../api/openapi-spec/v3/.'
rm: refusing to remove '.' or '..' directory: skipping '/home/prow/go/src/k8s.io/kubernetes/hack/../api/openapi-spec/v3/..'
/home/prow/go/src/k8s.io/kubernetes/api/openapi-spec is out of date. Please run hack/update-openapi-spec.sh
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


verify yamlfmt 0.18s

make verify WHAT=yamlfmt
Unexpected dirty working directory:

  diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go
  index 74e4c1804ce..aa66d26d985 100644
  --- a/pkg/generated/openapi/zz_generated.openapi.go
  +++ b/pkg/generated/openapi/zz_generated.openapi.go
  @@ -3799,7 +3799,7 @@ func schema_k8sio_api_apps_v1_StatefulSet(ref common.ReferenceCallback) common.O
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
  +				Description: "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -4910,7 +4910,7 @@ func schema_k8sio_api_apps_v1beta1_StatefulSet(ref common.ReferenceCallback) com
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
  +				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -6567,7 +6567,7 @@ func schema_k8sio_api_apps_v1beta2_StatefulSet(ref common.ReferenceCallback) com
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
  +				Description: "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n  - Network: A single stable DNS and hostname.\n  - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -16490,7 +16490,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n  {\n    Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n    Ports:     [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n  }\nThe resulting set of endpoints can be viewed as:\n    a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n    b: [ 10.10.1.1:309, 10.10.2.2:309 ]",
  +				Description: "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t  Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t  Ports:     [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"addresses": {
  @@ -16547,7 +16547,7 @@ func schema_k8sio_api_core_v1_Endpoints(ref common.ReferenceCallback) common.Ope
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "Endpoints is a collection of endpoints that implement the actual service. Example:\n  Name: \"mysvc\",\n  Subsets: [\n    {\n      Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n      Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n    },\n    {\n      Addresses: [{\"ip\": \"10.10.3.3\"}],\n      Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n    },\n ]",
  +				Description: "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t   {\n\t     Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t     Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t   },\n\t   {\n\t     Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t     Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t   },\n\t]",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"kind": {
  @@ -21397,7 +21397,7 @@ func schema_k8sio_api_core_v1_PodIP(ref common.ReferenceCallback) common.OpenAPI
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n   IP: An IP address allocated to the pod. Routable at least within the cluster.",
  +				Description: "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n\n\tIP: An IP address allocated to the pod. Routable at least within the cluster.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"ip": {
  @@ -30322,7 +30322,7 @@ func schema_k8sio_api_flowcontrol_v1alpha1_LimitedPriorityLevelConfiguration(ref
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
  +				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"assuredConcurrencyShares": {
  @@ -31307,7 +31307,7 @@ func schema_k8sio_api_flowcontrol_v1beta1_LimitedPriorityLevelConfiguration(ref
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
  +				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"assuredConcurrencyShares": {
  @@ -32292,7 +32292,7 @@ func schema_k8sio_api_flowcontrol_v1beta2_LimitedPriorityLevelConfiguration(ref
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
  +				Description: "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n  - How are requests for this priority level limited?\n  - What should be done with requests that exceed the limit?",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"assuredConcurrencyShares": {
  @@ -46088,7 +46088,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -46099,7 +46099,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
  diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  index 8ceea79b0dc..241dd297389 100644
  --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go
  @@ -3304,7 +3304,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
  +				Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
   				Type:        []string{"object"},
   			},
   		},
  @@ -3315,7 +3315,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback
   	return common.OpenAPIDefinition{
   		Schema: spec.Schema{
   			SchemaProps: spec.SchemaProps{
  -				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n     runtime.TypeMeta    `json:\",inline\"`\n     ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
  +				Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t     runtime.TypeMeta    `json:\",inline\"`\n\t     ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.",
   				Type:        []string{"object"},
   				Properties: map[string]spec.Schema{
   					"apiVersion": {
!!! [0623 11:58:36] Call tree:
!!! [0623 11:58:36]  1: hack/make-rules/../../hack/verify-yamlfmt.sh:31 kube::util::ensure_clean_working_dir(...)
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


Show 36 Passed Tests