AddExecutable
Method
func (DistributedApplicationBuilder) AddExecutable( name string, command string, workingDirectory string, args []string,) ExecutableResourceSignature
method
AddExecutable builderAdds an executable resource to the application model.
AddExecutable( name string, command string, workingDirectory string, args []string,) ExecutableResourceParameters
namestringThe name of the resource.commandstringThe executable path. This can be a fully qualified path or a executable to run from the shell/command line.workingDirectory stringThe working directory of the executable.args[]string The arguments to the executable.Returns
ExecutableResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: