1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3go_library( 4 name = "tokens", 5 srcs = ["tokens.go"], 6 importpath = "edge-infra.dev/pkg/sds/k8s/bootstrap/tokens", 7 visibility = ["//visibility:public"], 8 deps = [ 9 "//pkg/edge/api/graph/model", 10 "@io_k8s_cluster_bootstrap//token/util", 11 ], 12) 13 14go_test( 15 name = "tokens_test", 16 srcs = ["tokens_test.go"], 17 embed = [":tokens"], 18 deps = ["@com_github_stretchr_testify//assert"], 19)