jib

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

GradleCommand stores Gradle executable and wrapper name

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

MavenCommand stores Maven executable and wrapper name

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