Documentation
¶
Index ¶
- func EvaluateWhen(expr string, vars map[string]any, runtime map[string]any) (bool, error)
- func EvaluateWhenWithContext(expr string, vars map[string]any, runtime map[string]any, ...) (bool, error)
- func Run(ctx context.Context, wf *config.Workflow, opts RunOptions) error
- type CommandRunner
- type PackCachePlan
- type PlanDiagnostics
- type RunOptions
- type StepEvent
- type StepEventSink
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvaluateWhen ¶
func EvaluateWhenWithContext ¶ added in v0.2.6
Types ¶
type CommandRunner ¶
type PackCachePlan ¶
type PackCachePlan struct {
WorkflowSHA256 string `json:"workflow_sha256"`
Artifact []packCacheArtifactPlan `json:"artifacts"`
}
func ComputePackCachePlan ¶
type PlanDiagnostics ¶
type PlanDiagnostics struct {
CachePlan PackCachePlan
}
func InspectPlan ¶
func InspectPlan(wf *config.Workflow, bundleRoot string, opts RunOptions) (PlanDiagnostics, error)
type RunOptions ¶
type RunOptions struct {
BundleRoot string
Context workflowcontext.Context
CommandRunner CommandRunner
Interaction operatorio.Interface
ForceRedownload bool
EventSink StepEventSink
// contains filtered or unexported fields
}
type StepEventSink ¶ added in v0.2.1
type StepEventSink = install.StepEventSink
Click to show internal directories.
Click to hide internal directories.