Table of Contents

Class CloudFoundryAppBuilderExtensions

Namespace
Steeltoe.Management.EndpointOwin
Assembly
Steeltoe.Management.EndpointOwin.dll
public static class CloudFoundryAppBuilderExtensions
Inheritance
CloudFoundryAppBuilderExtensions
Inherited Members

Methods

UseCloudFoundryActuators(IAppBuilder, IConfiguration, IEnumerable<IHealthContributor>, IApiExplorer, ILoggerProvider, ILoggerFactory)

Add all Cloud Foundry Actuators (Info, Health, Loggers, Trace)

public static void UseCloudFoundryActuators(this IAppBuilder app, IConfiguration configuration, IEnumerable<IHealthContributor> healthContributors, IApiExplorer apiExplorer, ILoggerProvider loggerProvider, ILoggerFactory loggerFactory = null)

Parameters

app IAppBuilder

AppBuilder needing actuators added

configuration IConfiguration

configuration to use for actuators

healthContributors IEnumerable<IHealthContributor>

custom health contributors

apiExplorer IApiExplorer

a IApiExplorer to use for mappings actuator

loggerProvider ILoggerProvider

the Steeltoe logging provider to use for loggers actuator

loggerFactory ILoggerFactory

logging factory used to create loggers for the actuators

UseCloudFoundryActuators(IAppBuilder, IConfiguration, IEnumerable<IHealthContributor>, IApiExplorer, ILoggerProvider, ILoggerFactory, MediaTypeVersion, ActuatorContext)

public static void UseCloudFoundryActuators(this IAppBuilder app, IConfiguration configuration, IEnumerable<IHealthContributor> healthContributors, IApiExplorer apiExplorer, ILoggerProvider loggerProvider, ILoggerFactory loggerFactory, MediaTypeVersion version, ActuatorContext context)

Parameters

app IAppBuilder
configuration IConfiguration
healthContributors IEnumerable<IHealthContributor>
apiExplorer IApiExplorer
loggerProvider ILoggerProvider
loggerFactory ILoggerFactory
version MediaTypeVersion
context ActuatorContext

UseCloudFoundryActuators(IAppBuilder, IConfiguration, IApiExplorer, ILoggerProvider, ILoggerFactory)

Add all CloudFoundry Actuators (Info, Health, Loggers, Trace)

public static void UseCloudFoundryActuators(this IAppBuilder app, IConfiguration configuration, IApiExplorer apiExplorer, ILoggerProvider loggerProvider, ILoggerFactory loggerFactory = null)

Parameters

app IAppBuilder

AppBuilder needing actuators added

configuration IConfiguration

configuration to use for actuators

apiExplorer IApiExplorer

a IApiExplorer to use for mappings actuator

loggerProvider ILoggerProvider

the Steeltoe logging provider to use for loggers actuator

loggerFactory ILoggerFactory

logging factory used to create loggers for the actuators

UseCloudFoundryActuators(IAppBuilder, IConfiguration, IApiExplorer, ILoggerProvider, ILoggerFactory, MediaTypeVersion, ActuatorContext)

Add all CloudFoundry Actuators (Info, Health, Loggers, Trace)

public static void UseCloudFoundryActuators(this IAppBuilder app, IConfiguration configuration, IApiExplorer apiExplorer, ILoggerProvider loggerProvider, ILoggerFactory loggerFactory, MediaTypeVersion version, ActuatorContext context)

Parameters

app IAppBuilder

AppBuilder needing actuators added

configuration IConfiguration

configuration to use for actuators

apiExplorer IApiExplorer

a IApiExplorer to use for mappings actuator

loggerProvider ILoggerProvider

the Steeltoe logging provider to use for loggers actuator

loggerFactory ILoggerFactory

logging factory used to create loggers for the actuators

version MediaTypeVersion

MediaTypeVersion

context ActuatorContext

Actuator Context