Interface IApplicationStatusProvider
Represents probes for the application running inside of Kubernetes.
Namespace: DotNext.Diagnostics
Assembly: DotNext.MaintenanceServices.dll
Syntax
public interface IApplicationStatusProvider
Methods
| Edit this page View SourceLivenessProbeAsync(CancellationToken)
Implements Liveness probe.
Declaration
Task<bool> LivenessProbeAsync(CancellationToken token)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | token | The token that can be used to cancel the operation. |
Returns
Type | Description |
---|---|
Task<bool> |
ReadinessProbeAsync(CancellationToken)
Implements Readiness probe.
Declaration
Task<bool> ReadinessProbeAsync(CancellationToken token)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | token | The token that can be used to cancel the operation. |
Returns
Type | Description |
---|---|
Task<bool> |
StartupProbeAsync(CancellationToken)
Implements Startup probe.
Declaration
Task<bool> StartupProbeAsync(CancellationToken token)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | token | The token that can be used to cancel the operation. |
Returns
Type | Description |
---|---|
Task<bool> |