package app import ( "fmt" "strings" "github.com/seaweedfs/seaweedfs/weed/admin/dash" "github.com/seaweedfs/seaweedfs/weed/s3api/s3tables" ) templ S3TablesNamespaces(data dash.S3TablesNamespacesData) {

S3 Tables Namespaces

Back to Buckets Bucket ARN: { data.BucketARN } {{ bucketName, parseErr := s3tables.ParseBucketNameFromARN(data.BucketARN) }} if parseErr != nil { Invalid bucket ARN }
Total Namespaces
{ fmt.Sprintf("%d", data.TotalNamespaces) }
Last Updated
{ data.LastUpdated.Format("15:04") }
Namespaces
for _, namespace := range data.Namespaces { {{ namespaceName := strings.Join(namespace.Namespace, ".") }} } if len(data.Namespaces) == 0 { }
Namespace Iceberg Endpoint Created Actions
{ namespaceName } if parseErr == nil { /v1/{ bucketName }/namespaces/{ namespaceName }/tables } else { - } { namespace.CreatedAt.Format("2006-01-02 15:04") }
if parseErr == nil { } else { }
No namespaces found

Create your first namespace to organize tables.

}