2019-08-30 18:33:25 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
2019-01-12 04:58:27 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"api.pb.go",
|
|
|
|
"constants.go",
|
|
|
|
],
|
2019-08-30 18:33:25 +00:00
|
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2",
|
|
|
|
importpath = "k8s.io/cri-api/pkg/apis/runtime/v1alpha2",
|
|
|
|
visibility = ["//visibility:public"],
|
2019-01-12 04:58:27 +00:00
|
|
|
deps = [
|
|
|
|
"//vendor/github.com/gogo/protobuf/gogoproto:go_default_library",
|
|
|
|
"//vendor/github.com/gogo/protobuf/proto:go_default_library",
|
|
|
|
"//vendor/github.com/gogo/protobuf/sortkeys:go_default_library",
|
|
|
|
"//vendor/google.golang.org/grpc:go_default_library",
|
2019-09-27 21:51:53 +00:00
|
|
|
"//vendor/google.golang.org/grpc/codes:go_default_library",
|
|
|
|
"//vendor/google.golang.org/grpc/status:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [":package-srcs"],
|
|
|
|
tags = ["automanaged"],
|
2019-08-30 18:33:25 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2019-01-12 04:58:27 +00:00
|
|
|
)
|