Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JavaExecutor ¶
type JavaExecutor struct { // Path to the command to run. Cmd string // Optional dir to run the command in. Dir string // Command to run the Java code - the main entrypoint. RunArgs []string // Command args to resolve dependencies and build; this will // be called after `pulumi new` on Gradle templates. Optional. BuildArgs []string // Command to autodetect and print Pulumi plugins depended on // by the Java program. PluginArgs []string }
Abstracts interactions with a Java project, ability to build, run Java code, and detect plugin dependencies.
func NewJavaExecutor ¶
func NewJavaExecutor(opts JavaExecutorOptions) (*JavaExecutor, error)
type JavaExecutorOptions ¶
type JavaExecutorOptions struct { // Current working directory. Abstract to enable testing. WD fsys.ParentFS // The value of `runtime.options.binary` setting from // `Pulumi.yaml`. Optional. Binary string // The value of `runtime.options.use-executor` setting from // `Pulumi.yaml`. Optional. UseExecutor string }
Information available to pick an executor.
Click to show internal directories.
Click to hide internal directories.