2019-09-27 21:51:53 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
|
|
"go_library",
|
|
|
|
"go_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"credentialmanager.go",
|
|
|
|
"doc.go",
|
|
|
|
"nodemanager.go",
|
|
|
|
"vsphere.go",
|
|
|
|
"vsphere_util.go",
|
|
|
|
"vsphere_util_linux.go",
|
|
|
|
"vsphere_util_unsupported.go",
|
|
|
|
"vsphere_util_windows.go",
|
|
|
|
],
|
|
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/legacy-cloud-providers/vsphere",
|
|
|
|
importpath = "k8s.io/legacy-cloud-providers/vsphere",
|
|
|
|
deps = [
|
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors: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/version:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/informers:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/listers/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/tools/cache:go_default_library",
|
|
|
|
"//staging/src/k8s.io/cloud-provider:go_default_library",
|
|
|
|
"//staging/src/k8s.io/cloud-provider/node/helpers:go_default_library",
|
|
|
|
"//staging/src/k8s.io/cloud-provider/volume/helpers:go_default_library",
|
|
|
|
"//staging/src/k8s.io/legacy-cloud-providers/vsphere/vclib:go_default_library",
|
|
|
|
"//staging/src/k8s.io/legacy-cloud-providers/vsphere/vclib/diskmanagers:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/find:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/object:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/property:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/vapi/rest:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/vapi/tags:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/vim25:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/vim25/mo:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/vim25/soap:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/vim25/types:go_default_library",
|
|
|
|
"//vendor/gopkg.in/gcfg.v1:go_default_library",
|
2020-08-10 17:43:49 +00:00
|
|
|
"//vendor/k8s.io/klog/v2:go_default_library",
|
2019-09-27 21:51:53 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"credentialmanager_test.go",
|
|
|
|
"vsphere_test.go",
|
|
|
|
"vsphere_util_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//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/labels:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/rand:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/informers:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes/fake:go_default_library",
|
|
|
|
"//staging/src/k8s.io/cloud-provider:go_default_library",
|
|
|
|
"//staging/src/k8s.io/legacy-cloud-providers/vsphere/vclib:go_default_library",
|
|
|
|
"//staging/src/k8s.io/legacy-cloud-providers/vsphere/vclib/fixtures:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/find:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/lookup/simulator:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/property:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/simulator:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/simulator/vpx:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/sts/simulator:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/vapi/rest:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/vapi/simulator:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/vapi/tags:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/vim25/mo:go_default_library",
|
|
|
|
"//vendor/github.com/vmware/govmomi/vim25/types:go_default_library",
|
2020-08-10 17:43:49 +00:00
|
|
|
"//vendor/k8s.io/klog/v2:go_default_library",
|
2019-09-27 21:51:53 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [
|
|
|
|
":package-srcs",
|
|
|
|
"//staging/src/k8s.io/legacy-cloud-providers/vsphere/testing:all-srcs",
|
|
|
|
"//staging/src/k8s.io/legacy-cloud-providers/vsphere/vclib:all-srcs",
|
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|