mirror of https://github.com/k3s-io/k3s
129 lines
4.8 KiB
Python
129 lines
4.8 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
"go_test",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"attacher.go",
|
|
"azure_common.go",
|
|
"azure_common_linux.go",
|
|
"azure_common_unsupported.go",
|
|
"azure_common_windows.go",
|
|
"azure_dd.go",
|
|
"azure_dd_block.go",
|
|
"azure_dd_max_disk_count.go",
|
|
"azure_mounter.go",
|
|
"azure_provision.go",
|
|
"doc.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/pkg/volume/azuredd",
|
|
deps = [
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/volume:go_default_library",
|
|
"//pkg/volume/util:go_default_library",
|
|
"//pkg/volume/util/volumepathhandler:go_default_library",
|
|
"//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/apimachinery/pkg/util/wait:go_default_library",
|
|
"//staging/src/k8s.io/cloud-provider:go_default_library",
|
|
"//staging/src/k8s.io/cloud-provider/volume/helpers:go_default_library",
|
|
"//staging/src/k8s.io/legacy-cloud-providers/azure:go_default_library",
|
|
"//staging/src/k8s.io/mount-utils:go_default_library",
|
|
"//vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute:go_default_library",
|
|
"//vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage:go_default_library",
|
|
"//vendor/k8s.io/klog/v2:go_default_library",
|
|
"//vendor/k8s.io/utils/strings:go_default_library",
|
|
] + select({
|
|
"@io_bazel_rules_go//go/platform:aix": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:android": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:darwin": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:dragonfly": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:freebsd": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:illumos": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:ios": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:js": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:linux": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:nacl": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:netbsd": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:openbsd": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:plan9": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:solaris": [
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:windows": [
|
|
"//vendor/k8s.io/utils/exec: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"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"attacher_test.go",
|
|
"azure_common_test.go",
|
|
"azure_dd_block_test.go",
|
|
"azure_dd_test.go",
|
|
"azure_provision_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//pkg/volume:go_default_library",
|
|
"//pkg/volume/testing:go_default_library",
|
|
"//staging/src/k8s.io/api/core/v1: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/client-go/util/testing:go_default_library",
|
|
"//vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute:go_default_library",
|
|
"//vendor/github.com/stretchr/testify/assert:go_default_library",
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
)
|