mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
24 lines
616 B
Python
24 lines
616 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "nodelock",
|
|
srcs = ["nodelock.go"],
|
|
importpath = "github.com/edgelesssys/constellation/v2/bootstrapper/internal/nodelock",
|
|
visibility = ["//bootstrapper:__subpackages__"],
|
|
deps = [
|
|
"//internal/attestation/initialize",
|
|
"//internal/attestation/vtpm",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "nodelock_test",
|
|
srcs = ["nodelock_test.go"],
|
|
embed = [":nodelock"],
|
|
deps = [
|
|
"//internal/attestation/vtpm",
|
|
"@com_github_stretchr_testify//assert",
|
|
],
|
|
)
|