package
0.0.0-20240418082707-ea5f3670260e
Repository: https://github.com/ivorysql/ivory-operator.git
Documentation: pkg.go.dev

# Functions

NewIvoryPassword accepts a type of password (e.g.
NewMD5Password constructs a new MD5Password struct.
NewSCRAMPassword constructs a new SCRAMPassword struct with sane defaults.

# Constants

MD5 refers to the MD5Password method.
The following constants are used to aid in the select of the types of IvorySQL password generators.

# Variables

ErrMD5PasswordInvalid is returned when the password attributes are invalid.
ErrPasswordType is returned when a password type does not exist.
ErrSCRAMPasswordInvalid is returned when the password attributes are invalid.
ErrSCRAMSaltLengthInvalid is returned when the salt length is less than 1.

# Structs

MD5Password implements the IvoryPassword interface for hashing passwords using the IvorySQL MD5 method.
SCRAMPassword contains the building blocks to build a IvorySQL SCRAM verifier.

# Interfaces

IvoryPassword is the interface that defines the methods required to build a password for IvorySQL in a desired format (e.g.

# Type aliases

PasswordType helps to specify the type of password method (e.g.