83 lines
2.1 KiB
Text
83 lines
2.1 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 = [
|
||
|
"doc.go",
|
||
|
"duration.go",
|
||
|
"generated.pb.go",
|
||
|
"group_version.go",
|
||
|
"helpers.go",
|
||
|
"meta.go",
|
||
|
"register.go",
|
||
|
"time.go",
|
||
|
"time_proto.go",
|
||
|
"types.go",
|
||
|
"types_swagger_doc_generated.go",
|
||
|
"watch.go",
|
||
|
"well_known_labels.go",
|
||
|
"zz_generated.deepcopy.go",
|
||
|
"zz_generated.defaults.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/conversion:go_default_library",
|
||
|
"//pkg/genericapiserver/openapi/common:go_default_library",
|
||
|
"//pkg/labels:go_default_library",
|
||
|
"//pkg/runtime:go_default_library",
|
||
|
"//pkg/runtime/schema:go_default_library",
|
||
|
"//pkg/selection:go_default_library",
|
||
|
"//pkg/types:go_default_library",
|
||
|
"//pkg/watch:go_default_library",
|
||
|
"//vendor:github.com/go-openapi/spec",
|
||
|
"//vendor:github.com/gogo/protobuf/proto",
|
||
|
"//vendor:github.com/gogo/protobuf/sortkeys",
|
||
|
"//vendor:github.com/google/gofuzz",
|
||
|
"//vendor:github.com/ugorji/go/codec",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/conversion",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = [
|
||
|
"duration_test.go",
|
||
|
"group_version_test.go",
|
||
|
"helpers_test.go",
|
||
|
"time_test.go",
|
||
|
"types_test.go",
|
||
|
],
|
||
|
library = ":go_default_library",
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/labels:go_default_library",
|
||
|
"//vendor:github.com/ghodss/yaml",
|
||
|
"//vendor:github.com/ugorji/go/codec",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "package-srcs",
|
||
|
srcs = glob(["**"]),
|
||
|
tags = ["automanaged"],
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "all-srcs",
|
||
|
srcs = [
|
||
|
":package-srcs",
|
||
|
"//pkg/apis/meta/v1/unstructured:all-srcs",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
)
|