Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultProcessor ¶
type DefaultProcessor struct {
// contains filtered or unexported fields
}
func NewDefaultProcessor ¶
func NewDefaultProcessor(port int) DefaultProcessor
NewDefaultProcessor returns a direct processor that forwards actions to the configured extension endpoint.
func (DefaultProcessor) Process ¶
func (p DefaultProcessor) Process(_ context.Context, a *types.Action) types.ActionResult
Process validates the direct instruction and delegates execution to the extension, marking the result as in-progress. The context's deadline is the per-action timeout; cancellation-aware downstream HTTP plumbing should honor it so a timeout cancels the extension call instead of leaving it in flight.
Click to show internal directories.
Click to hide internal directories.