Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLambda ¶
NewLambda creates a new lambda with the given Python code and deploys to localstack.
func NewTables ¶
func NewTables(definitions []TableDefinition) (err error)
NewTables creates a new DynamoDB table.
func StartContainer ¶
StartContainer starts a localstack container for testing purposes and builds out needed infrastructure.
func StopContainer ¶
func StopContainer() (err error)
StopContainer stops the localstack container used for testing.
Types ¶
type TableDefinition ¶
type TableDefinition struct { Name string `json:"name"` Hash TableField `json:"hash"` Range *TableField `json:"range"` TTL *string `json:"ttl"` }
type TableField ¶
Click to show internal directories.
Click to hide internal directories.