diff --git a/config/BUILD.bazel b/config/BUILD.bazel index 72360dab..8e8339e3 100644 --- a/config/BUILD.bazel +++ b/config/BUILD.bazel @@ -11,6 +11,7 @@ go_library( deps = [ "@com_github_mwitkow_go_conntrack//:go-conntrack", "@in_gopkg_yaml_v2//:yaml_v2", + "@org_golang_x_net//http/httpproxy", "@org_golang_x_net//http2", "@org_golang_x_oauth2//:oauth2", "@org_golang_x_oauth2//clientcredentials", diff --git a/go_repositories.bzl b/go_repositories.bzl index 5a25ef60..d0112d58 100644 --- a/go_repositories.bzl +++ b/go_repositories.bzl @@ -3,25 +3,19 @@ load("@bazel_rules//area:def.bzl", "go_repository") def go_dependencies(): go_repository( - name = "co_honnef_go_tools", + name = "com_github_alecthomas_kingpin_v2", build_file_proto_mode = "disable", - importpath = "honnef.co/go/tools", - sum = "h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=", - version = "v0.0.1-2020.1.4", - ) - go_repository( - name = "com_github_alecthomas_template", - build_file_proto_mode = "disable", - importpath = "github.com/alecthomas/template", - sum = "h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM=", - version = "v0.0.0-20190718012654-fb15b899a751", + importpath = "github.com/alecthomas/kingpin/v2", + sum = "h1:ANLJcKmQm4nIaog7xdr/id6FM6zm5hHnfZrvtKPxqGg=", + version = "v2.3.1", ) + go_repository( name = "com_github_alecthomas_units", build_file_proto_mode = "disable", importpath = "github.com/alecthomas/units", - sum = "h1:UQZhZ2O0vMHr2cI+DC1Mbh0TJxzA3RcLoMsFw+aXw7E=", - version = "v0.0.0-20190924025748-f65c72e2690d", + sum = "h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc=", + version = "v0.0.0-20211218093645-b94a6e3cc137", ) go_repository( name = "com_github_beorn7_perks", @@ -30,27 +24,7 @@ def go_dependencies(): sum = "h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=", version = "v1.0.1", ) - go_repository( - name = "com_github_burntsushi_toml", - build_file_proto_mode = "disable", - importpath = "github.com/BurntSushi/toml", - sum = "h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=", - version = "v0.3.1", - ) - go_repository( - name = "com_github_burntsushi_xgb", - build_file_proto_mode = "disable", - importpath = "github.com/BurntSushi/xgb", - sum = "h1:1BDTz0u9nC3//pOCMdNH+CiXJVYJh5UQNCOBG7jbELc=", - version = "v0.0.0-20160522181843-27f122750802", - ) - go_repository( - name = "com_github_census_instrumentation_opencensus_proto", - build_file_proto_mode = "disable", - importpath = "github.com/census-instrumentation/opencensus-proto", - sum = "h1:glEXhBS5PSLLv4IXzLA5yPRVX4bilULVyxxbrfOtDAk=", - version = "v0.2.1", - ) + go_repository( name = "com_github_cespare_xxhash_v2", build_file_proto_mode = "disable", @@ -58,41 +32,7 @@ def go_dependencies(): sum = "h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE=", version = "v2.1.2", ) - go_repository( - name = "com_github_chzyer_logex", - build_file_proto_mode = "disable", - importpath = "github.com/chzyer/logex", - sum = "h1:Swpa1K6QvQznwJRcfTfQJmTE72DqScAa40E+fbHEXEE=", - version = "v1.1.10", - ) - go_repository( - name = "com_github_chzyer_readline", - build_file_proto_mode = "disable", - importpath = "github.com/chzyer/readline", - sum = "h1:fY5BOSpyZCqRo5OhCuC+XN+r/bBCmeuuJtjz+bCNIf8=", - version = "v0.0.0-20180603132655-2972be24d48e", - ) - go_repository( - name = "com_github_chzyer_test", - build_file_proto_mode = "disable", - importpath = "github.com/chzyer/test", - sum = "h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8=", - version = "v0.0.0-20180213035817-a1ea475d72b1", - ) - go_repository( - name = "com_github_client9_misspell", - build_file_proto_mode = "disable", - importpath = "github.com/client9/misspell", - sum = "h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=", - version = "v0.3.4", - ) - go_repository( - name = "com_github_cncf_udpa_go", - build_file_proto_mode = "disable", - importpath = "github.com/cncf/udpa/go", - sum = "h1:WBZRG4aNOuI15bLRrCgN8fCq8E5Xuty6jGbmSNEvSsU=", - version = "v0.0.0-20191209042840-269d4d468f6f", - ) + go_repository( name = "com_github_davecgh_go_spew", build_file_proto_mode = "disable", @@ -100,47 +40,13 @@ def go_dependencies(): sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=", version = "v1.1.1", ) - go_repository( - name = "com_github_envoyproxy_go_control_plane", - build_file_proto_mode = "disable", - importpath = "github.com/envoyproxy/go-control-plane", - sum = "h1:rEvIZUSZ3fx39WIi3JkQqQBitGwpELBIYWeBVh6wn+E=", - version = "v0.9.4", - ) - go_repository( - name = "com_github_envoyproxy_protoc_gen_validate", - build_file_proto_mode = "disable", - importpath = "github.com/envoyproxy/protoc-gen-validate", - sum = "h1:EQciDnbrYxy13PgWoY8AqoxGiPrpgBZ1R8UNe3ddc+A=", - version = "v0.1.0", - ) - go_repository( - name = "com_github_go_gl_glfw", - build_file_proto_mode = "disable", - importpath = "github.com/go-gl/glfw", - sum = "h1:QbL/5oDUmRBzO9/Z7Seo6zf912W/a6Sr4Eu0G/3Jho0=", - version = "v0.0.0-20190409004039-e6da0acd62b1", - ) - go_repository( - name = "com_github_go_gl_glfw_v3_3_glfw", - build_file_proto_mode = "disable", - importpath = "github.com/go-gl/glfw/v3.3/glfw", - sum = "h1:WtGNWLvXpe6ZudgnXrq0barxBImvnnJoMEhXAzcbM0I=", - version = "v0.0.0-20200222043503-6f7a984d4dc4", - ) - go_repository( - name = "com_github_go_kit_kit", - build_file_proto_mode = "disable", - importpath = "github.com/go-kit/kit", - sum = "h1:wDJmvq38kDhkVxi50ni9ykkdUr1PKgqKOoi01fa0Mdk=", - version = "v0.9.0", - ) + go_repository( name = "com_github_go_kit_log", build_file_proto_mode = "disable", importpath = "github.com/go-kit/log", - sum = "h1:7i2K3eKTos3Vc0enKCfnVcgHh2olr/MyfboYq7cAcFw=", - version = "v0.2.0", + sum = "h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU=", + version = "v0.2.1", ) go_repository( name = "com_github_go_logfmt_logfmt", @@ -149,41 +55,7 @@ def go_dependencies(): sum = "h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA=", version = "v0.5.1", ) - go_repository( - name = "com_github_go_stack_stack", - build_file_proto_mode = "disable", - importpath = "github.com/go-stack/stack", - sum = "h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk=", - version = "v1.8.0", - ) - go_repository( - name = "com_github_gogo_protobuf", - build_file_proto_mode = "disable", - importpath = "github.com/gogo/protobuf", - sum = "h1:72R+M5VuhED/KujmZVcIquuo8mBgX4oVda//DQb3PXo=", - version = "v1.1.1", - ) - go_repository( - name = "com_github_golang_glog", - build_file_proto_mode = "disable", - importpath = "github.com/golang/glog", - sum = "h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=", - version = "v0.0.0-20160126235308-23def4e6c14b", - ) - go_repository( - name = "com_github_golang_groupcache", - build_file_proto_mode = "disable", - importpath = "github.com/golang/groupcache", - sum = "h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY=", - version = "v0.0.0-20200121045136-8c9f03a8e57e", - ) - go_repository( - name = "com_github_golang_mock", - build_file_proto_mode = "disable", - importpath = "github.com/golang/mock", - sum = "h1:l75CXGRSwbaYNpl/Z2X1XIIAMSCquvXgpVZDhwEIJsc=", - version = "v1.4.4", - ) + go_repository( name = "com_github_golang_protobuf", build_file_proto_mode = "disable", @@ -191,76 +63,15 @@ def go_dependencies(): sum = "h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=", version = "v1.5.2", ) - go_repository( - name = "com_github_google_btree", - build_file_proto_mode = "disable", - importpath = "github.com/google/btree", - sum = "h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo=", - version = "v1.0.0", - ) + go_repository( name = "com_github_google_go_cmp", build_file_proto_mode = "disable", importpath = "github.com/google/go-cmp", - sum = "h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=", - version = "v0.5.5", - ) - go_repository( - name = "com_github_google_gofuzz", - build_file_proto_mode = "disable", - importpath = "github.com/google/gofuzz", - sum = "h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_google_martian", - build_file_proto_mode = "disable", - importpath = "github.com/google/martian", - sum = "h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no=", - version = "v2.1.0+incompatible", - ) - go_repository( - name = "com_github_google_martian_v3", - build_file_proto_mode = "disable", - importpath = "github.com/google/martian/v3", - sum = "h1:pMen7vLs8nvgEYhywH3KDWJIJTeEr2ULsVWHWYHQyBs=", - version = "v3.0.0", - ) - go_repository( - name = "com_github_google_pprof", - build_file_proto_mode = "disable", - importpath = "github.com/google/pprof", - sum = "h1:Ak8CrdlwwXwAZxzS66vgPt4U8yUZX7JwLvVR58FN5jM=", - version = "v0.0.0-20200708004538-1a94d8640e99", - ) - go_repository( - name = "com_github_google_renameio", - build_file_proto_mode = "disable", - importpath = "github.com/google/renameio", - sum = "h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA=", - version = "v0.1.0", - ) - go_repository( - name = "com_github_googleapis_gax_go_v2", - build_file_proto_mode = "disable", - importpath = "github.com/googleapis/gax-go/v2", - sum = "h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+Tv3SM=", - version = "v2.0.5", - ) - go_repository( - name = "com_github_hashicorp_golang_lru", - build_file_proto_mode = "disable", - importpath = "github.com/hashicorp/golang-lru", - sum = "h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU=", - version = "v0.5.1", - ) - go_repository( - name = "com_github_ianlancetaylor_demangle", - build_file_proto_mode = "disable", - importpath = "github.com/ianlancetaylor/demangle", - sum = "h1:UDMh68UUwekSh5iP2OMhRRZJiiBccgV7axzUG8vi56c=", - version = "v0.0.0-20181102032728-5e5cf60278f6", + sum = "h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=", + version = "v0.5.8", ) + go_repository( name = "com_github_jpillora_backoff", build_file_proto_mode = "disable", @@ -275,13 +86,7 @@ def go_dependencies(): sum = "h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=", version = "v1.1.12", ) - go_repository( - name = "com_github_jstemmer_go_junit_report", - build_file_proto_mode = "disable", - importpath = "github.com/jstemmer/go-junit-report", - sum = "h1:6QPYqodiu3GuPL+7mfx+NwDdp2eTkp9IfEUpgAwUN0o=", - version = "v0.9.1", - ) + go_repository( name = "com_github_julienschmidt_httprouter", build_file_proto_mode = "disable", @@ -289,33 +94,13 @@ def go_dependencies(): sum = "h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U=", version = "v1.3.0", ) - go_repository( - name = "com_github_kisielk_gotool", - build_file_proto_mode = "disable", - importpath = "github.com/kisielk/gotool", - sum = "h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_konsorten_go_windows_terminal_sequences", - build_file_proto_mode = "disable", - importpath = "github.com/konsorten/go-windows-terminal-sequences", - sum = "h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8=", - version = "v1.0.3", - ) - go_repository( - name = "com_github_kr_logfmt", - build_file_proto_mode = "disable", - importpath = "github.com/kr/logfmt", - sum = "h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY=", - version = "v0.0.0-20140226030751-b84e30acd515", - ) + go_repository( name = "com_github_kr_pretty", build_file_proto_mode = "disable", importpath = "github.com/kr/pretty", - sum = "h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=", - version = "v0.1.0", + sum = "h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=", + version = "v0.2.1", ) go_repository( name = "com_github_kr_pty", @@ -335,15 +120,15 @@ def go_dependencies(): name = "com_github_matttproud_golang_protobuf_extensions", build_file_proto_mode = "disable", importpath = "github.com/matttproud/golang_protobuf_extensions", - sum = "h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=", - version = "v1.0.1", + sum = "h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo=", + version = "v1.0.4", ) go_repository( name = "com_github_modern_go_concurrent", build_file_proto_mode = "disable", importpath = "github.com/modern-go/concurrent", - sum = "h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=", - version = "v0.0.0-20180306012644-bacd9c7ef1dd", + sum = "h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc=", + version = "v0.0.0-20180228061459-e0a39a4cb421", ) go_repository( name = "com_github_modern_go_reflect2", @@ -359,13 +144,7 @@ def go_dependencies(): sum = "h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU=", version = "v0.0.0-20190716064945-2f068394615f", ) - go_repository( - name = "com_github_pkg_errors", - build_file_proto_mode = "disable", - importpath = "github.com/pkg/errors", - sum = "h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=", - version = "v0.9.1", - ) + go_repository( name = "com_github_pmezard_go_difflib", build_file_proto_mode = "disable", @@ -377,121 +156,61 @@ def go_dependencies(): name = "com_github_prometheus_client_golang", build_file_proto_mode = "disable", importpath = "github.com/prometheus/client_golang", - sum = "h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk=", - version = "v1.12.1", + sum = "h1:nJdhIvne2eSX/XRAFV9PcvFFRbrjbcTUj0VP62TMhnw=", + version = "v1.14.0", ) go_repository( name = "com_github_prometheus_client_model", build_file_proto_mode = "disable", importpath = "github.com/prometheus/client_model", - sum = "h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M=", - version = "v0.2.0", + sum = "h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4=", + version = "v0.3.0", ) go_repository( name = "com_github_prometheus_procfs", build_file_proto_mode = "disable", importpath = "github.com/prometheus/procfs", - sum = "h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU=", - version = "v0.7.3", - ) - go_repository( - name = "com_github_rogpeppe_go_internal", - build_file_proto_mode = "disable", - importpath = "github.com/rogpeppe/go-internal", - sum = "h1:RR9dF3JtopPvtkroDZuVD7qquD0bnHlKSqaQhgwt8yk=", - version = "v1.3.0", - ) - go_repository( - name = "com_github_sirupsen_logrus", - build_file_proto_mode = "disable", - importpath = "github.com/sirupsen/logrus", - sum = "h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I=", - version = "v1.6.0", + sum = "h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo=", + version = "v0.8.0", ) + go_repository( name = "com_github_stretchr_objx", build_file_proto_mode = "disable", importpath = "github.com/stretchr/objx", - sum = "h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A=", - version = "v0.1.1", + sum = "h1:M2gUjqZET1qApGOWNSnZ49BAIMX4F/1plDv3+l31EJ4=", + version = "v0.4.0", ) go_repository( name = "com_github_stretchr_testify", build_file_proto_mode = "disable", importpath = "github.com/stretchr/testify", - sum = "h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=", - version = "v1.4.0", - ) - go_repository( - name = "com_github_yuin_goldmark", - build_file_proto_mode = "disable", - importpath = "github.com/yuin/goldmark", - sum = "h1:5tjfNdR2ki3yYQ842+eX2sQHeiwpKJ0RnHO4IYOc4V8=", - version = "v1.1.32", - ) - go_repository( - name = "com_google_cloud_go", - build_file_proto_mode = "disable", - importpath = "cloud.google.com/go", - sum = "h1:Dg9iHVQfrhq82rUNu9ZxUDrJLaxFUe/HlCVaLyRruq8=", - version = "v0.65.0", - ) - go_repository( - name = "com_google_cloud_go_bigquery", - build_file_proto_mode = "disable", - importpath = "cloud.google.com/go/bigquery", - sum = "h1:PQcPefKFdaIzjQFbiyOgAqyx8q5djaE7x9Sqe712DPA=", + sum = "h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=", version = "v1.8.0", ) go_repository( - name = "com_google_cloud_go_datastore", - build_file_proto_mode = "disable", - importpath = "cloud.google.com/go/datastore", - sum = "h1:/May9ojXjRkPBNVrq+oWLqmWCkr4OU5uRY29bu0mRyQ=", - version = "v1.1.0", - ) - go_repository( - name = "com_google_cloud_go_pubsub", - build_file_proto_mode = "disable", - importpath = "cloud.google.com/go/pubsub", - sum = "h1:ukjixP1wl0LpnZ6LWtZJ0mX5tBmjp1f8Sqer8Z2OMUU=", - version = "v1.3.1", - ) - go_repository( - name = "com_google_cloud_go_storage", + name = "com_github_xhit_go_str2duration", build_file_proto_mode = "disable", - importpath = "cloud.google.com/go/storage", - sum = "h1:STgFzyU5/8miMl0//zKh2aQeTyeaUH3WN9bSUiJ09bA=", - version = "v1.10.0", + importpath = "github.com/xhit/go-str2duration", + sum = "h1:BcV5u025cITWxEQKGWr1URRzrcXtu7uk8+luz3Yuhwc=", + version = "v1.2.0", ) go_repository( - name = "com_shuralyov_dmitri_gpu_mtl", + name = "com_google_cloud_go_compute_metadata", build_file_proto_mode = "disable", - importpath = "dmitri.shuralyov.com/gpu/mtl", - sum = "h1:VpgP7xuJadIUuKccphEpTJnWhS2jkQyMt6Y7pJCD7fY=", - version = "v0.0.0-20190408044501-666a987793e9", - ) - go_repository( - name = "in_gopkg_alecthomas_kingpin_v2", - build_file_proto_mode = "disable", - importpath = "gopkg.in/alecthomas/kingpin.v2", - sum = "h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc=", - version = "v2.2.6", + importpath = "cloud.google.com/go/compute/metadata", + sum = "h1:nBbNSZyDpkNlo3DepaaLKVuO7ClyifSAmNloSCZrHnQ=", + version = "v0.2.0", ) + go_repository( name = "in_gopkg_check_v1", build_file_proto_mode = "disable", importpath = "gopkg.in/check.v1", - sum = "h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=", - version = "v1.0.0-20190902080502-41f04d3bba15", - ) - go_repository( - name = "in_gopkg_errgo_v2", - build_file_proto_mode = "disable", - importpath = "gopkg.in/errgo.v2", - sum = "h1:0vLT13EuvQ0hNvakwLuFZ/jYrLp5F3kcWHXdRggjCE8=", - version = "v2.1.0", + sum = "h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=", + version = "v1.0.0-20201130134442-10cb98267c6c", ) + go_repository( name = "in_gopkg_yaml_v2", build_file_proto_mode = "disable", @@ -500,170 +219,97 @@ def go_dependencies(): version = "v2.4.0", ) go_repository( - name = "io_opencensus_go", - build_file_proto_mode = "disable", - importpath = "go.opencensus.io", - sum = "h1:LYy1Hy3MJdrCdMwwzxA/dRok4ejH+RwNGbuoD9fCjto=", - version = "v0.22.4", - ) - go_repository( - name = "io_rsc_binaryregexp", + name = "in_gopkg_yaml_v3", build_file_proto_mode = "disable", - importpath = "rsc.io/binaryregexp", - sum = "h1:HfqmD5MEmC0zvwBuF187nq9mdnXjXsSivRiXN7SmRkE=", - version = "v0.2.0", - ) - go_repository( - name = "io_rsc_quote_v3", - build_file_proto_mode = "disable", - importpath = "rsc.io/quote/v3", - sum = "h1:9JKUTTIUgS6kzR9mK1YuGKv6Nl+DijDNIc0ghT58FaY=", - version = "v3.1.0", - ) - go_repository( - name = "io_rsc_sampler", - build_file_proto_mode = "disable", - importpath = "rsc.io/sampler", - sum = "h1:7uVkIFmeBqHfdjD+gZwtXXI+RODJ2Wc4O7MPEh/QiW4=", - version = "v1.3.0", - ) - go_repository( - name = "org_golang_google_api", - build_file_proto_mode = "disable", - importpath = "google.golang.org/api", - sum = "h1:yfrXXP61wVuLb0vBcG6qaOoIoqYEzOQS8jum51jkv2w=", - version = "v0.30.0", + importpath = "gopkg.in/yaml.v3", + sum = "h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=", + version = "v3.0.1", ) + go_repository( name = "org_golang_google_appengine", build_file_proto_mode = "disable", importpath = "google.golang.org/appengine", - sum = "h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc=", - version = "v1.6.6", - ) - go_repository( - name = "org_golang_google_genproto", - build_file_proto_mode = "disable", - importpath = "google.golang.org/genproto", - sum = "h1:PDIOdWxZ8eRizhKa1AAvY53xsvLB1cWorMjslvY3VA8=", - version = "v0.0.0-20200825200019-8632dd797987", - ) - go_repository( - name = "org_golang_google_grpc", - build_file_proto_mode = "disable", - importpath = "google.golang.org/grpc", - sum = "h1:T7P4R73V3SSDPhH7WW7ATbfViLtmamH0DKrP3f9AuDI=", - version = "v1.31.0", + sum = "h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=", + version = "v1.6.7", ) + go_repository( name = "org_golang_google_protobuf", build_file_proto_mode = "disable", importpath = "google.golang.org/protobuf", - sum = "h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk=", - version = "v1.26.0", + sum = "h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=", + version = "v1.28.1", ) go_repository( name = "org_golang_x_crypto", build_file_proto_mode = "disable", importpath = "golang.org/x/crypto", - sum = "h1:psW17arqaxU48Z5kZ0CQnkZWQJsqcURM6tKiBApRjXI=", - version = "v0.0.0-20200622213623-75b288015ac9", - ) - go_repository( - name = "org_golang_x_exp", - build_file_proto_mode = "disable", - importpath = "golang.org/x/exp", - sum = "h1:QE6XYQK6naiK1EPAe1g/ILLxN5RBoH5xkJk3CqlMI/Y=", - version = "v0.0.0-20200224162631-6cc2880d07d6", - ) - go_repository( - name = "org_golang_x_image", - build_file_proto_mode = "disable", - importpath = "golang.org/x/image", - sum = "h1:+qEpEAPhDZ1o0x3tHzZTQDArnOixOzGD9HUJfcg0mb4=", - version = "v0.0.0-20190802002840-cff245a6509b", - ) - go_repository( - name = "org_golang_x_lint", - build_file_proto_mode = "disable", - importpath = "golang.org/x/lint", - sum = "h1:Wh+f8QHJXR411sJR8/vRBTZ7YapZaRvUcLFFJhusH0k=", - version = "v0.0.0-20200302205851-738671d3881b", - ) - go_repository( - name = "org_golang_x_mobile", - build_file_proto_mode = "disable", - importpath = "golang.org/x/mobile", - sum = "h1:4+4C/Iv2U4fMZBiMCc98MG1In4gJY5YRhtpDNeDeHWs=", - version = "v0.0.0-20190719004257-d2bd2a29d028", + sum = "h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=", + version = "v0.0.0-20190308221718-c2843e01d9a2", ) + go_repository( name = "org_golang_x_mod", build_file_proto_mode = "disable", importpath = "golang.org/x/mod", - sum = "h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=", - version = "v0.3.0", + sum = "h1:6zppjxzCulZykYSLyVDYbneBfbaBIQPYMevg0bEwv2s=", + version = "v0.6.0-dev.0.20220419223038-86c51ed26bb4", ) go_repository( name = "org_golang_x_net", build_file_proto_mode = "disable", importpath = "golang.org/x/net", - sum = "h1:oA4XRj0qtSt8Yo1Zms0CUlsT3KG69V2UGQWPBxujDmc=", - version = "v0.0.0-20220225172249-27dd8689420f", + sum = "h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=", + version = "v0.7.0", ) go_repository( name = "org_golang_x_oauth2", build_file_proto_mode = "disable", importpath = "golang.org/x/oauth2", - sum = "h1:clP8eMhB30EHdc0bd2Twtq6kgU7yl5ub2cQLSdrv1Dg=", - version = "v0.0.0-20220223155221-ee480838109b", + sum = "h1:HuArIo48skDwlrvM3sEdHXElYslAMsf3KwRkkW4MC4s=", + version = "v0.5.0", ) go_repository( name = "org_golang_x_sync", build_file_proto_mode = "disable", importpath = "golang.org/x/sync", - sum = "h1:DcqTD9SDLc+1P/r1EmRBwnVsrOwW+kk2vWf9n+1sGhs=", - version = "v0.0.0-20201207232520-09787c993a3a", + sum = "h1:Ax0t5p6N38Ga0dThY21weqDEyz2oklo4IvDkpigvkD8=", + version = "v0.0.0-20220601150217-0de741cfad7f", ) go_repository( name = "org_golang_x_sys", build_file_proto_mode = "disable", importpath = "golang.org/x/sys", - sum = "h1:XfKQ4OlFl8okEOr5UvAqFRVj8pY/4yfcXrddB8qAbU0=", - version = "v0.0.0-20220114195835-da31bd327af9", + sum = "h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=", + version = "v0.5.0", ) go_repository( name = "org_golang_x_term", build_file_proto_mode = "disable", importpath = "golang.org/x/term", - sum = "h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=", - version = "v0.0.0-20210927222741-03fcf44c2211", + sum = "h1:n2a8QNdAb0sZNpU9R1ALUXBbY+w51fCQDN+7EdxNBsY=", + version = "v0.5.0", ) go_repository( name = "org_golang_x_text", build_file_proto_mode = "disable", importpath = "golang.org/x/text", - sum = "h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=", - version = "v0.3.7", - ) - go_repository( - name = "org_golang_x_time", - build_file_proto_mode = "disable", - importpath = "golang.org/x/time", - sum = "h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs=", - version = "v0.0.0-20191024005414-555d28b269f0", + sum = "h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo=", + version = "v0.7.0", ) + go_repository( name = "org_golang_x_tools", build_file_proto_mode = "disable", importpath = "golang.org/x/tools", - sum = "h1:W07d4xkoAUSNOkOzdzXCdFGxT7o2rW4q8M34tB2i//k=", - version = "v0.0.0-20200825202427-b303f430e36d", + sum = "h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU=", + version = "v0.1.12", ) go_repository( name = "org_golang_x_xerrors", build_file_proto_mode = "disable", importpath = "golang.org/x/xerrors", - sum = "h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=", - version = "v0.0.0-20200804184101-5ec99f83aff1", + sum = "h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=", + version = "v0.0.0-20191204190536-9bdfabe68543", ) diff --git a/model/BUILD.bazel b/model/BUILD.bazel index d1854bb0..58576929 100644 --- a/model/BUILD.bazel +++ b/model/BUILD.bazel @@ -14,6 +14,9 @@ go_library( "silence.go", "time.go", "value.go", + "value_float.go", + "value_histogram.go", + "value_type.go", ], importpath = "github.com/prometheus/common/model", visibility = ["//visibility:public"], @@ -36,6 +39,8 @@ go_test( "signature_test.go", "silence_test.go", "time_test.go", + "value_float_test.go", + "value_histogram_test.go", "value_test.go", ], embed = [":model"], diff --git a/promlog/flag/BUILD.bazel b/promlog/flag/BUILD.bazel index aa05c3a6..8da2795f 100644 --- a/promlog/flag/BUILD.bazel +++ b/promlog/flag/BUILD.bazel @@ -7,7 +7,7 @@ go_library( visibility = ["//visibility:public"], deps = [ "//promlog", - "@in_gopkg_alecthomas_kingpin_v2//:kingpin_v2", + "@com_github_alecthomas_kingpin_v2//:kingpin", ], ) diff --git a/version/BUILD.bazel b/version/BUILD.bazel index 2d019c68..858f7fd6 100644 --- a/version/BUILD.bazel +++ b/version/BUILD.bazel @@ -2,7 +2,11 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( name = "version", - srcs = ["info.go"], + srcs = [ + "info.go", + "info_default.go", + "info_go118.go", + ], importpath = "github.com/prometheus/common/version", visibility = ["//visibility:public"], x_defs = {