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

Method Add

internal/pgbackrest/options.go:39–41  ·  view source on GitHub ↗

Add associates value with key, appending it to any values already associated with key. The key is case-sensitive.

(key, value string)

Source from the content-addressed store, hash-verified

37// Add associates value with key, appending it to any values already associated
38// with key. The key is case-sensitive.
39func (ms iniMultiSet) Add(key, value string) {
40 ms[key] = append(ms[key], value)
41}
42
43// Set replaces the values associated with key. The key is case-sensitive.
44func (ms iniMultiSet) Set(key string, values ...string) {

Callers 15

TestMultiSetFunction · 0.95
serverConfigFunction · 0.95
PostgreSQLParametersFunction · 0.45
TestPostgreSQLParametersFunction · 0.45
TestPostgreSQLParametersFunction · 0.45
PostgreSQLParametersFunction · 0.45
RestoreCommandFunction · 0.45
generateLeafCertificateFunction · 0.45
generateRootCertificateFunction · 0.45
isBeforeRenewalTimeFunction · 0.45
TestRootIsInvalidFunction · 0.45
TestLeafIsInvalidFunction · 0.45

Calls

no outgoing calls

Tested by 6

TestMultiSetFunction · 0.76
TestPostgreSQLParametersFunction · 0.36
TestPostgreSQLParametersFunction · 0.36
TestRootIsInvalidFunction · 0.36
TestLeafIsInvalidFunction · 0.36
TestIsBeforeRenewalTimeFunction · 0.36