Documentation ¶
Index ¶
- Constants
- Variables
- func BuildQuarkusRunnerCommon(ctx context.Context, mc maven.Context, project maven.Project) error
- func GenerateQuarkusProjectCommon(camelQuarkusVersion string, runtimeVersion string, quarkusVersion string) maven.Project
- func ProcessQuarkusTransitiveDependencies(mc maven.Context) ([]v1.Artifact, error)
- func StepIDsFor(steps ...Step) []string
- type Build
- type Builder
- type Step
- type StepTask
- type Task
Constants ¶
View Source
const ( ContextDir = "context" DeploymentDir = "/deployments" DependenciesDir = "dependencies" )
View Source
const ( // InitPhase --. InitPhase int32 = 0 // ProjectGenerationPhase --. ProjectGenerationPhase int32 = 10 // ProjectBuildPhase --. ProjectBuildPhase int32 = 20 // ApplicationPackagePhase --. ApplicationPackagePhase int32 = 30 // ApplicationPublishPhase --. ApplicationPublishPhase int32 = 40 )
View Source
const BuildahPlatform = "BuildahPlatform"
View Source
const KanikoBuildCacheEnabled = "KanikoBuildCacheEnabled"
View Source
const KanikoCacheDir = "/kaniko/cache"
KanikoCacheDir is the cache directory for Kaniko builds (mounted into the Kaniko pod).
View Source
const KanikoPVCName = "KanikoPersistentVolumeClaim"
Variables ¶
View Source
var Image = imageSteps{ IncrementalImageContext: NewStep(ApplicationPackagePhase, incrementalImageContext), NativeImageContext: NewStep(ApplicationPackagePhase, nativeImageContext), StandardImageContext: NewStep(ApplicationPackagePhase, standardImageContext), ExecutableDockerfile: NewStep(ApplicationPackagePhase+1, executableDockerfile), JvmDockerfile: NewStep(ApplicationPackagePhase+1, jvmDockerfile), }
View Source
var Project = projectSteps{ CleanUpBuildDir: NewStep(ProjectGenerationPhase-1, cleanUpBuildDir), GenerateJavaKeystore: NewStep(ProjectGenerationPhase, generateJavaKeystore), GenerateProjectSettings: NewStep(ProjectGenerationPhase+1, generateProjectSettings), InjectDependencies: NewStep(ProjectGenerationPhase+2, injectDependencies), SanitizeDependencies: NewStep(ProjectGenerationPhase+3, sanitizeDependencies), }
View Source
var Quarkus = quarkusSteps{ LoadCamelQuarkusCatalog: NewStep(InitPhase, loadCamelQuarkusCatalog), GenerateQuarkusProject: NewStep(ProjectGenerationPhase, generateQuarkusProject), BuildQuarkusRunner: NewStep(ProjectBuildPhase, buildQuarkusRunner), ComputeQuarkusDependencies: NewStep(ProjectBuildPhase+1, computeQuarkusDependencies), }
Functions ¶
func BuildQuarkusRunnerCommon ¶ added in v1.4.0
func GenerateQuarkusProjectCommon ¶ added in v1.4.0
func ProcessQuarkusTransitiveDependencies ¶ added in v1.4.0
func StepIDsFor ¶
Types ¶
type Build ¶ added in v1.4.0
type Build struct {
// contains filtered or unexported fields
}
func (*Build) TaskByName ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.