MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / Default

Method Default

api/v1/cluster_defaults.go:52–54  ·  view source on GitHub ↗

Default apply the defaults to undefined values in a Cluster preserving the user settings

()

Source from the content-addressed store, hash-verified

50
51// Default apply the defaults to undefined values in a Cluster preserving the user settings
52func (r *Cluster) Default() {
53 r.setDefaults(true)
54}
55
56// SetDefaults apply the defaults to undefined values in a Cluster
57func (r *Cluster) SetDefaults() {

Callers 3

createFakeClusterFunction · 0.95

Calls 1

setDefaultsMethod · 0.95

Tested by 1

createFakeClusterFunction · 0.76