Help us shape the future of Go! Take the 2026 Go Developer Survey

fetchcommit

package
v0.19.1271 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const SignalType signal.SignalType = "app-branch-fetch-commit"

Variables

This section is empty.

Functions

This section is empty.

Types

type Signal

type Signal struct {
	RunID       string `json:"run_id" validate:"required"`
	AppBranchID string `json:"app_branch_id" validate:"required"`

	// FlowID and StepID are injected by the flow engine via SignalWithStepContext.
	FlowID string `json:"flow_id,omitempty"`
	StepID string `json:"step_id,omitempty"`
}

func (*Signal) Execute

func (s *Signal) Execute(ctx workflow.Context) error

func (*Signal) SetStepContext added in v0.19.1012

func (s *Signal) SetStepContext(stepID, flowID string)

func (*Signal) Type

func (s *Signal) Type() signal.SignalType

func (*Signal) Validate

func (s *Signal) Validate(ctx workflow.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL