Documentation
¶
Overview ¶
Package wait implements the wait action handler. Polls a condition until it becomes true or times out.
Index ¶
- type Handler
- func (h *Handler) DryRun(ctx actions.Context, step *config.Step) error
- func (h *Handler) Execute(ctx actions.Context, step *config.Step) (actions.Result, error)
- func (h *Handler) Metadata() actions.ActionMetadata
- func (h *Handler) Run(ctx actions.Context, step *config.Step) (actions.Result, error)
- func (h *Handler) Validate(step *config.Step) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct{}
Handler implements the wait action handler.
func (*Handler) Metadata ¶
func (h *Handler) Metadata() actions.ActionMetadata
Metadata returns the action metadata.
func (*Handler) Run ¶
Run is the Spec 16 entry point. Plan mode reports what `wait` would wait for. For file_exists / file_absent it checks the current filesystem state and reports already-ok if the condition is already met. For other conditions (http, port, git_clean, command) it surfaces a description but doesn't probe — those checks would themselves be side-effecty or expensive in plan mode.
Click to show internal directories.
Click to hide internal directories.