feat(dns): allow setting an externally managed cluster domain

This commit is contained in:
Pasha Sviderski
2026-09-25 16:20:54 +10:00
parent b28c458029
commit 9ee3ca15eb
21 changed files with 233 additions and 136 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ type ContainerClient interface {
}
type DNSClient interface {
GetDomain(ctx context.Context) (string, error)
GetDomain(ctx context.Context) (ClusterDomain, error)
}
type ImageClient interface {
+8
View File
@@ -0,0 +1,8 @@
package api
// ClusterDomain is the domain name assigned to the cluster.
type ClusterDomain struct {
Name string
// Reserved reports whether the domain is reserved in Uncloud DNS or set and managed externally.
Reserved bool
}