Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDeduplicationKey ¶ added in v0.27.0
func GenerateDeduplicationKey( resource DeduplicationID, ) string
GenerateDeduplicationKey generates deduplication key
Types ¶
type CurrentWorkflowKey ¶ added in v1.14.0
WorkflowKey is the combinations which represent a current workflow
func NewCurrentWorkflowKey ¶ added in v1.14.0
func NewCurrentWorkflowKey( namespaceID string, workflowID string, ) CurrentWorkflowKey
NewCurrentWorkflowKey create a new CurrentWorkflowKey
type DeduplicationID ¶ added in v0.27.0
type DeduplicationID interface {
GetID() string
}
DeduplicationID uses to generate id for deduplication
type EventReappliedID ¶ added in v0.27.0
type EventReappliedID struct {
// contains filtered or unexported fields
}
EventReappliedID is the deduplication resource for reapply event
func NewEventReappliedID ¶ added in v0.27.0
func NewEventReappliedID( runID string, eventID int64, version int64, ) EventReappliedID
NewEventReappliedID returns EventReappliedID resource
func (EventReappliedID) GetID ¶ added in v0.27.0
func (e EventReappliedID) GetID() string
GetID returns id of EventReappliedID
type WorkflowKey ¶ added in v1.14.0
WorkflowKey is the combinations which represent a workflow
func NewWorkflowKey ¶ added in v1.14.0
func NewWorkflowKey( namespaceID string, workflowID string, runID string, ) WorkflowKey
NewWorkflowKey create a new WorkflowKey
func (*WorkflowKey) GetNamespaceID ¶ added in v1.14.0
func (k *WorkflowKey) GetNamespaceID() string
func (*WorkflowKey) GetRunID ¶ added in v1.14.0
func (k *WorkflowKey) GetRunID() string
func (*WorkflowKey) GetWorkflowID ¶ added in v1.14.0
func (k *WorkflowKey) GetWorkflowID() string
Click to show internal directories.
Click to hide internal directories.