withBindFileSync

Method
📦 CommunityToolkit.Aspire.Hosting.Flagd v13.6.1
interface FlagdResource {
// ... omitted for brevity
withBindFileSync(
fileSource: string,
filename?: string): FlagdResource;
}

Signature

methodwithBindFileSyncbuilder
Configures flagd to use a bind mount as the source of flags.
withBindFileSync(
fileSource: string,
filename?: string): FlagdResource
fileSourcestringThe path to the host directory that contains the flag configuration file.
filenamestringoptional= flagd.jsonThe name of the flag configuration file. Defaults to "flagd.json".
FlagdResource

Applies to

This method applies to the following types: