1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "mock_modserver",
testonly = True,
srcs = [
"api.go",
"doc.go",
"mock_api.go",
"testing_helpers.go",
],
importpath = "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/tool/testing/mock_modserver",
visibility = ["//:__subpackages__"],
deps = [
"//internal/api",
"//internal/module/modserver",
"//internal/tool/retry",
"//internal/tool/testing/testhelpers",
"@com_github_golang_mock//gomock",
"@org_uber_go_zap//:zap",
"@org_uber_go_zap//zaptest",
],
)
|