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)
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. |
Click to show internal directories.
Click to hide internal directories.