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

Method Network

internal/postgres/hba.go:145–148  ·  view source on GitHub ↗

Network makes hba match connection attempts from a block of IP addresses in CIDR notation.

(block string)

Source from the content-addressed store, hash-verified

143
144// Network makes hba match connection attempts from a block of IP addresses in CIDR notation.
145func (hba *HostBasedAuthentication) Network(block string) *HostBasedAuthentication {
146 hba.address = hba.quote(block)
147 return hba
148}
149
150// NoSSL makes hba match connection attempts made over TCP/IP without SSL.
151func (hba *HostBasedAuthentication) NoSSL() *HostBasedAuthentication {

Callers 2

PostgreSQLHBAsFunction · 0.80

Calls 1

quoteMethod · 0.95

Tested by 1