package app import ( "fmt" "github.com/seaweedfs/seaweedfs/weed/admin/dash" ) templ ClusterCollections(data dash.ClusterCollectionsData) {
Collection Name | Volumes | Files | Size | Disk Types | Actions |
---|---|---|---|---|---|
{collection.Name} |
{fmt.Sprintf("%d", collection.VolumeCount)}
|
{fmt.Sprintf("%d", collection.FileCount)}
|
{formatBytes(collection.TotalSize)}
|
for i, diskType := range collection.DiskTypes { if i > 0 { } {diskType} } if len(collection.DiskTypes) == 0 { Unknown } |
|
No collections are currently configured in the cluster.