74 lines
2.1 KiB
Text
74 lines
2.1 KiB
Text
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
licenses(["notice"])
|
||
|
|
||
|
load(
|
||
|
"@io_bazel_rules_go//go:def.bzl",
|
||
|
"go_library",
|
||
|
"go_test",
|
||
|
)
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"azure.go",
|
||
|
"azure_blob.go",
|
||
|
"azure_instances.go",
|
||
|
"azure_loadbalancer.go",
|
||
|
"azure_routes.go",
|
||
|
"azure_storage.go",
|
||
|
"azure_storageaccount.go",
|
||
|
"azure_util.go",
|
||
|
"azure_wrap.go",
|
||
|
"azure_zones.go",
|
||
|
"vhd.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/api/v1:go_default_library",
|
||
|
"//pkg/api/v1/service:go_default_library",
|
||
|
"//pkg/cloudprovider:go_default_library",
|
||
|
"//pkg/volume:go_default_library",
|
||
|
"//vendor:github.com/Azure/azure-sdk-for-go/arm/compute",
|
||
|
"//vendor:github.com/Azure/azure-sdk-for-go/arm/network",
|
||
|
"//vendor:github.com/Azure/azure-sdk-for-go/arm/storage",
|
||
|
"//vendor:github.com/Azure/azure-sdk-for-go/storage",
|
||
|
"//vendor:github.com/Azure/go-autorest/autorest",
|
||
|
"//vendor:github.com/Azure/go-autorest/autorest/azure",
|
||
|
"//vendor:github.com/Azure/go-autorest/autorest/to",
|
||
|
"//vendor:github.com/ghodss/yaml",
|
||
|
"//vendor:github.com/golang/glog",
|
||
|
"//vendor:github.com/rubiojr/go-vhd/vhd",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/types",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/errors",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = ["azure_test.go"],
|
||
|
library = ":go_default_library",
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/api/v1:go_default_library",
|
||
|
"//pkg/api/v1/service:go_default_library",
|
||
|
"//vendor:github.com/Azure/azure-sdk-for-go/arm/compute",
|
||
|
"//vendor:github.com/Azure/azure-sdk-for-go/arm/network",
|
||
|
"//vendor:github.com/Azure/go-autorest/autorest/to",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/types",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "package-srcs",
|
||
|
srcs = glob(["**"]),
|
||
|
tags = ["automanaged"],
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "all-srcs",
|
||
|
srcs = [":package-srcs"],
|
||
|
tags = ["automanaged"],
|
||
|
)
|