k3s/pkg/ssh/BUILD

36 lines
877 B
Python
Raw Normal View History

2016-10-19 21:42:06 +00:00
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
"go_test",
)
go_library(
name = "go_default_library",
srcs = ["ssh.go"],
tags = ["automanaged"],
deps = [
"//vendor:github.com/golang/glog",
"//vendor:github.com/prometheus/client_golang/prometheus",
"//vendor:golang.org/x/crypto/ssh",
2017-01-04 21:55:10 +00:00
"//vendor:k8s.io/client-go/pkg/util/net",
"//vendor:k8s.io/client-go/pkg/util/runtime",
"//vendor:k8s.io/client-go/pkg/util/wait",
2016-10-19 21:42:06 +00:00
],
)
go_test(
name = "go_default_test",
srcs = ["ssh_test.go"],
2016-12-29 21:02:00 +00:00
library = ":go_default_library",
2016-10-19 21:42:06 +00:00
tags = ["automanaged"],
deps = [
"//vendor:github.com/golang/glog",
"//vendor:golang.org/x/crypto/ssh",
2017-01-04 21:55:10 +00:00
"//vendor:k8s.io/client-go/pkg/util/wait",
2016-10-19 21:42:06 +00:00
],
)