package
1.20.1
Repository: https://github.com/metal-toolbox/fleetdb.git
Documentation: pkg.go.dev

# Functions

ComponentTypeIDFromName expects the name of the component (as defined in bmc-toolbox) and will return the internal database ID for that name.
Decrypt provides a wrapper to handle decrypting a base64 encoded string with the secrets keeper.
Encrypt provides a wrapper to handle encrypting a string with the secrets keeper and returns it already base64 encoded.
RegisterHooks adds any hooks that are configured to the models library.
SetupComponentTypes upserts all known component types to the database.