mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 21:29:02 +00:00
feat(dns): allow setting an externally managed cluster domain
This commit is contained in:
1 parent
b28c458029
commit
9ee3ca15eb
21 files changed
+233
-136
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user