package
Version:
v1.23.0
Opens a new window with list of versions in this module.
Published: Oct 10, 2026
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Keeps returns the kinds of guard the embedded action keeps to: it runs
its job under the guard of the run, whose steps keep to it or are refused.
Params returns the keys the embedded action takes in with.
RunStep runs the job as part of the run of the step that embeds it. It
keeps no state of its own: the job keeps its own state, in its own run.
WithGuard runs the job under the guard of the run of the step that
embeds it.
WithRunID runs the job as part of the run id names, the run of the step
that embeds it, so that the actions of the job are told the same run.
type Req struct {
Path string `map:"path" validate:"required"`
Vars map[string]any `map:"vars"`
}
type Res struct {
Code int `map:"code"`
Outputs map[string]any `map:"outputs"`
Report string `map:"report"`
Error string `map:"error"`
Dump bool `map:"dump"`
}
type Result struct {
Req Req `map:"req"`
Res Res `map:"res"`
RT time.Duration `map:"rt"`
Status int `map:"status"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.