catalog

package
v0.19.904 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SignalCatalog map[signal.SignalType]func() signal.Signal = make(map[signal.SignalType]func() signal.Signal, 0)

Functions

func NewFromType

func NewFromType(typ signal.SignalType) (signal.Signal, error)

func Register

func Register(typ signal.SignalType, fn func() signal.Signal)

Types

type SignalTypeInfo added in v0.19.894

type SignalTypeInfo struct {
	Type              signal.SignalType
	Namespace         string
	AutoRetry         bool
	MaxRetries        int
	HasMaxAutoRetries bool
	HasCloneSteps     bool
	HasNoOpCheck      bool
	HasPolicyEval     bool
	HasSkipCleanup    bool
	HasOnApprove      bool
	HasOnRetry        bool
	HasOnSkip         bool
	HasOnDeny         bool
	SkipGroup         bool
	HasFetchSteps     bool
	HasQueue          bool
	Queue             string
	IsParallelizable  bool
	HasStepContext    bool
	HasLifecycle      bool
	Operation         string
}

SignalTypeInfo describes the capabilities and attributes of a registered signal type.

func InspectAll added in v0.19.894

func InspectAll() []SignalTypeInfo

InspectAll returns information about every registered signal type by instantiating each signal and checking which optional interfaces it implements.

func InspectType added in v0.19.894

func InspectType(typ signal.SignalType) (SignalTypeInfo, error)

InspectType returns information about a single signal type.

Directories

Path Synopsis
Package allsignals imports all signal packages to trigger their init() registrations into the signal catalog.
Package allsignals imports all signal packages to trigger their init() registrations into the signal catalog.

Jump to

Keyboard shortcuts

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