mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
e738f15f0f
* add retry + timeout + intercept grpc logs * LogStateChanges inside grplog pkg * remove retry and tj/assert * rename nit * Update debugd/internal/cdbg/cmd/deploy.go Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> * Update debugd/internal/cdbg/cmd/deploy.go Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> * paul feedback * return waitFn instead of WaitGroup * Revert "return waitFn instead of WaitGroup" This reverts commit 45700f30e341ce3af509b687febbc0125f7ddb38. * log routine inside debugd constructor * test doubles names * Update debugd/internal/cdbg/cmd/deploy.go Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> * fix newDebugClient closeFn --------- Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
25 lines
655 B
Python
25 lines
655 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "grpclog",
|
|
srcs = ["grpclog.go"],
|
|
importpath = "github.com/edgelesssys/constellation/v2/internal/grpc/grpclog",
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"@org_golang_google_grpc//connectivity",
|
|
"@org_golang_google_grpc//peer",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "grpclog_test",
|
|
srcs = ["grpclog_test.go"],
|
|
embed = [":grpclog"],
|
|
deps = [
|
|
"@com_github_stretchr_testify//assert",
|
|
"@com_github_stretchr_testify//require",
|
|
"@org_golang_google_grpc//connectivity",
|
|
],
|
|
)
|