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
- type InfobloxConfig
- type MaxResultsRequestBuilder
- type Record
- type RecordA
- 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) ExecuteRequests ¶
func (h *Handler) ExecuteRequests(logger logger.LogContext, zone provider.DNSHostedZone, state provider.DNSZoneState, reqs []*provider.ChangeRequest) 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 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.