namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
pathToConfigFilestring?optionalThe path set to find the configuration file (https://gofeatureflag.org/docs/relay-proxy/configure-relay-proxy#configuration-file).
portint?optionalThe host port to bind the underlying container to.
Returns
IResourceBuilder<GoFeatureFlagResource> A reference to the ApplicationModel.IResourceBuilder`1.
Remarks
Add an GO Feature Flag container to the application model and reference it in a .NET project.
var builder =DistributedApplication.CreateBuilder(args);
namestring?optionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
Returns
IResourceBuilder<GoFeatureFlagResource> The ApplicationModel.IResourceBuilder`1.
Remarks
Add a GO Feature flag container to the application model and reference it in a .NET project. Additionally, in this example a data volume is added to the container to allow data to be persisted across container restarts.
var builder =DistributedApplication.CreateBuilder(args);
sourcestringThe source directory on the host to mount into the container.
Returns
IResourceBuilder<GoFeatureFlagResource> The ApplicationModel.IResourceBuilder`1.
Remarks
Add a GO Feature flag container to the application model and reference it in a .NET project. Additionally, in this example a bind mount is added to the container to allow reading goff configuration.
var builder =DistributedApplication.CreateBuilder(args);