34 lines
680 B
Python
34 lines
680 B
Python
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
licenses(["notice"])
|
||
|
|
||
|
load(
|
||
|
"@io_bazel_rules_go//go:def.bzl",
|
||
|
"go_binary",
|
||
|
"go_library",
|
||
|
"go_test",
|
||
|
"cgo_library",
|
||
|
)
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"doc.go",
|
||
|
"types.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/api/meta:go_default_library",
|
||
|
"//pkg/api/unversioned:go_default_library",
|
||
|
"//pkg/runtime:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = ["types_test.go"],
|
||
|
library = "go_default_library",
|
||
|
tags = ["automanaged"],
|
||
|
deps = ["//pkg/api/unversioned:go_default_library"],
|
||
|
)
|