1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3go_library( 4 name = "x509", 5 srcs = ["x509.go"], 6 importpath = "edge-infra.dev/pkg/lib/crypto/certs/x509", 7 visibility = ["//visibility:public"], 8 deps = [ 9 "//pkg/lib/crypto/certs/pem", 10 "@io_k8s_client_go//util/keyutil", 11 ], 12) 13 14go_test( 15 name = "x509_test", 16 srcs = ["x509_test.go"], 17 embed = [":x509"], 18 deps = ["@com_github_stretchr_testify//assert"], 19)