package app import ( "fmt" "github.com/seaweedfs/seaweedfs/weed/admin/dash" ) templ ClusterCollections(data dash.ClusterCollectionsData) {
Collection Name | Data Center | Replication | Volumes | Files | Size | TTL | Disk Type | Status | Actions |
---|---|---|---|---|---|---|---|---|---|
{collection.Name} | {collection.DataCenter} | {collection.Replication} |
{fmt.Sprintf("%d", collection.VolumeCount)}
|
{fmt.Sprintf("%d", collection.FileCount)}
|
{formatBytes(collection.TotalSize)}
|
if collection.TTL != "" { {collection.TTL} } else { None } | {collection.DiskType} | {collection.Status} |
|
No collections are currently configured in the cluster.