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