AddNodeApp
Method
func (DistributedApplicationBuilder) AddNodeApp( name string, appDirectory string, scriptPath string,) NodeAppResourceSignature
method
AddNodeApp builderAdds a node application to the application model. Node should be available on the PATH.
AddNodeApp( name string, appDirectory string, scriptPath string,) NodeAppResourceParameters
namestringThe name of the resource.appDirectory stringThe path to the directory containing the node application.scriptPath stringThe path to the script relative to the app directory to run.Returns
NodeAppResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder