definition

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 1 Imported by: 9

Documentation

Index

Constants

View Source
const (
	DomainID      = "DomainID"
	WorkflowID    = "WorkflowID"
	RunID         = "RunID"
	WorkflowType  = "WorkflowType"
	StartTime     = "StartTime"
	ExecutionTime = "ExecutionTime"
	CloseTime     = "CloseTime"
	CloseStatus   = "CloseStatus"
	HistoryLength = "HistoryLength"
	Encoding      = "Encoding"
	KafkaKey      = "KafkaKey"

	CustomStringField   = "CustomStringField"
	CustomKeywordField  = "CustomKeywordField"
	CustomIntField      = "CustomIntField"
	CustomBoolField     = "CustomBoolField"
	CustomDoubleField   = "CustomDoubleField"
	CustomDatetimeField = "CustomDatetimeField"
)

valid indexed fields on ES

View Source
const Attr = "Attr"

Attr is prefix of custom search attributes

View Source
const (
	Memo = "Memo"
)

valid non-indexed fields on ES

Variables

This section is empty.

Functions

func GetDefaultIndexedKeys added in v0.5.9

func GetDefaultIndexedKeys() map[string]interface{}

GetDefaultIndexedKeys return default valid indexed keys

func IsSystemIndexedKey added in v0.5.9

func IsSystemIndexedKey(key string) bool

IsSystemIndexedKey return true is key is system added

Types

type WorkflowIdentifier

type WorkflowIdentifier struct {
	DomainID   string
	WorkflowID string
	RunID      string
}

WorkflowIdentifier is the combinations which represent a workflow

func NewWorkflowIdentifier

func NewWorkflowIdentifier(domainID string, workflowID string, runID string) WorkflowIdentifier

NewWorkflowIdentifier create a new WorkflowIdentifier

Jump to

Keyboard shortcuts

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