VictoriaMetrics/go.mod

137 lines
6.6 KiB
Modula-2
Raw Permalink Normal View History

2019-05-22 21:16:55 +00:00
module github.com/VictoriaMetrics/VictoriaMetrics
go 1.23.1
2019-05-22 21:16:55 +00:00
require (
cloud.google.com/go/storage v1.43.0
2024-09-08 19:05:06 +00:00
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0
lib/backup: add support for Azure Managed Identity (#6518) ### Describe Your Changes These changes support using Azure Managed Identity for the `vmbackup` utility. It adds two new environment variables: * `AZURE_USE_DEFAULT_CREDENTIAL`: Instructs the `vmbackup` utility to build a connection using the [Azure Default Credential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity@v1.5.2#NewDefaultAzureCredential) mode. This causes the Azure SDK to check for a variety of environment variables to try and make a connection. By default, it tries to use managed identity if that is set up. This will close https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5984 ### Checklist The following checks are **mandatory**: - [x] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/). ### Testing However you normally test the `vmbackup` utility using Azure Blob should continue to work without any changes. The set up for that is environment specific and not listed out here. Once regression testing has been done you can set up [Azure Managed Identity](https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview) so your resource (AKS, VM, etc), can use that credential method. Once it is set up, update your environment variables according to the updated documentation. I added unit tests to the `FS.Init` function, then made my changes, then updated the unit tests to capture the new branches. I tested this in our environment, but with SAS token auth and managed identity and it works as expected. --------- Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> Co-authored-by: Justin Rush <jarush@epic.com> Co-authored-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> Co-authored-by: hagen1778 <roman@victoriametrics.com>
2024-07-10 09:52:05 +00:00
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0
2024-09-26 20:33:05 +00:00
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.4.1
github.com/VictoriaMetrics/easyproto v0.1.4
github.com/VictoriaMetrics/fastcache v1.12.2
github.com/VictoriaMetrics/metrics v1.35.1
github.com/VictoriaMetrics/metricsql v0.80.0
2024-09-26 20:33:05 +00:00
github.com/aws/aws-sdk-go-v2 v1.31.0
github.com/aws/aws-sdk-go-v2/config v1.27.38
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.24
github.com/aws/aws-sdk-go-v2/service/s3 v1.63.2
2023-10-31 19:19:51 +00:00
github.com/bmatcuk/doublestar/v4 v4.6.1
2024-04-11 07:46:22 +00:00
github.com/cespare/xxhash/v2 v2.3.0
2024-01-26 21:56:37 +00:00
github.com/cheggaaa/pb/v3 v3.1.5
github.com/ergochat/readline v0.1.3
github.com/gogo/protobuf v1.3.2
2021-07-07 13:05:04 +00:00
github.com/golang/snappy v0.0.4
github.com/google/go-cmp v0.6.0
2024-07-27 11:52:48 +00:00
github.com/googleapis/gax-go/v2 v2.13.0
2024-09-08 19:05:06 +00:00
github.com/influxdata/influxdb v1.11.6
2024-09-26 20:33:05 +00:00
github.com/klauspost/compress v1.17.10
github.com/mattn/go-isatty v0.0.20
2024-09-08 19:05:06 +00:00
github.com/prometheus/prometheus v0.54.1
github.com/urfave/cli/v2 v2.27.4
github.com/valyala/fastjson v1.6.4
github.com/valyala/fastrand v1.1.0
github.com/valyala/fasttemplate v1.2.2
github.com/valyala/gozstd v1.21.2
github.com/valyala/histogram v1.2.0
github.com/valyala/quicktemplate v1.8.0
2024-09-08 19:05:06 +00:00
golang.org/x/net v0.29.0
golang.org/x/oauth2 v0.23.0
golang.org/x/sys v0.27.0
2024-09-26 20:33:05 +00:00
google.golang.org/api v0.199.0
2020-12-03 18:16:30 +00:00
gopkg.in/yaml.v2 v2.4.0
2019-05-22 21:16:55 +00:00
)
require (
2024-09-08 19:05:06 +00:00
cloud.google.com/go v0.115.1 // indirect
2024-09-26 20:33:05 +00:00
cloud.google.com/go/auth v0.9.5 // indirect
2024-09-08 19:05:06 +00:00
cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect
2024-09-26 20:33:05 +00:00
cloud.google.com/go/compute/metadata v0.5.2 // indirect
cloud.google.com/go/iam v1.2.1 // indirect
2024-07-17 18:47:20 +00:00
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
2024-02-24 01:22:39 +00:00
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
github.com/VividCortex/ewma v1.2.0 // indirect
2024-07-02 22:00:09 +00:00
github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 // indirect
2024-09-08 19:05:06 +00:00
github.com/aws/aws-sdk-go v1.55.5 // indirect
2024-09-26 20:33:05 +00:00
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.5 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect
2024-09-08 19:05:06 +00:00
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect
2024-09-26 20:33:05 +00:00
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.18 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.20 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.18 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 // indirect
github.com/aws/smithy-go v1.21.0 // indirect
2024-02-24 01:22:39 +00:00
github.com/bboreham/go-loser v0.0.0-20230920113527-fcc2c21820a3 // indirect
github.com/beorn7/perks v1.0.1 // indirect
2024-09-26 20:33:05 +00:00
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
2023-07-26 22:05:15 +00:00
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/dennwc/varint v1.0.0 // indirect
2024-05-22 19:58:38 +00:00
github.com/fatih/color v1.17.0 // indirect
2023-11-13 17:50:16 +00:00
github.com/felixge/httpsnoop v1.0.4 // indirect
2022-05-20 11:45:24 +00:00
github.com/go-kit/log v0.2.1 // indirect
2023-01-31 19:03:20 +00:00
github.com/go-logfmt/logfmt v0.6.0 // indirect
2024-05-22 19:58:38 +00:00
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
2024-03-06 19:24:42 +00:00
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
2024-07-27 11:52:48 +00:00
github.com/google/s2a-go v0.1.8 // indirect
2024-01-26 21:56:37 +00:00
github.com/google/uuid v1.6.0 // indirect
2024-09-26 20:33:05 +00:00
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
2024-05-22 19:58:38 +00:00
github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
2023-09-07 10:34:14 +00:00
github.com/json-iterator/go v1.1.12 // indirect
2023-07-07 07:04:32 +00:00
github.com/kylelemons/godebug v1.1.0 // indirect
2022-08-21 16:06:28 +00:00
github.com/mattn/go-colorable v0.1.13 // indirect
2024-07-27 11:52:48 +00:00
github.com/mattn/go-runewidth v0.0.16 // indirect
2023-09-07 10:34:14 +00:00
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
2024-07-02 22:00:09 +00:00
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
github.com/oklog/ulid v1.3.1 // indirect
2024-01-16 14:57:30 +00:00
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
2023-07-26 22:05:15 +00:00
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
2024-09-26 20:33:05 +00:00
github.com/prometheus/client_golang v1.20.4 // indirect
2024-04-03 22:34:44 +00:00
github.com/prometheus/client_model v0.6.1 // indirect
2024-09-08 19:05:06 +00:00
github.com/prometheus/common v0.59.1 // indirect
github.com/prometheus/common/sigv4 v0.1.0 // indirect
2024-06-07 14:40:42 +00:00
github.com/prometheus/procfs v0.15.1 // indirect
2024-02-12 20:31:30 +00:00
github.com/rivo/uniseg v0.4.7 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
2024-03-06 19:24:42 +00:00
github.com/stretchr/testify v1.9.0 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
2024-05-22 19:58:38 +00:00
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
2022-11-05 08:34:35 +00:00
go.opencensus.io v0.24.0 // indirect
2024-09-26 20:33:05 +00:00
go.opentelemetry.io/collector/pdata v1.16.0 // indirect
go.opentelemetry.io/collector/semconv v0.110.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.55.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 // indirect
go.opentelemetry.io/otel v1.30.0 // indirect
go.opentelemetry.io/otel/metric v1.30.0 // indirect
go.opentelemetry.io/otel/trace v1.30.0 // indirect
2023-05-10 06:13:50 +00:00
go.uber.org/atomic v1.11.0 // indirect
2023-10-31 19:19:51 +00:00
go.uber.org/goleak v1.3.0 // indirect
2023-09-07 10:34:14 +00:00
go.uber.org/multierr v1.11.0 // indirect
2024-09-08 19:05:06 +00:00
golang.org/x/crypto v0.27.0 // indirect
2024-09-26 20:33:05 +00:00
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
golang.org/x/sync v0.8.0 // indirect
2024-09-08 19:05:06 +00:00
golang.org/x/text v0.18.0 // indirect
golang.org/x/time v0.6.0 // indirect
2024-09-26 20:33:05 +00:00
google.golang.org/genproto v0.0.0-20240924160255-9d4c2d233b61 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240924160255-9d4c2d233b61 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61 // indirect
google.golang.org/grpc v1.67.0 // indirect
2024-06-24 21:08:47 +00:00
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
2024-09-26 20:33:05 +00:00
k8s.io/apimachinery v0.31.1 // indirect
k8s.io/client-go v0.31.1 // indirect
2024-06-24 21:08:47 +00:00
k8s.io/klog/v2 v2.130.1 // indirect
2024-09-26 20:33:05 +00:00
k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 // indirect
)