2024-02-10 23:44:20 +00:00
|
|
|
package repositories
|
|
|
|
|
2024-02-12 19:38:03 +00:00
|
|
|
import repositorymodels "github.com/pikami/cosmium/internal/repository_models"
|
|
|
|
|
|
|
|
func GetPartitionKeyRanges(databaseId string, collectionId string) ([]repositorymodels.PartitionKeyRange, repositorymodels.RepositoryStatus) {
|
2024-02-10 23:44:20 +00:00
|
|
|
// I have no idea what this is tbh
|
2024-02-12 19:38:03 +00:00
|
|
|
return []repositorymodels.PartitionKeyRange{
|
2024-02-10 23:44:20 +00:00
|
|
|
{
|
|
|
|
Rid: "ZxlyAP7rKwACAAAAAAAAUA==",
|
|
|
|
ID: "0",
|
|
|
|
Etag: "\"00005504-0000-0100-0000-65c555490000\"",
|
|
|
|
MinInclusive: "",
|
|
|
|
MaxExclusive: "FF",
|
|
|
|
RidPrefix: 0,
|
|
|
|
Self: "dbs/ZxlyAA==/colls/ZxlyAP7rKwA=/pkranges/ZxlyAP7rKwACAAAAAAAAUA==/",
|
|
|
|
ThroughputFraction: 1,
|
|
|
|
Status: "online",
|
|
|
|
Parents: []interface{}{},
|
|
|
|
Ts: 1707431241,
|
|
|
|
Lsn: 17,
|
|
|
|
},
|
2024-02-12 19:38:03 +00:00
|
|
|
}, repositorymodels.StatusOk
|
2024-02-10 23:44:20 +00:00
|
|
|
}
|