8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
137 lines
4.8 KiB
Text
137 lines
4.8 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 = [
|
|
"benchmark_util.go",
|
|
"container.go",
|
|
"doc.go",
|
|
"image_list.go",
|
|
"resource_collector.go",
|
|
"simple_mount.go",
|
|
"util.go",
|
|
],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/api:go_default_library",
|
|
"//pkg/api/v1:go_default_library",
|
|
"//pkg/apis/componentconfig:go_default_library",
|
|
"//pkg/apis/componentconfig/v1alpha1:go_default_library",
|
|
"//pkg/kubelet/api/v1alpha1/stats:go_default_library",
|
|
"//pkg/util/procfs:go_default_library",
|
|
"//pkg/util/uuid:go_default_library",
|
|
"//test/e2e/common:go_default_library",
|
|
"//test/e2e/framework:go_default_library",
|
|
"//test/e2e/perftype:go_default_library",
|
|
"//vendor:github.com/golang/glog",
|
|
"//vendor:github.com/google/cadvisor/client/v2",
|
|
"//vendor:github.com/google/cadvisor/info/v2",
|
|
"//vendor:github.com/onsi/ginkgo",
|
|
"//vendor:github.com/onsi/gomega",
|
|
"//vendor:github.com/opencontainers/runc/libcontainer/cgroups",
|
|
"//vendor:k8s.io/apimachinery/pkg/api/errors",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/labels",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/wait",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"apparmor_test.go",
|
|
"cgroup_manager_test.go",
|
|
"container_manager_test.go",
|
|
"density_test.go",
|
|
"disk_eviction_test.go",
|
|
"dynamic_kubelet_configuration_test.go",
|
|
"e2e_node_suite_test.go",
|
|
"garbage_collector_test.go",
|
|
"image_id_test.go",
|
|
"inode_eviction_test.go",
|
|
"kubelet_test.go",
|
|
"lifecycle_hook_test.go",
|
|
"log_path_test.go",
|
|
"memory_eviction_test.go",
|
|
"mirror_pod_test.go",
|
|
"resource_usage_test.go",
|
|
"restart_test.go",
|
|
"runtime_conformance_test.go",
|
|
"summary_test.go",
|
|
"volume_manager_test.go",
|
|
],
|
|
library = ":go_default_library",
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/api/resource:go_default_library",
|
|
"//pkg/api/v1:go_default_library",
|
|
"//pkg/client/cache:go_default_library",
|
|
"//pkg/client/clientset_generated/clientset:go_default_library",
|
|
"//pkg/kubelet:go_default_library",
|
|
"//pkg/kubelet/api/v1alpha1/stats:go_default_library",
|
|
"//pkg/kubelet/cm:go_default_library",
|
|
"//pkg/kubelet/container:go_default_library",
|
|
"//pkg/kubelet/dockertools:go_default_library",
|
|
"//pkg/kubelet/images:go_default_library",
|
|
"//pkg/kubelet/metrics:go_default_library",
|
|
"//pkg/metrics:go_default_library",
|
|
"//pkg/security/apparmor:go_default_library",
|
|
"//pkg/util/intstr:go_default_library",
|
|
"//pkg/util/uuid:go_default_library",
|
|
"//test/e2e/common:go_default_library",
|
|
"//test/e2e/framework:go_default_library",
|
|
"//test/e2e_node/services:go_default_library",
|
|
"//test/e2e_node/system:go_default_library",
|
|
"//test/utils:go_default_library",
|
|
"//vendor:github.com/coreos/go-systemd/util",
|
|
"//vendor:github.com/davecgh/go-spew/spew",
|
|
"//vendor:github.com/golang/glog",
|
|
"//vendor:github.com/kardianos/osext",
|
|
"//vendor:github.com/onsi/ginkgo",
|
|
"//vendor:github.com/onsi/ginkgo/config",
|
|
"//vendor:github.com/onsi/ginkgo/reporters",
|
|
"//vendor:github.com/onsi/gomega",
|
|
"//vendor:github.com/onsi/gomega/gstruct",
|
|
"//vendor:github.com/onsi/gomega/types",
|
|
"//vendor:github.com/spf13/pflag",
|
|
"//vendor:k8s.io/apimachinery/pkg/api/errors",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/labels",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
|
"//vendor:k8s.io/apimachinery/pkg/types",
|
|
"//vendor:k8s.io/apimachinery/pkg/watch",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//test/e2e_node/builder:all-srcs",
|
|
"//test/e2e_node/environment:all-srcs",
|
|
"//test/e2e_node/remote:all-srcs",
|
|
"//test/e2e_node/runner/local:all-srcs",
|
|
"//test/e2e_node/runner/remote:all-srcs",
|
|
"//test/e2e_node/services:all-srcs",
|
|
"//test/e2e_node/system:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|