addGoFeatureFlag

Method
📦 CommunityToolkit.Aspire.Hosting.GoFeatureFlag v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addGoFeatureFlag(
name: string,
pathToConfigFile?: string,
port?: number): GoFeatureFlagResource;
}

Signature

methodaddGoFeatureFlagbuilder
Adds an GO Feature Flag container resource to the application model. The default image is and the tag is .
addGoFeatureFlag(
name: string,
pathToConfigFile?: string,
port?: number): GoFeatureFlagResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
pathToConfigFilestringoptionalThe path set to find the configuration file (https://gofeatureflag.org/docs/relay-proxy/configure-relay-proxy#configuration-file).
portnumberoptionalThe host port to bind the underlying container to.
GoFeatureFlagResource

Applies to

This method applies to the following types: