package
0.0.0-20220324215216-a71b5467d142
Repository: https://github.com/rpip/dba.git
Documentation: pkg.go.dev
# Functions
EvalTemplate evaluates template if string, otherwise returns value as given.
MustRun triggers the anonimyzers on the database tables.
NewDB creates a new Database struct.
NewTable creates a new Table struct.
ParseConfig parses the DBA config.
# Constants
Version is the current DBA version.
# Structs
Config is the HCL config parsed into databases and tables.
ConfigParseError denotes failing to parse configuration file.
Database represents the 'db' node in the config file.
EvalConfig is the template rendering context.
Table represents the table node in the config file.
TemplateError denotes failing to table update template.
# Interfaces
Anonymizer is the interface implemented by tables for anonimyzing data.
# Type aliases
TableRow represents a row in a table.