GoFeatureFlagResource

Handle
📦 CommunityToolkit.Aspire.Hosting.GoFeatureFlag v13.6.1

A resource that represents a GO Feature Flag instance

type GoFeatureFlagResource interface {
ExpressionValue
IComputeResource
Resource
ResourceWithArgs
ResourceWithConnectionString
ResourceWithEndpoints
ResourceWithEnvironment
ResourceWithWaitSupport
}

Properties

propertyConnectionStringExpression*ReferenceExpressionget
Gets the connection string expression for the GO Feature Flag instance.
ConnectionStringExpression() *ReferenceExpression
propertyHostEndpointReferenceExpressionget
Gets the host endpoint reference for this resource.
Host() EndpointReferenceExpression
propertyPortEndpointReferenceExpressionget
Gets the port endpoint reference for this resource.
Port() EndpointReferenceExpression
propertyPrimaryEndpointEndpointReferenceget
Gets the primary endpoint for the GO Feature Flag instance. This endpoint is used for all API calls over HTTP.
PrimaryEndpoint() EndpointReference
propertyUriExpression*ReferenceExpressionget
Gets the connection URI expression for the GO Feature Flag instance.
UriExpression() *ReferenceExpression

Methods

methodWithDataVolumebuilder
Adds a named volume for the data folder to a GO Feature flag container resource.
WithDataVolume(options ...*WithDataVolumeOptions) GoFeatureFlagResource
options...*WithDataVolumeOptionsOptional settings, described under Options.

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

Name*stringThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
GoFeatureFlagResource

The IResourceBuilder.

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

methodWithGoffBindMountbuilder
Adds a bind mount for the goff configuration folder to a GO Feature flag container resource.
WithGoffBindMount(source string) GoFeatureFlagResource
sourcestringThe source directory on the host to mount into the container.
GoFeatureFlagResource

The IResourceBuilder.

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

methodWithLogLevelbuilder
WithLogLevel(logLevel GoFeatureFlagLogLevel) GoFeatureFlagResource
logLevelGoFeatureFlagLogLevel
GoFeatureFlagResource

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