infoblox

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0, BSD-3-Clause, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const TYPE_CODE = "infoblox-dns"

Variables

Functions

func NewAccess

func NewAccess(client ibclient.IBConnector, view string, metrics provider.Metrics) *access

func NewHandler

func NewHandler(config *provider.DNSHandlerConfig) (provider.DNSHandler, error)

func NewMaxResultsRequestBuilder

func NewMaxResultsRequestBuilder(maxResults int, requestBuilder ibclient.HttpRequestBuilder) ibclient.HttpRequestBuilder

NewMaxResultsRequestBuilder returns a MaxResultsRequestBuilder which adds _max_results query parameter to all GET requests

Types

type Handler

type Handler struct {
	provider.ZoneCache
	provider.DefaultDNSHandler
	// contains filtered or unexported fields
}

func (*Handler) CreateOrUpdateRecordSet added in v0.11.0

func (h *Handler) CreateOrUpdateRecordSet(logger logger.LogContext, zone provider.DNSHostedZone, old, new provider.DedicatedRecordSet) error

func (*Handler) DeleteRecordSet added in v0.11.0

func (h *Handler) DeleteRecordSet(logger logger.LogContext, zone provider.DNSHostedZone, rs provider.DedicatedRecordSet) error

func (*Handler) ExecuteRequests

func (h *Handler) ExecuteRequests(logger logger.LogContext, zone provider.DNSHostedZone, state provider.DNSZoneState, reqs []*provider.ChangeRequest) error

func (*Handler) GetRecordSet added in v0.11.0

func (h *Handler) GetRecordSet(zone provider.DNSHostedZone, dnsName, recordType string) (provider.DedicatedRecordSet, error)

type InfobloxConfig

type InfobloxConfig struct {
	Host            *string `json:"host,omitempty"`
	Port            *int    `json:"port,omitempty"`
	SSLVerify       *bool   `json:"sslVerify,omitempty"`
	Version         *string `json:"version,omitempty"`
	View            *string `json:"view,omitempty"`
	PoolConnections *int    `json:"httpPoolConnections,omitempty"`
	RequestTimeout  *int    `json:"httpRequestTimeout,omitempty"`
	CaCert          *string `json:"caCert,omitempty"`
	MaxResults      int     `json:"maxResults,omitempty"`
	ProxyURL        *string `json:"proxyUrl,omitempty"`
}

type MaxResultsRequestBuilder

type MaxResultsRequestBuilder struct {
	ibclient.HttpRequestBuilder
	// contains filtered or unexported fields
}

MaxResultsRequestBuilder implements a HttpRequestBuilder which sets the _max_results query parameter on all get requests

func (*MaxResultsRequestBuilder) BuildRequest

func (mrb *MaxResultsRequestBuilder) BuildRequest(t ibclient.RequestType, obj ibclient.IBObject, ref string, queryParams *ibclient.QueryParams) (req *http.Request, err error)

BuildRequest prepares the api request. it uses BuildRequest of WapiRequestBuilder and then add the _max_requests parameter

type Record

type Record interface {
	raw.Record
	PrepareUpdate() raw.Record
}

type RecordA

type RecordA ibclient.RecordA

func (*RecordA) Copy

func (r *RecordA) Copy() raw.Record

func (*RecordA) GetDNSName

func (r *RecordA) GetDNSName() string

func (*RecordA) GetId

func (r *RecordA) GetId() string

func (*RecordA) GetTTL

func (r *RecordA) GetTTL() int

func (*RecordA) GetType

func (r *RecordA) GetType() string

func (*RecordA) GetValue

func (r *RecordA) GetValue() string

func (*RecordA) PrepareUpdate

func (r *RecordA) PrepareUpdate() raw.Record

func (*RecordA) SetTTL

func (r *RecordA) SetTTL(ttl int)

type RecordAAAA added in v0.10.5

type RecordAAAA ibclient.RecordAAAA

func (*RecordAAAA) Copy added in v0.10.5

func (r *RecordAAAA) Copy() raw.Record

func (*RecordAAAA) GetDNSName added in v0.10.5

func (r *RecordAAAA) GetDNSName() string

func (*RecordAAAA) GetId added in v0.10.5

func (r *RecordAAAA) GetId() string

func (*RecordAAAA) GetTTL added in v0.10.5

func (r *RecordAAAA) GetTTL() int

func (*RecordAAAA) GetType added in v0.10.5

func (r *RecordAAAA) GetType() string

func (*RecordAAAA) GetValue added in v0.10.5

func (r *RecordAAAA) GetValue() string

func (*RecordAAAA) PrepareUpdate added in v0.10.5

func (r *RecordAAAA) PrepareUpdate() raw.Record

func (*RecordAAAA) SetTTL added in v0.10.5

func (r *RecordAAAA) SetTTL(ttl int)

type RecordCNAME

type RecordCNAME ibclient.RecordCNAME

func (*RecordCNAME) Copy

func (r *RecordCNAME) Copy() raw.Record

func (*RecordCNAME) GetDNSName

func (r *RecordCNAME) GetDNSName() string

func (*RecordCNAME) GetId

func (r *RecordCNAME) GetId() string

func (*RecordCNAME) GetTTL

func (r *RecordCNAME) GetTTL() int

func (*RecordCNAME) GetType

func (r *RecordCNAME) GetType() string

func (*RecordCNAME) GetValue

func (r *RecordCNAME) GetValue() string

func (*RecordCNAME) PrepareUpdate

func (r *RecordCNAME) PrepareUpdate() raw.Record

func (*RecordCNAME) SetTTL

func (r *RecordCNAME) SetTTL(ttl int)

type RecordNS

type RecordNS ibclient.RecordNS

type RecordTXT

type RecordTXT ibclient.RecordTXT

func (*RecordTXT) Copy

func (r *RecordTXT) Copy() raw.Record

func (*RecordTXT) GetDNSName

func (r *RecordTXT) GetDNSName() string

func (*RecordTXT) GetId

func (r *RecordTXT) GetId() string

func (*RecordTXT) GetTTL

func (r *RecordTXT) GetTTL() int

func (*RecordTXT) GetType

func (r *RecordTXT) GetType() string

func (*RecordTXT) GetValue

func (r *RecordTXT) GetValue() string

func (*RecordTXT) PrepareUpdate

func (r *RecordTXT) PrepareUpdate() raw.Record

func (*RecordTXT) SetTTL

func (r *RecordTXT) SetTTL(ttl int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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