MCPcopy Create free account
hub / github.com/CrunchyData/postgres-operator / Method

Method Method

internal/postgres/hba.go:134–137  ·  view source on GitHub ↗

Method specifies the authentication method to use when a connection matches hba.

(name string)

Source from the content-addressed store, hash-verified

132
133// Method specifies the authentication method to use when a connection matches hba.
134func (hba *HostBasedAuthentication) Method(name string) *HostBasedAuthentication {
135 hba.method = hba.quote(name)
136 return hba
137}
138
139func (hba *HostBasedAuthentication) Origin(name string) *HostBasedAuthentication {
140 hba.origin = hba.quote(name)

Callers 5

PostgreSQLHBAsFunction · 0.80
generatePostgresHBAMethod · 0.80
NewHBAsFunction · 0.80
postgresqlHBAsFunction · 0.80

Calls 1

quoteMethod · 0.95

Tested by 1