36 lines
808 B
Text
36 lines
808 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 = ["options.go"],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/apis/componentconfig:go_default_library",
|
||
|
"//pkg/client/leaderelection:go_default_library",
|
||
|
"//pkg/master/ports:go_default_library",
|
||
|
"//pkg/util/config:go_default_library",
|
||
|
"//vendor:github.com/spf13/pflag",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "package-srcs",
|
||
|
srcs = glob(["**"]),
|
||
|
tags = ["automanaged"],
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "all-srcs",
|
||
|
srcs = [":package-srcs"],
|
||
|
tags = ["automanaged"],
|
||
|
)
|