24 references to AddNats
Aspire.Hosting.Nats (1)
NatsBuilderExtensions.cs (1)
33return AddNats(builder, name, port, null);
Aspire.Hosting.Nats.Tests (22)
AddNatsTests.cs (12)
20var nats = appBuilder.AddNats("nats"); 29var nats = appBuilder.AddNats("nats"); 39var nats = appBuilder.AddNats("nats") 65var nats = appBuilder.AddNats("nats", userName: userParameters, password: passwordParameters) 90appBuilder.AddNats("nats"); 132appBuilder.AddNats("nats", 1234, user, pass).WithJetStream().WithDataBindMount(path); 176builder.AddNats("nats1"); 177builder.AddNats("nats2"); 186var nats = builder.AddNats("nats"); 222var nats = builder.AddNats("nats", userName: userNameParameter, password: passwordParameter) 251nats = builder.AddNats("nats2", userName: userNameParameter); 278nats = builder.AddNats("nats3", password: passwordParameter);
NatsFunctionalTests.cs (7)
30var nats = builder.AddNats("nats") 76var nats = builder.AddNats("nats", userName: usernameParameter, password: passwordParameter); 120var nats = builder.AddNats("nats", userName: usernameParameter, password: passwordParameter); 165var nats1 = builder1.AddNats("nats") 219var nats2 = builder2.AddNats("nats") 335var resource = builder.AddNats("resource") 338var dependentResource = builder.AddNats("dependentresource")
NatsPublicApiTests.cs (3)
20var action = () => includePort ? builder.AddNats(name, 4222) : builder.AddNats(name); 34var action = () => includePort ? builder.AddNats(name, 4222) : builder.AddNats(name); 78var nats = builder.AddNats("Nats");
Nats.AppHost (1)
Program.cs (1)
3var nats = builder.AddNats("nats")