jib

package
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GradleCommand = util.CommandWrapper{Executable: "gradle", Wrapper: "gradlew"}
View Source
var MavenCommand = util.CommandWrapper{Executable: "mvn", Wrapper: "mvnw"}

Functions

func GenerateGradleArgs added in v0.21.0

func GenerateGradleArgs(task string, imageName string, a *latest.JibGradleArtifact, skipTests bool) []string

GenerateGradleArgs generates the arguments to Gradle for building the project as an image.

func GenerateMavenArgs added in v0.21.0

func GenerateMavenArgs(goal string, imageName string, a *latest.JibMavenArtifact, skipTests bool) []string

GenerateMavenArgs generates the arguments to Maven for building the project as an image.

func GetDependenciesGradle

func GetDependenciesGradle(ctx context.Context, workspace string, a *latest.JibGradleArtifact) ([]string, error)

GetDependenciesGradle finds the source dependencies for the given jib-gradle artifact. All paths are absolute.

func GetDependenciesMaven

func GetDependenciesMaven(ctx context.Context, workspace string, a *latest.JibMavenArtifact) ([]string, error)

GetDependenciesMaven finds the source dependencies for the given jib-maven artifact. All paths are absolute.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL