7 references to Startup
Microsoft.Extensions.Diagnostics.Probes (3)
KubernetesProbesExtensions.cs (3)
74
.AddTcpEndpointProbe(ProbeTags.
Startup
, options =>
84
options.FilterChecks = (check) => check.Tags.Contains(ProbeTags.
Startup
);
88
options.FilterChecks = (check) => check.Tags.Contains(ProbeTags.
Startup
) && originalPredicate(check);
Microsoft.Extensions.Diagnostics.Probes.Tests (4)
KubernetesProbesExtensionsTests.cs (4)
45
var startupRegistration = new HealthCheckRegistration("startup", Mock.Of<IHealthCheck>(), null, new[] { ProbeTags.
Startup
});
54
var startupConfig = config.Get(ProbeTags.
Startup
);
87
Assert.Equal(2, config.Get(ProbeTags.
Startup
).TcpPort);
115
Assert.Equal(2, config.Get(ProbeTags.
Startup
).TcpPort);