m/node/allocs: split new package off m/node
The metropolis/node package contains various unrelated things. One of
these things are node-wide allocations of identifiers.
These are moved here to the new metropolis/node/allocs package.
Additionally, the constants are renamed to move the type of identifier
in front.
Change-Id: Ibc841ca64d4450a7054463e6d2d44753a118e07a
Reviewed-on: https://review.monogon.dev/c/monogon/+/4566
Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
Tested-by: Jenkins CI
diff --git a/build/bazel/go.MODULE.bazel b/build/bazel/go.MODULE.bazel
index 595e792..b95ea8c 100644
--- a/build/bazel/go.MODULE.bazel
+++ b/build/bazel/go.MODULE.bazel
@@ -293,7 +293,7 @@
"k8s.io/kubernetes": {
"directives": [
"gazelle:proto disable",
- "gazelle:resolve go source.monogon.dev/metropolis/node @monogon//metropolis/node",
+ "gazelle:resolve go source.monogon.dev/metropolis/node/allocs @monogon//metropolis/node/allocs",
],
"patches": [
"//third_party/com_k8s_io_kubernetes:k8s-native-metrics.patch",