azure-dev/go.mod

110 строки
5.5 KiB
Modula-2
Исходник Обычный вид История

2022-07-07 19:08:23 +03:00
module github.com/azure/azure-dev
2024-08-27 00:00:58 +03:00
go 1.23
2022-07-07 19:08:23 +03:00
require (
github.com/AlecAivazis/survey/v2 v2.3.2
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.12.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.6.0
2024-04-02 02:25:14 +03:00
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement v1.0.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appconfiguration/armappconfiguration v1.0.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appcontainers/armappcontainers/v3 v3.0.0-beta.1
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appplatform/armappplatform/v2 v2.0.0-beta.1
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice/v2 v2.3.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization v1.0.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2 v2.1.1
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cognitiveservices/armcognitiveservices v1.4.1
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry v0.6.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice/v2 v2.2.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos/v2 v2.6.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/keyvault/armkeyvault v1.0.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/machinelearning/armmachinelearning/v3 v3.2.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcegraph/armresourcegraph v0.7.1
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armdeploymentstacks v1.0.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.1.1
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions v1.0.0
2024-04-02 02:25:14 +03:00
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql/v2 v2.0.0-beta.4
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets v0.13.0
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.1
github.com/Azure/azure-sdk-for-go/sdk/storage/azfile v1.2.2
github.com/Azure/azure-storage-file-go v0.8.0
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2
github.com/MakeNowJust/heredoc/v2 v2.0.1
github.com/adam-lavrik/go-imath v0.0.0-20210910152346-265a42a96f0b
github.com/benbjohnson/clock v1.3.0
github.com/blang/semver/v4 v4.0.0
github.com/bmatcuk/doublestar/v4 v4.6.0
github.com/bradleyjkemp/cupaloy/v2 v2.8.0
github.com/buger/goterm v1.0.4
2024-04-02 02:25:14 +03:00
github.com/cli/browser v1.1.0
2022-07-07 19:08:23 +03:00
github.com/drone/envsubst v1.0.3
github.com/fatih/color v1.13.0
github.com/gofrs/flock v0.8.1
github.com/golobby/container/v3 v3.3.1
github.com/google/uuid v1.6.0
Add RPC Server for VS Aspire Deploy (#3190) This change adds a new command to `azd`, `azd vs-server`. When run, `azd` starts a listener on `127.0.0.1` and prints a JSON object containing the port it is listing on and its PID followed by a newline to standard out. Clients may connect via WebSockets to one of three services: - `ws://127.0.0.1:XYZ/EnvironmentService/v1.0` - `ws://127.0.0.1:XYZ/ServerService/v1.0` - `ws://127.0.0.1:XYZ/AspireService/v1.0` Each of these corresponds to a set of services VS Expects (their names map to the I<Foo>Service.cs interfaces in their source tree) The general interaction model is that a client connects and calls the `InitializeAsync` method on the `ServerService` service which gives it back an opqaue session ID. The client can then call any methods on the `EnvironmentService` or `AspireService`. Internally the server tracks these ids to allow caching of data between a single logical connection. Each session also contains a scoped IoC container which is used for resolving dependencies, allowing us to leverage much of the existing `azd` implementation. We do need to think long term about lifetime in this new model, but things seem to hang together okay right now. Most methods have an `IObserver<ProgressMessage>` parameter that allows `azd` to write messages during operations back to VS. This uses some special features of the `StreamJsonRpc` package, from .NET, we implement their strategy to allow it to marshal a proxy for the IObserver to us, which we can then call `onNext` on. You can use `StreamJsonRpc` (as VS Does) to interact with these endpoints. A small test program is included in `vsrpc/testdata/dotnet-azd-client` which exercises these RPCs and writes log output which can be helpful when debugging the server. It expects to connect to the server on port 8080, so use the `--port 8080` flag when launching the server. Fixes #2763
2024-02-03 12:45:17 +03:00
github.com/gorilla/websocket v1.5.1
2022-07-07 19:08:23 +03:00
github.com/joho/godotenv v1.4.0
github.com/magefile/mage v1.12.1
github.com/mattn/go-colorable v0.1.12
2022-07-07 19:08:23 +03:00
github.com/mattn/go-isatty v0.0.14
github.com/microsoft/ApplicationInsights-Go v0.4.4
2024-06-02 01:43:08 +03:00
github.com/microsoft/azure-devops-go-api/azuredevops/v7 v7.1.0
github.com/microsoft/go-deviceid v1.0.0
github.com/moby/patternmatcher v0.6.0
github.com/nathan-fiscaletti/consolesize-go v0.0.0-20220204101620-317176b6684d
github.com/otiai10/copy v1.9.0
github.com/psanford/memfs v0.0.0-20230130182539-4dbf7e3e865e
2022-07-07 19:08:23 +03:00
github.com/sethvargo/go-retry v0.2.3
github.com/spf13/cobra v1.3.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.9.0
2022-07-07 19:08:23 +03:00
github.com/theckman/yacspin v0.13.12
Add RPC Server for VS Aspire Deploy (#3190) This change adds a new command to `azd`, `azd vs-server`. When run, `azd` starts a listener on `127.0.0.1` and prints a JSON object containing the port it is listing on and its PID followed by a newline to standard out. Clients may connect via WebSockets to one of three services: - `ws://127.0.0.1:XYZ/EnvironmentService/v1.0` - `ws://127.0.0.1:XYZ/ServerService/v1.0` - `ws://127.0.0.1:XYZ/AspireService/v1.0` Each of these corresponds to a set of services VS Expects (their names map to the I<Foo>Service.cs interfaces in their source tree) The general interaction model is that a client connects and calls the `InitializeAsync` method on the `ServerService` service which gives it back an opqaue session ID. The client can then call any methods on the `EnvironmentService` or `AspireService`. Internally the server tracks these ids to allow caching of data between a single logical connection. Each session also contains a scoped IoC container which is used for resolving dependencies, allowing us to leverage much of the existing `azd` implementation. We do need to think long term about lifetime in this new model, but things seem to hang together okay right now. Most methods have an `IObserver<ProgressMessage>` parameter that allows `azd` to write messages during operations back to VS. This uses some special features of the `StreamJsonRpc` package, from .NET, we implement their strategy to allow it to marshal a proxy for the IObserver to us, which we can then call `onNext` on. You can use `StreamJsonRpc` (as VS Does) to interact with these endpoints. A small test program is included in `vsrpc/testdata/dotnet-azd-client` which exercises these RPCs and writes log output which can be helpful when debugging the server. It expects to connect to the server on port 8080, so use the `--port 8080` flag when launching the server. Fixes #2763
2024-02-03 12:45:17 +03:00
go.lsp.dev/jsonrpc2 v0.10.0
go.opentelemetry.io/otel v1.8.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.8.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.8.0
go.opentelemetry.io/otel/sdk v1.8.0
go.opentelemetry.io/otel/trace v1.8.0
go.uber.org/atomic v1.9.0
2022-07-07 19:08:23 +03:00
go.uber.org/multierr v1.8.0
golang.org/x/sys v0.21.0
gopkg.in/dnaeon/go-vcr.v3 v3.1.2
2023-05-18 08:47:38 +03:00
gopkg.in/yaml.v3 v3.0.1
)
require (
github.com/Azure/azure-pipeline-go v0.2.1 // indirect
github.com/Azure/azure-sdk-for-go/sdk/internal v1.9.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v0.8.0 // indirect
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
2022-07-07 19:08:23 +03:00
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
github.com/golang/protobuf v1.5.3 // indirect
2024-08-27 00:00:58 +03:00
github.com/google/go-cmp v0.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 // indirect
2022-07-07 19:08:23 +03:00
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149 // indirect
2022-07-07 19:08:23 +03:00
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
2024-04-02 02:25:14 +03:00
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
2022-07-07 19:08:23 +03:00
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
Add RPC Server for VS Aspire Deploy (#3190) This change adds a new command to `azd`, `azd vs-server`. When run, `azd` starts a listener on `127.0.0.1` and prints a JSON object containing the port it is listing on and its PID followed by a newline to standard out. Clients may connect via WebSockets to one of three services: - `ws://127.0.0.1:XYZ/EnvironmentService/v1.0` - `ws://127.0.0.1:XYZ/ServerService/v1.0` - `ws://127.0.0.1:XYZ/AspireService/v1.0` Each of these corresponds to a set of services VS Expects (their names map to the I<Foo>Service.cs interfaces in their source tree) The general interaction model is that a client connects and calls the `InitializeAsync` method on the `ServerService` service which gives it back an opqaue session ID. The client can then call any methods on the `EnvironmentService` or `AspireService`. Internally the server tracks these ids to allow caching of data between a single logical connection. Each session also contains a scoped IoC container which is used for resolving dependencies, allowing us to leverage much of the existing `azd` implementation. We do need to think long term about lifetime in this new model, but things seem to hang together okay right now. Most methods have an `IObserver<ProgressMessage>` parameter that allows `azd` to write messages during operations back to VS. This uses some special features of the `StreamJsonRpc` package, from .NET, we implement their strategy to allow it to marshal a proxy for the IObserver to us, which we can then call `onNext` on. You can use `StreamJsonRpc` (as VS Does) to interact with these endpoints. A small test program is included in `vsrpc/testdata/dotnet-azd-client` which exercises these RPCs and writes log output which can be helpful when debugging the server. It expects to connect to the server on port 8080, so use the `--port 8080` flag when launching the server. Fixes #2763
2024-02-03 12:45:17 +03:00
github.com/segmentio/asm v1.1.3 // indirect
github.com/segmentio/encoding v0.3.4 // indirect
github.com/stretchr/objx v0.5.2 // indirect
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.8.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.8.0 // indirect
go.opentelemetry.io/proto/otlp v0.18.0 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/term v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.56.3 // indirect
google.golang.org/protobuf v1.33.0 // indirect
2022-07-07 19:08:23 +03:00
)