Documentation ¶
Overview ¶
Package infoblox is responsible for communication with Infoblox instance.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
AuthConfig contains authentication parameters to use for authenticating against the API.
func AuthConfigFromSecretData ¶
func AuthConfigFromSecretData(data map[string][]byte) (AuthConfig, error)
AuthConfigFromSecretData creates a AuthConfig from the contents of a secret. The secret must contain either username/password or clientCert/clientKey values. The former is used if both are present.
type Client ¶
type Client interface { // GetOrAllocateAddress allocates an address for a given hostname if none exists, and returns the new or existing address. GetOrAllocateAddress(view string, subnet netip.Prefix, hostname, zone string) (netip.Addr, error) // ReleaseAddress releases an address for a given hostname. ReleaseAddress(view string, subnet netip.Prefix, hostname string) error // CheckNetworkViewExists checks if Infoblox network view exists CheckNetworkViewExists(view string) (bool, error) // CheckNetworkExists checks if Infoblox network exists CheckNetworkExists(view string, subnet netip.Prefix) (bool, error) GetHostConfig() *HostConfig }
Client is a wrapper around the infoblox client that can allocate and release addresses indempotently.
Click to show internal directories.
Click to hide internal directories.