mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 03:53:33 +00:00
feat(dns): add CLI commands to reserve, show, delete cluster domain
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
Reference in New Issue
Block a user