ns1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCmd

func RunCmd(cmd string) bool

RunCmd runs the cmd if owned by this package.

Types

type Data

type Data struct {
	Zones   []string
	APIKey  string
	Zone    string
	Records []string
	// contains filtered or unexported fields
}

Data struct for NS1.

func (*Data) AddRecords

func (d *Data) AddRecords()

AddRecords adds one or more records to an NS1 zone.

func (*Data) AddZones

func (d *Data) AddZones()

AddZones adds one or more zones to NS1.

func (*Data) DelZones added in v0.1.1

func (d *Data) DelZones()

DelZones deletes one or more zones from NS1.

Jump to

Keyboard shortcuts

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