mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 23:49:37 -05:00
35 lines
904 B
Python
35 lines
904 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "filetransfer",
|
|
srcs = [
|
|
"chunkstream.go",
|
|
"filetransfer.go",
|
|
],
|
|
importpath = "github.com/edgelesssys/constellation/v2/debugd/internal/filetransfer",
|
|
visibility = ["//debugd:__subpackages__"],
|
|
deps = [
|
|
"//debugd/internal/debugd",
|
|
"//debugd/internal/filetransfer/streamer",
|
|
"//debugd/service",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "filetransfer_test",
|
|
srcs = [
|
|
"chunkstream_test.go",
|
|
"filetransfer_test.go",
|
|
],
|
|
embed = [":filetransfer"],
|
|
deps = [
|
|
"//debugd/internal/filetransfer/streamer",
|
|
"//debugd/service",
|
|
"//internal/logger",
|
|
"@com_github_stretchr_testify//assert",
|
|
"@com_github_stretchr_testify//require",
|
|
"@org_uber_go_goleak//:goleak",
|
|
],
|
|
)
|