AddGoFeatureFlag

Method
📦 CommunityToolkit.Aspire.Hosting.GoFeatureFlag v13.6.1
func (DistributedApplicationBuilder) AddGoFeatureFlag(
name string,
options ...*AddGoFeatureFlagOptions,
) 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,
options ...*AddGoFeatureFlagOptions,
) GoFeatureFlagResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
options...*AddGoFeatureFlagOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddGoFeatureFlagOptions argument.

PathToConfigFile*stringThe path set to find the configuration file (https://gofeatureflag.org/docs/relay-proxy/configure-relay-proxy#configuration-file).
Port*float64The host port to bind the underlying container to.
GoFeatureFlagResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder