hba

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2025 License: PostgreSQL Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthOptionVerifyCA   string = "clientcert=verify-ca"
	AuthOptionVerifyFull string = "clientcert=verify-full"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthMethod

type AuthMethod string
const (
	AuthMethodTrust       AuthMethod = "trust"
	AuthMethodReject      AuthMethod = "reject"
	AuthMethodMD5         AuthMethod = "md5"
	AuthMethodScramSHA256 AuthMethod = "scram-sha-256"
	AuthMethodPassword    AuthMethod = "password"
	AuthMethodGSS         AuthMethod = "gss"
	AuthMethodSSPI        AuthMethod = "sspi"
	AuthMethodIdent       AuthMethod = "ident"
	AuthMethodPeer        AuthMethod = "peer"
	AuthMethodLDAP        AuthMethod = "ldap"
	AuthMethodRadius      AuthMethod = "radius"
	AuthMethodCert        AuthMethod = "cert"
	AuthMethodPAM         AuthMethod = "pam"
	AuthMethodBSD         AuthMethod = "bsd"
)

type Entry

type Entry struct {
	Type        EntryType
	Database    string
	User        string
	Address     string
	Mask        string
	AuthMethod  AuthMethod
	AuthOptions string
	IncludePath string
}

func (Entry) String

func (e Entry) String() string

type EntryType

type EntryType string
const (
	EntryTypeLocal           EntryType = "local"
	EntryTypeHost            EntryType = "host"
	EntryTypeHostSSL         EntryType = "hostssl"
	EntryTypeHostNoSSL       EntryType = "hostnossl"
	EntryTypeHostGSSEnc      EntryType = "hostgssenc"
	EntryTypeHostNoGSSEnc    EntryType = "hostnogssenc"
	EntryTypeInclude         EntryType = "include"
	EntryTypeIncludeIfExists EntryType = "include_if_exists"
	EntryTypeIncludeDir      EntryType = "include_dir"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL