2022-07-07 20:11:50 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "utils",
|
|
|
|
srcs = [
|
|
|
|
"aws.go",
|
|
|
|
"db.go",
|
|
|
|
"env.go",
|
|
|
|
"errors.go",
|
|
|
|
"flags.go",
|
|
|
|
"grpc.go",
|
|
|
|
"health.go",
|
|
|
|
"interceptors.go",
|
|
|
|
"pointer.go",
|
|
|
|
"progress.go",
|
|
|
|
"slice.go",
|
|
|
|
"sqlx.go",
|
|
|
|
],
|
|
|
|
importpath = "peridot.resf.org/utils",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//proto:common",
|
|
|
|
"//servicecatalog",
|
|
|
|
"//vendor/github.com/aws/aws-sdk-go/aws",
|
|
|
|
"//vendor/github.com/aws/aws-sdk-go/aws/credentials",
|
|
|
|
"//vendor/github.com/aws/aws-sdk-go/aws/session",
|
|
|
|
"//vendor/github.com/fatih/color",
|
|
|
|
"//vendor/github.com/go-chi/chi",
|
|
|
|
"//vendor/github.com/go-chi/chi/middleware",
|
2022-08-26 19:40:47 +00:00
|
|
|
"//vendor/github.com/grpc-ecosystem/go-grpc-middleware",
|
|
|
|
"//vendor/github.com/grpc-ecosystem/go-grpc-prometheus",
|
2022-07-07 20:11:50 +00:00
|
|
|
"//vendor/github.com/jmoiron/sqlx",
|
|
|
|
"//vendor/github.com/lib/pq",
|
2024-02-24 00:34:55 +00:00
|
|
|
"//vendor/github.com/ory/hydra-client-go/v2:hydra-client-go",
|
2022-08-26 19:40:47 +00:00
|
|
|
"//vendor/github.com/prometheus/client_golang/prometheus/promhttp",
|
2022-07-07 20:11:50 +00:00
|
|
|
"//vendor/github.com/sirupsen/logrus",
|
|
|
|
"//vendor/github.com/spf13/pflag",
|
|
|
|
"//vendor/github.com/spf13/viper",
|
|
|
|
"//vendor/github.com/vbauerster/mpb/v7:mpb",
|
|
|
|
"//vendor/github.com/vbauerster/mpb/v7/decor",
|
|
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library",
|
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
|
|
"@org_golang_google_grpc//codes",
|
|
|
|
"@org_golang_google_grpc//credentials/insecure",
|
|
|
|
"@org_golang_google_grpc//metadata",
|
|
|
|
"@org_golang_google_grpc//status",
|
2024-02-24 00:34:55 +00:00
|
|
|
"@org_golang_google_protobuf//proto",
|
|
|
|
"@org_golang_google_protobuf//types/known/timestamppb",
|
|
|
|
"@org_golang_google_protobuf//types/known/wrapperspb",
|
2022-07-07 20:11:50 +00:00
|
|
|
],
|
|
|
|
)
|