Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ResourceWithContainerFiles

Interface
📦 Aspire.Hosting v17.0.0
type ResourceWithContainerFiles interface{}

Methods

Removes any container files source annotation from the resource being built.
ClearContainerFilesSources() ResourceWithContainerFiles
ResourceWithContainerFiles

The resource builder instance with the container files source annotation applied.

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

Adds a container files source annotation to the resource being built, specifying the path to the container files source.
WithContainerFilesSource(sourcePath string) ResourceWithContainerFiles
sourcePathstringThe path to the container files source to associate with the resource. Cannot be null.
ResourceWithContainerFiles

The resource builder instance with the container files source annotation applied.

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

Applies to

This interface applies to the following types: