41 lines
1,016 B
Text
41 lines
1,016 B
Text
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
licenses(["notice"])
|
||
|
|
||
|
load(
|
||
|
"@io_bazel_rules_go//go:def.bzl",
|
||
|
"go_library",
|
||
|
)
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"metrics_client.go",
|
||
|
"metrics_printer.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/api:go_default_library",
|
||
|
"//pkg/api/resource:go_default_library",
|
||
|
"//pkg/api/validation:go_default_library",
|
||
|
"//pkg/client/clientset_generated/internalclientset/typed/core/internalversion:go_default_library",
|
||
|
"//pkg/kubectl:go_default_library",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/labels",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
||
|
"//vendor:k8s.io/heapster/metrics/apis/metrics/v1alpha1",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "package-srcs",
|
||
|
srcs = glob(["**"]),
|
||
|
tags = ["automanaged"],
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "all-srcs",
|
||
|
srcs = [":package-srcs"],
|
||
|
tags = ["automanaged"],
|
||
|
)
|