Versions in this module Expand all Collapse all v1 v1.0.2 Jun 2, 2020 Changes in this version + func ValidateNameAndType(s State) error + type Catcher struct + ErrorEquals []*string + Next *string + ResultPath *jsonpath.Path + type Choice struct + Next *string + type ChoiceRule struct + And []*ChoiceRule + BooleanEquals *bool + Not *ChoiceRule + NumericEquals *float64 + NumericGreaterThan *float64 + NumericGreaterThanEquals *float64 + NumericLessThan *float64 + NumericLessThanEquals *float64 + Or []*ChoiceRule + StringEquals *string + StringGreaterThan *string + StringGreaterThanEquals *string + StringLessThan *string + StringLessThanEquals *string + TimestampEquals *time.Time + TimestampGreaterThan *time.Time + TimestampGreaterThanEquals *time.Time + TimestampLessThan *time.Time + TimestampLessThanEquals *time.Time + Variable *jsonpath.Path + func (cr *ChoiceRule) String() string + type ChoiceState struct + Choices []*Choice + Comment *string + Default *string + InputPath *jsonpath.Path + OutputPath *jsonpath.Path + Type *string + func (s *ChoiceState) Execute(ctx context.Context, input interface{}) (output interface{}, next *string, err error) + func (s *ChoiceState) GetType() *string + func (s *ChoiceState) Name() *string + func (s *ChoiceState) SetName(name *string) + func (s *ChoiceState) SetType(t *string) + func (s *ChoiceState) Validate() error + type Execution func(context.Context, interface{}) (interface{}, *string, error) + type FailState struct + Cause *string + Comment *string + Error *string + Type *string + func (s *FailState) Execute(_ context.Context, input interface{}) (output interface{}, next *string, err error) + func (s *FailState) GetType() *string + func (s *FailState) Name() *string + func (s *FailState) SetName(name *string) + func (s *FailState) SetType(t *string) + func (s *FailState) Validate() error + type ParallelState struct + Comment *string + Type *string + func (s *ParallelState) Execute(_ context.Context, input interface{}) (output interface{}, next *string, err error) + func (s *ParallelState) GetType() *string + func (s *ParallelState) Name() *string + func (s *ParallelState) SetName(name *string) + func (s *ParallelState) SetType(t *string) + func (s *ParallelState) Validate() error + type PassState struct + Comment *string + End *bool + InputPath *jsonpath.Path + Next *string + OutputPath *jsonpath.Path + Result interface{} + ResultPath *jsonpath.Path + Type *string + func (s *PassState) Execute(ctx context.Context, input interface{}) (output interface{}, next *string, err error) + func (s *PassState) GetType() *string + func (s *PassState) Name() *string + func (s *PassState) SetName(name *string) + func (s *PassState) SetType(t *string) + func (s *PassState) Validate() error + type Retrier struct + BackoffRate *float64 + ErrorEquals []*string + IntervalSeconds *int + MaxAttempts *int + type State interface + Execute func(context.Context, interface{}) (interface{}, *string, error) + GetType func() *string + Name func() *string + SetName func(*string) + SetType func(*string) + Validate func() error + type SucceedState struct + Comment *string + InputPath *jsonpath.Path + OutputPath *jsonpath.Path + Type *string + func (s *SucceedState) Execute(ctx context.Context, input interface{}) (output interface{}, next *string, err error) + func (s *SucceedState) GetType() *string + func (s *SucceedState) Name() *string + func (s *SucceedState) SetName(name *string) + func (s *SucceedState) SetType(t *string) + func (s *SucceedState) Validate() error + type TaskState struct + Catch []*Catcher + Comment *string + End *bool + HeartbeatSeconds int + InputPath *jsonpath.Path + Next *string + OutputPath *jsonpath.Path + Parameters interface{} + Resource *string + ResultPath *jsonpath.Path + Retry []*Retrier + TaskHandler interface{} + TimeoutSeconds int + Type *string + func (s *TaskState) Execute(ctx context.Context, input interface{}) (output interface{}, next *string, err error) + func (s *TaskState) GetType() *string + func (s *TaskState) Name() *string + func (s *TaskState) SetName(name *string) + func (s *TaskState) SetTaskHandler(resourcefn interface{}) + func (s *TaskState) SetType(t *string) + func (s *TaskState) Validate() error + type WaitState struct + Comment *string + End *bool + InputPath *jsonpath.Path + Next *string + OutputPath *jsonpath.Path + Seconds *float64 + SecondsPath *jsonpath.Path + Timestamp *time.Time + TimestampPath *jsonpath.Path + Type *string + func (s *WaitState) Execute(ctx context.Context, input interface{}) (output interface{}, next *string, err error) + func (s *WaitState) GetType() *string + func (s *WaitState) Name() *string + func (s *WaitState) SetName(name *string) + func (s *WaitState) SetType(t *string) + func (s *WaitState) Validate() error v1.0.1-beta Feb 8, 2019