Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewEngine ¶
func NewEngine(lw leaderworker.Interface) *Engine
func (*Engine) StartPipeline ¶
func (*Engine) UpdatePipeline ¶
type Interface ¶
type Interface interface { // Start implement the Server start method in kratos transport Start(ctx context.Context) error // Stop implement the Server stop method in kratos transport Stop(ctx context.Context) error // StartPipeline start schedule and execute pipeline StartPipeline(ctx context.Context, pipeline *types.Pipeline) error // UpdatePipeline update the pipeline with specified operation UpdatePipeline(ctx context.Context, pipelineID string, operation *lwTypes.UpdateOperation) error }
Click to show internal directories.
Click to hide internal directories.