infoblox

package
v0.0.0-...-68a8344 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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
}

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) 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.

type MaxResultsRequestBuilder

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

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

func NewMaxResultsRequestBuilder

func NewMaxResultsRequestBuilder(maxResults int) *MaxResultsRequestBuilder

NewMaxResultsRequestBuilder returns a MaxResultsRequestBuilder which adds _max_results query parameter to 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

Jump to

Keyboard shortcuts

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