FlagdResource.WithBindFileSync
Method
type FlagdResource interface { // ... omitted for brevity WithBindFileSync( fileSource string, options ...*WithBindFileSyncOptions, ) FlagdResource}Signature
method
WithBindFileSync builderConfigures flagd to use a bind mount as the source of flags.
WithBindFileSync( fileSource string, options ...*WithBindFileSyncOptions,) FlagdResourceParameters
fileSource stringThe path to the host directory that contains the flag configuration file.options...*WithBindFileSyncOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithBindFileSyncOptions argument.
Filename*stringThe name of the flag configuration file. Defaults to "flagd.json".Returns
FlagdResource The I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: