MCPcopy Index your code
hub / github.com/zalando/postgres-operator / compactValue

Function compactValue

pkg/controller/controller.go:208–214  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

206}
207
208func compactValue(v string) string {
209 var compact bytes.Buffer
210 if err := json.Compact(&compact, []byte(v)); err != nil {
211 panic("Hard coded json strings broken!")
212 }
213 return compact.String()
214}
215
216func (c *Controller) initPodServiceAccount() {
217

Callers 2

initPodServiceAccountMethod · 0.85
initRoleBindingMethod · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected