withBindFileSync
Method
interface FlagdResource { // ... omitted for brevity withBindFileSync( fileSource: string, filename?: string): FlagdResource;}Signature
method
withBindFileSync builderConfigures flagd to use a bind mount as the source of flags.
withBindFileSync( fileSource: string, filename?: string): FlagdResourceParameters
fileSource stringThe path to the host directory that contains the flag configuration file.filenamestringoptional= flagd.jsonThe name of the flag configuration file. Defaults to "flagd.json".Returns
FlagdResource Applies to
This method applies to the following types: