74 lines
2.1 KiB
Text
74 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 = [
|
||
|
"conversion.go",
|
||
|
"defaults.go",
|
||
|
"doc.go",
|
||
|
"generated.pb.go",
|
||
|
"register.go",
|
||
|
"types.generated.go",
|
||
|
"types.go",
|
||
|
"types_swagger_doc_generated.go",
|
||
|
"zz_generated.conversion.go",
|
||
|
"zz_generated.deepcopy.go",
|
||
|
"zz_generated.defaults.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/api:go_default_library",
|
||
|
"//pkg/api/resource:go_default_library",
|
||
|
"//pkg/api/v1:go_default_library",
|
||
|
"//pkg/apis/autoscaling:go_default_library",
|
||
|
"//pkg/apis/extensions:go_default_library",
|
||
|
"//pkg/util/intstr:go_default_library",
|
||
|
"//vendor:github.com/gogo/protobuf/proto",
|
||
|
"//vendor:github.com/gogo/protobuf/sortkeys",
|
||
|
"//vendor:github.com/ugorji/go/codec",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/conversion",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/types",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_xtest",
|
||
|
srcs = ["defaults_test.go"],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/api:go_default_library",
|
||
|
"//pkg/api/install:go_default_library",
|
||
|
"//pkg/api/resource:go_default_library",
|
||
|
"//pkg/api/v1:go_default_library",
|
||
|
"//pkg/apis/extensions/install:go_default_library",
|
||
|
"//pkg/apis/extensions/v1beta1:go_default_library",
|
||
|
"//pkg/util/intstr:go_default_library",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "package-srcs",
|
||
|
srcs = glob(["**"]),
|
||
|
tags = ["automanaged"],
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "all-srcs",
|
||
|
srcs = [":package-srcs"],
|
||
|
tags = ["automanaged"],
|
||
|
)
|