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