From 16b81308cfb7cf2265d69e7180cd024f7c5b89e4 Mon Sep 17 00:00:00 2001 From: Zach Koopmans Date: Fri, 22 Jan 2021 10:49:57 -0800 Subject: Add initial mitigate code and cpu parsing. PiperOrigin-RevId: 353274135 --- runsc/mitigate/BUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 runsc/mitigate/BUILD (limited to 'runsc/mitigate/BUILD') diff --git a/runsc/mitigate/BUILD b/runsc/mitigate/BUILD new file mode 100644 index 000000000..9a9546577 --- /dev/null +++ b/runsc/mitigate/BUILD @@ -0,0 +1,18 @@ +load("//tools:defs.bzl", "go_library", "go_test") + +package(licenses = ["notice"]) + +go_library( + name = "mitigate", + srcs = [ + "cpu.go", + "mitigate.go", + ], +) + +go_test( + name = "mitigate_test", + size = "small", + srcs = ["cpu_test.go"], + library = ":mitigate", +) -- cgit v1.2.3