dynect

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynectClient

type DynectClient struct {
	*godynect.ConvenientClient
	// contains filtered or unexported fields
}

DynectClient REST client of DynDNS Dynect API, with a few extra helper methods on top of the godynect SDK ConvenientClient

func NewDynectClient

func NewDynectClient(customerName string) *DynectClient

NewDynectClient Creates a new DynectClient

func (*DynectClient) GetAllRecordList

func (d *DynectClient) GetAllRecordList(record *godynect.Record) ([]*godynect.Record, error)

GetAllRecordList gets all record details

func (*DynectClient) GetAllRecords

func (d *DynectClient) GetAllRecords(record *godynect.Record, records *godynect.AllRecordsResponse) error

GetAllRecords return all records for an entry

func (*DynectClient) GetRecordByName

func (d *DynectClient) GetRecordByName(record *godynect.Record) ([]*godynect.Record, error)

GetRecordByName gets records with the specified record name

func (*DynectClient) GetRecordID

func (d *DynectClient) GetRecordID(record *godynect.Record) error

GetRecordID finds the dns record ID by fetching all records for a FQDN

func (*DynectClient) RecordFromURL

func (d *DynectClient) RecordFromURL(url string) *godynect.Record

RecordFromURL return a Record from a URL

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL