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

Method GetServiceAnyName

api/v1/cluster_funcs.go:698–700  ·  view source on GitHub ↗

GetServiceAnyName return the name of the service that is used as DNS domain for all the nodes, even if they are not ready

()

Source from the content-addressed store, hash-verified

696// GetServiceAnyName return the name of the service that is used as DNS
697// domain for all the nodes, even if they are not ready
698func (cluster *Cluster) GetServiceAnyName() string {
699 return fmt.Sprintf("%v%v", cluster.Name, ServiceAnySuffix)
700}
701
702// GetServiceReadName return the default name of the service that is used for
703// read transactions (including the primary)

Callers 7

CreatePrimaryJobFunction · 0.80
buildInstanceFunction · 0.80
CreateClusterAnyServiceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected