FlagdResource.WithBindFileSync

Method
📦 CommunityToolkit.Aspire.Hosting.Flagd v13.6.1
type FlagdResource interface {
// ... omitted for brevity
WithBindFileSync(
fileSource string,
options ...*WithBindFileSyncOptions,
) FlagdResource
}

Signature

methodWithBindFileSyncbuilder
Configures flagd to use a bind mount as the source of flags.
WithBindFileSync(
fileSource string,
options ...*WithBindFileSyncOptions,
) FlagdResource
fileSourcestringThe path to the host directory that contains the flag configuration file.
options...*WithBindFileSyncOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithBindFileSyncOptions argument.

Filename*stringThe name of the flag configuration file. Defaults to "flagd.json".
FlagdResource

The IResourceBuilder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: