Documentation ¶
Index ¶
- Variables
- func GenerateGradleArgs(task string, imageName string, a *latest.JibGradleArtifact, skipTests bool) []string
- func GenerateMavenArgs(goal string, imageName string, a *latest.JibMavenArtifact, skipTests bool) []string
- func GetDependenciesGradle(ctx context.Context, workspace string, a *latest.JibGradleArtifact) ([]string, error)
- func GetDependenciesMaven(ctx context.Context, workspace string, a *latest.JibMavenArtifact) ([]string, error)
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 ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.