digioceandns

package
v0.0.0-...-4f62784 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Digioceandns

type Digioceandns struct {
	Type       string `json:"type"`
	Name       string `json:"name"`
	Data       string `json:"data"`
	Priority   int    `json:"priority,omitempty"`
	Port       int    `json:"port,omitempty"`
	TimeToLive int    `json:"ttl"`
	Weight     int    `json:"weight,omitempty"`
	Flags      int    `json:"flags,omitempty"`
	Tag        string `json:"tag"`
}

Digioceandns struct represents a DigitalOcean DNS service.

func (*Digioceandns) CreateDns

func (digioceandns *Digioceandns) CreateDns(request interface{}) (resp interface{}, err error)

CreateDns function creates a new DNS record.

func (*Digioceandns) DeleteDns

func (digioceandns *Digioceandns) DeleteDns(request interface{}) (resp interface{}, err error)

DeleteDns function deletes a DNS record.

func (*Digioceandns) ListDns

func (digioceandns *Digioceandns) ListDns(request interface{}) (resp interface{}, err error)

ListDns function lists DNS records.

func (*Digioceandns) ListResourceDnsRecordSets

func (digioceandns *Digioceandns) ListResourceDnsRecordSets(request interface{}) (resp interface{}, err error)

ListResourceDnsRecordSets function lists DNS record sets. DigitalOcean API doesn't provide functionality to suppport this function.

Jump to

Keyboard shortcuts

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