infoblox

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 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, nameRegEx 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 ProviderConfig added in v0.12.0

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

ProviderConfig implements the DNS provider for Infoblox.

func NewInfobloxProvider

func NewInfobloxProvider(ibStartupCfg StartupConfig) (*ProviderConfig, error)

NewInfobloxProvider creates a new Infoblox provider.

func (*ProviderConfig) AdjustEndpoints added in v0.12.0

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

func (*ProviderConfig) ApplyChanges added in v0.12.0

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

ApplyChanges applies the given changes.

func (*ProviderConfig) Records added in v0.12.0

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

Records gets the current records.

type StartupConfig added in v0.12.0

type StartupConfig 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
	FQDNRegEx     string
	NameRegEx     string
	CreatePTR     bool
	CacheDuration int
}

StartupConfig clarifies the method signature

Jump to

Keyboard shortcuts

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