7 references to Liveness
Microsoft.Extensions.Diagnostics.Probes (3)
KubernetesProbesExtensions.cs (3)
57.AddTcpEndpointProbe(ProbeTags.Liveness, options => 67options.FilterChecks = (check) => check.Tags.Contains(ProbeTags.Liveness); 71options.FilterChecks = (check) => check.Tags.Contains(ProbeTags.Liveness) && originalPredicate(check);
Microsoft.Extensions.Diagnostics.Probes.Tests (4)
KubernetesProbesExtensionsTests.cs (4)
44var livenessRegistration = new HealthCheckRegistration("liveness", Mock.Of<IHealthCheck>(), null, new[] { ProbeTags.Liveness }); 48var livenessConfig = config.Get(ProbeTags.Liveness); 86Assert.Equal(1, config.Get(ProbeTags.Liveness).TcpPort); 114Assert.Equal(1, config.Get(ProbeTags.Liveness).TcpPort);