Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagExists string = "exists" TagRequired string = "required" TagExclusive string = "exclusive" TagRecursiveState string = "recursivestate" // States referenced by compensatedBy (as well as any other states that they transition to) must obey following rules: TagTransitionMainWorkflow string = "transtionmainworkflow" // They should not have any incoming transitions (should not be part of the main workflow control-flow logic) TagCompensatedbyEventState string = "compensatedbyeventstate" // They cannot be an event state TagRecursiveCompensation string = "recursivecompensation" // They cannot themselves set their compensatedBy property to true (compensation is not recursive) TagCompensatedby string = "compensatedby" // They must define the usedForCompensation property and set it to true TagTransitionUseForCompensation string = "transitionusedforcompensation" // They can transition only to states which also have their usedForCompensation property and set to true )
View Source
const (
// TagISO8601Duration is the validate tag for iso8601 time duration format
TagISO8601Duration = "iso8601duration"
)
Variables ¶
This section is empty.
Functions ¶
func GetValidator ¶
GetValidator gets the default validator.Validate reference
func ValidateGt0IntStr ¶ added in v2.2.4
func ValidateGt0IntStr(value *intstr.IntOrString) bool
func ValidateISO8601Datetime ¶ added in v2.2.5
ValidateISO8601Datetime validate the string is iso8601 Datetime format
func ValidateISO8601TimeDuration ¶ added in v2.2.0
ValidateISO8601TimeDuration validate the string is iso8601 duration format
func WorkflowError ¶ added in v2.2.4
Types ¶
type WorkflowErrors ¶ added in v2.2.4
type WorkflowErrors []error
func (WorkflowErrors) Error ¶ added in v2.2.4
func (e WorkflowErrors) Error() string
Click to show internal directories.
Click to hide internal directories.