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

Method GetPodName

pkg/management/postgres/instance.go:1372–1374  ·  view source on GitHub ↗

GetPodName returns the name of the pod where this instance is running

()

Source from the content-addressed store, hash-verified

1370
1371// GetPodName returns the name of the pod where this instance is running
1372func (instance *Instance) GetPodName() string {
1373 return instance.podName
1374}
1375
1376// GetNamespaceName returns the name of the namespace where this instance is running
1377func (instance *Instance) GetNamespaceName() string {

Callers 6

GetStatusMethod · 0.95
DemoteMethod · 0.95
GetPrimaryConnInfoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected