1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "mock_rpc",
testonly = True,
srcs = [
"agent_configuration.go",
"doc.go",
"gitlab_access.go",
"gitops.go",
"grpc.go",
"grpctool.go",
"testing_helpers.go",
],
importpath = "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/tool/testing/mock_rpc",
visibility = ["//:__subpackages__"],
deps = [
"//internal/module/agent_configuration/rpc",
"//internal/module/gitops/rpc",
"//internal/tool/grpctool",
"//internal/tool/testing/testhelpers",
"@com_github_golang_mock//gomock",
"@org_golang_google_grpc//:grpc",
"@org_golang_google_grpc//metadata",
"@org_golang_google_protobuf//proto",
],
)
|