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

Method Origin

internal/postgres/hba.go:139–142  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

137}
138
139func (hba *HostBasedAuthentication) Origin(name string) *HostBasedAuthentication {
140 hba.origin = hba.quote(name)
141 return hba
142}
143
144// Network makes hba match connection attempts from a block of IP addresses in CIDR notation.
145func (hba *HostBasedAuthentication) Network(block string) *HostBasedAuthentication {

Callers 1

generatePostgresHBAMethod · 0.80

Calls 1

quoteMethod · 0.95

Tested by

no test coverage detected