Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Type ActionType Record DNSRecord }
Action combines the action type and the DNS record.
type ActionType ¶
type ActionType string
ActionType is the type of actions to be performed on the record: Upsert or Delete.
const ( Upsert ActionType = "UPSERT" Delete ActionType = "DELETE" )
Available Action Types
type DNSRecord ¶
DNSRecord contains the minimal set of data needed to represent an A DNS record.
func NewAliasRecord ¶ added in v1.1.0
NewAliasRecord constructs an alias DNSRecord from input strings.
func (DNSRecord) TargetZone ¶ added in v1.1.0
TargetZone returns the domain zone of Record's Target.
Click to show internal directories.
Click to hide internal directories.