Skip to content
DocsTry Aspire
DocsTry

GoFeatureFlagResource

Handle
📦 CommunityToolkit.Aspire.Hosting.GoFeatureFlag v13.4.0
interface GoFeatureFlagResource
extends IComputeResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithArgs,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly host: EndpointReferenceExpression;
readonly port: EndpointReferenceExpression;
readonly primaryEndpoint: EndpointReference;
readonly uriExpression: ReferenceExpression;
withDataVolume(name?: string): GoFeatureFlagResource;
withGoffBindMount(source: string): GoFeatureFlagResource;
withLogLevel(logLevel: GoFeatureFlagLogLevel): GoFeatureFlagResource;
}

Properties

propertyconnectionStringExpressionReferenceExpressionget
Gets the connection string expression for the GO Feature Flag instance.
propertyhostEndpointReferenceExpressionget
Gets the host endpoint reference for this resource.
propertyportEndpointReferenceExpressionget
Gets the port endpoint reference for this resource.
propertyprimaryEndpointEndpointReferenceget
Gets the primary endpoint for the GO Feature Flag instance. This endpoint is used for all API calls over HTTP.
propertyuriExpressionReferenceExpressionget
Gets the connection URI expression for the GO Feature Flag instance.

Methods

methodwithDataVolumebuilder
Adds a named volume for the data folder to a GO Feature flag container resource.
withDataVolume(name?: string): GoFeatureFlagResource
namestringoptional
GoFeatureFlagResource
methodwithGoffBindMountbuilder
Adds a bind mount for the goff configuration folder to a GO Feature flag container resource.
withGoffBindMount(source: string): GoFeatureFlagResource
sourcestring
GoFeatureFlagResource
methodwithLogLevelbuilder
withLogLevel(logLevel: GoFeatureFlagLogLevel): GoFeatureFlagResource
logLevelGoFeatureFlagLogLevel
GoFeatureFlagResource