Documentation
¶
Index ¶
Constants ¶
View Source
const ( WorkflowType = "s3-get-set-data-attributes" State1 = "S1" SmallDataKey = "small-data" LargeDataKey = "large-data" AnotherLargeDataKey = "another-large-data" // Small data content (stays in Temporal - under 50 byte threshold) SmallDataContent = "small" // Large data content (goes to S3 - over 50 byte threshold) LargeDataContent = "large-data-content-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" // Over 50 bytes AnotherLargeDataContent = "another-large-data-content-yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" // Over 50 bytes // Updated values for testing updates UpdatedSmallDataContent = "updated-small" UpdatedLargeDataContent = "updated-large-data-content-zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz" // Over 50 bytes )
Variables ¶
View Source
var ( SmallDataValue = iwfidl.EncodedObject{ Encoding: iwfidl.PtrString("json"), Data: iwfidl.PtrString("\"" + SmallDataContent + "\""), } LargeDataValue = iwfidl.EncodedObject{ Encoding: iwfidl.PtrString("json"), Data: iwfidl.PtrString("\"" + LargeDataContent + "\""), } AnotherLargeDataValue = iwfidl.EncodedObject{ Encoding: iwfidl.PtrString("json"), Data: iwfidl.PtrString("\"" + AnotherLargeDataContent + "\""), } UpdatedSmallDataValue = iwfidl.EncodedObject{ Encoding: iwfidl.PtrString("json"), Data: iwfidl.PtrString("\"" + UpdatedSmallDataContent + "\""), } UpdatedLargeDataValue = iwfidl.EncodedObject{ Encoding: iwfidl.PtrString("json"), Data: iwfidl.PtrString("\"" + UpdatedLargeDataContent + "\""), } )
Functions ¶
func NewHandler ¶
func NewHandler() *handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.