AddBunApp
Method
func (DistributedApplicationBuilder) AddBunApp( name string, appDirectory string, scriptPath string,) BunAppResourceSignature
method
AddBunApp builderAdds a Bun application to the application model. Bun should be available on the PATH.
AddBunApp( name string, appDirectory string, scriptPath string,) BunAppResourceParameters
namestringThe name of the resource.appDirectory stringThe path to the directory containing the Bun application.scriptPath stringThe path to the script (for example, server.ts ) relative to appDirectory to run.Returns
BunAppResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder