Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Add creates new zone Add(zone models.Zone) (*models.Zone, error) // AddRecordSet will add a new set of records to a zone. Existing record // sets for the exact name/type combination will be replaced. AddRecordSet(zone string, set models.ResourceRecordSet) error // Delete delete zone from authoritative server Delete(name string) error // DeleteRecordSet removes a record set from a zone. The record set is matched // by name and type. DeleteRecordSet(zone, name, rrtype string) error // List known authoritative zones List() (models.Zones, error) // ListByName return list with one authoritative zone by name argument ListByName(name string) (models.Zones, error) // GetByName return zone with one authoritative zone by name argument and include the “rrsets” in the response GetByName(name string) (*models.Zone, error) }
Client defines the interface for forwarding zone operations.
Click to show internal directories.
Click to hide internal directories.