package
2.4.1+incompatible
Repository: https://github.com/percona/percona-postgresql-operator.git
Documentation: pkg.go.dev

# Functions

NewMD5Password constructs a new MD5Password struct.
NewPostgresPassword accepts a type of password (e.g.
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 PostgreSQL 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 PostgresPassword interface for hashing passwords using the PostgreSQL MD5 method.
SCRAMPassword contains the building blocks to build a PostgreSQL SCRAM verifier.

# Interfaces

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

# Type aliases

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