WithInitFiles

Method
📦 CommunityToolkit.Aspire.Hosting.SurrealDb v13.6.1
func (SurrealDbServerResource) WithInitFiles(source string) SurrealDbServerResource

Signature

methodWithInitFilesbuilder
Copies init files into a SurrealDB container resource.
WithInitFiles(source string) SurrealDbServerResource
sourcestringThe source file on the host to copy into the container.
SurrealDbServerResource

The IResourceBuilder.

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

Applies to

This method applies to the following types: