31 writes to ConsumerUdsPath
Aspire.Cli.Tests (31)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
281
ConsumerUdsPath
= "/terminal/r0.sock",
Commands\TerminalCommandTests.cs (9)
207
new() { ReplicaIndex = 0, Label = "myresource-0",
ConsumerUdsPath
= "unused", IsAlive = true },
208
new() { ReplicaIndex = 1, Label = "myresource-1",
ConsumerUdsPath
= "unused", IsAlive = true }
294
ConsumerUdsPath
= "/tmp/does-not-exist-0.sock",
301
ConsumerUdsPath
= "/tmp/does-not-exist-1.sock",
409
ConsumerUdsPath
= "/tmp/r0.sock",
514
ConsumerUdsPath
= "/tmp/frontend-0.host.sock",
528
ConsumerUdsPath
= "/tmp/frontend-1.host.sock",
557
ConsumerUdsPath
= "/tmp/backend-0.host.sock",
744
ConsumerUdsPath
= "/tmp/frontend-0.host.sock",
Commands\TerminalResourceResolverTests.cs (14)
56
var endpoint = new TerminalReplicaInfo { ReplicaIndex = 0, Label = "shell-0",
ConsumerUdsPath
= "singleton.sock", IsAlive = true };
77
var first = new TerminalReplicaInfo { ReplicaIndex = 0, Label = "shell-0",
ConsumerUdsPath
= "first.sock", IsAlive = true };
78
var selected = new TerminalReplicaInfo { ReplicaIndex = 1, Label = "shell-1",
ConsumerUdsPath
= "selected.sock", IsAlive = false };
103
var selected = new TerminalReplicaInfo { ReplicaIndex = 1, Label = "shell-1",
ConsumerUdsPath
= "selected.sock", IsAlive = true };
138
var first = new TerminalReplicaInfo { ReplicaIndex = 0, Label = "shell-0",
ConsumerUdsPath
= "first.sock", IsAlive = true };
139
var second = new TerminalReplicaInfo { ReplicaIndex = 1, Label = "shell-1",
ConsumerUdsPath
= "second.sock", IsAlive = true };
185
new() { ReplicaIndex = 0, Label = "shell-0",
ConsumerUdsPath
= "unused", IsAlive = true },
186
new() { ReplicaIndex = 1, Label = "shell-1",
ConsumerUdsPath
= "unused", IsAlive = true }
221
new() { ReplicaIndex = 0, Label = "shell-0",
ConsumerUdsPath
= "first.sock", IsAlive = true },
222
new() { ReplicaIndex = 1, Label = "shell-1",
ConsumerUdsPath
= "second.sock", IsAlive = true }
258
Replicas = [new() { ReplicaIndex = 1, Label = "shell-1",
ConsumerUdsPath
= "unused", IsAlive = true }]
285
Replicas = [new() { ReplicaIndex = 0, Label = "shell-0",
ConsumerUdsPath
= "unused", IsAlive = true }]
313
new() { ReplicaIndex = 0, Label = "shell-0",
ConsumerUdsPath
= "first.sock", IsAlive = true },
314
new() { ReplicaIndex = 1, Label = "shell-1",
ConsumerUdsPath
= "second.sock", IsAlive = true }
Commands\TerminalTapePlayCommandTests.cs (7)
143
new() { ReplicaIndex = 0, Label = "shell-0",
ConsumerUdsPath
= "unused", IsAlive = true },
144
new() { ReplicaIndex = 1, Label = "shell-1",
ConsumerUdsPath
= "unused", IsAlive = true }
229
new() { ReplicaIndex = 0, Label = "shell-0",
ConsumerUdsPath
= "unused", IsAlive = true },
234
ConsumerUdsPath
= producerConnected ? host.SocketPath : "unused",
285
Replicas = [new() { ReplicaIndex = 0, Label = "shell-0",
ConsumerUdsPath
= "unused", IsAlive = false }]
336
ConsumerUdsPath
= host.SocketPath,
572
Replicas = [new() { ReplicaIndex = 0, Label = "shell-0",
ConsumerUdsPath
= socketPath ?? "unused", IsAlive = true }]
6 references to ConsumerUdsPath
aspire (6)
Commands\TerminalAttachCommand.cs (3)
154
var viewerApp = new TerminalViewerApp(replica.
ConsumerUdsPath
, sessionLabel, displayName, viewerOnly, _logger);
163
_logger.LogDebug(ex, "Failed to connect to terminal at {Path}", replica.
ConsumerUdsPath
);
171
_logger.LogDebug(ex, "Terminal session connection lost at {Path}", replica.
ConsumerUdsPath
);
Commands\TerminalTapePlayCommand.cs (1)
152
StreamFactory = async ct => await Hmp1Transports.ConnectUnixSocket(replica.
ConsumerUdsPath
, ct).ConfigureAwait(false),
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (2)
1751
/// false, AppHost-known <see cref="TerminalReplicaInfo.
ConsumerUdsPath
"/>), but the array shape
1790
/// <see cref="TerminalReplicaInfo.
ConsumerUdsPath
"/> populated, so the diagnostic shape