Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuiltArtifactProvider ¶
type BuiltArtifactProvider func(application application.Application) (string, error)
BuildArtifactProvider returns the location of the build artifact.
type CompiledApplication ¶
type CompiledApplication struct { // JavaVersion is the version of Java used to compile the application. JavaVersion string `toml:"java-version"` }
CompiledApplication represents metadata about a compiled application.
func NewCompiledApplication ¶
func NewCompiledApplication(application application.Application, runner runner.Runner) (CompiledApplication, error)
func (CompiledApplication) Identity ¶
func (c CompiledApplication) Identity() (string, string)
Identity makes CompiledApplication satisfy the Identifiable interface.
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner represents the behavior of running the build system command to build an application.
func NewGradleRunner ¶
func NewGradleRunner(build build.Build, buildSystem buildsystem.BuildSystem) Runner
NewRunner creates a new Gradle Runner instance.
func NewMavenRunner ¶
func NewMavenRunner(build build.Build, buildSystem buildsystem.BuildSystem) Runner
NewRunner creates a new Maven Runner instance.
func (Runner) Contribute ¶
Contributes builds the application from source code, removes the source code, and expands the built artifact to $APPLICATION_ROOT.
Click to show internal directories.
Click to hide internal directories.