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:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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.
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user