Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuditRecords ¶
func AuditRecords(records []*models.RecordConfig) []error
AuditRecords returns a list of errors corresponding to the records that aren't supported by this provider. If all records are supported, an empty list is returned.
Types ¶
type CurrentNameServer ¶
type CurrentNameServer struct { ToDelete bool `json:"toDelete,omitempty"` IP string `json:"ip,omitempty"` IsUsed bool `json:"isUsed,omitempty"` ID int `json:"id,omitempty"` Host string `json:"host,omitempty"` }
CurrentNameServer stores information about nameservers.
type Domain ¶
type Domain struct { NameServerType string `json:"nameServerType,omitempty"` TransferLockStatus string `json:"transferLockStatus,omitempty"` }
Domain describes a domain in ovh's protocol.
type Record ¶
type Record struct { Target string `json:"target,omitempty"` Zone string `json:"zone,omitempty"` TTL uint32 `json:"ttl,omitempty"` FieldType string `json:"fieldType,omitempty"` ID int64 `json:"id,omitempty"` SubDomain string `json:"subDomain,omitempty"` }
Record describes a DNS record.
type Task ¶
type Task struct { Function string `json:"function,omitempty"` Status string `json:"status,omitempty"` CanAccelerate bool `json:"canAccelerate,omitempty"` LastUpdate string `json:"lastUpdate,omitempty"` CreationDate string `json:"creationDate,omitempty"` Comment string `json:"comment,omitempty"` TodoDate string `json:"todoDate,omitempty"` ID int64 `json:"id,omitempty"` CanCancel bool `json:"canCancel,omitempty"` DoneDate string `json:"doneDate,omitempty"` CanRelaunch bool `json:"canRelaunch,omitempty"` }
Task describes a task in ovh's protocol.
Click to show internal directories.
Click to hide internal directories.