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

Method AsMap

internal/postgres/parameters.go:90–96  ·  view source on GitHub ↗

AsMap returns a copy of ps as a map.

()

Source from the content-addressed store, hash-verified

88
89// AsMap returns a copy of ps as a map.
90func (ps *ParameterSet) AsMap() map[string]string {
91 if ps == nil {
92 return nil
93 }
94
95 return maps.Clone(ps.values)
96}
97
98// DeepCopy returns a copy of ps.
99func (ps *ParameterSet) DeepCopy() *ParameterSet {

Callers 8

TestParameterSetFunction · 0.95
TestPostgreSQLParametersFunction · 0.80
TestNewParametersFunction · 0.80
TestPostgresParametersFunction · 0.80
DynamicConfigurationFunction · 0.80
TestPostgreSQLParametersFunction · 0.80

Calls

no outgoing calls

Tested by 6

TestParameterSetFunction · 0.76
TestPostgreSQLParametersFunction · 0.64
TestNewParametersFunction · 0.64
TestPostgresParametersFunction · 0.64
TestPostgreSQLParametersFunction · 0.64