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

Method Local

internal/postgres/hba.go:128–131  ·  view source on GitHub ↗

Local makes hba match connection attempts using Unix-domain sockets.

()

Source from the content-addressed store, hash-verified

126
127// Local makes hba match connection attempts using Unix-domain sockets.
128func (hba *HostBasedAuthentication) Local() *HostBasedAuthentication {
129 hba.origin = "local"
130 return hba
131}
132
133// Method specifies the authentication method to use when a connection matches hba.
134func (hba *HostBasedAuthentication) Method(name string) *HostBasedAuthentication {

Callers 2

NewHBAsFunction · 0.80

Calls

no outgoing calls

Tested by 1