39 lines
1 KiB
Text
39 lines
1 KiB
Text
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
licenses(["notice"])
|
||
|
|
||
|
load(
|
||
|
"@io_bazel_rules_go//go:def.bzl",
|
||
|
"go_test",
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = ["server_test.go"],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//federation/apis/federation/v1beta1:go_default_library",
|
||
|
"//federation/cmd/federation-apiserver/app:go_default_library",
|
||
|
"//federation/cmd/federation-apiserver/app/options:go_default_library",
|
||
|
"//pkg/api/v1:go_default_library",
|
||
|
"//pkg/apis/batch/v1:go_default_library",
|
||
|
"//pkg/apis/extensions/v1beta1:go_default_library",
|
||
|
"//vendor:github.com/stretchr/testify/assert",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
||
|
"//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"],
|
||
|
)
|