helpers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionListSummary

func ActionListSummary(actions []*protos.OrchestratorAction) string

func GetTaskId

func GetTaskId(e *protos.HistoryEvent) int32

func HistoryListSummary

func HistoryListSummary(list []*protos.HistoryEvent) string

func NewCompleteOrchestrationAction

func NewCompleteOrchestrationAction(
	taskID int32,
	status protos.OrchestrationStatus,
	result string,
	carryoverEvents []*protos.HistoryEvent,
	failureDetails *protos.TaskFailureDetails) *protos.OrchestratorAction

func NewCreateSubOrchestrationAction

func NewCreateSubOrchestrationAction(
	taskID int32,
	name string,
	iid string,
	input *wrapperspb.StringValue) *protos.OrchestratorAction

func NewCreateTimerAction

func NewCreateTimerAction(taskID int32, fireAt time.Time) *protos.OrchestratorAction

func NewEventRaisedEvent

func NewEventRaisedEvent(name string, rawInput *wrapperspb.StringValue) *protos.HistoryEvent

func NewExecutionCompletedEvent

func NewExecutionCompletedEvent(eventID int32, status protos.OrchestrationStatus, result *wrapperspb.StringValue, failureDetails *protos.TaskFailureDetails) *protos.HistoryEvent

func NewExecutionStartedEvent

func NewExecutionStartedEvent(
	eventID int32,
	name string,
	instanceId string,
	input *wrapperspb.StringValue,
	parent *protos.ParentInstanceInfo) *protos.HistoryEvent

func NewExecutionTerminatedEvent

func NewExecutionTerminatedEvent(rawReason *wrapperspb.StringValue) *protos.HistoryEvent

func NewOrchestratorStartedEvent

func NewOrchestratorStartedEvent() *protos.HistoryEvent

func NewParentInfo

func NewParentInfo(taskID int32, name string, iid string) *protos.ParentInstanceInfo

func NewScheduleTaskAction

func NewScheduleTaskAction(taskID int32, name string, input *wrapperspb.StringValue) *protos.OrchestratorAction

func NewSendEventAction

func NewSendEventAction(iid string, name string, data *wrapperspb.StringValue) *protos.OrchestratorAction

func NewSendEventEvent

func NewSendEventEvent(eventID int32, instanceID string, name string, rawInput *wrapperspb.StringValue) *protos.HistoryEvent

func NewSubOrchestrationCreatedEvent

func NewSubOrchestrationCreatedEvent(eventID int32, name string, version *wrapperspb.StringValue, rawInput *wrapperspb.StringValue, instanceID string) *protos.HistoryEvent

func NewTaskCompletedEvent

func NewTaskCompletedEvent(taskID int32, result *wrapperspb.StringValue) *protos.HistoryEvent

func NewTaskFailedEvent

func NewTaskFailedEvent(taskID int32, failureDetails *protos.TaskFailureDetails) *protos.HistoryEvent

func NewTaskScheduledEvent

func NewTaskScheduledEvent(taskID int32, name string, version *wrapperspb.StringValue, rawInput *wrapperspb.StringValue) *protos.HistoryEvent

func NewTimerCreatedEvent

func NewTimerCreatedEvent(eventID int32, fireAt *timestamppb.Timestamp) *protos.HistoryEvent

func NewTimerFiredEvent

func NewTimerFiredEvent(timerID int32, fireAt *timestamppb.Timestamp) *protos.HistoryEvent

Types

This section is empty.

Jump to

Keyboard shortcuts

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