32 writes to TcpPort
Microsoft.Extensions.Diagnostics.Probes (6)
KubernetesProbesExtensions.cs (3)
59options.TcpPort = wrapperOptions.LivenessProbe.TcpPort; 76options.TcpPort = wrapperOptions.StartupProbe.TcpPort; 93options.TcpPort = wrapperOptions.ReadinessProbe.TcpPort;
KubernetesProbesOptions.cs (3)
23TcpPort = DefaultLivenessProbePort, 34TcpPort = DefaultStartupProbePort, 45TcpPort = DefaultReadinessProbePort,
Microsoft.Extensions.Diagnostics.Probes.Tests (26)
KubernetesProbesExtensionsTests.cs (3)
74options.LivenessProbe.TcpPort = 1; 75options.StartupProbe.TcpPort = 2; 76options.ReadinessProbe.TcpPort = 3;
KubernetesProbesOptionsValidatorTests.cs (21)
28options.LivenessProbe.TcpPort = 2305; 29options.StartupProbe.TcpPort = 2306; 30options.ReadinessProbe.TcpPort = 2307; 41options.LivenessProbe.TcpPort = 2305; 42options.StartupProbe.TcpPort = 2305; 43options.ReadinessProbe.TcpPort = 2307; 49options.LivenessProbe.TcpPort = 2305; 50options.StartupProbe.TcpPort = 2306; 51options.ReadinessProbe.TcpPort = 2305; 55options.LivenessProbe.TcpPort = 2305; 56options.StartupProbe.TcpPort = 2306; 57options.ReadinessProbe.TcpPort = 2306; 61options.LivenessProbe.TcpPort = 2305; 62options.StartupProbe.TcpPort = 2305; 63options.ReadinessProbe.TcpPort = 2305; 75options.LivenessProbe.TcpPort = 22305; 76options.StartupProbe.TcpPort = 22306; 77options.ReadinessProbe.TcpPort = 22307; 106options.LivenessProbe.TcpPort = 22305; 107options.StartupProbe.TcpPort = 22305; 108options.ReadinessProbe.TcpPort = 22307;
TcpEndpointProbesServiceTests.cs (2)
29TcpPort = port, 78TcpPort = port,
21 references to TcpPort
Microsoft.Extensions.Diagnostics.Probes (10)
KubernetesProbesExtensions.cs (3)
59options.TcpPort = wrapperOptions.LivenessProbe.TcpPort; 76options.TcpPort = wrapperOptions.StartupProbe.TcpPort; 93options.TcpPort = wrapperOptions.ReadinessProbe.TcpPort;
KubernetesProbesOptionsValidator.cs (6)
14if (options.LivenessProbe.TcpPort == options.StartupProbe.TcpPort 15|| options.LivenessProbe.TcpPort == options.ReadinessProbe.TcpPort 16|| options.StartupProbe.TcpPort == options.ReadinessProbe.TcpPort)
TcpEndpointProbesService.cs (1)
36_listener = new TcpListener(IPAddress.Any, _options.TcpPort);
Microsoft.Extensions.Diagnostics.Probes.Tests (11)
KubernetesProbesExtensionsTests.cs (9)
52Assert.Equal(2305, livenessConfig.TcpPort); 58Assert.Equal(2306, startupConfig.TcpPort); 64Assert.Equal(2307, readinessConfig.TcpPort); 86Assert.Equal(1, config.Get(ProbeTags.Liveness).TcpPort); 87Assert.Equal(2, config.Get(ProbeTags.Startup).TcpPort); 88Assert.Equal(3, config.Get(ProbeTags.Readiness).TcpPort); 114Assert.Equal(1, config.Get(ProbeTags.Liveness).TcpPort); 115Assert.Equal(2, config.Get(ProbeTags.Startup).TcpPort); 116Assert.Equal(3, config.Get(ProbeTags.Readiness).TcpPort);
TcpEndpointProbesExtensionsTests.cs (2)
123Assert.Equal(1234, configuration.Value.TcpPort); 150Assert.Equal(1234, configuration.Get("Liveness").TcpPort);