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

Function GetReadWriteServiceName

tests/utils/services/service.go:50–52  ·  view source on GitHub ↗

GetReadWriteServiceName read write service name

(clusterName string)

Source from the content-addressed store, hash-verified

48
49// GetReadWriteServiceName read write service name
50func GetReadWriteServiceName(clusterName string) string {
51 return fmt.Sprintf("%v%v", clusterName, apiv1.ServiceReadWriteSuffix)
52}
53
54// getRwServiceObject return read write service object
55func getRwServiceObject(

Calls

no outgoing calls

Tested by

no test coverage detected