Documentation ¶
Index ¶
- Variables
- func AddCommand(parent cmd.AnchorCommand, commandFolderName string, createCmd NewCommandFunc) error
- func NewCommand(ctx common.Context, commandFolderName string, runFunc DynamicRunFunc) *runCmd
- func NewOrchestrator(runner *runner.ActionRunnerOrchestrator, commandFolderName string, ...) *runOrchestrator
- type DynamicRunFunc
- type NewCommandFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var DynamicRun = func(ctx common.Context, o *runOrchestrator, identifier string) error { err := o.runner.PrepareFunc(o.runner, ctx) if err != nil { return err } err = o.prepareFunc(o, ctx) if err != nil { return err } cmdFolderItem, err := o.extractCommandFolderItemFunc(o, o.commandFolderName, o.commandFolderItemName) if err != nil { return err } return o.activeRunFunc(o, ctx, cmdFolderItem, identifier) }
Functions ¶
func AddCommand ¶
func AddCommand(parent cmd.AnchorCommand, commandFolderName string, createCmd NewCommandFunc) error
func NewCommand ¶
func NewCommand(ctx common.Context, commandFolderName string, runFunc DynamicRunFunc) *runCmd
func NewOrchestrator ¶
func NewOrchestrator( runner *runner.ActionRunnerOrchestrator, commandFolderName string, commandItemName string) *runOrchestrator
Types ¶
type DynamicRunFunc ¶
type NewCommandFunc ¶
type NewCommandFunc func(ctx common.Context, parentFolderName string, runFunc DynamicRunFunc) *runCmd
Click to show internal directories.
Click to hide internal directories.