Merge 5 fragile proto-bindings scripts into 1

Each of these scripts is basically identical, and all were too brittle.
Now they should be more resilient and easier to manage.  The script
still needs to be updated if we add new ones, which I do not love.

More cleanup to follow.
This commit is contained in:
Tim Hockin
2023-01-05 13:53:59 -08:00
parent 589300dd84
commit e0ecccff3f
30 changed files with 116 additions and 552 deletions

View File

@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// To regenerate api.pb.go run hack/update-generated-kms.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
package v2alpha1;

View File

@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// To regenerate api.pb.go run hack/update-generated-kms.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
package v1beta1;

View File

@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// To regenerate api.pb.go run hack/update-generated-kms.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
package v2alpha1;

View File

@@ -1,4 +1,4 @@
// To regenerate api.pb.go run hack/update-generated-device-plugin.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
package deviceplugin;

View File

@@ -1,4 +1,4 @@
// To regenerate api.pb.go run hack/update-generated-device-plugin.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
package v1beta1;

View File

@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// To regenerate api.pb.go run hack/update-generated-kubelet-plugin-registration.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
@@ -78,4 +78,4 @@ message NodeUnprepareResourceRequest {
message NodeUnprepareResourceResponse {
// Intentionally empty.
}
}

View File

@@ -1,4 +1,4 @@
// To regenerate api.pb.go run hack/update-generated-kubelet-plugin-registration.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
package pluginregistration;

View File

@@ -1,4 +1,4 @@
// To regenerate api.pb.go run hack/update-generated-kubelet-plugin-registration.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
package pluginregistration;

View File

@@ -1,4 +1,4 @@
// To regenerate api.pb.go run hack/update-generated-kubelet-plugin-registration.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
package pluginregistration;

View File

@@ -1,4 +1,4 @@
// To regenerate api.pb.go run hack/update-generated-pod-resources.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
package v1;

View File

@@ -1,4 +1,4 @@
// To regenerate api.pb.go run hack/update-generated-pod-resources.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
package v1alpha1;
@@ -45,4 +45,4 @@ message ContainerResources {
message ContainerDevices {
string resource_name = 1;
repeated string device_ids = 2;
}
}