Documentation
¶
Index ¶
- func UpdateDeploymentStep[I any, O any](steps StepSet[I, O], result *drss_pb.StepResult, outputData O) error
- func UpdateStepDependencies[I any, O any](stepMap StepSet[I, O]) error
- type DoneOutcome
- type EventOutput
- type Outcome
- type RequestOutcome
- type SideEffect
- type Step
- type StepBatonImpl
- type StepNextOutcome
- type StepSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateDeploymentStep ¶
Types ¶
type DoneOutcome ¶
type DoneOutcome[O any] struct { Output O }
type EventOutput ¶
type EventOutput[O any] interface { GetOutput() O GetStepId() string GetStatus() drss_pb.StepStatus GetError() *string }
type RequestOutcome ¶
type RequestOutcome struct {
Request SideEffect
}
type SideEffect ¶
type SideEffect interface { GetRequest() *messaging_j5pb.RequestMetadata SetJ5RequestMetadata(*messaging_j5pb.RequestMetadata) o5msg.Message }
type StepBatonImpl ¶
func NewStepBaton ¶
func (*StepBatonImpl[I, O]) Done ¶
func (ds *StepBatonImpl[I, O]) Done()
func (*StepBatonImpl[I, O]) GetDependency ¶
func (ds *StepBatonImpl[I, O]) GetDependency(id string) (dep O, ok bool)
func (*StepBatonImpl[I, O]) GetID ¶
func (ds *StepBatonImpl[I, O]) GetID() string
func (*StepBatonImpl[I, O]) SideEffect ¶
func (ds *StepBatonImpl[I, O]) SideEffect(effect SideEffect)
type StepNextOutcome ¶
type StepNextOutcome int
const ( StepNextWait StepNextOutcome = iota StepNextFail StepNextDone StepNextDeadlock )
Click to show internal directories.
Click to hide internal directories.