package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
Parse parses the provided HBA configuration.
ParseAndNormalize parses the HBA configuration from the provided string and performs two tasks:
- it unicode-normalizes the usernames.
ParseConnType parses the connection type field.
# Constants
ConnAny matches any connection type.
ConnHostAny matches TCP connections with or without SSL/TLS.
ConnHostNoSSL matches TCP connections without SSL/TLS.
ConnHostSSL matches TCP connections with SSL/TLS.
ConnInternalLoopback matches internal connections running over the loopback interface.
ConnLocal matches unix socket connections.
# Type aliases
ConnType represents the type of connection matched by a rule.