52baf68d50
Signed-off-by: Michał Żyłowski <michal.zylowski@intel.com>
88 lines
2.7 KiB
Text
88 lines
2.7 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 = [
|
|
"aws.go",
|
|
"aws_instancegroups.go",
|
|
"aws_loadbalancer.go",
|
|
"aws_routes.go",
|
|
"aws_utils.go",
|
|
"device_allocator.go",
|
|
"log_handler.go",
|
|
"regions.go",
|
|
"retry_handler.go",
|
|
"sets_ippermissions.go",
|
|
"volumes.go",
|
|
],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/api/v1:go_default_library",
|
|
"//pkg/api/v1/service:go_default_library",
|
|
"//pkg/cloudprovider:go_default_library",
|
|
"//pkg/credentialprovider/aws:go_default_library",
|
|
"//pkg/volume:go_default_library",
|
|
"//vendor:github.com/aws/aws-sdk-go/aws",
|
|
"//vendor:github.com/aws/aws-sdk-go/aws/awserr",
|
|
"//vendor:github.com/aws/aws-sdk-go/aws/credentials",
|
|
"//vendor:github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds",
|
|
"//vendor:github.com/aws/aws-sdk-go/aws/ec2metadata",
|
|
"//vendor:github.com/aws/aws-sdk-go/aws/request",
|
|
"//vendor:github.com/aws/aws-sdk-go/aws/session",
|
|
"//vendor:github.com/aws/aws-sdk-go/service/autoscaling",
|
|
"//vendor:github.com/aws/aws-sdk-go/service/ec2",
|
|
"//vendor:github.com/aws/aws-sdk-go/service/elb",
|
|
"//vendor:github.com/golang/glog",
|
|
"//vendor:gopkg.in/gcfg.v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/types",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/wait",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"aws_test.go",
|
|
"device_allocator_test.go",
|
|
"regions_test.go",
|
|
"retry_handler_test.go",
|
|
],
|
|
library = ":go_default_library",
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/api/v1:go_default_library",
|
|
"//vendor:github.com/aws/aws-sdk-go/aws",
|
|
"//vendor:github.com/aws/aws-sdk-go/service/autoscaling",
|
|
"//vendor:github.com/aws/aws-sdk-go/service/ec2",
|
|
"//vendor:github.com/aws/aws-sdk-go/service/elb",
|
|
"//vendor:github.com/golang/glog",
|
|
"//vendor:github.com/stretchr/testify/assert",
|
|
"//vendor:github.com/stretchr/testify/mock",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/types",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
)
|