ShardName returns the canonical shard key value for index i (shard0..).
(i int)
| 89 | |
| 90 | // ShardName returns the canonical shard key value for index i (shard0..). |
| 91 | func ShardName(i int) string { |
| 92 | return shardPrefix + strconv.Itoa(i) |
| 93 | } |
| 94 | |
| 95 | // ShardDeploymentName returns the Deployment name for shard index i. |
| 96 | func ShardDeploymentName(i int) string { |
no outgoing calls
no test coverage detected