m/c/metroctl/core: add frontend-independent metroctl support pkg

This adds metroctl/core, a package which contains parts of metroctl
which do significant amounts of work beyond just providing a CLI for
them.
This package is intended to be used for integrating with functions
provided by metroctl, for example for using them in integration tests
or writing other frontends providing functionality similar to metroctl
(like a GUI or webapp).

Change-Id: I8a56bfbefce8d18c6c9be3349e3c7a15a699d009
Reviewed-on: https://review.monogon.dev/c/monogon/+/411
Reviewed-by: Mateusz Zalega <mateusz@monogon.tech>
Vouch-Run-CI: Mateusz Zalega <mateusz@monogon.tech>
diff --git a/third_party/go/repositories.bzl b/third_party/go/repositories.bzl
index c134586..9e7f712 100644
--- a/third_party/go/repositories.bzl
+++ b/third_party/go/repositories.bzl
@@ -551,8 +551,8 @@
     go_repository(
         name = "com_github_diskfs_go_diskfs",
         importpath = "github.com/diskfs/go-diskfs",
-        version = "v1.0.0",
-        sum = "h1:sLQnXItICiYgiHcYNNujKT9kOKnk7diOvZGEKvxrwpc=",
+        version = "v1.2.0",
+        sum = "h1:Ow4xorEDw1VNYKbC+SA/qQNwi5gWIwdKUxmUcLFST24=",
         build_extra_args = [
             "-go_naming_convention=go_default_library",
             "-go_naming_convention_external=go_default_library",
@@ -1742,6 +1742,16 @@
         ],
     )
     go_repository(
+        name = "com_github_pierrec_lz4",
+        importpath = "github.com/pierrec/lz4",
+        version = "v2.3.0+incompatible",
+        sum = "h1:CZzRn4Ut9GbUkHlQ7jqBXeZQV41ZSKWFc302ZU6lUTk=",
+        build_extra_args = [
+            "-go_naming_convention=go_default_library",
+            "-go_naming_convention_external=go_default_library",
+        ],
+    )
+    go_repository(
         name = "com_github_pkg_errors",
         importpath = "github.com/pkg/errors",
         version = "v0.9.1",
@@ -1752,6 +1762,16 @@
         ],
     )
     go_repository(
+        name = "com_github_pkg_xattr",
+        importpath = "github.com/pkg/xattr",
+        version = "v0.4.1",
+        sum = "h1:dhclzL6EqOXNaPDWqoeb9tIxATfBSmjqL0b4DpSjwRw=",
+        build_extra_args = [
+            "-go_naming_convention=go_default_library",
+            "-go_naming_convention_external=go_default_library",
+        ],
+    )
+    go_repository(
         name = "com_github_pquerna_cachecontrol",
         importpath = "github.com/pquerna/cachecontrol",
         version = "v0.0.0-20171018203845-0dec1b30a021",
@@ -2026,6 +2046,16 @@
         ],
     )
     go_repository(
+        name = "com_github_ulikunitz_xz",
+        importpath = "github.com/ulikunitz/xz",
+        version = "v0.5.6",
+        sum = "h1:jGHAfXawEGZQ3blwU5wnWKQJvAraT7Ftq9EXjnXYgt8=",
+        build_extra_args = [
+            "-go_naming_convention=go_default_library",
+            "-go_naming_convention_external=go_default_library",
+        ],
+    )
+    go_repository(
         name = "com_github_urfave_cli",
         importpath = "github.com/urfave/cli",
         version = "v1.22.1",