Serge Bazanski | 7762831 | 2023-02-15 23:33:22 +0100 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| 2 | |
| 3 | go_library( |
| 4 | name = "webug", |
| 5 | srcs = [ |
| 6 | "functions.go", |
| 7 | "views.go", |
| 8 | "webug.go", |
| 9 | ], |
| 10 | embedsrcs = [ |
Tim Windelschmidt | 93b6fad | 2023-05-04 16:35:17 +0200 | [diff] [blame^] | 11 | "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 Bazanski | 7762831 | 2023-02-15 23:33:22 +0100 | [diff] [blame] | 17 | ], |
| 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 | ) |