Documentation
¶
Index ¶
Constants ¶
View Source
const ( // InitPhase -- InitPhase int32 = 0 // ProjectGenerationPhase -- ProjectGenerationPhase int32 = 10 // ProjectBuildPhase -- ProjectBuildPhase int32 = 20 // ApplicationPackagePhase -- ApplicationPackagePhase int32 = 30 // ApplicationPublishPhase -- ApplicationPublishPhase int32 = 40 // NotifyPhase -- NotifyPhase int32 = math.MaxInt32 )
Variables ¶
View Source
var DefaultSteps = []Step{ Steps.CleanBuildDir, Steps.GenerateProjectSettings, Steps.InjectDependencies, Steps.SanitizeDependencies, Steps.IncrementalImageContext, }
DefaultSteps --
View Source
var Steps = steps{ CleanBuildDir: NewStep( ProjectGenerationPhase-1, cleanBuildDir, ), GenerateProjectSettings: NewStep( ProjectGenerationPhase+1, generateProjectSettings, ), InjectDependencies: NewStep( ProjectGenerationPhase+2, injectDependencies, ), SanitizeDependencies: NewStep( ProjectGenerationPhase+3, sanitizeDependencies, ), StandardImageContext: NewStep( ApplicationPackagePhase, standardImageContext, ), IncrementalImageContext: NewStep( ApplicationPackagePhase, incrementalImageContext, ), }
Steps --
Functions ¶
Types ¶
type Context ¶
type Context struct {
client.Client
C cancellable.Context
Catalog *camel.RuntimeCatalog
Build v1.BuilderTask
BaseImage string
Image string
Digest string
Error error
Namespace string
Path string
Artifacts []v1.Artifact
SelectedArtifacts []v1.Artifact
Resources []Resource
Maven struct {
Project maven.Project
SettingsData []byte
}
}
Context --
Click to show internal directories.
Click to hide internal directories.