inlinebuild

package
v0.19.1069 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const SignalType signal.SignalType = "component-inline-build"

Variables

This section is empty.

Functions

This section is empty.

Types

type Signal

type Signal struct {
	ComponentID string `json:"component_id" validate:"required"`
	BuildID     string `json:"build_id"` // optional; if set, skip build creation and trigger pre-created build

	// Optional VCS pinning: caller resolves these before creating the signal.
	GitRef                *string `json:"git_ref,omitempty"`
	VCSConnectionCommitID *string `json:"vcs_connection_commit_id,omitempty"`

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

func (*Signal) AutoRetry

func (s *Signal) AutoRetry() bool

func (*Signal) Execute

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

func (*Signal) MaxAutoRetries

func (s *Signal) MaxAutoRetries(_ workflow.Context) int

func (*Signal) SetStepContext

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