jib

package
v0.34.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const MinimumJibGradleVersion = "[1.4.0,)"

Skaffold-Jib depends on functionality introduced with Jib-Gradle 1.4.0

View Source
const MinimumJibMavenVersion = "[1.4.0,)"

Skaffold-Jib depends on functionality introduced with Jib-Maven 1.4.0

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