From 1a2de0ee60c33a513a2fb2a5173162b35a70d251 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Tue, 2 May 2017 12:45:08 +0530 Subject: [PATCH] Update Bazel build. Signed-off-by: Humble Chirammal --- .../heketi/heketi/client/api/go-client/BUILD | 40 +++++++++++++++++++ .../heketi/heketi/pkg/glusterfs/api/BUILD | 27 +++++++++++++ .../github.com/heketi/heketi/pkg/utils/BUILD | 37 +++++++++++++++++ 3 files changed, 104 insertions(+) create mode 100644 vendor/github.com/heketi/heketi/client/api/go-client/BUILD create mode 100644 vendor/github.com/heketi/heketi/pkg/glusterfs/api/BUILD create mode 100644 vendor/github.com/heketi/heketi/pkg/utils/BUILD diff --git a/vendor/github.com/heketi/heketi/client/api/go-client/BUILD b/vendor/github.com/heketi/heketi/client/api/go-client/BUILD new file mode 100644 index 0000000000..6bf574746d --- /dev/null +++ b/vendor/github.com/heketi/heketi/client/api/go-client/BUILD @@ -0,0 +1,40 @@ +package(default_visibility = ["//visibility:public"]) + +licenses(["notice"]) + +load( + "@io_bazel_rules_go//go:def.bzl", + "go_library", +) + +go_library( + name = "go_default_library", + srcs = [ + "backup.go", + "client.go", + "cluster.go", + "device.go", + "node.go", + "topology.go", + "volume.go", + ], + tags = ["automanaged"], + deps = [ + "//vendor/github.com/dgrijalva/jwt-go:go_default_library", + "//vendor/github.com/heketi/heketi/pkg/glusterfs/api:go_default_library", + "//vendor/github.com/heketi/heketi/pkg/utils:go_default_library", + ], +) + +filegroup( + name = "package-srcs", + srcs = glob(["**"]), + tags = ["automanaged"], + visibility = ["//visibility:private"], +) + +filegroup( + name = "all-srcs", + srcs = [":package-srcs"], + tags = ["automanaged"], +) diff --git a/vendor/github.com/heketi/heketi/pkg/glusterfs/api/BUILD b/vendor/github.com/heketi/heketi/pkg/glusterfs/api/BUILD new file mode 100644 index 0000000000..6109f467f1 --- /dev/null +++ b/vendor/github.com/heketi/heketi/pkg/glusterfs/api/BUILD @@ -0,0 +1,27 @@ +package(default_visibility = ["//visibility:public"]) + +licenses(["notice"]) + +load( + "@io_bazel_rules_go//go:def.bzl", + "go_library", +) + +go_library( + name = "go_default_library", + srcs = ["types.go"], + tags = ["automanaged"], +) + +filegroup( + name = "package-srcs", + srcs = glob(["**"]), + tags = ["automanaged"], + visibility = ["//visibility:private"], +) + +filegroup( + name = "all-srcs", + srcs = [":package-srcs"], + tags = ["automanaged"], +) diff --git a/vendor/github.com/heketi/heketi/pkg/utils/BUILD b/vendor/github.com/heketi/heketi/pkg/utils/BUILD new file mode 100644 index 0000000000..fbc5df12e5 --- /dev/null +++ b/vendor/github.com/heketi/heketi/pkg/utils/BUILD @@ -0,0 +1,37 @@ +package(default_visibility = ["//visibility:public"]) + +licenses(["notice"]) + +load( + "@io_bazel_rules_go//go:def.bzl", + "go_library", +) + +go_library( + name = "go_default_library", + srcs = [ + "bodystring.go", + "jsonutils.go", + "log.go", + "sortedstrings.go", + "statusgroup.go", + "stringset.go", + "stringstack.go", + "uuid.go", + ], + tags = ["automanaged"], + deps = ["//vendor/github.com/lpabon/godbc:go_default_library"], +) + +filegroup( + name = "package-srcs", + srcs = glob(["**"]), + tags = ["automanaged"], + visibility = ["//visibility:private"], +) + +filegroup( + name = "all-srcs", + srcs = [":package-srcs"], + tags = ["automanaged"], +)