2020-08-10 17:43:49 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
2019-01-12 04:58:27 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-08-10 17:43:49 +00:00
|
|
|
srcs = ["leaderelectionconfig.go"],
|
|
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/component-base/config/options",
|
|
|
|
importpath = "k8s.io/component-base/config/options",
|
|
|
|
visibility = ["//visibility:public"],
|
2019-01-12 04:58:27 +00:00
|
|
|
deps = [
|
2019-04-07 17:07:55 +00:00
|
|
|
"//staging/src/k8s.io/component-base/config:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//vendor/github.com/spf13/pflag:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [":package-srcs"],
|
|
|
|
tags = ["automanaged"],
|
2020-08-10 17:43:49 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2019-01-12 04:58:27 +00:00
|
|
|
)
|