infoblox

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtendedRequestBuilder added in v0.9.0

type ExtendedRequestBuilder struct {
	ibclient.WapiRequestBuilder
	// contains filtered or unexported fields
}

ExtendedRequestBuilder implements a HttpRequestBuilder which sets additional query parameter on all get requests

func NewExtendedRequestBuilder added in v0.9.0

func NewExtendedRequestBuilder(maxResults int, fqdnRegEx string) *ExtendedRequestBuilder

NewExtendedRequestBuilder returns a ExtendedRequestBuilder which adds _max_results query parameter to all GET requests

func (*ExtendedRequestBuilder) BuildRequest added in v0.9.0

func (mrb *ExtendedRequestBuilder) 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 InfobloxConfig

type InfobloxConfig struct {
	DomainFilter endpoint.DomainFilter
	ZoneIDFilter provider.ZoneIDFilter
	Host         string
	Port         int
	Username     string
	Password     string
	Version      string
	SSLVerify    bool
	DryRun       bool
	View         string
	MaxResults   int
	FQDNRexEx    string
	CreatePTR    bool
}

InfobloxConfig clarifies the method signature

type InfobloxProvider

type InfobloxProvider struct {
	provider.BaseProvider
	// contains filtered or unexported fields
}

InfobloxProvider implements the DNS provider for Infoblox.

func NewInfobloxProvider

func NewInfobloxProvider(infobloxConfig InfobloxConfig) (*InfobloxProvider, error)

NewInfobloxProvider creates a new Infoblox provider.

func (*InfobloxProvider) AdjustEndpoints added in v0.10.1

func (p *InfobloxProvider) AdjustEndpoints(endpoints []*endpoint.Endpoint) []*endpoint.Endpoint

func (*InfobloxProvider) ApplyChanges

func (p *InfobloxProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error

ApplyChanges applies the given changes.

func (*InfobloxProvider) Records

func (p *InfobloxProvider) Records(ctx context.Context) (endpoints []*endpoint.Endpoint, err error)

Records gets the current records.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳