addGoFeatureFlag
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addGoFeatureFlag( name: string, pathToConfigFile?: string, port?: number): GoFeatureFlagResource;}Signature
method
addGoFeatureFlag builderAdds 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): GoFeatureFlagResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.pathToConfigFile stringoptionalThe 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.Returns
GoFeatureFlagResource Applies to
This method applies to the following types: