s3GetSetDataAttributes

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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