67 lines
1.7 KiB
Text
67 lines
1.7 KiB
Text
|
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 = [
|
||
|
"attributes.go",
|
||
|
"chain.go",
|
||
|
"config.go",
|
||
|
"errors.go",
|
||
|
"handler.go",
|
||
|
"interfaces.go",
|
||
|
"plugins.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/api:go_default_library",
|
||
|
"//pkg/apis/componentconfig:go_default_library",
|
||
|
"//pkg/apis/componentconfig/v1alpha1:go_default_library",
|
||
|
"//pkg/util/sets:go_default_library",
|
||
|
"//vendor:github.com/ghodss/yaml",
|
||
|
"//vendor:github.com/golang/glog",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/api/errors",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/api/meta",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/errors",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
||
|
"//vendor:k8s.io/apiserver/pkg/authentication/user",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = [
|
||
|
"chain_test.go",
|
||
|
"config_test.go",
|
||
|
],
|
||
|
library = ":go_default_library",
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/apis/componentconfig:go_default_library",
|
||
|
"//pkg/apis/componentconfig/install:go_default_library",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "package-srcs",
|
||
|
srcs = glob(["**"]),
|
||
|
tags = ["automanaged"],
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "all-srcs",
|
||
|
srcs = [":package-srcs"],
|
||
|
tags = ["automanaged"],
|
||
|
)
|