Table of Contents

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

options IHealthOptions
aggregator IHealthAggregator
contributors IEnumerable<IHealthContributor>
serviceOptions IOptionsMonitor<HealthCheckServiceOptions>
provider IServiceProvider
logger ILogger<HealthEndpoint>

Properties

Options

public IHealthOptions Options { get; }

Property Value

IHealthOptions

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

aggregator IHealthAggregator
contributors IList<IHealthContributor>
securityContext ISecurityContext
svcOptions IOptionsMonitor<HealthCheckServiceOptions>
provider IServiceProvider

Returns

HealthCheckResult

Invoke(ISecurityContext)

public override HealthCheckResult Invoke(ISecurityContext securityContext)

Parameters

securityContext ISecurityContext

Returns

HealthCheckResult