2018-03-06 22:33:18 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"atomic_writer.go",
|
2018-07-18 14:47:22 +00:00
|
|
|
"attach_limit.go",
|
2018-01-09 18:57:14 +00:00
|
|
|
"device_util.go",
|
2018-11-26 18:23:56 +00:00
|
|
|
"device_util_linux.go",
|
|
|
|
"device_util_unsupported.go",
|
2018-01-09 18:57:14 +00:00
|
|
|
"doc.go",
|
|
|
|
"error.go",
|
|
|
|
"finalizer.go",
|
|
|
|
"io_util.go",
|
|
|
|
"metrics.go",
|
2018-03-06 22:33:18 +00:00
|
|
|
"nested_volumes.go",
|
|
|
|
"resize_util.go",
|
2018-01-09 18:57:14 +00:00
|
|
|
"util.go",
|
2018-11-26 18:23:56 +00:00
|
|
|
],
|
2018-01-09 18:57:14 +00:00
|
|
|
importpath = "k8s.io/kubernetes/pkg/volume/util",
|
2018-03-06 22:33:18 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2018-01-09 18:57:14 +00:00
|
|
|
deps = [
|
|
|
|
"//pkg/api/legacyscheme:go_default_library",
|
|
|
|
"//pkg/apis/core/v1/helper:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/features:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/kubelet/apis:go_default_library",
|
|
|
|
"//pkg/util/mount:go_default_library",
|
2018-11-26 18:23:56 +00:00
|
|
|
"//pkg/util/resizefs:go_default_library",
|
|
|
|
"//pkg/util/strings:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/volume:go_default_library",
|
|
|
|
"//pkg/volume/util/types:go_default_library",
|
2018-07-18 14:47:22 +00:00
|
|
|
"//pkg/volume/util/volumepathhandler:go_default_library",
|
2018-11-26 18:23:56 +00:00
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/api/storage/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/strategicpatch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//vendor/github.com/prometheus/client_golang/prometheus:go_default_library",
|
2018-11-26 18:23:56 +00:00
|
|
|
"//vendor/k8s.io/klog:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
],
|
2018-01-09 18:57:14 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2018-11-26 18:23:56 +00:00
|
|
|
"atomic_writer_test.go",
|
|
|
|
"attach_limit_test.go",
|
|
|
|
"device_util_linux_test.go",
|
|
|
|
"main_test.go",
|
2018-03-06 22:33:18 +00:00
|
|
|
"nested_volumes_test.go",
|
|
|
|
"resize_util_test.go",
|
2018-01-09 18:57:14 +00:00
|
|
|
"util_test.go",
|
2018-11-26 18:23:56 +00:00
|
|
|
],
|
2018-03-06 22:33:18 +00:00
|
|
|
embed = [":go_default_library"],
|
2018-01-09 18:57:14 +00:00
|
|
|
deps = [
|
|
|
|
"//pkg/apis/core/install:go_default_library",
|
2018-11-26 18:23:56 +00:00
|
|
|
"//pkg/apis/core/v1/helper:go_default_library",
|
|
|
|
"//pkg/features:go_default_library",
|
|
|
|
"//pkg/kubelet/apis:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/util/mount:go_default_library",
|
|
|
|
"//pkg/util/slice:go_default_library",
|
|
|
|
"//pkg/volume:go_default_library",
|
2018-11-26 18:23:56 +00:00
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature/testing:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/util/testing:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
],
|
2018-01-09 18:57:14 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [
|
|
|
|
":package-srcs",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/volume/util/fs:all-srcs",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/volume/util/nestedpendingoperations:all-srcs",
|
|
|
|
"//pkg/volume/util/operationexecutor:all-srcs",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/volume/util/recyclerclient:all-srcs",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/volume/util/types:all-srcs",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/volume/util/volumepathhandler:all-srcs",
|
2018-01-09 18:57:14 +00:00
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
2018-03-06 22:33:18 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2018-01-09 18:57:14 +00:00
|
|
|
)
|