Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct { // Positional arguments TableName string `arg:"" name:"table" help:"Name of the DynamoDB table from which to purge data."` // Flags PurgeFFIS bool `help:"Purge all item attributes sourced from FFIS.org data (ignored if --purge-all is given)."` PurgeGov bool `help:"Purge all item attributes sourced from Grants.gov data (ignored if --purge-all is given)."` KeepRevisionIDs bool `name:"keep-revision-ids" help:"Retain item revision_id attributes when purging data (ignored if --purge-all is given)."` PurgeAll bool `help:"Delete all table items completely."` ReadConcurrency ct.ConcurrencyLimit `default:"1" help:"Max DynamoDB parallel scan workers."` WriteConcurrency ct.ConcurrencyLimit `default:"10" help:"Max concurrent batch-write operations."` TotalsAfter ct.TotalsAfter `default:"1000" help:"Log DynamoDB item totals after this many successful/failed deletions (silent if 0)."` IgnoreStreams bool `help:"Purge data even if the DynamoDB table has an active stream. Not recommended."` DryRun bool `help:"Dry run only - no DynamoDB table items will be modified or deleted."` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.