Class HealthEndpointCore
- Namespace
- Steeltoe.Management.Endpoint.Health
- Assembly
- Steeltoe.Management.EndpointCore.dll
public class HealthEndpointCore : HealthEndpoint, IEndpoint<HealthCheckResult, ISecurityContext>, IEndpoint
- Inheritance
-
HealthEndpointCore
- Implements
- Inherited Members
- Extension Methods
Constructors
HealthEndpointCore(IHealthOptions, IHealthAggregator, IEnumerable<IHealthContributor>, IOptionsMonitor<HealthCheckServiceOptions>, IServiceProvider, ILogger<HealthEndpoint>)
public HealthEndpointCore(IHealthOptions options, IHealthAggregator aggregator, IEnumerable<IHealthContributor> contributors, IOptionsMonitor<HealthCheckServiceOptions> serviceOptions, IServiceProvider provider, ILogger<HealthEndpoint> logger = null)
Parameters
optionsIHealthOptionsaggregatorIHealthAggregatorcontributorsIEnumerable<IHealthContributor>serviceOptionsIOptionsMonitor<HealthCheckServiceOptions>providerIServiceProviderloggerILogger<HealthEndpoint>
Properties
Options
public IHealthOptions Options { get; }
Property Value
Methods
BuildHealth(IHealthAggregator, IList<IHealthContributor>, ISecurityContext, IOptionsMonitor<HealthCheckServiceOptions>, IServiceProvider)
protected virtual HealthCheckResult BuildHealth(IHealthAggregator aggregator, IList<IHealthContributor> contributors, ISecurityContext securityContext, IOptionsMonitor<HealthCheckServiceOptions> svcOptions, IServiceProvider provider)
Parameters
aggregatorIHealthAggregatorcontributorsIList<IHealthContributor>securityContextISecurityContextsvcOptionsIOptionsMonitor<HealthCheckServiceOptions>providerIServiceProvider
Returns
Invoke(ISecurityContext)
public override HealthCheckResult Invoke(ISecurityContext securityContext)
Parameters
securityContextISecurityContext