From 0791fca5ee843fbe3de2e1b122f6f62a6dac41fd Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 15 May 2018 10:08:38 -0700 Subject: [PATCH] update bazel --- pkg/cloudprovider/providers/vsphere/BUILD | 3 ++ .../providers/vsphere/vclib/BUILD | 1 + vendor/github.com/vmware/govmomi/BUILD | 2 + vendor/github.com/vmware/govmomi/lookup/BUILD | 34 ++++++++++++++++ .../vmware/govmomi/lookup/methods/BUILD | 26 +++++++++++++ .../vmware/govmomi/lookup/simulator/BUILD | 35 +++++++++++++++++ .../vmware/govmomi/lookup/types/BUILD | 23 +++++++++++ vendor/github.com/vmware/govmomi/sts/BUILD | 39 +++++++++++++++++++ .../vmware/govmomi/sts/internal/BUILD | 27 +++++++++++++ .../vmware/govmomi/sts/simulator/BUILD | 27 +++++++++++++ 10 files changed, 217 insertions(+) create mode 100644 vendor/github.com/vmware/govmomi/lookup/BUILD create mode 100644 vendor/github.com/vmware/govmomi/lookup/methods/BUILD create mode 100644 vendor/github.com/vmware/govmomi/lookup/simulator/BUILD create mode 100644 vendor/github.com/vmware/govmomi/lookup/types/BUILD create mode 100644 vendor/github.com/vmware/govmomi/sts/BUILD create mode 100644 vendor/github.com/vmware/govmomi/sts/internal/BUILD create mode 100644 vendor/github.com/vmware/govmomi/sts/simulator/BUILD diff --git a/pkg/cloudprovider/providers/vsphere/BUILD b/pkg/cloudprovider/providers/vsphere/BUILD index ef7c3435c1..afbd6b44c0 100644 --- a/pkg/cloudprovider/providers/vsphere/BUILD +++ b/pkg/cloudprovider/providers/vsphere/BUILD @@ -39,7 +39,10 @@ go_test( deps = [ "//pkg/cloudprovider:go_default_library", "//pkg/cloudprovider/providers/vsphere/vclib:go_default_library", + "//vendor/github.com/vmware/govmomi/lookup/simulator: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/k8s.io/apimachinery/pkg/types:go_default_library", "//vendor/k8s.io/apimachinery/pkg/util/rand:go_default_library", ], diff --git a/pkg/cloudprovider/providers/vsphere/vclib/BUILD b/pkg/cloudprovider/providers/vsphere/vclib/BUILD index 28efd2b381..9bb59c3ab1 100644 --- a/pkg/cloudprovider/providers/vsphere/vclib/BUILD +++ b/pkg/cloudprovider/providers/vsphere/vclib/BUILD @@ -32,6 +32,7 @@ go_library( "//vendor/github.com/vmware/govmomi/pbm/types:go_default_library", "//vendor/github.com/vmware/govmomi/property:go_default_library", "//vendor/github.com/vmware/govmomi/session:go_default_library", + "//vendor/github.com/vmware/govmomi/sts: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", diff --git a/vendor/github.com/vmware/govmomi/BUILD b/vendor/github.com/vmware/govmomi/BUILD index 91de0a8391..999606fc1f 100644 --- a/vendor/github.com/vmware/govmomi/BUILD +++ b/vendor/github.com/vmware/govmomi/BUILD @@ -27,12 +27,14 @@ filegroup( ":package-srcs", "//vendor/github.com/vmware/govmomi/find:all-srcs", "//vendor/github.com/vmware/govmomi/list:all-srcs", + "//vendor/github.com/vmware/govmomi/lookup:all-srcs", "//vendor/github.com/vmware/govmomi/nfc:all-srcs", "//vendor/github.com/vmware/govmomi/object:all-srcs", "//vendor/github.com/vmware/govmomi/pbm:all-srcs", "//vendor/github.com/vmware/govmomi/property:all-srcs", "//vendor/github.com/vmware/govmomi/session:all-srcs", "//vendor/github.com/vmware/govmomi/simulator:all-srcs", + "//vendor/github.com/vmware/govmomi/sts:all-srcs", "//vendor/github.com/vmware/govmomi/task:all-srcs", "//vendor/github.com/vmware/govmomi/vim25:all-srcs", ], diff --git a/vendor/github.com/vmware/govmomi/lookup/BUILD b/vendor/github.com/vmware/govmomi/lookup/BUILD new file mode 100644 index 0000000000..a4a1959ba2 --- /dev/null +++ b/vendor/github.com/vmware/govmomi/lookup/BUILD @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["client.go"], + importpath = "github.com/vmware/govmomi/lookup", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/vmware/govmomi/lookup/methods:go_default_library", + "//vendor/github.com/vmware/govmomi/lookup/types:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/soap:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/types:go_default_library", + ], +) + +filegroup( + name = "package-srcs", + srcs = glob(["**"]), + tags = ["automanaged"], + visibility = ["//visibility:private"], +) + +filegroup( + name = "all-srcs", + srcs = [ + ":package-srcs", + "//vendor/github.com/vmware/govmomi/lookup/methods:all-srcs", + "//vendor/github.com/vmware/govmomi/lookup/simulator:all-srcs", + "//vendor/github.com/vmware/govmomi/lookup/types:all-srcs", + ], + tags = ["automanaged"], + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/vmware/govmomi/lookup/methods/BUILD b/vendor/github.com/vmware/govmomi/lookup/methods/BUILD new file mode 100644 index 0000000000..10c641fde9 --- /dev/null +++ b/vendor/github.com/vmware/govmomi/lookup/methods/BUILD @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["methods.go"], + importpath = "github.com/vmware/govmomi/lookup/methods", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/vmware/govmomi/lookup/types:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/soap:go_default_library", + ], +) + +filegroup( + name = "package-srcs", + srcs = glob(["**"]), + tags = ["automanaged"], + visibility = ["//visibility:private"], +) + +filegroup( + name = "all-srcs", + srcs = [":package-srcs"], + tags = ["automanaged"], + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/vmware/govmomi/lookup/simulator/BUILD b/vendor/github.com/vmware/govmomi/lookup/simulator/BUILD new file mode 100644 index 0000000000..ab2eeffe09 --- /dev/null +++ b/vendor/github.com/vmware/govmomi/lookup/simulator/BUILD @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "registration_info.go", + "simulator.go", + ], + importpath = "github.com/vmware/govmomi/lookup/simulator", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/google/uuid:go_default_library", + "//vendor/github.com/vmware/govmomi/lookup:go_default_library", + "//vendor/github.com/vmware/govmomi/lookup/methods:go_default_library", + "//vendor/github.com/vmware/govmomi/lookup/types:go_default_library", + "//vendor/github.com/vmware/govmomi/simulator:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/soap:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/types:go_default_library", + ], +) + +filegroup( + name = "package-srcs", + srcs = glob(["**"]), + tags = ["automanaged"], + visibility = ["//visibility:private"], +) + +filegroup( + name = "all-srcs", + srcs = [":package-srcs"], + tags = ["automanaged"], + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/vmware/govmomi/lookup/types/BUILD b/vendor/github.com/vmware/govmomi/lookup/types/BUILD new file mode 100644 index 0000000000..9ded5befc9 --- /dev/null +++ b/vendor/github.com/vmware/govmomi/lookup/types/BUILD @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["types.go"], + importpath = "github.com/vmware/govmomi/lookup/types", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/vmware/govmomi/vim25/types:go_default_library"], +) + +filegroup( + name = "package-srcs", + srcs = glob(["**"]), + tags = ["automanaged"], + visibility = ["//visibility:private"], +) + +filegroup( + name = "all-srcs", + srcs = [":package-srcs"], + tags = ["automanaged"], + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/vmware/govmomi/sts/BUILD b/vendor/github.com/vmware/govmomi/sts/BUILD new file mode 100644 index 0000000000..a242365d87 --- /dev/null +++ b/vendor/github.com/vmware/govmomi/sts/BUILD @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "client.go", + "signer.go", + ], + importpath = "github.com/vmware/govmomi/sts", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/google/uuid:go_default_library", + "//vendor/github.com/vmware/govmomi/lookup:go_default_library", + "//vendor/github.com/vmware/govmomi/lookup/types:go_default_library", + "//vendor/github.com/vmware/govmomi/sts/internal:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/methods:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/soap:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/xml:go_default_library", + ], +) + +filegroup( + name = "package-srcs", + srcs = glob(["**"]), + tags = ["automanaged"], + visibility = ["//visibility:private"], +) + +filegroup( + name = "all-srcs", + srcs = [ + ":package-srcs", + "//vendor/github.com/vmware/govmomi/sts/internal:all-srcs", + "//vendor/github.com/vmware/govmomi/sts/simulator:all-srcs", + ], + tags = ["automanaged"], + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/vmware/govmomi/sts/internal/BUILD b/vendor/github.com/vmware/govmomi/sts/internal/BUILD new file mode 100644 index 0000000000..c97281836d --- /dev/null +++ b/vendor/github.com/vmware/govmomi/sts/internal/BUILD @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["types.go"], + importpath = "github.com/vmware/govmomi/sts/internal", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/vmware/govmomi/vim25/soap:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/types:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/xml:go_default_library", + ], +) + +filegroup( + name = "package-srcs", + srcs = glob(["**"]), + tags = ["automanaged"], + visibility = ["//visibility:private"], +) + +filegroup( + name = "all-srcs", + srcs = [":package-srcs"], + tags = ["automanaged"], + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/vmware/govmomi/sts/simulator/BUILD b/vendor/github.com/vmware/govmomi/sts/simulator/BUILD new file mode 100644 index 0000000000..6eaf0c55f1 --- /dev/null +++ b/vendor/github.com/vmware/govmomi/sts/simulator/BUILD @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["simulator.go"], + importpath = "github.com/vmware/govmomi/sts/simulator", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/vmware/govmomi/sts/internal:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/soap:go_default_library", + "//vendor/github.com/vmware/govmomi/vim25/types:go_default_library", + ], +) + +filegroup( + name = "package-srcs", + srcs = glob(["**"]), + tags = ["automanaged"], + visibility = ["//visibility:private"], +) + +filegroup( + name = "all-srcs", + srcs = [":package-srcs"], + tags = ["automanaged"], + visibility = ["//visibility:public"], +)