Documentation ¶
Index ¶
- Constants
- Variables
- func NewAccess(client ibclient.IBConnector, view string, metrics provider.Metrics) *access
- func NewHandler(config *provider.DNSHandlerConfig) (provider.DNSHandler, error)
- func NewMaxResultsRequestBuilder(maxResults int, requestBuilder ibclient.HttpRequestBuilder) ibclient.HttpRequestBuilder
- type Handler
- func (h *Handler) CreateOrUpdateRecordSet(logger logger.LogContext, zone provider.DNSHostedZone, ...) error
- func (h *Handler) DeleteRecordSet(logger logger.LogContext, zone provider.DNSHostedZone, ...) error
- func (h *Handler) ExecuteRequests(logger logger.LogContext, zone provider.DNSHostedZone, ...) error
- func (h *Handler) GetRecordSet(zone provider.DNSHostedZone, dnsName, recordType string) (provider.DedicatedRecordSet, error)
- type InfobloxConfig
- type MaxResultsRequestBuilder
- type Record
- type RecordA
- type RecordAAAA
- func (r *RecordAAAA) Copy() raw.Record
- func (r *RecordAAAA) GetDNSName() string
- func (r *RecordAAAA) GetId() string
- func (r *RecordAAAA) GetTTL() int
- func (r *RecordAAAA) GetType() string
- func (r *RecordAAAA) GetValue() string
- func (r *RecordAAAA) PrepareUpdate() raw.Record
- func (r *RecordAAAA) SetTTL(ttl int)
- type RecordCNAME
- func (r *RecordCNAME) Copy() raw.Record
- func (r *RecordCNAME) GetDNSName() string
- func (r *RecordCNAME) GetId() string
- func (r *RecordCNAME) GetTTL() int
- func (r *RecordCNAME) GetType() string
- func (r *RecordCNAME) GetValue() string
- func (r *RecordCNAME) PrepareUpdate() raw.Record
- func (r *RecordCNAME) SetTTL(ttl int)
- type RecordNS
- type RecordTXT
- func (r *RecordTXT) Copy() raw.Record
- func (r *RecordTXT) GetDNSName() string
- func (r *RecordTXT) GetId() string
- func (r *RecordTXT) GetTTL() int
- func (r *RecordTXT) GetType() string
- func (r *RecordTXT) GetValue() string
- func (r *RecordTXT) PrepareUpdate() raw.Record
- func (r *RecordTXT) SetTTL(ttl int)
Constants ¶
View Source
const TYPE_CODE = "infoblox-dns"
Variables ¶
View Source
var Factory = provider.NewDNSHandlerFactory(TYPE_CODE, NewHandler)
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 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)
Click to show internal directories.
Click to hide internal directories.