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

Method WithPodName

pkg/management/postgres/instance.go:464–467  ·  view source on GitHub ↗

WithPodName specifies the pod name for this Instance

(podName string)

Source from the content-addressed store, hash-verified

462
463// WithPodName specifies the pod name for this Instance
464func (instance *Instance) WithPodName(podName string) *Instance {
465 instance.podName = podName
466 return instance
467}
468
469// WithClusterName specifies the name of the cluster this Instance belongs to
470func (instance *Instance) WithClusterName(clusterName string) *Instance {

Callers 11

instance_test.goFile · 0.80
probes_test.goFile · 0.80
NewCmdFunction · 0.80
NewCmdFunction · 0.80
NewCmdFunction · 0.80
runnable_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected