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

Method Insert

internal/pki/pki_test.go:25–25  ·  view source on GitHub ↗
(item string)

Source from the content-addressed store, hash-verified

23
24func (s StringSet) Has(item string) bool { _, ok := s[item]; return ok }
25func (s StringSet) Insert(item string) { s[item] = struct{}{} }
26
27func TestCertificateCommonName(t *testing.T) {
28 zero := Certificate{}

Callers 15

TestLeafCertificateFunction · 0.95
newObservedInstancesFunction · 0.80
scaleDownInstancesMethod · 0.80
scaleUpInstancesMethod · 0.80
readAPIsMethod · 0.80
NewAPISetFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected