blob: bbcaed4175ccef1138f6a257c3c47e4b426eebaa [file] [log] [blame]
Serge Bazanski77628312023-02-15 23:33:22 +01001load("@io_bazel_rules_go//go:def.bzl", "go_library")
2
3go_library(
4 name = "webug",
5 srcs = [
6 "functions.go",
7 "views.go",
8 "webug.go",
9 ],
10 embedsrcs = [
Tim Windelschmidt93b6fad2023-05-04 16:35:17 +020011 "templates/base.gohtml",
12 "templates/fragment_tag.gohtml",
13 "templates/fragment_tag_default.gohtml",
14 "templates/fragment_tag_provided.gohtml",
15 "templates/machines.gohtml",
16 "templates/machine.gohtml",
Serge Bazanski77628312023-02-15 23:33:22 +010017 ],
18 importpath = "source.monogon.dev/cloud/bmaas/bmdb/webug",
19 visibility = ["//visibility:public"],
20 deps = [
21 "//cloud/bmaas/bmdb",
22 "//cloud/bmaas/bmdb/model",
23 "//cloud/bmaas/bmdb/reflection",
24 "@com_github_cenkalti_backoff_v4//:backoff",
25 "@com_github_google_uuid//:uuid",
26 "@io_k8s_klog_v2//:klog",
27 ],
28)