WithBindFileSync
Method
func (FlagdResource) WithBindFileSync( fileSource string, options ...*WithBindFileSyncOptions,) FlagdResourceSignature
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().
Applies to
This method applies to the following types: