feat(dns): add CLI commands to reserve, show, delete cluster domain

This commit is contained in:
Pavel Sviderski
2025-02-24 17:37:43 +10:00
parent f6cf5cc250
commit af4629b679
7 changed files with 329 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package dns
type DomainResponse struct {
Name string `json:"name,omitempty"`
Token string `json:"token,omitempty"`
}
type AuthErrorResponse struct {
Status int `json:"status,omitempty"`
Message string `json:"msg,omitempty"`
Data authErrorData `json:"data,omitempty"`
}
type authErrorData struct {
NoDomain bool `json:"noDomain,omitempty"`
}