Skip to content
Docs Try Aspire
Docs Try

FlagdResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Flagd v13.4.0
interface FlagdResource
extends IComputeResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithArgs,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly healthCheckEndpoint: EndpointReference;
readonly host: EndpointReferenceExpression;
readonly ofrepEndpoint: EndpointReference;
readonly port: EndpointReferenceExpression;
readonly primaryEndpoint: EndpointReference;
readonly uriExpression: ReferenceExpression;
withBindFileSync(
fileSource: string,
filename?: string): FlagdResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the connection string expression for the flagd server.
property healthCheckEndpoint EndpointReference get
Gets the health check HTTP endpoint for the flagd server.
property host EndpointReferenceExpression get
Gets the host endpoint reference for this resource.
property ofrepEndpoint EndpointReference get
Gets the OFREP endpoint for the flagd server.
property port EndpointReferenceExpression get
Gets the port endpoint reference for this resource.
property primaryEndpoint EndpointReference get
Gets the primary HTTP endpoint for the flagd server.
property uriExpression ReferenceExpression get
Gets the connection URI expression for the flagd server.

Methods

method withBindFileSync builder
Configures flagd to use a bind mount as the source of flags.
withBindFileSync(
fileSource: string,
filename?: string): FlagdResource
fileSource string
filename string optional = flagd.json
FlagdResource