infoblox

package
v0.7.11 Latest Latest
Warning

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

Go to latest
Published: May 21, 2018 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfobloxProvider

type InfobloxProvider struct {
	// contains filtered or unexported fields
}

func (*InfobloxProvider) AddRecord

func (d *InfobloxProvider) AddRecord(record utils.DnsRecord) (err error)

func (*InfobloxProvider) GetName

func (*InfobloxProvider) GetName() string

func (*InfobloxProvider) GetRecords

func (d *InfobloxProvider) GetRecords() ([]utils.DnsRecord, error)

func (*InfobloxProvider) HealthCheck

func (d *InfobloxProvider) HealthCheck() error

func (*InfobloxProvider) Init

func (d *InfobloxProvider) Init(rootDomainName string) error

func (*InfobloxProvider) RemoveRecord

func (d *InfobloxProvider) RemoveRecord(record utils.DnsRecord) error

func (*InfobloxProvider) SendRequest added in v0.7.10

func (d *InfobloxProvider) SendRequest(method, urlStr, body string, head map[string]string) ([]*Record, error)

func (*InfobloxProvider) UpdateRecord

func (d *InfobloxProvider) UpdateRecord(record utils.DnsRecord) error

type Record

type Record struct {
	Ref      string `json:"_ref"`
	Fqdn     string `json:"fqdn"`
	Name     string `json:"name"`
	Zone     string `json:"zone"`
	TTL      int    `json:"ttl"`
	Disable  bool   `json:"disable"`
	IPv4addr string `json:"ipv4addr"`
	Text     string `json:"text"`
	Type     string
	Rec      string
}

type ResultPagination added in v0.7.10

type ResultPagination struct {
	Page_id string    `json:"next_page_id"`
	Result  []*Record `json:"result"`
}

Jump to

Keyboard shortcuts

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