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

Method ApplyInto

api/v1/cluster_funcs.go:1584–1590  ·  view source on GitHub ↗

ApplyInto applies the content of the probe configuration in a Kubernetes probe

(k8sProbe *corev1.Probe)

Source from the content-addressed store, hash-verified

1582// ApplyInto applies the content of the probe configuration in a Kubernetes
1583// probe
1584func (p *ProbeWithStrategy) ApplyInto(k8sProbe *corev1.Probe) {
1585 if p == nil {
1586 return
1587 }
1588
1589 p.Probe.ApplyInto(k8sProbe)
1590}
1591
1592// GetEnabledWALArchivePluginName returns the name of the enabled backup plugin or an empty string
1593// if no backup plugin is enabled

Callers

nothing calls this directly

Calls 1

ApplyIntoMethod · 0.45

Tested by

no test coverage detected