package
0.0.0-20240726190715-5a1d6d9d2753
Repository: https://github.com/truora/minidyn.git
Documentation: pkg.go.dev
# Functions
ActiveForceFailure active force operation to fail.
AddIndex add a new index to the table table.
AddTable add a new table.
ClearTable removes all data from a specific table.
DeactiveForceFailure deactive force operation to fail.
EmulateFailure forces the fake client to fail.
NewClient initializes dynamodb client with a mock.
SetItemCollectionMetrics set the value of the property itemCollectionMetrics.
# Constants
FailureConditionDeprecated returns the old error.
FailureConditionInternalServerError emulates dynamodb having internal issues.
FailureConditionNone emulates the system is working.
# Variables
ErrForcedFailure when the error is forced Deprecated: use EmulateFailure instead.
ErrInvalidTableName when the provided table name is invalid.
ErrResourceNotFoundException when the requested resource is not found.
# Type aliases
FailureCondition describe the failure condtion to emulate.