Documentation ¶
Index ¶
Constants ¶
View Source
const QuarkusExtensionsBuildArg = "QUARKUS_EXTENSIONS"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildManager ¶
type BuildManager interface { Schedule(build *operatorapi.SonataFlowBuild) error Reconcile(build *operatorapi.SonataFlowBuild) error }
type SonataFlowBuildManager ¶
type SonataFlowBuildManager interface { // GetOrCreateBuild gets or creates a new instance of SonataFlowBuild for the given SonataFlow. // // Only one build is allowed per workflow instance. GetOrCreateBuild(workflow *operatorapi.SonataFlow) (*operatorapi.SonataFlowBuild, error) // MarkToRestart tell the controller to restart this build in the next iteration MarkToRestart(build *operatorapi.SonataFlowBuild) error }
func NewSonataFlowBuildManager ¶
func NewSonataFlowBuildManager(ctx context.Context, client client.Client) SonataFlowBuildManager
NewSonataFlowBuildManager entry point to manage SonataFlowBuild instances. Won't start a build, but once it creates a new instance, the controller will take place and start the build in the cluster context.
Click to show internal directories.
Click to hide internal directories.