ShardDeploymentName returns the Deployment name for shard index i.
(i int)
| 94 | |
| 95 | // ShardDeploymentName returns the Deployment name for shard index i. |
| 96 | func ShardDeploymentName(i int) string { |
| 97 | return shardDeploymentPrefix + ShardName(i) |
| 98 | } |
| 99 | |
| 100 | // ParseShardIndex parses a canonical shard key value ("shard<i>") back into |
| 101 | // its index. Non-canonical values (including the legacy "tenants" bucket) |
no test coverage detected