k3s/vendor/k8s.io/kubernetes/pkg/kubelet/dockershim/cm/BUILD

93 lines
3.7 KiB
Python
Raw Normal View History

2019-01-12 04:58:27 +00:00
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
)
go_library(
name = "go_default_library",
srcs = [
"container_manager.go",
"container_manager_linux.go",
"container_manager_unsupported.go",
"container_manager_windows.go",
],
importpath = "k8s.io/kubernetes/pkg/kubelet/dockershim/cm",
deps = select({
2020-08-10 17:43:49 +00:00
"@io_bazel_rules_go//go/platform:aix": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
2019-01-12 04:58:27 +00:00
"@io_bazel_rules_go//go/platform:android": [
2019-12-12 01:27:03 +00:00
"//pkg/kubelet/cm:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/kubelet/dockershim/libdocker:go_default_library",
2019-12-12 01:27:03 +00:00
"//staging/src/k8s.io/apimachinery/pkg/util/version:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
2020-08-10 17:43:49 +00:00
"//vendor/github.com/opencontainers/runc/libcontainer/cgroups:go_default_library",
2019-12-12 01:27:03 +00:00
"//vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs:go_default_library",
"//vendor/github.com/opencontainers/runc/libcontainer/configs:go_default_library",
2020-08-10 17:43:49 +00:00
"//vendor/k8s.io/klog/v2:go_default_library",
2019-01-12 04:58:27 +00:00
],
"@io_bazel_rules_go//go/platform:darwin": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
2020-08-10 17:43:49 +00:00
"@io_bazel_rules_go//go/platform:illumos": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
2019-12-12 01:27:03 +00:00
"@io_bazel_rules_go//go/platform:ios": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
2020-08-10 17:43:49 +00:00
"@io_bazel_rules_go//go/platform:js": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
2019-01-12 04:58:27 +00:00
"@io_bazel_rules_go//go/platform:linux": [
"//pkg/kubelet/cm:go_default_library",
"//pkg/kubelet/dockershim/libdocker:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/version:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
2020-08-10 17:43:49 +00:00
"//vendor/github.com/opencontainers/runc/libcontainer/cgroups:go_default_library",
2019-01-12 04:58:27 +00:00
"//vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs:go_default_library",
"//vendor/github.com/opencontainers/runc/libcontainer/configs:go_default_library",
2020-08-10 17:43:49 +00:00
"//vendor/k8s.io/klog/v2:go_default_library",
2019-01-12 04:58:27 +00:00
],
"@io_bazel_rules_go//go/platform:nacl": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
"@io_bazel_rules_go//go/platform:plan9": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
"@io_bazel_rules_go//go/platform:solaris": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
"@io_bazel_rules_go//go/platform:windows": [
"//pkg/kubelet/dockershim/libdocker:go_default_library",
],
"//conditions:default": [],
}),
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
)