Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

IContainerFilesDestinationResource

Handle
📦 Aspire.Hosting v17.0.0
type IContainerFilesDestinationResource interface{}

Methods

Configures the resource to copy container files from the specified source resource during publishing.
PublishWithContainerFiles(
source ResourceWithContainerFiles,
destinationPath string,
) IContainerFilesDestinationResource
sourceResourceWithContainerFilesThe resource which contains the container files to be copied.
destinationPathstringThe destination path within the resource's container where the files will be copied.
IContainerFilesDestinationResource

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