Skip to content
Docs Try Aspire
Docs Try

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

property connectionStringExpression ReferenceExpression get
Gets the connection string expression for the GO Feature Flag instance.
property host EndpointReferenceExpression get
Gets the host endpoint reference for this resource.
property port EndpointReferenceExpression get
Gets the port endpoint reference for this resource.
property primaryEndpoint EndpointReference get
Gets the primary endpoint for the GO Feature Flag instance. This endpoint is used for all API calls over HTTP.
property uriExpression ReferenceExpression get
Gets the connection URI expression for the GO Feature Flag instance.

Methods

method withDataVolume builder
Adds a named volume for the data folder to a GO Feature flag container resource.
withDataVolume(name?: string): GoFeatureFlagResource
name string optional
GoFeatureFlagResource
method withGoffBindMount builder
Adds a bind mount for the goff configuration folder to a GO Feature flag container resource.
withGoffBindMount(source: string): GoFeatureFlagResource
source string
GoFeatureFlagResource
method withLogLevel builder
withLogLevel(logLevel: GoFeatureFlagLogLevel): GoFeatureFlagResource
logLevel GoFeatureFlagLogLevel
GoFeatureFlagResource